styled ajuts funds post type

This commit is contained in:
Jorge vitrubio.net 2024-04-01 18:49:43 +02:00
parent 3577f51e90
commit a68e86c448
7 changed files with 54 additions and 12 deletions

View File

@ -1615,6 +1615,14 @@ Add your custom styles in this file so it is easier to update the theme.
padding-bottom: 4rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-main > article.xarxaprod-ajut {
display: grid;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-main > article.xarxaprod-ajut > * {
max-width: 40rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-main > article.xarxaprod-convo {
display: grid;
}
@ -2135,11 +2143,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-fund-info-fields,
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-contact-fields {
display: grid;
margin-bottom: 2rem;
}
.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-bottom: 1rem;
padding: 1rem 0;
border-bottom: 0.05em solid #000;
}
@ -2149,9 +2158,15 @@ Add your custom styles in this file so it is easier to update the theme.
font-variant: all-petite-caps;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-fields h6 ~ p .button,
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-contact-fields h6 ~ p .button {
display: inline-block;
margin-top: 0.5rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-fields p,
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-contact-fields p {
margin: 0.5rem 0 0 0;
margin: 0;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-fund-info-fields li,
@ -2164,7 +2179,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 {
margin: 1rem 0 0.5rem 0;
margin: 0;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-funder-name,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -126,16 +126,22 @@
.xarxaprod-fund-info-fields,
.xarxaprod-fund-info-contact-fields {
display: grid;
margin-bottom: 2rem;
.xarxaprod-fund-info-field {
padding-bottom: 1rem;
padding: 1rem 0;
border-bottom: $border__line;
}
h6 {
//display: inline;
font-size: $font__size-body*2.4;
font-variant: all-petite-caps;
~ p .button {
display: inline-block;
margin-top: 0.5rem;
}
}
p {
margin: 0.5rem 0 0 0;
margin: 0;
}
li {
font-size: $font__size-body*1.3;
@ -148,7 +154,7 @@
}
.xarxaprod-fund-info-fields {
.xarxaprod-fund-info-field {
margin: 1rem 0 0.5rem 0;
margin: 0;
}
}
.xarxaprod-funder-name,

View File

@ -179,6 +179,12 @@
padding: 0;
> article {
padding-bottom: 4rem;
&.xarxaprod-ajut {
display: grid;
> * {
max-width: 40rem;
}
}
&.xarxaprod-convo {
display: grid;
> * {

View File

@ -1479,6 +1479,14 @@ textarea {
padding-bottom: 4rem;
}
.site-main > article.xarxaprod-ajut {
display: grid;
}
.site-main > article.xarxaprod-ajut > * {
max-width: 40rem;
}
.site-main > article.xarxaprod-convo {
display: grid;
}
@ -1964,11 +1972,12 @@ textarea {
.xarxaprod-fund-info-fields,
.xarxaprod-fund-info-contact-fields {
display: grid;
margin-bottom: 2rem;
}
.xarxaprod-fund-info-fields .xarxaprod-fund-info-field,
.xarxaprod-fund-info-contact-fields .xarxaprod-fund-info-field {
padding-bottom: 1rem;
padding: 1rem 0;
border-bottom: 0.05em solid #000;
}
@ -1978,9 +1987,15 @@ textarea {
font-variant: all-petite-caps;
}
.xarxaprod-fund-info-fields h6 ~ p .button,
.xarxaprod-fund-info-contact-fields h6 ~ p .button {
display: inline-block;
margin-top: 0.5rem;
}
.xarxaprod-fund-info-fields p,
.xarxaprod-fund-info-contact-fields p {
margin: 0.5rem 0 0 0;
margin: 0;
}
.xarxaprod-fund-info-fields li,
@ -1993,7 +2008,7 @@ textarea {
}
.xarxaprod-fund-info-fields .xarxaprod-fund-info-field {
margin: 1rem 0 0.5rem 0;
margin: 0;
}
.xarxaprod-funder-name,

File diff suppressed because one or more lines are too long