2019-09-27 01:35:20 +03:00
|
|
|
|
/*
|
|
|
|
|
* Add content area styles to the editor (in addition to the front end), so that users see content the way it will
|
|
|
|
|
* appear on the front end.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
@import "settings/colors";
|
|
|
|
|
@import "../../pub/wporg/css/settings/structure";
|
|
|
|
|
@import "settings/structure";
|
2019-10-24 20:10:40 +03:00
|
|
|
|
@import "settings/typography";
|
2019-09-27 01:35:20 +03:00
|
|
|
|
@import "../../pub/wporg/css/tools/breakpoint";
|
|
|
|
|
@import "../../pub/wporg/css/settings/_modular-scale.scss";
|
|
|
|
|
@import "../../pub/wporg/css/objects/buttons";
|
|
|
|
|
@import "objects/buttons";
|
2019-10-18 19:19:27 +03:00
|
|
|
|
@import "objects/hero";
|
2019-10-03 00:08:14 +03:00
|
|
|
|
@import "objects/pullquote";
|
2019-10-02 22:54:45 +03:00
|
|
|
|
@import "utilities/utilities";
|
2019-09-27 01:35:20 +03:00
|
|
|
|
|
2019-10-03 22:09:06 +03:00
|
|
|
|
// Un-parallelogram the columns in the editor– `skew` doesn't play well with the nesting of editor components.
|
|
|
|
|
.block-editor-block-list__block-edit {
|
|
|
|
|
.is-style-wporg-parallelogram {
|
|
|
|
|
.wp-block-column {
|
|
|
|
|
@include breakpoint( $breakpoint-tablet ) {
|
|
|
|
|
transform: skew(0);
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
position: static;
|
|
|
|
|
z-index: auto;
|
|
|
|
|
top: auto;
|
|
|
|
|
left: auto;
|
|
|
|
|
right: auto;
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
}
|
2019-09-27 01:35:20 +03:00
|
|
|
|
|
2019-10-03 22:09:06 +03:00
|
|
|
|
> * {
|
|
|
|
|
transform: skew(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-09-27 01:35:20 +03:00
|
|
|
|
|
2019-10-19 00:29:26 +03:00
|
|
|
|
// Undo the positioning because it's coupled to the front end layout. Use mobile positioning in the editor.
|
|
|
|
|
.wp-block-pullquote.is-style-wporg-home-pullquote {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 0;
|
2019-10-24 20:10:40 +03:00
|
|
|
|
left: 0;
|
2019-10-19 00:29:26 +03:00
|
|
|
|
width: auto;
|
2019-10-24 20:10:40 +03:00
|
|
|
|
max-width: 100%;
|
2019-10-19 00:29:26 +03:00
|
|
|
|
}
|
2019-09-27 01:35:20 +03:00
|
|
|
|
|
2019-10-19 00:29:26 +03:00
|
|
|
|
// font-family and face, etc?
|