You've already forked wp-bootstrap
30 lines
700 B
SCSS
30 lines
700 B
SCSS
|
|
// Editor-specific overrides
|
||
|
|
// Adjustments for the block editor iframe to match frontend appearance
|
||
|
|
|
||
|
|
.editor-styles-wrapper {
|
||
|
|
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||
|
|
line-height: 1.5;
|
||
|
|
|
||
|
|
a {
|
||
|
|
text-decoration-thickness: 1px !important;
|
||
|
|
text-underline-offset: 0.1em;
|
||
|
|
}
|
||
|
|
|
||
|
|
// Alignment overrides matching Bootstrap container widths
|
||
|
|
.alignfull {
|
||
|
|
margin-left: 0;
|
||
|
|
margin-right: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.alignwide {
|
||
|
|
max-width: 1140px;
|
||
|
|
margin-left: auto;
|
||
|
|
margin-right: auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
// Block gap matching theme.json blockGap
|
||
|
|
> * + * {
|
||
|
|
margin-block-start: 1.5rem;
|
||
|
|
}
|
||
|
|
}
|