Skip to content

Instantly share code, notes, and snippets.

@billerickson
Last active January 9, 2019 22:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/d4e0d961f1179e412bbeb5037ce8809c to your computer and use it in GitHub Desktop.
Save billerickson/d4e0d961f1179e412bbeb5037ce8809c to your computer and use it in GitHub Desktop.
/* Post title width */
.editor-post-title__block.wp-block {
max-width: $content-width;
/* Post title styling */
.editor-post-title__input {
}
}
/* Main column width */
.wp-block {
max-width: $content-width;
/* Wide column width */
&[data-align="wide"] {
max-width: none;
@include media(">=medium") {
max-width: none;
margin-left: calc(25vw - 25%);
margin-right: calc(25vw - 25%);
}
}
/* Full column width */
&[data-align="full"] {
max-width: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment