.custom-icon {
font-size: var(--custom-icon-size, 1em);
vertical-align: middle;
display: contents;
figure, svg {
margin: 0;
padding: 0;
height: var(--custom-icon-size, 1em);
width: auto;
color: currentColor;
fill: currentColor;
}
&.custom-icon-size-1x {
--custom-icon-size: 1em;
}
&.custom-icon-size-2x {
--custom-icon-size: 2em;
}
&.custom-icon-size-3x {
--custom-icon-size: 3em;
}
&.custom-icon-size-4x {
--custom-icon-size: 4em;
}
&.custom-icon-size-5x {
--custom-icon-size: 5em;
}
&.custom-icon-size-6x {
--custom-icon-size: 6em;
}
&.custom-icon-size-7x {
--custom-icon-size: 7em;
}
&.custom-icon-size-8x {
--custom-icon-size: 8em;
}
&.custom-icon-size-9x {
--custom-icon-size: 9em;
}
&.custom-icon-size-10x {
--custom-icon-size: 10em;
}
}
.as-phone.wp-block-social-link {
a:before {
content: "\1F4DE\FE0E";
display: inline-flex;
height: 1em;
width: 1em;
line-height: 1;
text-align: center;
font-weight: bold;
justify-content: center;
}
svg {
display: none;
}
}
[class*=child-menu-button] {
a {
background: var(--wp--preset--color--primary);
border-radius: var(--child-border-radius);
padding: 5px 15px 5px 15px !important;
* {
color: white;
}
&:hover {
text-decoration: none !important;
background: var(--wp--preset--color--secondary);
* {
color: white;
}
}
}
&.child-menu-button--secondary a {
background: var(--wp--preset--color--secondary);
&:hover {
background: var(--wp--preset--color--primary);
}
}
}
.wp-block-table.like-text :is(td, th) {
padding-left: 0;
padding-top: 0;
padding-bottom: 0;
}
@media (min-width: 1024px) {
.wp-site-blocks:has(.alternative-layout-sidebar) {
display: grid;
justify-content: start;
grid-template-columns: 300px calc(100% - 300px);
grid-template-areas:
"header main"
"header footer";
> header {
padding: 0;
margin: 0;
grid-area: header;
}
> main {
grid-area: main;
}
> footer {
grid-area: footer;
}
}
}
.is-style-as-once-button {
summary {
max-width: fit-content;
margin-inline: auto;
display: block;
}
&[open]:not([class*="block-editor"]) summary {
display: none;
}
}