@wordpress/block-library
Version:
Block library for the WordPress editor.
41 lines (36 loc) • 850 B
CSS
@charset "UTF-8";
.wp-block-separator {
border-top: 2px solid currentColor;
border-left: none;
border-right: none;
border-bottom: none;
}
:where(.is-layout-flex.is-vertical) > .wp-block-separator {
align-self: stretch;
}
:where(.is-layout-flex:not(.is-vertical)) > .wp-block-separator {
flex-grow: 1;
}
:root :where(.wp-block-separator[class*=wp-container-content-]) {
flex-grow: 0;
}
:root :where(.wp-block-separator.is-style-dots) {
align-self: auto;
flex-grow: 0;
text-align: center;
line-height: 1;
height: auto;
}
:root :where(.wp-block-separator.is-style-dots)::before {
content: "···";
color: currentColor;
font-size: 1.5em;
letter-spacing: 2em;
/*rtl:ignore*/
padding-left: 2em;
font-family: serif;
}
.wp-block-separator.is-style-dots {
background: none ;
border: none ;
}