Skip to content

Commit ed385ec

Browse files
committed
docs: update spacing
1 parent 833ea9d commit ed385ec

1 file changed

Lines changed: 37 additions & 3 deletions

File tree

src/docs.css

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,46 @@
1-
table {
1+
.tsd-typography table {
22
border-collapse: collapse;
33
width: 100%;
44
box-sizing
55
}
66

7-
table td,
8-
table th {
7+
.tsd-typography table td,
8+
.tsd-typography table th {
99
vertical-align: top;
1010
border: 1px solid var(--color-accent);
1111
padding: 6px;
1212
}
13+
14+
.tsd-typography h1 + table,
15+
.tsd-typography h2 + table,
16+
.tsd-typography h3 + table,
17+
.tsd-typography h4 + table,
18+
.tsd-typography h5 + table,
19+
.tsd-typography h6 + table,
20+
21+
.tsd-typography h1 + pre,
22+
.tsd-typography h2 + pre,
23+
.tsd-typography h3 + pre,
24+
.tsd-typography h4 + pre,
25+
.tsd-typography h5 + pre,
26+
.tsd-typography h6 + pre {
27+
margin-top: 1em;
28+
}
29+
30+
31+
32+
.tsd-typography pre + a + h1,
33+
.tsd-typography pre + a + h2,
34+
.tsd-typography pre + a + h3,
35+
.tsd-typography pre + a + h4,
36+
.tsd-typography pre + a + h5,
37+
.tsd-typography pre + a + h6,
38+
39+
.tsd-typography table + a + h1,
40+
.tsd-typography table + a + h2,
41+
.tsd-typography table + a + h3,
42+
.tsd-typography table + a + h4,
43+
.tsd-typography table + a + h5,
44+
.tsd-typography table + a + h6 {
45+
margin-top: 2em;
46+
}

0 commit comments

Comments
 (0)