File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed
Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change 22// SPECTRA — additional overrides on top of the spectra color scheme
33// =============================================================
44
5- // Sidebar header / logo area: the dashboard banner already has a navy
6- // background, so let it sit flush on the navy sidebar — no backdrop,
7- // no border, just a full-width banner that bleeds to the edges.
8-
95.side-bar {
106 .site-header {
117 background-color : transparent ;
12- padding : 0 ;
8+ padding : 0.75 rem 1 rem ;
139 height : auto ;
1410 min-height : 0 ;
1511 border-bottom : none ;
2824 }
2925 }
3026
31- // The logo itself (Just the Docs renders it as a background image
32- // on .site-logo). Force it to display as a block-level image and
33- // bleed full-width so the banner reads as a proper header.
27+ // Banner logo — scale to sidebar width, auto height
3428 .site-logo {
3529 width : 100% ;
36- height : 9rem ;
30+ height : auto ;
31+ max-height : 5rem ;
3732 background-size : contain ;
3833 background-position : center center ;
3934 background-repeat : no-repeat ;
4641 }
4742}
4843
49- // Larger sidebar logo on bigger screens
50- @media (min-width : 50rem ) {
51- .side-bar .site-logo {
52- height : 11rem ;
53- }
54- }
55-
5644// Hide "Just the Docs" theme attribution in footer
5745.site-footer .site-footer-credits {
5846 display : none ;
You can’t perform that action at this time.
0 commit comments