update css

urosm 2024-01-14 23:04:54 +01:00
parent ceb5160316
commit a38e92a879
1 changed files with 20 additions and 1 deletions

View File

@ -38,9 +38,20 @@ p {
margin: var(--height-unit) 0 0 0;
hyphens: auto;
}
blockquote {
margin: var(--height-unit) calc(2 * var(--width-unit));
}
ul, ol {
margin: var(--height-unit) 0;
padding: 0 0 0 calc(4 * var(--width-unit));
}
ul>li::marker {
content: "- ";
}
hr {
color: inherit;
border: none;
text-align: center;
margin: var(--height-unit) 0;
}
hr:after {
content: "---";
@ -55,6 +66,7 @@ body {
/* secondary grid */
body>main {
height: 100%;
display: grid;
grid-auto-flow: column;
grid-template-columns: repeat(auto-fit, var(--column-width));
@ -68,3 +80,10 @@ body>main>article {
width: var(--column-width);
overflow-y: scroll;
}
body>main>article>header>h1 {
margin: unset;
display: inline-block;
}
body>main>article>article {
margin: var(--height-unit) 0 0 0;
}