update css
parent
ceb5160316
commit
a38e92a879
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue