summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-04-15 21:08:19 -0700
committerPreston Pan <ret2pop@nullring.xyz>2026-04-15 21:08:19 -0700
commit5b8652b795d154e90fa782198d0624fe49f34f90 (patch)
tree123fa57535e8ed0e33cce1a3441ea0876aac4024
parent6cd32ca4db28f25a7d2a9acd301a6996a3f9b5ef (diff)
change color
-rw-r--r--style.scss24
1 files changed, 9 insertions, 15 deletions
diff --git a/style.scss b/style.scss
index df95ea4..9fa1aea 100644
--- a/style.scss
+++ b/style.scss
@@ -42,6 +42,13 @@ $isa: (
}
}
+@mixin hide-scrollbar {
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+ overflow-y: auto;
+ &::-webkit-scrollbar { display: none; }
+}
+
@mixin custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: color-mix(in srgb, var(--accent) 50%, transparent) color-mix(in srgb, var(--accent) 8%, transparent);
@@ -90,7 +97,7 @@ $isa: (
--text-main: #4A3F35;
--text-highlight: #ffe066;
--accent: #D4A373;
- --toc-bg: #F2EFE7;
+ --toc-bg: #f0e0b9;
--link-color: #B0413E;
--code-bg: #1e1e2e;
@@ -741,20 +748,7 @@ h1.title {
overflow-y: auto;
overflow-x: hidden;
- @include custom-scrollbar;
-
- &::before {
- content: "NAVIGATION";
- display: block;
- padding: 24px 16px 12px 19px;
- font-family: var(--font-mono), monospace;
- font-size: 11px;
- font-weight: bold;
- letter-spacing: 2px;
- color: var(--text-main);
- border-bottom: 1px solid accent_rgba(0.2);
- margin-bottom: 10px;
- }
+ @include hide-scrollbar;
ul {
list-style-type: none;