mirror of
https://codeberg.org/vegvisir/website.git
synced 2025-09-14 00:43:42 +02:00
55 lines
No EOL
868 B
CSS
55 lines
No EOL
868 B
CSS
vv-shell {
|
|
display: grid;
|
|
grid-template-rows: calc(var(--running-size) - var(--padding)) 1fr var(--running-size);
|
|
grid-template-areas:
|
|
"header header"
|
|
"aside main"
|
|
"footer footer"
|
|
;
|
|
grid-template-columns: 300px 1fr;
|
|
}
|
|
|
|
/* # Main */
|
|
|
|
main {
|
|
--primer-color-accent: 0, 0, 0;
|
|
--color-accent: black;
|
|
|
|
gap: var(--padding);
|
|
display: flex;
|
|
padding: var(--padding);
|
|
grid-area: main;
|
|
font-family: sans-serif;
|
|
flex-direction: column;
|
|
}
|
|
|
|
main code {
|
|
color: white;
|
|
padding: 0 5px;
|
|
font-weight: normal;
|
|
font-family: monospace;
|
|
border-radius: 6px;
|
|
background-color: #212121;
|
|
}
|
|
|
|
main h2 {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
main h3 {
|
|
font-size: 1em;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/* # Sections */
|
|
|
|
section.md {
|
|
gap: calc(var(--padding) / 2);
|
|
display: flex;
|
|
align-items: baseline;
|
|
flex-direction: column;
|
|
}
|
|
|
|
section.md :is(ol, ul) li {
|
|
margin: calc(var(--padding) / 2) 0;
|
|
} |