Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/_blocks.scss Secret
Last active Jan 9, 2019

Embed
What would you like to do?
.entry-content > * {
&.alignwide {
margin: calc( 2 * #{$block-margin}) -#{$base-margin};
max-width: calc( 100% + #{$margin_2x});
@include media(">=medium") {
margin: calc( 2 * #{$block-margin}) calc(25% - 25vw);
max-width: 100vw;
width: auto;
}
}
&.alignfull {
margin: calc( 2 * #{$block-margin}) -#{$base-margin};
max-width: calc( 100% + #{$margin_2x});
@include media(">=medium") {
margin: calc( 2 * #{$block-margin} ) calc(50% - 50vw);
max-width: 100vw;
width: 100vw;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.