Skip to content

Commit f48e865

Browse files
author
Homebrew Games Website
committed
Fix header navigation and dropdowns to respect theme variables
1 parent 52d7c8c commit f48e865

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

styles.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,18 @@ body {
4747
top: 0;
4848
left: 0;
4949
right: 0;
50-
background: rgba(10, 10, 10, 0.95);
50+
background: var(--primary-bg);
5151
backdrop-filter: blur(10px);
5252
border-bottom: 1px solid var(--border-color);
5353
z-index: 1000;
5454
transition: var(--transition);
5555
}
5656

5757
.header-top {
58-
background: rgba(15, 15, 15, 0.98);
58+
background: var(--primary-bg);
5959
padding: 0.75rem 0;
6060
}
6161

62-
[data-theme="light"] .header-top {
63-
background: rgba(245, 245, 245, 0.98);
64-
}
65-
6662
.header-top-container {
6763
max-width: 1200px;
6864
margin: 0 auto;
@@ -101,6 +97,7 @@ body {
10197

10298
.header-nav {
10399
padding: 1rem 0;
100+
background: var(--secondary-bg);
104101
}
105102

106103
.nav-container {
@@ -243,7 +240,7 @@ body {
243240

244241
.dropdown-link:hover {
245242
color: var(--text-primary);
246-
background-color: rgba(255, 255, 255, 0.05);
243+
background-color: var(--border-color);
247244
}
248245

249246
/* Main content */

0 commit comments

Comments
 (0)