mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-10 04:25:44 +03:00
More blocks styles moved to the appropriate object/utilities folders
Simplifies pullquote and fixes the issues with editor styles; move color classes utilities.
This commit is contained in:
parent
e6b3fbd989
commit
f8558fe9c2
10 changed files with 98 additions and 137 deletions
|
@ -1,14 +1,4 @@
|
|||
body.page-about .entry-content {
|
||||
.wp-block-pullquote.is-style-solid-color {
|
||||
@extend .has-wporg-blue-background-color;
|
||||
|
||||
blockquote {
|
||||
@extend .has-wporg-white-color;
|
||||
|
||||
max-width: 100%;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint( $breakpoint-tablet ) {
|
||||
> p,
|
||||
|
@ -28,22 +18,11 @@ body.page-about .entry-content {
|
|||
margin-left: auto;
|
||||
}
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color {
|
||||
@extend .is-style-default !optional;
|
||||
//@extend .has-wporg-white-background-color; // todo compile error
|
||||
background-color: white !important; // todo why does this need !important? it shouldn't
|
||||
|
||||
.wp-block-pullquote.is-style-solid-color {
|
||||
position: absolute;
|
||||
top: 800px;
|
||||
left: 0;
|
||||
width: 40%;
|
||||
|
||||
blockquote {
|
||||
color: $color__text-heading !important; // todo why does this need !important?
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
// todo works in front end, but need it in editor-styles too. maybe b/c targeting body.page-about?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue