Skip to content

Commit 630312b

Browse files
committed
Setup spacing with lobotmized owl; close space between dt/dd.
Trying to establish a good spacing rhythm. Line height 1.5em inter-element 1.2em dt/dd spacing 0.25em to put dt further away from previous element and closer to its dd.
1 parent 4faba43 commit 630312b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

doc/_static/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
);
4040
}
4141

42+
* + * { margin-block-start: 1.2em;}
43+
4244
h1, h2, h3, h4, h5, h6 {
4345
line-height: 1.25;
4446
/* Larger spacing before header and smaller after to make
@@ -242,7 +244,6 @@ table caption { font-weight: bold; font-size: smaller; }
242244

243245
table.footnote {
244246
font-size: calc(1em - 1pt);
245-
margin-block-start: 1em;
246247
position: relative
247248
}
248249

@@ -302,6 +303,7 @@ div.admonition.caution p.admonition-title {
302303
}
303304

304305
dt { font-weight: bold; margin-block-start: 1em;}
306+
dt + dd { margin-block-start: 0.25em; }
305307
dd p.first { margin-block-start: 0; }
306308

307309
#skiplink { display: block;

website/www/_static/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
);
4040
}
4141

42+
* + * { margin-block-start: 1.2em;}
43+
4244
h1, h2, h3, h4, h5, h6 {
4345
line-height: 1.25;
4446
/* Larger spacing before header and smaller after to make
@@ -301,6 +303,7 @@ div.admonition.caution p.admonition-title {
301303
}
302304

303305
dt { font-weight: bold; margin-block-start: 1em;}
306+
dt + dd { margin-block-start: 0.25em; }
304307
dd p.first { margin-block-start: 0; }
305308

306309
#skiplink { display: block;

0 commit comments

Comments
 (0)