five-for-the-future/themes/wporg-5ftf/css/components/_about.scss

50 lines
1,020 B
SCSS
Raw Normal View History

2019-09-27 01:34:24 +03:00
body.page-about .entry-content {
.wp-block-pullquote.is-style-solid-color {
@extend .has-wporg-blue-background-color;
2019-09-27 01:34:24 +03:00
blockquote {
@extend .has-wporg-white-color;
2019-09-27 01:34:24 +03:00
max-width: 100%;
border: none;
}
}
2019-09-27 01:34:24 +03:00
@include breakpoint( $breakpoint-tablet ) {
> p,
> h1,
> h2,
> h3,
> h4,
> h5,
> h6,
> .wp-block-quote,
> .wp-block-media-text,
> .wp-block-button {
margin-left: 40%;
}
2019-09-27 01:34:24 +03:00
p.is-style-wporg-tldr {
margin-left: auto;
}
2019-09-27 01:34:24 +03:00
.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
2019-09-27 01:34:24 +03:00
position: absolute;
top: 800px;
left: 0;
width: 40%;
2019-09-27 01:34:24 +03:00
blockquote {
color: $color__text-heading !important; // todo why does this need !important?
border-left: none;
}
2019-09-27 01:34:24 +03:00
// todo works in front end, but need it in editor-styles too. maybe b/c targeting body.page-about?
}
}
}