2019-10-19 00:29:26 +03:00
|
|
|
// 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;
|
2019-10-24 20:10:40 +03:00
|
|
|
margin-bottom: 0;
|
2019-10-19 00:29:26 +03:00
|
|
|
|
|
|
|
@include breakpoint( $breakpoint-tablet ) {
|
|
|
|
position: inherit;
|
|
|
|
left: inherit;
|
|
|
|
width: inherit;
|
|
|
|
max-width: inherit;
|
|
|
|
clear: inherit;
|
2019-10-24 20:10:40 +03:00
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
&.wp-block-group {
|
|
|
|
margin-top: -8rem;
|
|
|
|
}
|
2019-10-19 00:29:26 +03:00
|
|
|
}
|
|
|
|
}
|