@wordpress/block-library
Version:
Block library for the WordPress editor.
78 lines (77 loc) • 1.52 kB
CSS
/**
* Colors
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Fonts & basic variables.
*/
/**
* Typography
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Mobile specific styles
*/
/**
* Editor styles.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
.block-editor-block-list__block[data-type="core/more"] {
max-width: 100%;
text-align: center;
margin-top: 28px;
margin-bottom: 28px;
}
.wp-block-more {
display: block;
text-align: center;
white-space: nowrap;
}
.wp-block-more .rich-text {
position: relative;
font-size: 13px;
text-transform: uppercase;
font-weight: 600;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
color: #757575;
display: inline-flex;
white-space: nowrap;
text-align: center;
background: #fff;
padding: 10px 36px;
}
.wp-block-more::before {
content: "";
position: absolute;
top: 50%;
left: 0;
right: 0;
border-top: 3px dashed #ccc;
}