abdullahtarawneh.com/assets/scss/base/layout.scss
2024-05-26 01:02:46 -05:00

30 lines
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;}
}