oficinasuport-wp-theme/sass/layouts/_no-sidebar.scss

59 lines
871 B
SCSS
Raw Normal View History

@media screen {
.no-sidebar {
.site {
display: grid;
grid-template-columns: auto;
grid-template-areas:
"header"
"main"
"footer";
margin: auto;
padding: 0 1rem;
max-width: 80em;
}
.site-header {
.main {
display: flex;
flex-flow: column;
align-items: center;
}
.secondary {
display: flex;
flex-flow: column;
align-items: center;
}
}
2022-11-29 19:49:21 +01:00
}
}
@media screen and (min-width: 48em) {
.no-sidebar {
.site {
padding: 0 2rem;
}
.site-header {
.main {
border-bottom: 1px solid $color__grey-lighter;
}
.secondary {
//justify-content: center;
}
}
}
}
@media screen and (min-width: 80em) {
.no-sidebar {
.site {
padding: 0 3rem;
2022-11-29 19:49:21 +01:00
}
.site-header {
.main {
flex-flow: row;
align-items: center;
justify-content: space-between;
}
.secondary {
}
2022-11-29 19:49:21 +01:00
}
}
}