Skatepark: Add custom padding to cover block
This commit is contained in:
parent
333559b47f
commit
c8e4f5790e
3 changed files with 8 additions and 0 deletions
|
@ -139,6 +139,10 @@ p {
|
|||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
.wp-block-cover {
|
||||
padding: clamp(2em, 15%, 8em);
|
||||
}
|
||||
|
||||
.wp-block-post-comments .reply a {
|
||||
--wp--custom--button--typography--font-size: var(--wp--preset--font-size--normal);
|
||||
border-style: var(--wp--custom--button--border--style);
|
||||
|
|
3
skatepark/sass/blocks/_cover.scss
Normal file
3
skatepark/sass/blocks/_cover.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
.wp-block-cover {
|
||||
padding: clamp(2em, 15%, 8em);
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
@import "blocks/author";
|
||||
@import "../../blockbase/sass/blocks/_buttons-outline-style";
|
||||
@import "blocks/buttons";
|
||||
@import "blocks/cover";
|
||||
@import "blocks/post-comments";
|
||||
@import "blocks/post-title";
|
||||
@import "blocks/query";
|
||||
|
|
Loading…
Reference in a new issue