changed scss for agenda, rec and activities categories

This commit is contained in:
jorge 2024-04-03 11:27:43 +02:00
parent 5a70fc6d09
commit 8e2d0c0603
6 changed files with 56 additions and 69 deletions

View File

@ -2080,7 +2080,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 { .edit-post-visual-editor__content-area .editor-styles-wrapper {
/* /*
* big lletters block below titles * big letters block below titles
* */ * */
/* /*
@ -2119,8 +2119,13 @@ Add your custom styles in this file so it is easier to update the theme.
/* /*
* categories: * categories:
*
* convocatorias pre 2024 * convocatorias pre 2024
* REC
*
* * * * * * * * * * * * * * * */
/*
* categories:
* agenda, activitats, agenda-es * agenda, activitats, agenda-es
* *
* * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * */
@ -2130,8 +2135,9 @@ Add your custom styles in this file so it is easier to update the theme.
* template-parts/section-each-agenda-entry.php * template-parts/section-each-agenda-entry.php
* */ * */
/* filters form custom fields /*
*/ * filters form custom fields
* * */
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper .sticky { .edit-post-visual-editor__content-area .editor-styles-wrapper .sticky {
@ -2486,7 +2492,8 @@ 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-cards, .edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories { .edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
justify-content: flex-end; justify-content: flex-end;
@ -2494,7 +2501,8 @@ 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-cards .wp-block-post-title, .edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .wp-block-post-title,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .wp-block-post-title { .edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .wp-block-post-title,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec .wp-block-post-title {
text-transform: lowercase; text-transform: lowercase;
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: 0.5em; margin-bottom: 0.5em;
@ -2505,7 +2513,9 @@ 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-cards .post-excerpt, .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 .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 .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-convocatories .wp-block-post-excerpt,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec .post-excerpt,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec .wp-block-post-excerpt {
min-height: 7rem; min-height: 7rem;
margin: 0.5em 0; margin: 0.5em 0;
font-size: 1rem; font-size: 1rem;
@ -2513,7 +2523,8 @@ 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-cards .wp-block-read-more, .edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-cards .wp-block-read-more,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .wp-block-read-more { .edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories .wp-block-read-more,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-rec .wp-block-read-more {
margin: 1em 0; margin: 1em 0;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -31,7 +31,7 @@
padding: 0 1rem; padding: 0 1rem;
} }
/* /*
* big lletters block below titles * big letters block below titles
* */ * */
.xarxaprod-intro { .xarxaprod-intro {
@ -342,13 +342,11 @@
} }
/* /*
* categories: * categories:
*
* convocatorias pre 2024 * convocatorias pre 2024
* agenda, activitats, agenda-es * REC
* *
* * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * */
.xarxaprod-cards,.category-convocatories { .xarxaprod-cards,.category-convocatories, .category-rec {
//.category-activitats,.category-agenda,.category-agenda-es {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
justify-content: flex-end; justify-content: flex-end;
@ -372,6 +370,13 @@
} }
} }
/*
* categories:
* agenda, activitats, agenda-es
*
* * * * * * * * * * * * * * * */
//.category-activitats,.category-agenda,.category-agenda-es
/* used in /* used in
* template-parts/section-last-agenda.php * template-parts/section-last-agenda.php
* template-parts/section-each-agenda-entry.php * template-parts/section-each-agenda-entry.php
@ -413,7 +418,7 @@
border: none; border: none;
} }
figure { figure {
// position: absolute; // position: absolute;
order: -1; order: -1;
margin: 0 0 1rem 0; margin: 0 0 1rem 0;
width: 100%; width: 100%;
@ -449,46 +454,10 @@
} }
} }
} }
//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 {
// //background-color:#cfc;
// height: 100%;
// &:before {
// content: "";
// display: inline-block;
// min-width: 100%;
// height: auto;
// aspect-ratio: 16/9;
// 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 * filters form custom fields
*/ * * */
.xarxaprod-filters { .xarxaprod-filters {
section { section {
margin: 0; margin: 0;
@ -497,10 +466,6 @@
} }
} }
} }
.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 { .xarxaprod-titol-opcions {
// applied in forms and contactforms // applied in forms and contactforms

View File

@ -1970,7 +1970,7 @@ textarea {
} }
/* /*
* big lletters block below titles * big letters block below titles
* */ * */
.xarxaprod-intro { .xarxaprod-intro {
line-height: 1.2; line-height: 1.2;
@ -2325,13 +2325,13 @@ textarea {
/* /*
* categories: * categories:
*
* convocatorias pre 2024 * convocatorias pre 2024
* agenda, activitats, agenda-es * REC
* *
* * * * * * * * * * * * * * * */ * * * * * * * * * * * * * * * */
.xarxaprod-cards, .xarxaprod-cards,
.category-convocatories { .category-convocatories,
.category-rec {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
justify-content: flex-end; justify-content: flex-end;
@ -2339,7 +2339,8 @@ textarea {
} }
.xarxaprod-cards .wp-block-post-title, .xarxaprod-cards .wp-block-post-title,
.category-convocatories .wp-block-post-title { .category-convocatories .wp-block-post-title,
.category-rec .wp-block-post-title {
text-transform: lowercase; text-transform: lowercase;
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: 0.5em; margin-bottom: 0.5em;
@ -2350,7 +2351,9 @@ textarea {
.xarxaprod-cards .post-excerpt, .xarxaprod-cards .post-excerpt,
.xarxaprod-cards .wp-block-post-excerpt, .xarxaprod-cards .wp-block-post-excerpt,
.category-convocatories .post-excerpt, .category-convocatories .post-excerpt,
.category-convocatories .wp-block-post-excerpt { .category-convocatories .wp-block-post-excerpt,
.category-rec .post-excerpt,
.category-rec .wp-block-post-excerpt {
min-height: 7rem; min-height: 7rem;
margin: 0.5em 0; margin: 0.5em 0;
font-size: 1rem; font-size: 1rem;
@ -2358,10 +2361,17 @@ textarea {
} }
.xarxaprod-cards .wp-block-read-more, .xarxaprod-cards .wp-block-read-more,
.category-convocatories .wp-block-read-more { .category-convocatories .wp-block-read-more,
.category-rec .wp-block-read-more {
margin: 1em 0; margin: 1em 0;
} }
/*
* categories:
* agenda, activitats, agenda-es
*
* * * * * * * * * * * * * * * */
/* used in /* used in
* template-parts/section-last-agenda.php * template-parts/section-last-agenda.php
* template-parts/section-each-agenda-entry.php * template-parts/section-each-agenda-entry.php
@ -2440,8 +2450,9 @@ textarea {
min-height: 5rem; min-height: 5rem;
} }
/* filters form custom fields /*
*/ * filters form custom fields
* * */
.xarxaprod-filters section { .xarxaprod-filters section {
margin: 0; margin: 0;
} }

File diff suppressed because one or more lines are too long