2024-01-09 16:13:20 +01:00
|
|
|
@media screen {
|
2024-04-01 18:15:52 +02:00
|
|
|
//any screen
|
|
|
|
|
2024-02-26 13:22:25 +01:00
|
|
|
html:not([data-scroll='0']) {
|
2024-03-14 17:21:02 +01:00
|
|
|
.site-header:before {
|
|
|
|
content: "";
|
|
|
|
display:inline-block;
|
|
|
|
position: absolute;
|
|
|
|
width: 100vw;
|
|
|
|
top: 0;
|
|
|
|
left: 50%;
|
|
|
|
right: 50%;
|
|
|
|
margin-left: -50vw;
|
|
|
|
margin-right:-50vw;
|
|
|
|
height: 100%;
|
|
|
|
z-index: -1;
|
2024-04-01 18:15:52 +02:00
|
|
|
background-color: $color__white;
|
2024-02-26 13:22:25 +01:00
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
.no-sidebar {
|
|
|
|
}
|
|
|
|
.site {
|
2024-03-14 17:21:02 +01:00
|
|
|
position: relative;
|
2024-01-09 16:13:20 +01:00
|
|
|
display: grid;
|
2024-03-13 20:24:02 +01:00
|
|
|
grid-template-columns: auto minmax(min-content, 30em) minmax(min-content, 30em) auto;
|
2024-02-29 12:04:10 +01:00
|
|
|
grid-auto-rows: min-content auto min-content min-content;
|
2024-01-09 16:13:20 +01:00
|
|
|
grid-template-areas:
|
|
|
|
"header"
|
|
|
|
"main"
|
|
|
|
"aside"
|
|
|
|
"footer";
|
|
|
|
margin: auto;
|
|
|
|
padding: 0;
|
2024-02-23 09:58:08 +01:00
|
|
|
min-height: 100vh;
|
2024-01-09 16:13:20 +01:00
|
|
|
> header {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
|
|
|
> main {
|
2024-02-29 12:04:10 +01:00
|
|
|
grid-column: 1 / -1;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
> aside {
|
2024-02-29 12:04:10 +01:00
|
|
|
grid-column: 1 / -1;
|
2024-02-22 12:44:46 +01:00
|
|
|
padding: 4em 0;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
> footer {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.site-header {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2024-02-29 12:04:10 +01:00
|
|
|
z-index: 500;
|
2024-03-14 17:21:02 +01:00
|
|
|
width: 100%;
|
2024-04-01 18:15:52 +02:00
|
|
|
padding: 0.5rem 0;
|
2024-02-26 13:22:25 +01:00
|
|
|
background-color: transparent;
|
2024-02-29 12:04:10 +01:00
|
|
|
|
2024-01-09 16:13:20 +01:00
|
|
|
.main {
|
|
|
|
display: flex;
|
2024-02-29 12:04:10 +01:00
|
|
|
flex-flow: row;
|
|
|
|
align-items: center;
|
2024-02-29 12:35:23 +01:00
|
|
|
justify-content: space-between;
|
2024-02-26 13:22:25 +01:00
|
|
|
z-index: 900;
|
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;
|
2024-04-02 18:13:10 +02:00
|
|
|
gap: $grid__gap;
|
2024-02-29 12:04:10 +01:00
|
|
|
> section {
|
2024-03-12 14:49:56 +01:00
|
|
|
padding: 0;
|
2024-02-29 12:04:10 +01:00
|
|
|
> header {
|
2024-03-30 14:29:34 +01:00
|
|
|
padding: 1em 0;
|
2024-02-29 12:04:10 +01:00
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-04-02 18:13:10 +02:00
|
|
|
.archive,
|
|
|
|
.category {
|
|
|
|
.site-main {
|
|
|
|
display:grid;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
> header {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.xarxaprod-filtered-content {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
gap: $grid__gap;
|
|
|
|
.archive-posts {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-09 16:13:20 +01:00
|
|
|
.site-footer {
|
2024-02-29 12:04:10 +01:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row;
|
2024-04-01 18:15:52 +02:00
|
|
|
background: $color__black;
|
|
|
|
color: $color__white;
|
2024-02-22 12:44:46 +01:00
|
|
|
margin-top: 4em;
|
2024-03-05 13:14:35 +01:00
|
|
|
:where(.wp-block-columns.is-layout-flex) {
|
2024-04-01 18:15:52 +02:00
|
|
|
gap: $grid__gap * 5;
|
|
|
|
}
|
2024-03-05 13:14:35 +01:00
|
|
|
.site-info {
|
|
|
|
&> section {
|
2024-04-01 18:15:52 +02:00
|
|
|
margin-top: 2em;
|
|
|
|
padding: 2em 4em;
|
|
|
|
border-top: $border__line;
|
|
|
|
}
|
2024-03-05 13:14:35 +01:00
|
|
|
}
|
2024-02-22 12:44:46 +01:00
|
|
|
a {
|
|
|
|
color: $color__white;
|
|
|
|
&:hover,&:visited,&:active {
|
|
|
|
color: $color__white;
|
|
|
|
}
|
|
|
|
}
|
2024-03-05 13:14:35 +01:00
|
|
|
ul[id*="menu-footer"] {
|
2024-04-01 18:15:52 +02:00
|
|
|
column-count: 3;
|
2024-03-05 13:14:35 +01:00
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2024-04-01 18:15:52 +02:00
|
|
|
}
|
2024-03-13 20:31:52 +01:00
|
|
|
}//end .site-footer
|
|
|
|
:where(.wp-block-columns.is-layout-flex) {
|
2024-03-30 15:13:17 +01:00
|
|
|
gap: $grid__gap * 1.5;
|
2024-03-13 20:31:52 +01:00
|
|
|
}
|
|
|
|
.xarxaprod-destacats,.xarxaprod-featured,
|
|
|
|
.xarxaprod-last-convos,.xarxaprod-ultimes-convocatories,
|
|
|
|
.archive-posts {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(1 , 1fr);
|
2024-03-30 14:29:34 +01:00
|
|
|
gap: $grid__gap * 1.5;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-04-19 22:28:30 +02:00
|
|
|
.archive-posts-old {
|
|
|
|
margin-top: 2rem;
|
|
|
|
padding-top: 1rem;
|
|
|
|
border-top: $border__line;
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
@media screen and (max-width: 48em) {
|
|
|
|
//only smaller than 48em
|
|
|
|
.site-header {
|
2024-02-29 12:35:23 +01:00
|
|
|
.main{
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.site-footer {
|
2024-02-29 12:04:10 +01:00
|
|
|
.is-layout-flex {
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 48em) {
|
|
|
|
//only bigger than 48em
|
2024-03-14 18:55:12 +01:00
|
|
|
html:not([data-scroll='0']) {
|
|
|
|
.site-header:before {
|
|
|
|
content: "";
|
|
|
|
display:inline-block;
|
|
|
|
position: absolute;
|
|
|
|
width: 100vw;
|
|
|
|
top: 0;
|
|
|
|
left: 50%;
|
|
|
|
right: 50%;
|
|
|
|
margin-left: -50vw;
|
|
|
|
margin-right:-50vw;
|
|
|
|
height: 100%;
|
|
|
|
z-index: -1;
|
2024-04-01 18:15:52 +02:00
|
|
|
background-color: $color__white;
|
2024-03-14 18:55:12 +01:00
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
.site {
|
|
|
|
> header {
|
2024-03-14 17:21:02 +01:00
|
|
|
grid-column: 2 / 4;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
> main {
|
2024-02-29 12:04:10 +01:00
|
|
|
grid-column: 2 / 4;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
> aside {
|
2024-02-29 12:04:10 +01:00
|
|
|
grid-column: 2 / 4;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
> footer {
|
2024-02-29 12:04:10 +01:00
|
|
|
grid-column: 1 / -1;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.site-header {
|
2024-04-01 18:15:52 +02:00
|
|
|
padding: 0;
|
2024-01-14 20:13:11 +01:00
|
|
|
|
2024-01-09 16:13:20 +01:00
|
|
|
.main {
|
2024-04-01 18:15:52 +02:00
|
|
|
grid-column: 2/4;
|
|
|
|
width: 100%;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.secondary {
|
2024-04-01 18:15:52 +02:00
|
|
|
grid-column: 2/4;
|
|
|
|
align-items: center;
|
2024-01-14 20:13:11 +01:00
|
|
|
width: 100%;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
}
|
2024-04-03 03:21:48 +02:00
|
|
|
.page-template-agenda-archive {
|
|
|
|
.site-main {
|
|
|
|
> article {
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
.site-main {
|
2024-03-14 17:21:02 +01:00
|
|
|
padding: 0;
|
2024-04-03 16:02:37 +02:00
|
|
|
padding-top: 4rem;
|
2024-04-01 15:54:23 +02:00
|
|
|
> article {
|
|
|
|
padding-bottom: 4rem;
|
2024-04-19 16:43:22 +02:00
|
|
|
&.xarxaprod-ajut,
|
|
|
|
&.category-activitats {
|
2024-04-01 18:49:43 +02:00
|
|
|
display: grid;
|
|
|
|
> * {
|
|
|
|
max-width: 40rem;
|
|
|
|
}
|
|
|
|
}
|
2024-04-01 18:15:52 +02:00
|
|
|
&.xarxaprod-convo {
|
|
|
|
display: grid;
|
|
|
|
> * {
|
|
|
|
max-width: 40rem;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
> header {
|
|
|
|
grid-row-start: 2;
|
|
|
|
}
|
|
|
|
> aside, > .xarxaprod-espai-image {
|
|
|
|
}
|
|
|
|
> .entry-content {
|
|
|
|
}
|
|
|
|
> footer{
|
|
|
|
max-width: unset;
|
|
|
|
}
|
|
|
|
}
|
2024-04-19 16:43:22 +02:00
|
|
|
> header {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
> aside {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
2024-04-01 15:54:23 +02:00
|
|
|
}
|
2024-03-12 14:49:56 +01:00
|
|
|
> section {
|
2024-04-01 15:54:23 +02:00
|
|
|
padding-bottom: 4rem;
|
2024-03-12 14:49:56 +01:00
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-04-02 18:13:10 +02:00
|
|
|
.archive,
|
|
|
|
.category {
|
|
|
|
.site-main {
|
|
|
|
grid-template-columns: 1fr 3fr;
|
|
|
|
> header {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.xarxaprod-filtered-content {
|
|
|
|
grid-template-columns: 1fr 3fr;
|
|
|
|
.archive-posts {
|
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
.site-footer {
|
2024-02-29 12:04:10 +01:00
|
|
|
flex-flow: column;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.home-featured {
|
|
|
|
padding: 0 2rem;
|
|
|
|
}
|
|
|
|
&.single {
|
|
|
|
.site-main {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2024-02-20 23:13:06 +01:00
|
|
|
.xarxaprod-destacats,.xarxaprod-featured,
|
2024-04-02 18:16:43 +02:00
|
|
|
.xarxaprod-last-convos,.xarxaprod-ultimes-convocatories {
|
|
|
|
grid-template-columns: repeat(3 , 1fr);
|
|
|
|
}
|
2024-02-20 23:13:06 +01:00
|
|
|
.archive-posts {
|
2024-04-02 18:13:10 +02:00
|
|
|
grid-template-columns: repeat(2 , 1fr);
|
2024-04-03 03:21:48 +02:00
|
|
|
min-height: 40vh;
|
2024-04-08 16:21:31 +02:00
|
|
|
&.archive-posts-map,&.archive-xarxaprod-members,&archive-xarxaprod-associats {
|
2024-04-02 18:13:10 +02:00
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
2024-04-19 22:28:30 +02:00
|
|
|
&.archive-posts-old {
|
|
|
|
grid-template-columns: repeat(3 , 1fr);
|
|
|
|
margin-top: 2rem;
|
|
|
|
h2 {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-04-01 18:15:52 +02:00
|
|
|
.xarxaprod-faqs-aside {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2024-04-19 16:43:22 +02:00
|
|
|
margin-bottom: 1rem;
|
2024-01-14 20:13:11 +01:00
|
|
|
.xarxaprod-search-form {
|
|
|
|
&:hover,&:active,&:focus,&:target {
|
2024-04-01 18:15:52 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
}
|
2024-04-01 18:15:52 +02:00
|
|
|
}
|
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 {
|
|
|
|
}
|
|
|
|
.secondary {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.site-main {
|
|
|
|
}
|
|
|
|
.site-footer {
|
|
|
|
}
|
|
|
|
.home-featured {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|