abdullahtarawneh.com/assets/scss/base/layout.scss
a 2247ee2776 June 2024 redesign (#1)
still missing some things but they were missing before anyway. so it's probably better to just push and deploy already.

Reviewed-on: #1
2024-06-03 23:22:36 +00:00

30 lines
No EOL
537 B
SCSS

* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
padding: 0;
display: flex;
flex-flow: column;
min-height: calc(var(--vh, 1vh) * 100);
}
main {flex-grow: 1;}
.section {
padding: 2em 0;
@media (min-width: 600px) {padding: 3em 0}
@media (min-width: 62em) {padding: 4em 0}
}
.container {
max-width: var(--max-container-width);
margin: 0 auto;
padding: 0 1rem;
}
@media (min-width: 60rem) {
.container {padding-inline: 2rem;}
}
@media (min-width: 1200px) {
.container {padding-inline: 3rem;}
}