trwnh.com/blog.hugo/assets/styles/layouts/_default/baseof.scss
2024-09-29 20:32:51 -05:00

24 lines
No EOL
376 B
SCSS

html {
font-family: sans-serif;
--container-width: 75rem;
--pad-x: 1rem;
@media (min-width: 30rem) {
--pad-x: 2rem;
}
}
body {
min-height: 100vh;
display: flex;
flex-flow: column;
}
main {
flex-grow: 1;
}
.section {
padding-inline: var(--pad-x, 1rem);
padding-block: var(--pad-y, 0rem);
}
.container {
max-width: var(--container-width, 60rem);
margin: 0 auto;
}