Skip to content

Commit 1cab8b9

Browse files
committed
fix: improve footer and sidebar contrast for accessibility
Use parchment-light for footer text and parchment for license text instead of darker variants. Remove duplicate .site-footer rule. Change sidebar active link to brown-dark for better contrast ratio.
1 parent 8c87e7d commit 1cab8b9

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

src/assets/css/style.css

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ li::marker {
379379
.sidebar-nav .quest-link.active {
380380
background: rgba(200, 169, 81, 0.2);
381381
border-left-color: var(--color-gold);
382-
color: var(--color-gold-dark);
382+
color: var(--color-brown-dark);
383383
font-weight: 600;
384384
}
385385

@@ -1379,17 +1379,6 @@ tbody tr:hover {
13791379
text-decoration: none;
13801380
}
13811381

1382-
1383-
/* --- Site Footer --- */
1384-
.site-footer {
1385-
text-align: center;
1386-
padding: var(--spacing-xl) var(--spacing-lg);
1387-
border-top: 1px solid var(--color-parchment-dark);
1388-
color: var(--color-brown-medium);
1389-
font-size: 0.85rem;
1390-
margin-top: var(--spacing-2xl);
1391-
}
1392-
13931382
.site-footer a {
13941383
color: var(--color-gold-dark);
13951384
}
@@ -1505,7 +1494,7 @@ tbody tr:hover {
15051494

15061495
.site-footer {
15071496
background: var(--color-brown-dark);
1508-
color: var(--color-parchment-dark);
1497+
color: var(--color-parchment-light);
15091498
text-align: center;
15101499
padding: var(--spacing-xl) var(--spacing-lg);
15111500
font-size: 0.85rem;
@@ -1535,7 +1524,7 @@ tbody tr:hover {
15351524

15361525
.footer-license {
15371526
font-size: 0.8rem;
1538-
color: var(--color-parchment-darker);
1527+
color: var(--color-parchment);
15391528
margin-top: var(--spacing-sm) !important;
15401529
}
15411530

0 commit comments

Comments
 (0)