abdullahtarawneh.com/assets/scss/base/sections.scss

39 lines
712 B
SCSS
Raw Normal View History

2020-10-10 19:47:58 +00:00
html {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
scroll-behavior: smooth;
}
body {
2020-10-10 23:43:26 +00:00
display: flex;
flex-flow: column;
min-height: 100vh;
2020-10-10 19:47:58 +00:00
position: relative;
}
2020-10-10 23:43:26 +00:00
main {flex-grow: 1;}
2020-10-10 19:47:58 +00:00
.section {
2020-10-10 23:43:26 +00:00
padding: 2em 0;
@media (min-width: 600px) {padding: 3em 0}
@media (min-width: 62em) {padding: 4em 0}
2020-10-10 19:47:58 +00:00
}
.container {
width: 100%;
max-width: 960px;
margin: 0 auto;
padding: 0 1em;
}
.section-heading {
2021-10-18 05:23:32 +00:00
font-size: 2em;
font-weight: 700;
2020-10-10 19:47:58 +00:00
line-height: 1.2;
2021-10-18 05:23:32 +00:00
/*
2020-10-10 19:47:58 +00:00
max-width: 18ch;
2021-10-18 05:23:32 +00:00
text-align: center;
2020-10-10 19:47:58 +00:00
margin: 0 auto;
margin-bottom: 4em;
2021-10-18 05:23:32 +00:00
2020-10-10 19:47:58 +00:00
border-bottom: 2px solid rgba(0,0,0,0.25)
2021-10-18 05:23:32 +00:00
*/
padding-bottom: 1em;
2020-10-10 19:47:58 +00:00
}