Theme: Iterate on pullquotes and other hero areas.

See #2.
This commit is contained in:
Ian Dunn 2019-10-18 14:29:26 -07:00
parent 9c700e59cb
commit 78822c4323
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
5 changed files with 51 additions and 17 deletions

View file

@ -0,0 +1,19 @@
// Defined here so we can use `ms`.
$size__spacing-unit: ms( 4 );
/* Fills 100% of the screen on mobile, and 100% of the content area on desktop */
.is-style-wporg-hero {
position: relative;
left: -#{ $size__spacing-unit };
width: calc( 100% + ( 2 * #{ $size__spacing-unit } ) );
max-width: calc( 100% + ( 2 * #{ $size__spacing-unit} ) );
clear: both;
@include breakpoint( $breakpoint-tablet ) {
position: inherit;
left: inherit;
width: inherit;
max-width: inherit;
clear: inherit;
}
}