-
Notifications
You must be signed in to change notification settings - Fork 297
/
_layout.scss
33 lines (29 loc) · 1.29 KB
/
_layout.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
:root {
/*****************************************************************************
* Overall Layout Variables
*/
// Header height will impact the top offset for many sections
// Article header is 66% of Header
--pst-header-height: 3rem;
--pst-header-article-height: calc(var(--pst-header-height) * 2 / 3);
--pst-sidebar-secondary: 17rem;
}
/*******************************************************************************
* Breakpoints that trigger UI changes
*
* Note that media-breakpoint-down begins at the next highest level!
* So we should choose a media-breakpoint-down one *lower* than when we want to start
* example: media-breakpoint-up(md) and media-breakpoint-down(sm) trigger at the same time
* ref: https://github.com/twbs/bootstrap/issues/31214
*/
$breakpoint-sidebar-primary: lg; // When we collapse the primary sidebar
$breakpoint-sidebar-secondary: xl; // When we collapse the secondary sidebar
$breakpoint-page-width: 88rem; // taken from sphinx-basic-ng, which we are ultimately going to inherit
/*******************************************************************************
* Define the animation behaviour
*/
$animation-time: 200ms;
/*******************************************************************************
* UI shaping and padding
*/
$admonition-border-radius: 0.25rem;