Skip to content

Commit 288f0c0

Browse files
committed
Dark mode navbar fixed
1 parent ba9e0cb commit 288f0c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

css/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ body {
124124
transform: translateY(-2px) scale(1.05);
125125
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
126126
}
127-
127+
body.dark-mode .navbar{
128+
background: linear-gradient(90deg, #1f2937, #111827);
129+
color: var(--text-light);
130+
box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.05);
131+
}
128132
body.dark-mode .nav-item {
129133
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
130134
color: var(--text-light);

0 commit comments

Comments
 (0)