|
| 1 | +/* Prerau Lab branding overlay on top of default Furo. |
| 2 | + Keeps Furo's default typography; adds a PRERAU LAB eyebrow above the |
| 3 | + project name and a sleepEEG.org link below (see templates/sidebar/brand.html). |
| 4 | +*/ |
| 5 | + |
| 6 | +.prerau-brand-wrapper { |
| 7 | + padding: 1.2rem 0 0.6rem 0; |
| 8 | +} |
| 9 | + |
| 10 | +/* "PRERAU LAB" eyebrow */ |
| 11 | +.prerau-lab-eyebrow { |
| 12 | + font-weight: 500; |
| 13 | + font-size: 1.35rem; |
| 14 | + text-transform: uppercase; |
| 15 | + letter-spacing: 0.075em; |
| 16 | + color: var(--color-foreground-primary); |
| 17 | + line-height: 1.25; |
| 18 | + margin-bottom: 0.3rem; |
| 19 | +} |
| 20 | + |
| 21 | +/* Project name (Furo's default, but tightened under the eyebrow) */ |
| 22 | +.sidebar-brand { |
| 23 | + text-decoration: none; |
| 24 | + padding: 0; |
| 25 | +} |
| 26 | + |
| 27 | +.sidebar-brand-text { |
| 28 | + color: var(--color-foreground-secondary); |
| 29 | + font-weight: 400; |
| 30 | + font-size: 1.0rem; |
| 31 | + letter-spacing: 0; |
| 32 | +} |
| 33 | + |
| 34 | +/* sleepEEG.org link — between the eyebrow and the project name */ |
| 35 | +.prerau-lab-site-link { |
| 36 | + display: block; |
| 37 | + margin-bottom: 0.55rem; |
| 38 | + font-size: 0.82rem; |
| 39 | + color: var(--color-foreground-muted); |
| 40 | + text-decoration: none; |
| 41 | + transition: color 0.15s ease; |
| 42 | +} |
| 43 | + |
| 44 | +.prerau-lab-site-link:hover { |
| 45 | + color: var(--color-brand-primary); |
| 46 | +} |
| 47 | + |
| 48 | +/* Dark-mode tweaks */ |
| 49 | +body[data-theme="dark"] .prerau-lab-eyebrow { |
| 50 | + color: var(--color-foreground-primary); |
| 51 | +} |
| 52 | + |
| 53 | +/* Always-expanded sidebar toctree groups ------------------------------- */ |
| 54 | +/* Furo collapses `.toctree-l*.has-children` children via a hidden |
| 55 | + checkbox + label. Override to show every child list by default and |
| 56 | + hide the disclosure toggle. */ |
| 57 | + |
| 58 | +.sidebar-tree input.toctree-checkbox ~ ul { |
| 59 | + display: revert !important; |
| 60 | +} |
| 61 | + |
| 62 | +.sidebar-tree input.toctree-checkbox, |
| 63 | +.sidebar-tree .toctree-l1.has-children > label, |
| 64 | +.sidebar-tree .toctree-l2.has-children > label, |
| 65 | +.sidebar-tree .toctree-l3.has-children > label { |
| 66 | + display: none !important; |
| 67 | +} |
| 68 | + |
| 69 | +/* Tighten spacing for the now-always-visible deep children */ |
| 70 | +.sidebar-tree li.toctree-l2 { |
| 71 | + margin-top: 0.15rem; |
| 72 | + margin-bottom: 0.15rem; |
| 73 | +} |
0 commit comments