FEATURE adding a padding opn entry-content and adapting alignfull blocks not to be pushed
This commit is contained in:
parent
a84dec6d94
commit
ce9a059cb9
|
|
@ -1,5 +1,7 @@
|
||||||
.page-header {
|
.page-header {
|
||||||
@apply bg-primary text-white py-16 items-center relative;
|
@apply bg-primary text-white py-16 items-center relative;
|
||||||
|
margin-left: calc(50% - 50vw);
|
||||||
|
margin-right: calc(50% - 50vw);
|
||||||
|
|
||||||
&--has-overlap {
|
&--has-overlap {
|
||||||
@apply pb-64 -mb-48;
|
@apply pb-64 -mb-48;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
.post-header {
|
.post-header {
|
||||||
@apply bg-primary text-white py-8 2xl:py-16 px-2 lg:px-4 md:px-8 overflow-x-hidden;
|
@apply bg-primary text-white py-8 2xl:py-16 px-2 lg:px-4 md:px-8 overflow-x-hidden;
|
||||||
|
margin-left: calc(50% - 50vw);
|
||||||
|
margin-right: calc(50% - 50vw);
|
||||||
|
|
||||||
&:has(.post-header__inner--has-thumbnail) {
|
&:has(.post-header__inner--has-thumbnail) {
|
||||||
@apply pb-16 2xl:!pb-20;
|
@apply pb-16 2xl:!pb-20;
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,11 @@ article > *:not(.entry-content),
|
||||||
@apply mx-auto max-w-content;
|
@apply mx-auto max-w-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-content,
|
||||||
|
.entry-content {
|
||||||
|
@apply px-4;
|
||||||
|
}
|
||||||
|
|
||||||
.entry-content,
|
.entry-content,
|
||||||
.block-editor-block-list__layout {
|
.block-editor-block-list__layout {
|
||||||
h1 {
|
h1 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user