block background image settings
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
@use "sections/footer";
|
||||
|
||||
// Components
|
||||
@use "components/block";
|
||||
@use "components/forms";
|
||||
@use "components/button";
|
||||
@use "components/card";
|
||||
|
||||
15
web/app/themes/badegg/resources/css/components/_block.scss
Normal file
15
web/app/themes/badegg/resources/css/components/_block.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
.has-bg-image {
|
||||
position: relative;
|
||||
|
||||
>.container {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.badegg-block-background {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,10 @@
|
||||
@use "app";
|
||||
@use "global/variables/colours";
|
||||
|
||||
html :where(.wp-block) {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]) {
|
||||
&:hover:after {
|
||||
content: '';
|
||||
|
||||
Reference in New Issue
Block a user