docs: enhance styles for version switch and language switch for improved aesthetics and consistency

This commit is contained in:
ob-yalian
2026-04-24 16:25:36 +08:00
parent eaca1d8102
commit 97c9a81ca2
3 changed files with 39 additions and 35 deletions
+10 -10
View File
@@ -5,19 +5,19 @@
align-items: center !important;
gap: 0.45rem !important;
margin: 0 !important;
background: rgba(228,228,231,0.95) !important;
border: 1px solid #bcbcc4 !important;
border-radius: 10px !important;
padding: 8px 12px !important;
width: 100% !important;
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
padding: 0 !important;
font-size: 0.9em !important;
box-shadow: 0 8px 22px rgba(63, 63, 70, 0.18) !important;
backdrop-filter: blur(5px) !important;
box-shadow: none !important;
backdrop-filter: none !important;
transition: all 0.3s ease !important;
}
.lang-switch:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
transform: translateY(-1px) !important;
transform: none !important;
}
.lang-switch a {
@@ -26,11 +26,11 @@
}
.lang-switch .lang-other {
color: #52525b !important;
color: #3f3f46 !important;
}
.lang-switch .lang-other:hover {
color: #27272a !important;
color: #18181b !important;
}
.lang-switch .lang-current {