docs: implement versioning system and enhance documentation structure

This commit is contained in:
ob-yalian
2026-04-24 15:48:54 +08:00
parent a487e67e1c
commit 91e1a978e8
14 changed files with 845 additions and 45 deletions
+9 -12
View File
@@ -1,15 +1,16 @@
.lang-switch {
position: fixed !important;
top: 60px !important;
right: 20px !important;
z-index: 1000 !important;
position: static !important;
display: flex !important;
align-items: center !important;
gap: 0.45rem !important;
margin: 0 !important;
background: rgba(255,255,255,0.95) !important;
border: 1px solid #ddd !important;
border-radius: 6px !important;
border-radius: 10px !important;
padding: 8px 12px !important;
font-size: 0.9em !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14) !important;
backdrop-filter: blur(5px) !important;
transition: all 0.3s ease !important;
}
@@ -26,7 +27,6 @@
.lang-switch .lang-other {
color: #0078d4 !important;
margin-right: 8px !important;
}
.lang-switch .lang-other:hover {
@@ -36,7 +36,6 @@
.lang-switch .lang-current {
color: #333 !important;
font-weight: bold !important;
margin-left: 8px !important;
}
.wy-nav-side .wy-side-nav-search {
@@ -121,10 +120,8 @@
@media (max-width: 768px) {
.lang-switch {
top: 10px !important;
right: 10px !important;
font-size: 0.8em !important;
padding: 6px 8px !important;
font-size: 0.8em !important;
padding: 6px 8px !important;
}
}