lunasqu.ee-nuxt/assets/styles/components/_section.scss

38 lines
690 B
SCSS
Raw Normal View History

2022-10-15 15:20:33 +00:00
section {
display: flex;
flex-direction: column;
color: #eee;
min-height: 100vh;
.section-expand {
flex-grow: 1;
}
.section-header {
overflow: hidden;
padding: 20px;
background-color: #383838;
border-bottom: 5px solid #252525;
text-transform: uppercase;
text-align: center;
}
.section-content {
display: flex;
flex-direction: column;
justify-content: space-around;
padding-top: 0;
background-color: #313131;
color: #fff;
overflow: auto;
flex-grow: 1;
min-height: calc(100vh - 80px);
padding: 0 20%;
font-size: 1.5rem;
@media screen and (max-width: 800px) {
padding: 0 2rem;
}
}
}