Skip to content

Commit a6a7e68

Browse files
034: enlarge sidebar banner and align navy with banner color
- Sidebar background changed from #16213e to #1a2744 to match the navy in spectra_dashboard_banner.png — eliminates the visible seam at the bottom of the banner. - Logo height bumped from 6/7rem to 9/11rem so it reads as a proper header banner instead of a small inset image.
1 parent a3ec80b commit a6a7e68

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/_sass/color_schemes/spectra.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ $spectra-text: #2a2f45;
1919
$spectra-code-bg: #efe9d8;
2020

2121
// --- Sidebar / Navigation ---
22-
$sidebar-color: $spectra-navy;
22+
// Use the lighter navy that matches the dashboard banner background
23+
// so the banner sits flush in the sidebar with no visible seam.
24+
$sidebar-color: $spectra-navy-light;
2325
$nav-width: 17.5rem;
2426
$nav-link-color: rgba(255, 255, 255, 0.92);
2527
$nav-child-link-color: rgba(255, 255, 255, 0.78);

docs/_sass/custom/custom.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@
2929
}
3030

3131
// 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.
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.
3334
.site-logo {
3435
width: 100%;
35-
height: 6rem; // ~96px tall — readable but not huge
36+
height: 9rem;
3637
background-size: contain;
3738
background-position: center center;
3839
background-repeat: no-repeat;
@@ -48,6 +49,6 @@
4849
// Larger sidebar logo on bigger screens
4950
@media (min-width: 50rem) {
5051
.side-bar .site-logo {
51-
height: 7rem;
52+
height: 11rem;
5253
}
5354
}

0 commit comments

Comments
 (0)