1
0
Fork 0
forked from Mirrors/gomuks

web/timeline: adjust paragraph margins and header font sizes

This commit is contained in:
Tulir Asokan 2024-10-25 14:19:04 +03:00
parent b7975f1b4d
commit 692cb323a5

View file

@ -112,7 +112,15 @@ div.html-body {
margin: 0 0 .5rem; margin: 0 0 .5rem;
} }
p, ul, ol, dl, table, pre, blockquote { h1, h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.25em;
}
ul, ol, dl, table, pre, blockquote {
&:not(:last-child) { &:not(:last-child) {
margin: 0 0 .25rem; margin: 0 0 .25rem;
} }
@ -120,6 +128,15 @@ div.html-body {
margin: 0; margin: 0;
} }
} }
p {
&:not(:last-child) {
margin: 0 0 1rem;
}
&:last-child {
margin: 0;
}
}
} }
div.media-container { div.media-container {