handling shortcuts style
This commit is contained in:
parent
06929a00c5
commit
21a1b580b4
27
resources/css/blocks/shortcuts.css
Normal file
27
resources/css/blocks/shortcuts.css
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
.homegrade-blocks-shortcuts {
|
||||||
|
.wp-block-heading {
|
||||||
|
@apply uppercase text-neutral-700
|
||||||
|
text-sm
|
||||||
|
tracking-wider
|
||||||
|
font-bold
|
||||||
|
mb-2;
|
||||||
|
}
|
||||||
|
.wp-block-button {
|
||||||
|
@apply inline-block;
|
||||||
|
.wp-block-button__link {
|
||||||
|
@apply flex items-center;
|
||||||
|
@apply !bg-secondary-light !text-secondary;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
@apply mr-3 h-6 w-6 bg-no-repeat bg-contain bg-center;
|
||||||
|
content: '';
|
||||||
|
heigth: 1.25rem;
|
||||||
|
width: 1.25rem;
|
||||||
|
display: inline-block;
|
||||||
|
background-image: url('../resources/img/graphic-assets/anchor.svg');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link {
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user