diff --git a/docs/index.md b/docs/index.md
index 2a79d8273..afdd33719 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -31,6 +31,21 @@ hide:
+
+
+
+ 开始阅读
+
+
+
+ 下载代码
+
+
+
+ 下载 PDF
+
+
+
@@ -70,7 +85,7 @@ hide:
@@ -87,7 +102,7 @@ hide:
@@ -102,7 +117,7 @@ hide:
diff --git a/overrides/stylesheets/extra.css b/overrides/stylesheets/extra.css
index cc04c5ea2..e56731cda 100644
--- a/overrides/stylesheets/extra.css
+++ b/overrides/stylesheets/extra.css
@@ -99,6 +99,10 @@
text-transform: none;
}
+.md-typeset svg {
+ fill: var(--md-primary-bg-color);
+}
+
/* font-family setting for Win10 */
body {
--md-text-font-family: -apple-system, BlinkMacSystemFont,
@@ -129,3 +133,33 @@ body {
margin-right: auto;
width: 100%; /* Default to full width */
}
+
+/* rounded button */
+.rounded-button {
+ display: inline-flex; /* Use flexbox for alignment */
+ align-items: center; /* Align items vertically */
+ justify-content: center; /* Center items horizontally */
+ border-radius: 100px; /* Circular corners */
+ padding: 9px 18px; /* Padding around the text */
+ margin: 0.15em 0;
+ border: none; /* Removes default border */
+ background-color: #52bbb1; /* Background color */
+ color: #1d1d20 !important; /* Text color */
+ font-size: 0.85em; /* Font size */
+ text-align: center; /* Center the text */
+ text-decoration: none; /* Remove underline from anchor text */
+ cursor: pointer; /* Pointer cursor on hover */
+ transition: background-color 0.3s; /* Smooth transition for background color */
+ box-shadow: var(--md-shadow-z1);
+}
+
+.rounded-button:hover {
+ background-color: #399188; /* Darker shade on hover */
+}
+
+.rounded-button svg {
+ fill: #1d1d20; /* Fill SVG icon with text color */
+ width: 1.2em;
+ height: auto;
+ margin-right: 0.5em; /* Add some space between the SVG icon and the text */
+}