chore: minor stylistic changes

This commit is contained in:
2024-08-03 03:31:31 +02:00
parent 3316f6a6ec
commit a87c87eb10
4 changed files with 23 additions and 17 deletions
+20 -12
View File
@@ -84,22 +84,30 @@
p {
line-height: 1.75;
margin: 0 auto;
margin: 1rem auto;
}
p + p {
margin-top: 1rem;
// p + p {
// margin-top: 1rem;
// }
// h1 + p,
// h2 + p,
// h3 + p,
// h4 + p {
// margin-top: 1rem;
// }
// p:has(+ h1, + h2, + h3, + h4) {
// margin-bottom: 1rem;
// }
p:first-child {
margin-top: 0;
}
h1 + p,
h2 + p,
h3 + p,
h4 + p {
margin-top: 1rem;
}
p:has(+ h1, + h2, + h3, + h4) {
margin-bottom: 1rem;
p:last-child {
margin-bottom: 0;
}
strong {