Skip to content

Commit 9d5b790

Browse files
authored
refactor: applying some spacing to elements to allow some things to breathe (#56)
* refactor: applying some spacing to elements to allow some things to breathe * refactor: more padding for anchor'd headings
1 parent aabfe76 commit 9d5b790

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

assets/css/main.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
p {
5656
@apply block text-base/normal font-medium;
5757
margin-block: unset;
58-
@apply py-2;
58+
@apply py-2.5;
5959
}
6060
}
6161

@@ -80,6 +80,10 @@ a:hover .anchor-icon {
8080
visibility: visible;
8181
}
8282

83+
a :is(h1, h2, h3, h4, h5, h6) {
84+
@apply pt-1;
85+
}
86+
8387
:is(h1, h2, h3, h4, h5, h6) code {
8488
@apply border-1;
8589
}
@@ -173,7 +177,7 @@ code {
173177
}
174178

175179
.main :is(ul, ol) {
176-
@apply list-outside;
180+
@apply mb-4 ml-8 list-outside;
177181
}
178182

179183
.main ul {
@@ -379,6 +383,9 @@ hr {
379383

380384
#TableOfContents {
381385
@apply my-4;
386+
ul {
387+
@apply ml-4;
388+
}
382389
}
383390

384391
.highlight {

0 commit comments

Comments
 (0)