styled category view for agenda, activitats, defined view xarxaprod-cards

This commit is contained in:
jorge 2024-03-11 16:54:57 +01:00
parent a232911d5e
commit cde97cf526
5 changed files with 69 additions and 21 deletions

View File

@ -17,7 +17,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
Author: Hangar.org Tech Lab - hangar.org
Author URI: https://hangar.org
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
Version: 1.1.5
Version: 1.1.6
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v3 or later
@ -1839,6 +1839,14 @@ Add your custom styles in this file so it is easier to update the theme.
* ./template-parts/section-eachpost.php
* */
/*
* categories:
*
* convocatorias pre 2024
* agenda, activitats, agenda-es
*
* * * * * * * * * * * * * * * */
/* used in
* ./template-parts/section-agenda.php
* */
@ -1998,16 +2006,22 @@ Add your custom styles in this file so it is easier to update the theme.
margin: 0;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .convos-pre-2024,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-convocatories {
.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-activitats,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda-es {
display: flex;
flex-flow: column;
justify-content: flex-end;
margin-bottom: 333;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .convos-pre-2024 .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 .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-activitats .wp-block-post-title,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda .wp-block-post-title,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda-es .wp-block-post-title {
text-transform: lowercase;
font-size: 1.5em;
margin-bottom: 0.5em;
@ -2015,14 +2029,20 @@ Add your custom styles in this file so it is easier to update the theme.
border-bottom: 0.05em solid #000;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .convos-pre-2024 .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 .xarxaprod-cards .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-activitats .wp-block-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 .wp-block-post-excerpt {
margin: 0.5em 0;
border-bottom: 0.05em solid #000;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .convos-pre-2024 .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 .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-activitats .wp-block-read-more,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda .wp-block-read-more,
.edit-post-visual-editor__content-area .editor-styles-wrapper .category-agenda-es .wp-block-read-more {
margin: 1em 0;
}

File diff suppressed because one or more lines are too long

View File

@ -136,7 +136,16 @@
margin: 0;
}
}
.convos-pre-2024,.category-convocatories {
/*
* categories:
*
* convocatorias pre 2024
* agenda, activitats, agenda-es
*
* * * * * * * * * * * * * * * */
.xarxaprod-cards,.category-convocatories,
.category-activitats,.category-agenda,.category-agenda-es {
display: flex;
flex-flow: column;
justify-content: flex-end;

View File

@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
Author: Hangar.org Tech Lab - hangar.org
Author URI: https://hangar.org
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
Version: 1.1.5
Version: 1.1.6
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v3 or later

View File

@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
Author: Hangar.org Tech Lab - hangar.org
Author URI: https://hangar.org
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
Version: 1.1.5
Version: 1.1.6
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v3 or later
@ -1847,16 +1847,29 @@ textarea {
margin: 0;
}
.convos-pre-2024,
.category-convocatories {
/*
* categories:
*
* convocatorias pre 2024
* agenda, activitats, agenda-es
*
* * * * * * * * * * * * * * * */
.xarxaprod-cards,
.category-convocatories,
.category-activitats,
.category-agenda,
.category-agenda-es {
display: flex;
flex-flow: column;
justify-content: flex-end;
margin-bottom: 333;
}
.convos-pre-2024 .wp-block-post-title,
.category-convocatories .wp-block-post-title {
.xarxaprod-cards .wp-block-post-title,
.category-convocatories .wp-block-post-title,
.category-activitats .wp-block-post-title,
.category-agenda .wp-block-post-title,
.category-agenda-es .wp-block-post-title {
text-transform: lowercase;
font-size: 1.5em;
margin-bottom: 0.5em;
@ -1864,14 +1877,20 @@ textarea {
border-bottom: 0.05em solid #000;
}
.convos-pre-2024 .wp-block-post-excerpt,
.category-convocatories .wp-block-post-excerpt {
.xarxaprod-cards .wp-block-post-excerpt,
.category-convocatories .wp-block-post-excerpt,
.category-activitats .wp-block-post-excerpt,
.category-agenda .wp-block-post-excerpt,
.category-agenda-es .wp-block-post-excerpt {
margin: 0.5em 0;
border-bottom: 0.05em solid #000;
}
.convos-pre-2024 .wp-block-read-more,
.category-convocatories .wp-block-read-more {
.xarxaprod-cards .wp-block-read-more,
.category-convocatories .wp-block-read-more,
.category-activitats .wp-block-read-more,
.category-agenda .wp-block-read-more,
.category-agenda-es .wp-block-read-more {
margin: 1em 0;
}