Skip to content

Commit 4445ab2

Browse files
committed
Nicer default font sizes
1 parent 75c65e1 commit 4445ab2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/_static/custom.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,16 @@ h5{
112112
h6{
113113
font-size: 100%;
114114
}
115+
.rst-content dl:not(.docutils) dt,
116+
.rst-content dl:not(.docutils) .field-list>dt {
117+
font-size: 100%; /* default is 90% */
118+
}
115119
.wy-menu-vertical header, .wy-menu-vertical p.caption {
116-
font-size: 90%; /* default is 85% */
120+
font-size: 100%; /* default is 85% */
121+
padding: 0 1.4em; /* fix alignment */
122+
}
123+
.wy-menu-vertical a {
124+
padding: 0.4em 1.6em /* mostly unchanged */
117125
}
118126

119127
/* RST content background color */
@@ -298,8 +306,8 @@ code,
298306

299307
/* Parameters and Returns header colors */
300308
.rst-content dl:not(.docutils) .field-list>dt {
301-
font-weight: bold;
302309
color: var(--main-color);
310+
font-weight: bold;
303311
background: var(--block-bg-color);
304312
border-left-color: var(--accent-bg-color);
305313
/* padding: 0; */ /* remove accents, decided against this */

0 commit comments

Comments
 (0)