File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed
src/pydata_sphinx_theme/assets/styles Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ nav.page-toc {
32
32
33
33
a .nav-link {
34
34
display : block ;
35
- padding : 0.125 rem 0 ;
35
+ padding : $toc-item-padding-y 0 ;
36
36
37
37
// Padding w/ negative margin so the top TOC item highlight overlaps w/ the TOC border
38
38
padding-left : 1rem ;
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ nav.bd-links {
237
237
238
238
li > a {
239
239
display : block ;
240
- padding : 0.25 rem 0.65rem ;
240
+ padding : $toc-item-padding-y 0.65rem ;
241
241
242
242
@include link-sidebar ;
243
243
Original file line number Diff line number Diff line change 6
6
// base font size - applied at body/html level
7
7
--pst-font-size-base : 1rem ;
8
8
9
- // heading font sizes based on bootstrap sizing
10
- --pst-font-size-h1 : 2.5rem ;
11
- --pst-font-size-h2 : 2rem ;
9
+ // heading font sizes based on a medium contrast type scale
10
+ // - see: https://github.com/Quansight-Labs/czi-scientific-python-mgmt/issues/97#issuecomment-2310531483
11
+ --pst-font-size-h1 : 2.625rem ;
12
+ --pst-font-size-h2 : 2.125rem ;
12
13
--pst-font-size-h3 : 1.75rem ;
13
14
--pst-font-size-h4 : 1.5rem ;
14
15
--pst-font-size-h5 : 1.25rem ;
15
- --pst-font-size-h6 : 1. 1rem ;
16
+ --pst-font-size-h6 : 1rem ;
16
17
17
18
// smaller than heading font sizes
18
19
--pst-font-size-milli : 0.9rem ;
28
29
29
30
// Font weights
30
31
--pst-font-weight-caption : 300 ;
31
- --pst-font-weight-heading : 400 ;
32
+ --pst-font-weight-heading : 600 ;
32
33
33
34
// Font family
34
35
// These are adapted from https://systemfontstack.com/ */
Original file line number Diff line number Diff line change @@ -42,3 +42,7 @@ $navbar-link-padding-y: 0.25rem;
42
42
// contains the bounding box of the interactive element).
43
43
// - https://github.com/Quansight-Labs/czi-scientific-python-mgmt/issues/81#issuecomment-2251325783
44
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 ;
Original file line number Diff line number Diff line change 1
1
WARNING: Cell printed to stderr:
2
2
Matplotlib is building the font cache; this may take a moment.
3
+ WARNING: failed to reach any of the inventories with the following issues:
4
+ intersphinx inventory
You can’t perform that action at this time.
0 commit comments