Skip to content

Commit 7db5244

Browse files
Use PST lists styling (#383)
1 parent 014e7e1 commit 7db5244

4 files changed

Lines changed: 16 additions & 24 deletions

File tree

assets/theme-css/bulma.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@
140140
padding: 0;
141141
}
142142
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
143-
ul {
144-
list-style: none;
145-
}
146143
input,
147144
select {
148145
margin: 0;

assets/theme-css/content.css

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,6 @@
1010
overflow: hidden;
1111
}
1212

13-
.content-container ul {
14-
list-style-type: circle;
15-
padding: 10px;
16-
margin-left: 15px;
17-
}
18-
19-
.content-container .toctree-wrapper ul:first-child {
20-
margin-left: 0;
21-
padding-left: 0.75rem;
22-
}
23-
24-
.content-container .toctree-wrapper ul {
25-
margin-left: 0.75rem;
26-
}
27-
28-
.content-container ol {
29-
padding: 10px;
30-
margin-left: 15px;
31-
}
32-
3313
.content-container .divider {
3414
height: 3px;
3515
border-radius: 50px;
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Override bootstrap by restoring the basic theme default.
2+
dd {
3+
margin-top: 3px;
4+
margin-bottom: 10px;
5+
margin-left: 30px;
6+
}
7+
8+
ol,
9+
ul {
10+
padding-inline-start: 2rem;
11+
li > p:first-child {
12+
margin-bottom: 0.25rem;
13+
margin-top: 0.25rem;
14+
}
15+
}

assets/theme-css/pst/pydata-sphinx-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
//@import "./content/figures";
5656
//@import "./content/footnotes";
5757
//@import "./content/hacks";
58-
//@import "./content/lists";
58+
@import "./content/lists";
5959
//@import "./content/quotes";
6060
//@import "./content/spans";
6161
//@import "./content/tables";

0 commit comments

Comments
 (0)