Differentiate blog and docs and sectionize headings

This commit is contained in:
thiloho
2024-08-18 18:17:59 +02:00
parent 9ac950e8a1
commit 96d4d5aaa6
7 changed files with 323 additions and 58 deletions

View File

@@ -2,13 +2,24 @@
color-scheme: light dark;
}
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin-inline: auto;
inline-size: min(100% - 2rem, 75ch);
line-height: 1.5;
font-family: system-ui, sans-serif;
}
.container {
margin-inline: auto;
inline-size: min(100% - 2rem, 75ch);
}
img,
picture,
svg,
@@ -16,3 +27,14 @@ video {
max-inline-size: 100%;
block-size: auto;
}
nav,
header,
main,
footer {
padding-block: 1rem;
}
section + section {
margin-block-start: 1rem;
}