2024-01-09 16:13:20 +01:00
|
|
|
@media screen {
|
|
|
|
.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;
|
|
|
|
.main {
|
|
|
|
display: flex;
|
2024-01-14 20:13:11 +01:00
|
|
|
flex-flow: column;
|
|
|
|
align-items: initial;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-left: 1rem;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.secondary {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2024-01-14 20:13:11 +01:00
|
|
|
align-items: end;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.site-main {
|
|
|
|
padding: 0 1rem;
|
|
|
|
}
|
|
|
|
.site-footer {
|
|
|
|
}
|
|
|
|
.home-featured {
|
|
|
|
padding: 0 1rem;
|
|
|
|
}
|
2024-02-20 23:13:06 +01:00
|
|
|
.xarxaprod-destacats,.xarxaprod-featured,
|
|
|
|
.xarxaprod-last-convos,.xarxaprod-ultimes-convocatories,
|
|
|
|
.archive-posts {
|
2024-01-09 16:13:20 +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 {
|
2024-01-14 20:13:11 +01:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
align-items: center;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.site-main {
|
|
|
|
}
|
|
|
|
.site-footer {
|
|
|
|
}
|
|
|
|
.page-template-funds-search {
|
|
|
|
}
|
|
|
|
.home-featured {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 48em) {
|
|
|
|
//only bigger than 48em
|
|
|
|
.site {
|
|
|
|
> header {
|
|
|
|
}
|
|
|
|
> main {
|
|
|
|
}
|
|
|
|
> aside {
|
|
|
|
}
|
|
|
|
> footer {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.site-header {
|
2024-01-14 20:13:11 +01:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr minmax(0, 35em) minmax(0, 35em) 1fr;
|
|
|
|
grid-template-areas:
|
|
|
|
"main "
|
|
|
|
"secondary ";
|
|
|
|
margin: auto;
|
|
|
|
padding: 0;
|
|
|
|
|
2024-01-09 16:13:20 +01:00
|
|
|
.main {
|
2024-01-14 20:13:11 +01:00
|
|
|
grid-column: 2/4;
|
|
|
|
flex-flow: row;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.secondary {
|
2024-01-14 20:13:11 +01:00
|
|
|
grid-column: 2/4;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.site-main {
|
|
|
|
padding: 0 2rem;
|
|
|
|
}
|
|
|
|
.site-footer {
|
|
|
|
}
|
|
|
|
.home-featured {
|
|
|
|
padding: 0 2rem;
|
|
|
|
}
|
|
|
|
&.single {
|
|
|
|
.site-main {
|
2024-01-14 20:13:11 +01:00
|
|
|
width: 45rem;
|
2024-01-09 16:13:20 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2024-02-20 23:13:06 +01:00
|
|
|
.xarxaprod-destacats,.xarxaprod-featured,
|
|
|
|
.xarxaprod-last-convos,.xarxaprod-ultimes-convocatories,
|
|
|
|
.archive-posts {
|
|
|
|
grid-template-columns: repeat(3 , 1fr);
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.xarxaprod-faqs-aside {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
.xarxaprod-search-form {
|
|
|
|
&:hover,&:active,&:focus,&:target {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
@media screen and (min-width: 80em) {
|
|
|
|
//only bigger than 80rem
|
|
|
|
.site {
|
|
|
|
> header {
|
|
|
|
}
|
|
|
|
> main {
|
|
|
|
}
|
|
|
|
> aside {
|
|
|
|
}
|
|
|
|
> footer {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.site-header {
|
|
|
|
.main {
|
2024-01-14 17:12:37 +01:00
|
|
|
//width: 80em;
|
2024-01-14 20:13:11 +01:00
|
|
|
//margin: auto;
|
|
|
|
//flex-flow: row;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.secondary {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.site-main {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.site-footer {
|
|
|
|
}
|
|
|
|
.home-featured {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|