| 1 |
html { |
| 2 |
/***************************************************************************** |
| 3 |
* Overall Layout Variables |
| 4 |
*/ |
| 5 |
|
| 6 |
// Header height will impact the top offset for many sections |
| 7 |
// Article header is 66% of Header |
| 8 |
--pst-header-height: 4rem; |
| 9 |
--pst-header-article-height: calc(var(--pst-header-height) * 2 / 3); |
| 10 |
--pst-sidebar-secondary: 17rem; |
| 11 |
} |
| 12 |
|
| 13 |
/******************************************************************************* |
| 14 |
* Breakpoints that trigger UI changes |
| 15 |
* |
| 16 |
* Note that media-breakpoint-down begins at the next highest level! |
| 17 |
* So we should choose a media-breakpoint-down one *lower* than when we want to start |
| 18 |
* example: media-breakpoint-up(md) and media-breakpoint-down(sm) trigger at the same time |
| 19 |
* ref: https://github.com/twbs/bootstrap/issues/31214 |
| 20 |
*/ |
| 21 |
$breakpoint-sidebar-primary: lg; // When we collapse the primary sidebar |
| 22 |
$breakpoint-sidebar-secondary: xl; // When we collapse the secondary sidebar |
| 23 |
$breakpoint-page-width: 88rem; // taken from sphinx-basic-ng, which we are ultimately going to inherit |
| 24 |
|
| 25 |
/******************************************************************************* |
| 26 |
* Define the animation behaviour |
| 27 |
*/ |
| 28 |
$animation-time: 200ms; |
| 29 |
|
| 30 |
/******************************************************************************* |
| 31 |
* UI shaping and padding |
| 32 |
*/ |
| 33 |
$admonition-border-radius: 0.25rem; |
| 34 |
|
| 35 |
// In this theme, some focus rings have rounded corners while others do not. |
| 36 |
// This variable sets the border radius for the rounded focus rings. |
| 37 |
$focus-ring-radius: 0.125rem; // 2px at 100% zoom and 16px base font. |
| 38 |
|
| 39 |
$navbar-link-padding-y: 0.25rem; |
| 40 |
|
| 41 |
// Ensure that there is no overlap of bumper disks (smallest circle that |
| 42 |
// contains the bounding box of the interactive element). |
| 43 |
// - https://github.com/Quansight-Labs/czi-scientific-python-mgmt/issues/81#issuecomment-2251325783 |
| 44 |
$nav-icon-column-gap: 1.12rem; |
| 45 |
|
| 46 |
// Determines vertical space between entries in both the section (left/primary |
| 47 |
// sidebar) and page (right/secondary sidebar) table of contents |
| 48 |
$toc-item-padding-y: 0.25rem; |