This commit is contained in:
2026-10-11 11:06:58 -07:00
parent ad9a41036f
commit f28898089e
25 changed files with 3320 additions and 453 deletions

View File

@@ -6,6 +6,7 @@
z-index: 41;
backdrop-filter: blur(10px) saturate(1.2);
-webkit-backdrop-filter: blur(10px) saturate(1.2);
background: var(--bg-card);
width: 50%;
border-radius: 30px;
}
@@ -99,11 +100,11 @@
}
#navbar .tabs a:hover {
color: var(--text-heading);
color: var(--text);
}
#navbar .tabs a.active {
color: var(--text-heading);
color: var(--text);
font-weight: 600;
}
@@ -155,19 +156,19 @@
}
#sidebar li a.active {
color: var(--text-heading);
color: var(--text);
}
#sidebar li a:hover {
background: var(--hover-bg);
color: var(--text-heading);
color: var(--text);
}
#content-col {
flex: 1;
min-width: 0;
display: flex;
padding: 16px 20px 20px;
padding: 16px max(20px, env(safe-area-inset-right)) 20px max(20px, env(safe-area-inset-left));
gap: 92px;
max-width: 100%;
box-sizing: border-box;
@@ -178,7 +179,7 @@
flex: 1;
min-width: 0;
max-width: 720px;
margin-top: 130px;
margin-top: 120px;
border-radius: 12px;
width: 100%;
box-sizing: border-box;
@@ -213,7 +214,7 @@ footer#site-footer {
gap: 8px;
font-size: 14px;
font-weight: 600;
color: var(--text-heading);
color: var(--text);
transition: opacity 0.15s ease;
}
@@ -248,7 +249,7 @@ footer#site-footer {
}
.footer-socials a:hover {
color: var(--text-heading);
color: var(--text);
}
.footer-icon {
@@ -361,6 +362,7 @@ footer#site-footer {
border-radius: 10px;
background: none;
color: var(--text);
;
font: inherit;
font-size: 13.5px;
cursor: pointer;
@@ -397,11 +399,11 @@ footer#site-footer {
#theme-menu button.on {
font-weight: 600;
color: var(--text-heading);
color: var(--text);
}
#theme-menu button.on .ico {
color: var(--text-heading);
color: var(--text);
}
#theme-menu button.on .check {
@@ -479,6 +481,7 @@ footer#site-footer {
border-radius: 8px;
background: none;
color: var(--text);
;
font: inherit;
font-size: 13.5px;
cursor: pointer;
@@ -505,15 +508,16 @@ footer#site-footer {
overflow: hidden;
text-overflow: ellipsis;
color: var(--text);
;
}
#theme-seg-menu button.on span {
color: var(--text-heading);
color: var(--text);
font-weight: 600;
}
#theme-seg-menu button.on .ico {
color: var(--text-heading);
color: var(--text);
}
#theme-seg-menu button .check {
@@ -526,7 +530,7 @@ footer#site-footer {
#theme-seg-menu button.on .check {
visibility: visible;
color: var(--text-heading);
color: var(--text);
}
#theme-seg-menu button:hover {
@@ -535,7 +539,7 @@ footer#site-footer {
#theme-seg-menu button.on {
font-weight: 600;
color: var(--text-heading);
color: var(--text);
}
#theme-seg-menu .check {
@@ -564,7 +568,7 @@ footer#site-footer {
#theme-seg>button.on {
background: var(--hover-bg);
color: var(--text-heading);
color: var(--text);
}
#mobile-bar {
@@ -645,7 +649,7 @@ footer#site-footer {
}
.mobile-crumbs .crumb-heading {
color: var(--text-heading);
color: var(--text);
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
@@ -667,7 +671,7 @@ footer#site-footer {
border: none;
background: var(--hover-bg);
border-radius: 100px;
color: var(--text-heading);
color: var(--text);
font: inherit;
font-size: 15px;
cursor: pointer;
@@ -728,11 +732,11 @@ footer#site-footer {
.mt-menu .mt-item:hover {
background: var(--hover-bg);
color: var(--text-heading);
color: var(--text);
}
.mt-menu .mt-item.on {
color: var(--text-heading);
color: var(--text);
font-weight: 600;
}
@@ -754,12 +758,6 @@ footer#site-footer {
display: none;
}
body.is-home #sidebar,
body.is-home #toc,
body.is-home #mobile-bar {
display: none !important;
}
body.is-home #layout {
display: block;
width: 100%;
@@ -805,14 +803,23 @@ body.is-home main.prose {
align-items: center;
}
body.is-home #toc,
body.is-home #sidebar,
body.is-home #mobile-bar {
display: none !important;
}
@media (max-width: 900px) {
:root {
--header-height: 60px;
}
#header-container {
width: 91%;
border-radius: 25px;
width: 90%;
border-radius: 30px;
backdrop-filter: blur(15px) saturate(1.2);
-webkit-backdrop-filter: blur(15px) saturate(1.2);
top: max(6px, env(safe-area-inset-top));
}
#navbar .tabs,
@@ -865,7 +872,7 @@ body.is-home main.prose {
}
#sidebar #theme-seg>button.on {
color: var(--text-heading);
color: var(--text);
font-weight: 900;
}
@@ -939,6 +946,7 @@ body.is-home main.prose {
height: 60px;
margin: 0 -16px 12px;
padding: 0 16px;
margin-top: max(6px, env(safe-area-inset-top));
}
#sidebar .side-head .brand {
@@ -958,4 +966,44 @@ body.is-home main.prose {
align-items: center;
margin-right: 4px;
}
}
@media (orientation: landscape) and (max-height: 550px) {
:root {
--header-height: 52px;
}
#header-container {
top: max(6px, env(safe-area-inset-top));
width: min(600px, 88vw);
border-radius: 20px;
}
#navbar .nav-top {
height: 46px;
}
#navbar .tabs {
height: 38px;
}
#navbar .tabs a {
padding: 4px 10px;
font-size: 13px;
}
#main-wrap {
margin-top: 100px;
}
#sidebar {
top: calc(var(--header-height) + 16px);
max-height: calc(100vh - var(--header-height) - 16px);
margin-top: 10px;
}
#mobile-bar {
padding: 6px 14px;
font-size: 13px;
}
}