tweaked UI

This commit is contained in:
2026-10-09 15:29:45 -07:00
parent f5a9457622
commit 6cdbdd6351
4 changed files with 6 additions and 31 deletions

View File

@@ -52,14 +52,12 @@ html.dark #search-trigger {
overflow: hidden; overflow: hidden;
background: rgb(210, 210, 210, 0.1) !important; background: rgb(210, 210, 210, 0.1) !important;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(5px); backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(10px);
} }
html.dark .search-panel { html.dark .search-panel {
background: rgb(10, 10, 10, 0.2) !important; background: rgb(10, 10, 10, 0.2) !important;
backdrop-filter: blur(25px);
-webkit-backdrop-filter: blur(25px);
} }
.search-input-row { .search-input-row {

View File

@@ -131,9 +131,6 @@ html.dark #navbar .tabs a.active {
#sidebar { #sidebar {
margin-top: 40px; margin-top: 40px;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-radius: 12px; border-radius: 12px;
width: var(--sidebar-width); width: var(--sidebar-width);
flex-shrink: 0; flex-shrink: 0;
@@ -146,10 +143,6 @@ html.dark #navbar .tabs a.active {
overflow-y: auto; overflow-y: auto;
} }
html.dark #sidebar {
background: rgba(0, 0, 0, 0.4);
}
#sidebar .group { #sidebar .group {
margin-bottom: 10px; margin-bottom: 10px;
} }
@@ -218,9 +211,6 @@ html.dark #sidebar li a:hover {
min-width: 0; min-width: 0;
max-width: 720px; max-width: 720px;
margin-top: 130px; margin-top: 130px;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-radius: 12px; border-radius: 12px;
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
@@ -228,10 +218,6 @@ html.dark #sidebar li a:hover {
flex-direction: column; flex-direction: column;
} }
html.dark #main-wrap {
background: rgba(0, 0, 0, 0.4);
}
footer#site-footer { footer#site-footer {
min-width: 0; min-width: 0;
width: 100%; width: 100%;
@@ -711,7 +697,7 @@ body.is-home #content-col {
align-items: center; align-items: center;
width: 100%; width: 100%;
max-width: 1200px; max-width: 1200px;
padding: 0 20px 60px; padding: 0 20px 30px;
margin: 0 auto; margin: 0 auto;
gap: 0; gap: 0;
box-sizing: border-box; box-sizing: border-box;
@@ -864,7 +850,7 @@ body.is-home main.prose {
display: block; display: block;
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
padding: 16px 20px 20px; padding: 16px 20px 30px;
gap: 0; gap: 0;
box-sizing: border-box; box-sizing: border-box;
overflow-x: hidden; overflow-x: hidden;
@@ -878,7 +864,6 @@ body.is-home main.prose {
footer#site-footer { footer#site-footer {
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
padding: 36px 0 40px;
} }
.side-head { .side-head {

View File

@@ -275,9 +275,6 @@ aside#toc {
width: var(--toc-width); width: var(--toc-width);
flex-shrink: 0; flex-shrink: 0;
display: none; display: none;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-radius: 12px; border-radius: 12px;
padding-left: 10px; padding-left: 10px;
height: fit-content; height: fit-content;
@@ -288,10 +285,6 @@ aside#toc {
top: calc(var(--header-height) + 40px); top: calc(var(--header-height) + 40px);
} }
html.dark aside#toc {
background: rgba(0, 0, 0, 0.4);
}
@media (min-width: 1100px) { @media (min-width: 1100px) {
aside#toc { aside#toc {
display: block; display: block;

View File

@@ -98,7 +98,6 @@
font-size: 13.5px; font-size: 13.5px;
font-weight: 600; font-weight: 600;
text-decoration: none !important; text-decoration: none !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
transition: transform 0.15s ease; transition: transform 0.15s ease;
} }
@@ -136,7 +135,7 @@
overflow: hidden; overflow: hidden;
animation: fadeVideoBg linear both; animation: fadeVideoBg linear both;
animation-timeline: scroll(); animation-timeline: scroll();
animation-range: 0 450px; animation-range: 0 800px;
will-change: opacity; will-change: opacity;
} }
@@ -198,7 +197,7 @@
} }
html.dark .feature-box { html.dark .feature-box {
background: rgba(18, 18, 18, 0.2) !important; background: rgba(25, 25, 25, 0.2) !important;
} }
.feature-box:hover { .feature-box:hover {