Skip to content

Commit c5c23fb

Browse files
fix: override .text-grey-dk-* on footer credits so they render light on dark sidebar
1 parent d55a185 commit c5c23fb

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

docs/_sass/custom/custom.scss

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,19 @@
4545
// Sidebar footer sits on the dark navy sidebar, so the default dark
4646
// "This site uses Just the Docs" credits are invisible. Force a light
4747
// color (and matching link color) so the attribution stays readable.
48-
.site-footer {
49-
color: rgba(255, 255, 255, 0.78) !important;
48+
.site-footer,
49+
.site-footer p,
50+
.site-footer .text-grey-dk-000,
51+
.site-footer .text-grey-dk-100,
52+
.site-footer .text-grey-dk-200,
53+
.site-footer .text-grey-dk-300 {
54+
color: rgba(255, 255, 255, 0.82) !important;
55+
}
5056

51-
a,
52-
a:link,
53-
a:visited {
54-
color: $spectra-teal-light !important;
55-
text-decoration: underline;
56-
}
57+
.site-footer a,
58+
.site-footer a:link,
59+
.site-footer a:visited,
60+
.site-footer a:hover {
61+
color: $spectra-teal-light !important;
62+
text-decoration: underline !important;
5763
}

0 commit comments

Comments
 (0)