2022-12-01 10:08:19 +01:00
|
|
|
@media screen {
|
|
|
|
.no-sidebar {
|
|
|
|
.site {
|
|
|
|
display: grid;
|
2022-12-30 00:55:10 +01:00
|
|
|
grid-template-columns: 1fr minmax(0,35em) minmax(0,35em) 1fr;
|
2022-12-01 10:08:19 +01:00
|
|
|
grid-template-areas:
|
2022-10-24 23:46:53 +02:00
|
|
|
"header"
|
|
|
|
"main"
|
2022-12-30 00:55:10 +01:00
|
|
|
"aside"
|
2022-10-24 23:46:53 +02:00
|
|
|
"footer";
|
2022-12-01 10:08:19 +01:00
|
|
|
margin: auto;
|
2022-12-30 00:55:10 +01:00
|
|
|
padding: 0;
|
2022-12-30 01:20:14 +01:00
|
|
|
> header {
|
2022-12-30 00:55:10 +01:00
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
2022-12-30 01:20:14 +01:00
|
|
|
> main {
|
2022-12-30 00:55:10 +01:00
|
|
|
grid-column: 2 / 4;
|
2022-12-30 01:20:14 +01:00
|
|
|
padding: 0 1rem;
|
2022-12-30 00:55:10 +01:00
|
|
|
}
|
2022-12-30 01:20:14 +01:00
|
|
|
> aside {
|
2022-12-30 00:55:10 +01:00
|
|
|
grid-column: 2 / 4;
|
2022-12-30 01:20:14 +01:00
|
|
|
padding: 0 1rem;
|
2022-12-30 00:55:10 +01:00
|
|
|
}
|
2022-12-30 01:20:14 +01:00
|
|
|
> footer {
|
2022-12-30 00:55:10 +01:00
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
2022-12-01 10:08:19 +01:00
|
|
|
}
|
|
|
|
.site-header {
|
2022-12-03 19:49:36 +01:00
|
|
|
position: sticky;
|
2022-12-22 18:20:07 +01:00
|
|
|
z-index: 900;
|
2022-12-03 19:49:36 +01:00
|
|
|
top: 0;
|
2022-12-23 23:12:24 +01:00
|
|
|
margin-bottom: 2rem;
|
2022-12-30 01:20:14 +01:00
|
|
|
background-color: $color__white;
|
2022-12-30 00:55:10 +01:00
|
|
|
i-moz-box-shadow: 0 15px 30px rgba(0,0,0,0.05), 0 1px 0 0 rgba(0,0,0,0.01);
|
|
|
|
-webkit-box-shadow: 0 15px 30px rgba(0,0,0,0.05), 0 1px 0 0 rgba(0,0,0,0.01);
|
|
|
|
box-shadow: 0 15px 30px rgba(0,0,0,0.05), 0 1px 0 0 rgba(0,0,0,0.0);
|
2022-12-01 10:08:19 +01:00
|
|
|
.main {
|
|
|
|
display: flex;
|
2022-12-03 19:49:36 +01:00
|
|
|
flex-flow: row;
|
2022-12-01 10:08:19 +01:00
|
|
|
align-items: center;
|
2022-12-03 19:49:36 +01:00
|
|
|
justify-content: space-around;
|
2022-12-01 10:08:19 +01:00
|
|
|
}
|
|
|
|
.secondary {
|
2022-12-02 16:14:31 +01:00
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
2022-12-01 10:08:19 +01:00
|
|
|
}
|
|
|
|
}
|
2022-12-22 18:04:38 +01:00
|
|
|
.site-main {
|
|
|
|
h1,h2,h3,h4,h5,h6,.entry-content {
|
|
|
|
margin:0;
|
|
|
|
}
|
|
|
|
}
|
2022-11-29 19:49:21 +01:00
|
|
|
}
|
2022-12-29 00:19:41 +01:00
|
|
|
.ofisuport-destacats,.ofisuport-featured,.archive-posts {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(1 , 1fr);
|
|
|
|
gap: $grid__gap;
|
|
|
|
}
|
2022-12-01 10:08:19 +01:00
|
|
|
}
|
|
|
|
@media screen and (min-width: 48em) {
|
|
|
|
.no-sidebar {
|
|
|
|
.site {
|
2022-12-30 01:20:14 +01:00
|
|
|
> header {
|
|
|
|
}
|
|
|
|
> main {
|
|
|
|
padding: 0 2rem;
|
|
|
|
}
|
|
|
|
> aside {
|
|
|
|
padding: 0 2rem;
|
|
|
|
}
|
|
|
|
> footer {
|
|
|
|
}
|
2022-12-01 10:08:19 +01:00
|
|
|
}
|
|
|
|
.site-header {
|
|
|
|
.main {
|
2022-12-03 19:49:36 +01:00
|
|
|
flex-flow: column;
|
2022-12-01 10:08:19 +01:00
|
|
|
}
|
|
|
|
.secondary {
|
2022-12-30 01:20:14 +01:00
|
|
|
border-top: 1px solid $color__grey-lighter;
|
2022-12-01 10:08:19 +01:00
|
|
|
}
|
|
|
|
}
|
2022-12-29 01:15:31 +01:00
|
|
|
&.single {
|
|
|
|
.site-main {
|
|
|
|
width: 45rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2022-12-01 10:08:19 +01:00
|
|
|
}
|
2022-12-29 00:19:41 +01:00
|
|
|
|
|
|
|
.ofisuport-destacats,.ofisuport-featured,.archive-posts {
|
|
|
|
grid-template-columns: repeat(4 , 1fr);
|
|
|
|
.entry-title {
|
|
|
|
min-height: 13rem;
|
|
|
|
}
|
|
|
|
}
|
2022-12-01 10:08:19 +01:00
|
|
|
}
|
|
|
|
@media screen and (min-width: 80em) {
|
|
|
|
.no-sidebar {
|
|
|
|
.site {
|
2022-12-30 01:20:14 +01:00
|
|
|
> header {
|
|
|
|
}
|
|
|
|
> main {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
> aside {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
> footer {
|
|
|
|
}
|
2022-11-29 19:49:21 +01:00
|
|
|
}
|
2022-12-01 10:08:19 +01:00
|
|
|
.site-header {
|
|
|
|
.main {
|
2022-12-30 01:20:14 +01:00
|
|
|
width: 80em;
|
|
|
|
margin: auto;
|
2022-12-01 10:08:19 +01:00
|
|
|
flex-flow: row;
|
|
|
|
}
|
|
|
|
.secondary {
|
|
|
|
}
|
2022-11-29 19:49:21 +01:00
|
|
|
}
|
2022-10-24 23:46:53 +02:00
|
|
|
}
|
|
|
|
}
|