Skip to content

Commit d55a185

Browse files
Make footer attribution readable on dark sidebar
Stop hiding the Just the Docs theme credits and instead style them for readability on the dark navy sidebar. Set a light text color for .site-footer and apply $spectra-teal-light (underlined) to footer links so the attribution remains visible; removed previous rules that hid p:last-child and .site-footer-credits.
1 parent 72c932e commit d55a185

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/_sass/custom/custom.scss

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,16 @@
4242
}
4343
}
4444

45-
// Hide "Just the Docs" theme attribution in footer
45+
// Sidebar footer sits on the dark navy sidebar, so the default dark
46+
// "This site uses Just the Docs" credits are invisible. Force a light
47+
// color (and matching link color) so the attribution stays readable.
4648
.site-footer {
47-
// The theme renders two elements: custom footer_content + theme credits paragraph.
48-
// Hide everything after the first child (our custom content).
49-
p:last-child {
50-
display: none !important;
51-
}
49+
color: rgba(255, 255, 255, 0.78) !important;
5250

53-
.site-footer-credits {
54-
display: none !important;
51+
a,
52+
a:link,
53+
a:visited {
54+
color: $spectra-teal-light !important;
55+
text-decoration: underline;
5556
}
5657
}

0 commit comments

Comments
 (0)