updated styles for home, ratllas, etc...
This commit is contained in:
parent
482e1e30e9
commit
41b5db2800
|
@ -745,7 +745,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
margin: 1.2rem 0;
|
||||
font-size: 2rem;
|
||||
line-height: 1.2;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .entry-content h6 {
|
||||
|
@ -839,7 +839,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .home-featured h2,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .home-featured .h2 {
|
||||
font-size: 3.5rem;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -967,6 +967,10 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper body.admin-bar {
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .liquid-bubbles {
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
|
@ -1093,7 +1097,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
margin: 0.1em 0;
|
||||
padding: 0.2em 0.2em 0 0.2em;
|
||||
color: #000;
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
background-color: none;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
@ -1285,7 +1289,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
background: #000;
|
||||
color: #fff;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1;
|
||||
padding: 0.6em;
|
||||
margin: 0;
|
||||
}
|
||||
|
@ -1409,7 +1412,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper select {
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper textarea {
|
||||
|
@ -1511,7 +1514,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-footer .site-info > section {
|
||||
margin-top: 2em;
|
||||
padding: 2em 4em;
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-footer a {
|
||||
|
@ -1912,7 +1915,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
right: 0.3em;
|
||||
width: 0.3em;
|
||||
height: 0.3em;
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
-moz-transform: rotate(45deg);
|
||||
|
@ -2070,19 +2073,19 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix .wp-block-column,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom .wp-block-column {
|
||||
position: relative;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix .wp-block-heading,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom .wp-block-heading {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
display: inline-grid;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix .wp-block-heading::after,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom .wp-block-heading::after {
|
||||
content: "";
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
@ -2093,7 +2096,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .download-files a {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .descarregar-fitxers a::after,
|
||||
|
@ -2117,12 +2120,12 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each .entry-title {
|
||||
margin: 0;
|
||||
padding: 0 0 0.5rem 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each h6 {
|
||||
padding: 0.5rem 1rem 0.5rem 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each .xarxaprod-deadline {
|
||||
|
@ -2135,7 +2138,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each .excerpt {
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
margin-bottom: 0.5em;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
@ -2153,7 +2156,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-fields .xarxaprod-fund-info-field,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-contact-fields .xarxaprod-fund-info-field {
|
||||
padding: 1rem 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-fields h6,
|
||||
|
@ -2222,7 +2225,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
|
@ -2239,13 +2242,13 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
padding: 0.2em 0;
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li:last-of-type,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda-info li:last-of-type {
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-convo-info-fields li .xarxaprod-label li,
|
||||
|
@ -2304,7 +2307,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
display: grid;
|
||||
font-size: 1rem;
|
||||
border: none;
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
margin: 0;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
@ -2362,6 +2365,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-associats-map,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-espais-map {
|
||||
margin: 0;
|
||||
aspect-ratio: 4 / 3;
|
||||
background-color: rgba(200, 200, 200, 0.4);
|
||||
}
|
||||
|
@ -2384,7 +2388,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: flex-end;
|
||||
padding-bottom: 4em;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .wp-block-post-title,
|
||||
|
@ -2396,16 +2400,23 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .wp-block-post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .wp-block-post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-activitats .post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-activitats .wp-block-post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda .post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda .wp-block-post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda-es .post-excerpt,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda-es .wp-block-post-excerpt {
|
||||
min-height: 7rem;
|
||||
margin: 0.5em 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
font-size: 1rem;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .wp-block-read-more,
|
||||
|
@ -2421,11 +2432,11 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: 0.2em 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda .xarxaprod-card-each:first-of-type {
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-agenda .xarxaprod-card-each > * {
|
||||
|
@ -2438,6 +2449,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
border-bottom: none;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] {
|
||||
position: relative;
|
||||
|
@ -2445,6 +2457,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
align-content: space-between;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats .wp-block-post-featured-image,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-featured-image,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-featured-image {
|
||||
position: absolute;
|
||||
|
@ -2454,6 +2467,21 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats .wp-block-post-featured-image img,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-featured-image img,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-featured-image img {
|
||||
object-position: 50% 50%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats .wp-block-post-title,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-title,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-title {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-card-each.category-activitats .wp-block-post-title::before,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li.category-activitats .wp-block-post-title::before,
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper li[class*="category-agenda"] .wp-block-post-title::before {
|
||||
content: "";
|
||||
|
@ -2461,8 +2489,8 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
min-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16/9;
|
||||
margin-bottom: 2em;
|
||||
background-color: rgba(230, 230, 230, 0.4);
|
||||
margin-bottom: 1rem;
|
||||
background-color: rgba(230, 230, 230, 0.8);
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
|
@ -2497,7 +2525,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
cursor: pointer;
|
||||
font-weight: 900;
|
||||
font-size: 0.9rem;
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-titol-opcions::after {
|
||||
|
@ -2565,7 +2593,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive-posts {
|
||||
|
@ -2609,7 +2636,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
gap: 6rem;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content .archive-posts {
|
||||
|
@ -2620,10 +2646,6 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content .archive-posts.archive-custom-post-type-associat {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .archive-posts {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .comment-content a {
|
||||
|
@ -2891,7 +2913,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form input:not([type="submit"]),
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .wpcf7-form textarea {
|
||||
background: transparent;
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
|
@ -2958,7 +2980,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .editor-styles-wrapper .contactform-fund-options label.oficinasuport-titol-opcions {
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin-bottom: 1em;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -15,6 +15,7 @@ get_header();
|
|||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
<header class="page-header">
|
||||
<h2><?php single_term_title( ' ' ); ?>.</h2>
|
||||
</header><!-- .page-header -->
|
||||
<content class="archive-posts <?php xarxaprod_class_posttype(); ?>">
|
||||
<?php
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -11,11 +11,12 @@ get_header();
|
|||
|
||||
<main id="primary" class="site-main">
|
||||
|
||||
<aside>
|
||||
<?php if( in_category('faq') ) : ?>
|
||||
<?php xarxaprod_display_faqs_labels(); ?>
|
||||
<?php xarxaprod_display_faqs_search(); ?>
|
||||
|
||||
<?php endif; //end if is_category faq ?>
|
||||
</aside>
|
||||
<content class="archive-posts ">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php while ( have_posts() ) : the_post();
|
||||
|
|
|
@ -51,5 +51,5 @@ $color__border-abbr: $color__grey-dark;
|
|||
|
||||
//other
|
||||
$border__radius: 0.2rem;
|
||||
$border__line: 0.05em solid $color__black;
|
||||
$border__line: 0.05rem solid $color__black;
|
||||
$box__shadow: 0 3px 10px rgba(0,0,0,0.2);
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// theme for editor admin, import style.sass and apply class before rest of it
|
||||
|
||||
// admin styles
|
||||
|
||||
.wp-admin {
|
||||
.components-button.edit-post-fullscreen-mode-close.has-icon,
|
||||
.edit-post-fullscreen-mode-close_site-icon {
|
||||
|
@ -14,7 +13,6 @@
|
|||
.site-icon-preview .app-icon-preview {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
// editor styles
|
||||
.edit-post-visual-editor__content-area {
|
||||
.editor-styles-wrapper {
|
||||
|
|
|
@ -5,6 +5,9 @@ body {
|
|||
//background-position: center center;
|
||||
//background-repeat: no-repeat;
|
||||
position: relative;
|
||||
&.admin-bar { //if else breaks the WordPress inline styles when front end editing
|
||||
position: inherit;
|
||||
}
|
||||
}
|
||||
.liquid-bubbles {
|
||||
overflow: hidden;
|
||||
|
|
|
@ -10,7 +10,7 @@ input[type="submit"],
|
|||
background: $color__background-button;
|
||||
color: $color__white;
|
||||
font-size: $font__size-body * 0.9;
|
||||
line-height: 1;
|
||||
//line-height: 1;
|
||||
padding: 0.6em;
|
||||
margin: 0;
|
||||
|
||||
|
|
|
@ -48,10 +48,10 @@
|
|||
.ratlla-abaix,.border-bottom {
|
||||
.wp-block-column {
|
||||
position:relative;
|
||||
}
|
||||
.wp-block-heading {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
.wp-block-heading {
|
||||
display:inline-grid;
|
||||
&:after {
|
||||
content: "";
|
||||
|
@ -320,6 +320,7 @@
|
|||
}
|
||||
/* mapas leaflet associats */
|
||||
.xarxaprod-associats-map,.xarxaprod-espais-map {
|
||||
margin:0;
|
||||
aspect-ratio: 4 / 3;
|
||||
background-color: rgba(200,200,200,0.4); //place holder background color
|
||||
}
|
||||
|
@ -345,18 +346,19 @@
|
|||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: flex-end;
|
||||
padding-bottom: 4em;
|
||||
padding-bottom: $font__size-body * 2;
|
||||
.wp-block-post-title {
|
||||
text-transform: lowercase;
|
||||
font-size: $font__size-body*1.5;
|
||||
margin-bottom: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
//border-bottom: 0.05em solid $color__black;
|
||||
border-bottom: $border__line;
|
||||
}
|
||||
.post-excerpt,
|
||||
.wp-block-post-excerpt {
|
||||
min-height: $font__size-body * 7;
|
||||
margin: 0.5em 0;
|
||||
//border-bottom: 0.05em solid $color__black;
|
||||
font-size: $font__size-body * 1;
|
||||
border-bottom: $border__line;
|
||||
}
|
||||
.wp-block-read-more {
|
||||
|
@ -373,10 +375,8 @@
|
|||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: 0.2em 0;
|
||||
//border-bottom: 0.1em solid $color__black;
|
||||
border-bottom: $border__line;
|
||||
&:first-of-type {
|
||||
//border-top: 0.1em solid $color__black;
|
||||
border-top: $border__line;
|
||||
}
|
||||
> * {
|
||||
|
@ -389,7 +389,6 @@
|
|||
border-bottom: none;
|
||||
}
|
||||
p {
|
||||
//font-size: $font__size-body * 1.5;
|
||||
}
|
||||
.activity-organizer, .organiza-activitat {
|
||||
}
|
||||
|
@ -397,31 +396,43 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.xarxaprod-card-each.category-activitats,
|
||||
li.category-activitats,
|
||||
li[class*='category-agenda'] {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-content: space-between;
|
||||
//background-color:#ccf;
|
||||
.wp-block-post-featured-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
aspect-ratio: 16/9;
|
||||
overflow: hidden;
|
||||
img {
|
||||
object-position: 50% 50%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
.wp-block-post-title {
|
||||
}
|
||||
.wp-block-post-title:before {
|
||||
//background-color:#cfc;
|
||||
height: 100%;
|
||||
&:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16/9;
|
||||
margin-bottom: 2em;
|
||||
background-color: rgba(230,230,230,0.4);
|
||||
margin-bottom: $font__size-body;
|
||||
background-color: rgba(230,230,230,0.8);
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
}
|
||||
.wp-block-post-excerpt {
|
||||
//background-color: #fcc;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* filters form custom fields
|
||||
|
@ -520,7 +531,7 @@
|
|||
}
|
||||
.xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: $grid__gap * 4;
|
||||
//gap: $grid__gap * 4;
|
||||
}
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(2 , minmax(0,1fr));
|
||||
|
@ -563,7 +574,7 @@
|
|||
//only bigger than 80rem
|
||||
.xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
gap: $grid__gap * 6;
|
||||
//gap: $grid__gap * 6;
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(2 , minmax(0,1fr));
|
||||
&.archive-xarxaprod-associats,&.archive-custom-post-type-associat {
|
||||
|
@ -572,6 +583,6 @@
|
|||
}
|
||||
}
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(3 , minmax(0,1fr));
|
||||
//grid-template-columns: repeat(3 , minmax(0,1fr));
|
||||
}
|
||||
}
|
||||
|
|
92
style.css
92
style.css
|
@ -595,7 +595,7 @@ textarea {
|
|||
margin: 1.2rem 0;
|
||||
font-size: 2rem;
|
||||
line-height: 1.2;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
/* entry content */
|
||||
|
@ -697,7 +697,7 @@ textarea {
|
|||
.home-featured h2,
|
||||
.home-featured .h2 {
|
||||
font-size: 3.5rem;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -823,6 +823,10 @@ body {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
body.admin-bar {
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
.liquid-bubbles {
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
|
@ -949,7 +953,7 @@ dd {
|
|||
margin: 0.1em 0;
|
||||
padding: 0.2em 0.2em 0 0.2em;
|
||||
color: #000;
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
background-color: none;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
@ -1146,7 +1150,6 @@ input[type="submit"],
|
|||
background: #000;
|
||||
color: #fff;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1;
|
||||
padding: 0.6em;
|
||||
margin: 0;
|
||||
}
|
||||
|
@ -1270,7 +1273,7 @@ textarea:focus {
|
|||
}
|
||||
|
||||
select {
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
textarea {
|
||||
|
@ -1375,7 +1378,7 @@ textarea {
|
|||
.site-footer .site-info > section {
|
||||
margin-top: 2em;
|
||||
padding: 2em 4em;
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.site-footer a {
|
||||
|
@ -1769,7 +1772,7 @@ textarea {
|
|||
right: 0.3em;
|
||||
width: 0.3em;
|
||||
height: 0.3em;
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
-moz-transform: rotate(45deg);
|
||||
|
@ -1886,19 +1889,19 @@ textarea {
|
|||
.ratlla-abaix .wp-block-column,
|
||||
.border-bottom .wp-block-column {
|
||||
position: relative;
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
|
||||
.ratlla-abaix .wp-block-heading,
|
||||
.border-bottom .wp-block-heading {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
display: inline-grid;
|
||||
}
|
||||
|
||||
.ratlla-abaix .wp-block-heading::after,
|
||||
.border-bottom .wp-block-heading::after {
|
||||
content: "";
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
@ -1914,7 +1917,7 @@ textarea {
|
|||
.download-files a {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.descarregar-fitxers a::after,
|
||||
|
@ -1941,12 +1944,12 @@ textarea {
|
|||
.xarxaprod-card-each .entry-title {
|
||||
margin: 0;
|
||||
padding: 0 0 0.5rem 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each h6 {
|
||||
padding: 0.5rem 1rem 0.5rem 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each .xarxaprod-deadline {
|
||||
|
@ -1959,7 +1962,7 @@ textarea {
|
|||
}
|
||||
|
||||
.xarxaprod-card-each .excerpt {
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
margin-bottom: 0.5em;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
@ -1982,7 +1985,7 @@ textarea {
|
|||
.xarxaprod-fund-info-fields .xarxaprod-fund-info-field,
|
||||
.xarxaprod-fund-info-contact-fields .xarxaprod-fund-info-field {
|
||||
padding: 1rem 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-fund-info-fields h6,
|
||||
|
@ -2051,7 +2054,7 @@ textarea {
|
|||
|
||||
article.xarxaprod-convo > .entry-footer .last-convos {
|
||||
padding: 2rem 0;
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
article.xarxaprod-convo > .entry-footer .last-convos > header {
|
||||
|
@ -2068,13 +2071,13 @@ textarea {
|
|||
display: grid;
|
||||
grid-template-columns: 0.75fr 2.25fr;
|
||||
padding: 0.2em 0;
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields li:last-of-type,
|
||||
.xarxaprod-agenda-info li:last-of-type {
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-convo-info-fields li .xarxaprod-label li,
|
||||
|
@ -2136,7 +2139,7 @@ textarea {
|
|||
display: grid;
|
||||
font-size: 1rem;
|
||||
border: none;
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
margin: 0;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
@ -2201,6 +2204,7 @@ textarea {
|
|||
/* mapas leaflet associats */
|
||||
.xarxaprod-associats-map,
|
||||
.xarxaprod-espais-map {
|
||||
margin: 0;
|
||||
aspect-ratio: 4 / 3;
|
||||
background-color: rgba(200, 200, 200, 0.4);
|
||||
}
|
||||
|
@ -2230,7 +2234,7 @@ textarea {
|
|||
display: flex;
|
||||
flex-flow: column;
|
||||
justify-content: flex-end;
|
||||
padding-bottom: 4em;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.xarxaprod-cards .wp-block-post-title,
|
||||
|
@ -2242,16 +2246,23 @@ textarea {
|
|||
font-size: 1.5rem;
|
||||
margin-bottom: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-cards .post-excerpt,
|
||||
.xarxaprod-cards .wp-block-post-excerpt,
|
||||
.category-convocatories .post-excerpt,
|
||||
.category-convocatories .wp-block-post-excerpt,
|
||||
.category-activitats .post-excerpt,
|
||||
.category-activitats .wp-block-post-excerpt,
|
||||
.category-agenda .post-excerpt,
|
||||
.category-agenda .wp-block-post-excerpt,
|
||||
.category-agenda-es .post-excerpt,
|
||||
.category-agenda-es .wp-block-post-excerpt {
|
||||
min-height: 7rem;
|
||||
margin: 0.5em 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
font-size: 1rem;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-cards .wp-block-read-more,
|
||||
|
@ -2270,11 +2281,11 @@ textarea {
|
|||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: 0.2em 0;
|
||||
border-bottom: 0.05em solid #000;
|
||||
border-bottom: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-agenda .xarxaprod-card-each:first-of-type {
|
||||
border-top: 0.05em solid #000;
|
||||
border-top: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-agenda .xarxaprod-card-each > * {
|
||||
|
@ -2287,6 +2298,7 @@ textarea {
|
|||
border-bottom: none;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats,
|
||||
li.category-activitats,
|
||||
li[class*="category-agenda"] {
|
||||
position: relative;
|
||||
|
@ -2294,6 +2306,7 @@ textarea {
|
|||
align-content: space-between;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats .wp-block-post-featured-image,
|
||||
li.category-activitats .wp-block-post-featured-image,
|
||||
li[class*="category-agenda"] .wp-block-post-featured-image {
|
||||
position: absolute;
|
||||
|
@ -2303,6 +2316,21 @@ textarea {
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats .wp-block-post-featured-image img,
|
||||
li.category-activitats .wp-block-post-featured-image img,
|
||||
li[class*="category-agenda"] .wp-block-post-featured-image img {
|
||||
object-position: 50% 50%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats .wp-block-post-title,
|
||||
li.category-activitats .wp-block-post-title,
|
||||
li[class*="category-agenda"] .wp-block-post-title {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.xarxaprod-card-each.category-activitats .wp-block-post-title::before,
|
||||
li.category-activitats .wp-block-post-title::before,
|
||||
li[class*="category-agenda"] .wp-block-post-title::before {
|
||||
content: "";
|
||||
|
@ -2310,8 +2338,8 @@ textarea {
|
|||
min-width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 16/9;
|
||||
margin-bottom: 2em;
|
||||
background-color: rgba(230, 230, 230, 0.4);
|
||||
margin-bottom: 1rem;
|
||||
background-color: rgba(230, 230, 230, 0.8);
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
|
@ -2348,7 +2376,7 @@ textarea {
|
|||
cursor: pointer;
|
||||
font-weight: 900;
|
||||
font-size: 0.9rem;
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
}
|
||||
|
||||
.xarxaprod-titol-opcions::after {
|
||||
|
@ -2416,7 +2444,6 @@ textarea {
|
|||
|
||||
.xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
.archive-posts {
|
||||
|
@ -2460,7 +2487,6 @@ textarea {
|
|||
|
||||
.xarxaprod-filtered-content {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
gap: 6rem;
|
||||
}
|
||||
|
||||
.xarxaprod-filtered-content .archive-posts {
|
||||
|
@ -2471,10 +2497,6 @@ textarea {
|
|||
.xarxaprod-filtered-content .archive-posts.archive-custom-post-type-associat {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
/* Comments
|
||||
|
@ -2758,7 +2780,7 @@ textarea {
|
|||
.wpcf7-form input:not([type="submit"]),
|
||||
.wpcf7-form textarea {
|
||||
background: transparent;
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
|
@ -2828,7 +2850,7 @@ textarea {
|
|||
}
|
||||
|
||||
.contactform-fund-options label.oficinasuport-titol-opcions {
|
||||
border: 0.05em solid #000;
|
||||
border: 0.05rem solid #000;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin-bottom: 1em;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue