docs: update styles and add versioning functionality for improved documentation navigation

This commit is contained in:
ob-yalian
2026-04-24 16:10:04 +08:00
parent d3beec937e
commit ca00143cdd
7 changed files with 21 additions and 21 deletions
+9 -9
View File
@@ -19,10 +19,10 @@
gap: 0.45rem;
min-width: 192px;
padding: 0.9rem 1rem;
border: 1px solid rgba(15, 23, 42, 0.14);
border: 1px solid rgba(63, 63, 70, 0.24);
border-radius: 14px;
background: rgba(255, 255, 255, 0.96);
box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
background: rgba(245, 245, 245, 0.96);
box-shadow: 0 18px 38px rgba(63, 63, 70, 0.16);
backdrop-filter: blur(14px);
}
@@ -31,7 +31,7 @@
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #5b6472;
color: #52525b;
}
.docs-version-switch__control {
@@ -55,17 +55,17 @@
width: 100%;
min-height: 2.4rem;
padding: 0 0.85rem;
border: 1px solid #c7d2e0;
border: 1px solid #d4d4d8;
border-radius: 10px;
background: #f8fbff;
color: #0f172a;
background: #e4e4e7;
color: #27272a;
font-size: 0.95rem;
font-weight: 600;
}
.docs-version-switch__select:focus {
outline: 2px solid rgba(22, 120, 184, 0.22);
border-color: #1678b8;
outline: 2px solid rgba(113, 113, 122, 0.22);
border-color: #71717a;
}
@media (max-width: 768px) {