Skip to content

Commit 9b36fd5

Browse files
committed
Refactor CSS for improved organization and styling
- Adjusted typography and scrollbar appearance
1 parent 5fc3c46 commit 9b36fd5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

assets/style.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,24 @@ a.author-link {
156156

157157
a.author-link:hover {
158158
color: var(--high-color);
159+
}
160+
161+
162+
/* Custom scrollbar */
163+
::-webkit-scrollbar {
164+
width: 12px; /* Width of the entire scrollbar */
165+
}
166+
167+
::-webkit-scrollbar-track {
168+
background: var(--background-body); /* Color of the tracking area */
169+
}
170+
171+
::-webkit-scrollbar-thumb {
172+
background-color: #304d80; /* Color of the scroll thumb */
173+
border-radius: 20px; /* Rounded corners */
174+
border: 3px solid var(--background-body); /* Border around the thumb */
175+
}
176+
177+
::-webkit-scrollbar-thumb:hover {
178+
background-color: var(--high-color); /* Color on hover */
159179
}

0 commit comments

Comments
 (0)