Skip to content

Commit 4e6457c

Browse files
Revert "🌙 PR: Implemented Dark & Light Mode Toggle"
1 parent a7d6ff4 commit 4e6457c

File tree

3 files changed

+642
-1697
lines changed

3 files changed

+642
-1697
lines changed

assets/style.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ body {
6868
justify-content: space-between;
6969
}
7070
.topnav .brand {
71-
color: var(--text);
71+
color: #fff;
7272
text-decoration: none;
7373
font-weight: 700;
7474
font-size: 1.05rem;
@@ -185,7 +185,7 @@ body {
185185
.brand a {
186186
font-weight: 700;
187187
font-size: 18px;
188-
color: var(--text);
188+
color: var(--accent);
189189
text-decoration: none;
190190
}
191191

@@ -235,6 +235,7 @@ body {
235235
.toc-item a {
236236
display: block;
237237
padding: 8px 10px;
238+
color: rgba(255, 255, 255, 0.85);
238239
text-decoration: none;
239240
border-radius: 8px;
240241
transition: background 0.15s ease, color 0.15s ease,
@@ -259,7 +260,12 @@ body {
259260
opacity: 0.45;
260261
transform: none;
261262
}
262-
263+
.toc-item a.active {
264+
background: linear-gradient(90deg, var(--hf-left), var(--hf-right));
265+
color: #021025;
266+
font-weight: 700;
267+
transform: translateX(2px) scale(1.01);
268+
}
263269
.toc-empty {
264270
color: var(--muted);
265271
font-style: italic;

0 commit comments

Comments
 (0)