styled paragraphs, tytles and gaps, added case intro in posts and pages

This commit is contained in:
jorge 2024-03-30 15:13:17 +01:00
parent 8a451a1138
commit e1433745ac
8 changed files with 48 additions and 24 deletions

View File

@ -764,6 +764,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 p { .edit-post-visual-editor__content-area .editor-styles-wrapper p {
margin-top: 0;
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
@ -1431,7 +1432,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 :where(.wp-block-columns.is-layout-flex) { .edit-post-visual-editor__content-area .editor-styles-wrapper :where(.wp-block-columns.is-layout-flex) {
gap: 2rem; gap: 1.5rem;
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-destacats, .edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-destacats,
@ -1527,10 +1528,6 @@ Add your custom styles in this file so it is easier to update the theme.
margin: 0 auto; margin: 0 auto;
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper :where(.wp-block-columns.is-layout-flex) {
gap: 4rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-destacats, .edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-destacats,
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-featured, .edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-featured,
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-last-convos, .edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-last-convos,
@ -1839,6 +1836,10 @@ 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
* */
/* /*
* blocks columns with line below each block * blocks columns with line below each block
* see Que oferim? * see Que oferim?
@ -1901,13 +1902,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 .page-content, .edit-post-visual-editor__content-area .editor-styles-wrapper .page-content,
.edit-post-visual-editor__content-area .editor-styles-wrapper .entry-content,
.edit-post-visual-editor__content-area .editor-styles-wrapper .entry-summary { .edit-post-visual-editor__content-area .editor-styles-wrapper .entry-summary {
margin: 1.5em 0 0; margin: 1.5em 0 0;
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-main .entry-title { .edit-post-visual-editor__content-area .editor-styles-wrapper .site-main .entry-title {
margin: 0.5em 0; margin: 0.5em 0 0 0;
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper .page-links { .edit-post-visual-editor__content-area .editor-styles-wrapper .page-links {
@ -1919,6 +1919,12 @@ Add your custom styles in this file so it is easier to update the theme.
padding: 0 1rem; padding: 0 1rem;
} }
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-intro p {
font-size: 2rem;
line-height: 1.2;
margin: 0;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix .wp-block-column, .edit-post-visual-editor__content-area .editor-styles-wrapper .ratlla-abaix .wp-block-column,
.edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom .wp-block-column { .edit-post-visual-editor__content-area .editor-styles-wrapper .border-bottom .wp-block-column {
position: relative; position: relative;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,5 @@
p { p {
margin-top: 0;
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }

View File

@ -13,13 +13,13 @@
} }
.page-content, .page-content,
.entry-content, //.entry-content,
.entry-summary { .entry-summary {
margin: 1.5em 0 0; margin: 1.5em 0 0;
} }
.site-main { .site-main {
.entry-title { .entry-title {
margin: 0.5em 0; margin: 0.5em 0 0 0;
} }
} }
.page-links { .page-links {
@ -29,6 +29,18 @@
.home-featured { .home-featured {
padding: 0 1rem; padding: 0 1rem;
} }
/*
* big lletters block below titles
* */
.xarxaprod-intro {
p {
font-size: $font__size-body*2;
line-height: 1.2;
margin: 0;
}
}
/* /*
* blocks columns with line below each block * blocks columns with line below each block
* see Que oferim? * see Que oferim?

View File

@ -81,7 +81,7 @@
color: $color__white; color: $color__white;
margin-top: 4em; margin-top: 4em;
:where(.wp-block-columns.is-layout-flex) { :where(.wp-block-columns.is-layout-flex) {
gap: $grid__gap * 5; //8em; gap: $grid__gap * 5;
} }
.site-info { .site-info {
&> section { &> section {
@ -104,7 +104,7 @@
} }
}//end .site-footer }//end .site-footer
:where(.wp-block-columns.is-layout-flex) { :where(.wp-block-columns.is-layout-flex) {
gap: $grid__gap * 2; gap: $grid__gap * 1.5;
} }
.xarxaprod-destacats,.xarxaprod-featured, .xarxaprod-destacats,.xarxaprod-featured,
.xarxaprod-last-convos,.xarxaprod-ultimes-convocatories, .xarxaprod-last-convos,.xarxaprod-ultimes-convocatories,
@ -195,9 +195,9 @@
margin: 0 auto; margin: 0 auto;
} }
} }
:where(.wp-block-columns.is-layout-flex) { //:where(.wp-block-columns.is-layout-flex) {
gap: $grid__gap * 4; // gap: $grid__gap * 4;
} //}
.xarxaprod-destacats,.xarxaprod-featured, .xarxaprod-destacats,.xarxaprod-featured,
.xarxaprod-last-convos,.xarxaprod-ultimes-convocatories, .xarxaprod-last-convos,.xarxaprod-ultimes-convocatories,
.archive-posts { .archive-posts {

View File

@ -623,6 +623,7 @@ textarea {
} }
p { p {
margin-top: 0;
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
@ -1296,7 +1297,7 @@ textarea {
} }
:where(.wp-block-columns.is-layout-flex) { :where(.wp-block-columns.is-layout-flex) {
gap: 2rem; gap: 1.5rem;
} }
.xarxaprod-destacats, .xarxaprod-destacats,
@ -1392,10 +1393,6 @@ textarea {
margin: 0 auto; margin: 0 auto;
} }
:where(.wp-block-columns.is-layout-flex) {
gap: 4rem;
}
.xarxaprod-destacats, .xarxaprod-destacats,
.xarxaprod-featured, .xarxaprod-featured,
.xarxaprod-last-convos, .xarxaprod-last-convos,
@ -1717,13 +1714,12 @@ textarea {
} }
.page-content, .page-content,
.entry-content,
.entry-summary { .entry-summary {
margin: 1.5em 0 0; margin: 1.5em 0 0;
} }
.site-main .entry-title { .site-main .entry-title {
margin: 0.5em 0; margin: 0.5em 0 0 0;
} }
.page-links { .page-links {
@ -1735,6 +1731,15 @@ textarea {
padding: 0 1rem; padding: 0 1rem;
} }
/*
* big lletters block below titles
* */
.xarxaprod-intro p {
font-size: 2rem;
line-height: 1.2;
margin: 0;
}
/* /*
* blocks columns with line below each block * blocks columns with line below each block
* see Que oferim? * see Que oferim?

File diff suppressed because one or more lines are too long