styled maps and post pages archives for memembers

This commit is contained in:
jorge 2024-03-28 22:53:21 +01:00
parent 85d4b072d7
commit de4f2a16ac
7 changed files with 33 additions and 3 deletions

View File

@ -1130,6 +1130,12 @@ Add your custom styles in this file so it is easier to update the theme.
margin: 1em 0; margin: 1em 0;
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-associats-map,
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-espais-map {
aspect-ratio: 16 / 9;
background-color: rgba(200, 200, 200, 0.4);
}
.edit-post-visual-editor__content-area .editor-styles-wrapper table { .edit-post-visual-editor__content-area .editor-styles-wrapper table {
margin: 0 0 1.5em; margin: 0 0 1.5em;
width: 100%; width: 100%;
@ -2390,6 +2396,11 @@ Add your custom styles in this file so it is easier to update the theme.
grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr));
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filtered-content .archive-posts.archive-xarxaprod-associats,
.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 { .edit-post-visual-editor__content-area .editor-styles-wrapper .archive-posts {
grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-columns: repeat(3, minmax(0, 1fr));
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -13,3 +13,8 @@ img {
figure { figure {
margin: 1em 0; // Extra wide images within figure tags don't overflow the content area. margin: 1em 0; // Extra wide images within figure tags don't overflow the content area.
} }
.xarxaprod-associats-map,.xarxaprod-espais-map {
//mapas leaflet
aspect-ratio: 16 / 9;
background-color: rgba(200,200,200,0.4); //place holder background color
}

View File

@ -490,6 +490,9 @@
grid-template-columns: 1fr 3fr; grid-template-columns: 1fr 3fr;
.archive-posts { .archive-posts {
grid-template-columns: repeat(2 , minmax(0,1fr)); grid-template-columns: repeat(2 , minmax(0,1fr));
&.archive-xarxaprod-associats,&.archive-custom-post-type-associat {
grid-template-columns: repeat(1 , minmax(0,1fr));
}
} }
} }
.archive-posts { .archive-posts {

View File

@ -988,6 +988,12 @@ figure {
margin: 1em 0; margin: 1em 0;
} }
.xarxaprod-associats-map,
.xarxaprod-espais-map {
aspect-ratio: 16 / 9;
background-color: rgba(200, 200, 200, 0.4);
}
table { table {
margin: 0 0 1.5em; margin: 0 0 1.5em;
width: 100%; width: 100%;
@ -2244,6 +2250,11 @@ textarea {
grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr));
} }
.xarxaprod-filtered-content .archive-posts.archive-xarxaprod-associats,
.xarxaprod-filtered-content .archive-posts.archive-custom-post-type-associat {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.archive-posts { .archive-posts {
grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-columns: repeat(3, minmax(0, 1fr));
} }

File diff suppressed because one or more lines are too long