changed scss for agenda, rec and activities categories

This commit is contained in:
Jorge vitrubio.net 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 {
/*
* 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:
*
* convocatorias pre 2024
* REC
*
* * * * * * * * * * * * * * * */
/*
* categories:
* 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
* */
/* filters form custom fields
*/
/*
* filters form custom fields
* * */
}
.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 .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;
flex-flow: column;
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 .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;
font-size: 1.5rem;
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 .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-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;
margin: 0.5em 0;
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 .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;
}

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;
}
/*
* big lletters block below titles
* big letters block below titles
* */
.xarxaprod-intro {
@ -342,13 +342,11 @@
}
/*
* categories:
*
* convocatorias pre 2024
* agenda, activitats, agenda-es
* REC
*
* * * * * * * * * * * * * * * */
.xarxaprod-cards,.category-convocatories {
//.category-activitats,.category-agenda,.category-agenda-es {
.xarxaprod-cards,.category-convocatories, .category-rec {
display: flex;
flex-flow: column;
justify-content: flex-end;
@ -372,6 +370,13 @@
}
}
/*
* categories:
* agenda, activitats, agenda-es
*
* * * * * * * * * * * * * * * */
//.category-activitats,.category-agenda,.category-agenda-es
/* used in
* template-parts/section-last-agenda.php
* template-parts/section-each-agenda-entry.php
@ -413,7 +418,7 @@
border: none;
}
figure {
// position: absolute;
// position: absolute;
order: -1;
margin: 0 0 1rem 0;
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 {
section {
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 {
// applied in forms and contactforms

View File

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

File diff suppressed because one or more lines are too long