2024-01-09 16:13:20 +01:00
|
|
|
@media screen {
|
|
|
|
.sticky {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post,
|
|
|
|
.page {
|
2024-02-22 12:44:46 +01:00
|
|
|
margin: 0;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.updated:not(.published) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content,
|
|
|
|
.entry-content,
|
|
|
|
.entry-summary {
|
|
|
|
margin: 1.5em 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-links {
|
|
|
|
clear: both;
|
|
|
|
margin: 0 0 1.5em;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
|
|
|
|
/* used in
|
|
|
|
* ./template-parts/section-eachpost.php
|
|
|
|
* */
|
2024-01-13 15:46:11 +01:00
|
|
|
.xarxaprod-card-each {
|
2024-01-14 20:13:11 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-01-09 16:13:20 +01:00
|
|
|
.entry-title,h6 {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.5rem 0;
|
2024-03-10 13:34:02 +01:00
|
|
|
border-bottom: 1px solid $color__black;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
p {
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
margin:0;
|
|
|
|
}
|
2024-03-10 13:34:02 +01:00
|
|
|
.excerpt {
|
|
|
|
border-top: 1px solid $color__black;
|
|
|
|
border-bottom: 1px solid $color__black;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.more-link {
|
2024-03-10 13:34:02 +01:00
|
|
|
margin-top: 1rem;
|
2024-01-14 20:13:11 +01:00
|
|
|
}
|
2024-02-25 19:01:01 +01:00
|
|
|
}
|
|
|
|
|
2024-01-14 20:13:11 +01:00
|
|
|
/* used in
|
|
|
|
* ./template-parts/content-xarxaprod-ajut.php
|
2024-02-20 23:13:06 +01:00
|
|
|
* ./template-parts/content-xarxaprod-convo.php
|
2024-01-14 20:13:11 +01:00
|
|
|
* ./template-parts/section-eachpost.php
|
|
|
|
* */
|
2024-01-13 15:46:11 +01:00
|
|
|
.xarxaprod-fund-info-fields,
|
|
|
|
.xarxaprod-fund-info-contact-fields {
|
2024-01-09 16:13:20 +01:00
|
|
|
display: grid;
|
2024-01-13 15:46:11 +01:00
|
|
|
.xarxaprod-fund-info-field {
|
2024-01-09 16:13:20 +01:00
|
|
|
padding-bottom: 1rem;
|
|
|
|
border-bottom: 1px solid $color__black;
|
|
|
|
}
|
|
|
|
h6 {
|
|
|
|
font-size: 2.4rem;
|
|
|
|
font-variant: all-petite-caps;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: 0.5rem 0 0 0;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
}
|
|
|
|
}
|
2024-01-13 15:46:11 +01:00
|
|
|
.xarxaprod-fund-info-contact-fields {
|
|
|
|
.xarxaprod-fund-info-field {
|
2024-01-09 16:13:20 +01:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2024-01-13 15:46:11 +01:00
|
|
|
.xarxaprod-fund-info-fields {
|
|
|
|
.xarxaprod-fund-info-field {
|
2024-01-09 16:13:20 +01:00
|
|
|
margin: 1rem 0 0.5rem 0;
|
|
|
|
}
|
|
|
|
}
|
2024-01-13 15:46:11 +01:00
|
|
|
.xarxaprod-funder-name,
|
|
|
|
.xarxaprod-fund-contact-name,
|
|
|
|
.xarxaprod-fund-web {
|
2024-01-09 16:13:20 +01:00
|
|
|
display: flex;
|
|
|
|
margin:0;
|
|
|
|
padding: 0;
|
|
|
|
font-variant: all-petite-caps;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
line-height: 0.9;
|
|
|
|
align-items: center;
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
}
|
2024-02-25 19:01:01 +01:00
|
|
|
|
|
|
|
/* used in
|
|
|
|
* ./template-parts/section-agenda.php
|
|
|
|
* */
|
|
|
|
.xarxaprod-agenda {
|
|
|
|
.xarxaprod-card-each {
|
|
|
|
display: flex;
|
2024-02-29 12:04:10 +01:00
|
|
|
flex-direction: column;
|
2024-02-25 19:01:01 +01:00
|
|
|
justify-content: space-between;
|
|
|
|
padding: 1em 0;
|
|
|
|
border-bottom: 0.1em solid $color__black;
|
|
|
|
&:first-of-type {
|
|
|
|
border-top: 0.1em solid $color__black;
|
|
|
|
}
|
|
|
|
header,.entry-header {
|
|
|
|
}
|
|
|
|
.entry-title,h6 {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
.activity-organizer, .organiza-activitat {
|
|
|
|
}
|
|
|
|
.agenda-date, .agenda-data {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-09 23:28:18 +01:00
|
|
|
li.category-activitats,
|
|
|
|
li[class*='category-agenda'] {
|
|
|
|
position: relative;
|
|
|
|
.wp-block-post-featured-image {
|
|
|
|
position: absolute;
|
|
|
|
top:0;
|
|
|
|
}
|
|
|
|
.wp-block-post-title {
|
|
|
|
}
|
|
|
|
.wp-block-post-title:before {
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
aspect-ratio: 1/1;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-25 19:01:01 +01:00
|
|
|
|
2024-01-14 20:13:11 +01:00
|
|
|
/* filters form custom fields
|
|
|
|
*/
|
2024-01-27 18:33:49 +01:00
|
|
|
.xarxaprod-filtered-content {
|
2024-02-25 14:32:02 +01:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr;
|
2024-01-14 20:13:11 +01:00
|
|
|
}
|
|
|
|
.xarxaprod-filters {
|
|
|
|
section {
|
|
|
|
margin: 1em 0;
|
2024-02-25 14:32:02 +01:00
|
|
|
.filter {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.archive-posts {
|
|
|
|
// https://stackoverflow.com/questions/47601564/equal-width-columns-in-css-grid#61240964
|
|
|
|
grid-template-columns: repeat(1 , minmax(0,1fr));
|
|
|
|
}
|
|
|
|
|
|
|
|
.xarxaprod-titol-opcions {
|
|
|
|
// applied in forms and contactforms
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 13em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
padding: 0.6em 1em 0.4em;
|
|
|
|
clear: both;
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: $font__black;
|
|
|
|
font-size: $font__size-body*0.9;
|
|
|
|
border: 1px solid $color__border-button;
|
|
|
|
text-transform: uppercase;
|
|
|
|
&:after {
|
|
|
|
content: ">";
|
|
|
|
display: inline;
|
|
|
|
float:right;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
&:after {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
animation: rotate 0.5s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes rotate {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
2024-01-13 13:44:31 +01:00
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 48em) {
|
|
|
|
//only smaller than 48em
|
2024-01-14 20:13:11 +01:00
|
|
|
|
|
|
|
.post,
|
|
|
|
.page {
|
2024-02-29 12:04:10 +01:00
|
|
|
margin: 0;
|
2024-01-14 20:13:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.xarxaprod-filters {
|
|
|
|
section {
|
|
|
|
display: block;
|
|
|
|
h5 {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.filter {
|
|
|
|
display: inline-block;
|
|
|
|
width: 45%;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
margin-right: 0.3em;
|
|
|
|
float: left;
|
|
|
|
&:last-of-type {
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
@media screen and (min-width: 48em) {
|
|
|
|
//only bigger than 48em
|
2024-01-14 20:13:11 +01:00
|
|
|
.xarxaprod-filters {
|
|
|
|
padding-right: 2em;
|
2024-02-29 12:04:10 +01:00
|
|
|
section {
|
2024-01-14 20:13:11 +01:00
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
}
|
2024-02-29 12:04:10 +01:00
|
|
|
.xarxaprod-filtered-content {
|
|
|
|
grid-template-columns: 1fr 2fr;
|
|
|
|
}
|
|
|
|
.archive-posts {
|
|
|
|
grid-template-columns: repeat(2 , minmax(0,1fr));
|
|
|
|
}
|
|
|
|
.xarxaprod-agenda {
|
|
|
|
.xarxaprod-card-each {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
header,.entry-header {
|
|
|
|
width: 60%;
|
|
|
|
}
|
|
|
|
.activity-organizer, .organiza-activitat {
|
|
|
|
width: 24%;
|
|
|
|
}
|
|
|
|
.agenda-date, .agenda-data {
|
|
|
|
width: 15%;
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-02-29 12:04:10 +01:00
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
@media screen and (min-width: 80em) {
|
|
|
|
//only bigger than 80rem
|
2024-01-27 18:33:49 +01:00
|
|
|
.xarxaprod-filtered-content {
|
2024-01-09 16:13:20 +01:00
|
|
|
grid-template-columns: 1fr 3fr;
|
|
|
|
}
|
|
|
|
.archive-posts {
|
2024-01-14 20:13:11 +01:00
|
|
|
grid-template-columns: repeat(3 , minmax(0,1fr));
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|