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

153 lines
2.2 KiB
SCSS
Raw Normal View History

@media screen {
2023-01-02 15:56:17 +01:00
.no-sidebar {
}
.site {
display: grid;
grid-template-columns: 1fr minmax(0,35em) minmax(0,35em) 1fr;
grid-template-areas:
"header"
"main"
"aside"
"footer";
margin: auto;
padding: 0;
> header {
grid-column: 1 / -1;
}
> main {
grid-column: 2 / 4;
}
> aside {
grid-column: 2 / 4;
}
> footer {
grid-column: 1 / -1;
}
}
.site-header {
position: sticky;
z-index: 900;
top: 0;
margin-bottom: 2rem;
background-color: $color__white;
box-shadow: 0 15px 30px rgba(0,0,0,0.05), 0 1px 0 0 rgba(0,0,0,0.0);
.main {
display: flex;
2023-01-14 19:03:04 +01:00
flex-flow: column;
2023-01-14 19:44:08 +01:00
align-items: initial;
justify-content: space-around;
2023-01-14 19:44:08 +01:00
padding-left: 1rem;
}
.secondary {
display: flex;
flex-flow: column;
align-items: end;
}
}
.site-main {
padding: 0 1rem;
2022-11-29 19:49:21 +01:00
}
2023-01-02 15:56:17 +01:00
.site-footer {
}
.home-featured {
padding: 0 1rem;
}
2022-12-29 00:19:41 +01:00
.ofisuport-destacats,.ofisuport-featured,.archive-posts {
2023-01-03 14:04:07 +01:00
display: grid;
grid-template-columns: repeat(1 , 1fr);
gap: $grid__gap;
}
}
@media screen and (max-width: 48em) {
//only smaller than 48em
.site-header {
2023-01-14 19:03:04 +01:00
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0.5rem 0;
align-items: center;
}
.site-main {
}
.site-footer {
}
2023-01-02 15:56:17 +01:00
.page-template-funds-search {
}
.home-featured {
}
}
@media screen and (min-width: 48em) {
//only bigger than 48em
.site {
> header {
}
> main {
}
> aside {
}
> footer {
}
}
.site-header {
.main {
2023-01-14 19:44:08 +01:00
align-items: center;
}
.secondary {
border-top: 1px solid $color__grey-lighter;
2023-01-14 19:44:08 +01:00
align-items: center;
}
}
.site-main {
padding: 0 2rem;
}
2023-01-02 15:56:17 +01:00
.site-footer {
}
.home-featured {
padding: 0 2rem;
}
&.single {
.site-main {
width: 45rem;
margin: 0 auto;
2022-12-29 01:15:31 +01:00
}
}
.ofisuport-destacats,.ofisuport-featured,.archive-posts {
grid-template-columns: repeat(4 , 1fr);
}
.ofisuport-faqs-types {
margin: 1em 0;
.ofisuport-label {
// margin: 0;
}
}
}
@media screen and (min-width: 80em) {
//only bigger than 80rem
.site {
> header {
2022-11-29 19:49:21 +01:00
}
> main {
2022-11-29 19:49:21 +01:00
}
> aside {
}
> footer {
}
}
.site-header {
.main {
width: 80em;
margin: auto;
flex-flow: row;
}
.secondary {
}
}
.site-main {
padding: 0;
}
2023-01-02 15:56:17 +01:00
.site-footer {
}
.home-featured {
padding: 0;
}
}