abdullahtarawneh.com/assets/scss/base/sections.scss
2020-10-10 14:47:58 -05:00

31 lines
641 B
SCSS

html {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
scroll-behavior: smooth;
}
body {
width: 100vw;
position: relative;
}
.section {
padding: 1em 0;
@media (min-width: 480px) {padding: 2em 0;}
@media (min-width: 960px) {padding: 4em 0;}
}
.container {
width: 100%;
max-width: 960px;
margin: 0 auto;
padding: 0 1em;
}
.section-heading {
font-size: 1.2em;
font-weight: 400;
line-height: 1.2;
text-align: center;
max-width: 18ch;
margin: 0 auto;
margin-bottom: 4em;
padding-bottom: 1em;
border-bottom: 2px solid rgba(0,0,0,0.25)
}