Created
November 29, 2018 08:30
-
-
Save deshabhishek007/64e11be16f788b35ebe5cb923608568f to your computer and use it in GitHub Desktop.
CSS for Gutenberg Support in themes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.has-regular-font-size { | |
font-size: 16px; | |
} | |
@media only screen and (min-width: 768px) { | |
.alignfull { | |
margin-left: calc(50% - 50vw); | |
margin-right: calc(50% - 50vw); | |
width: auto; | |
max-width: 1000%; | |
} | |
.alignwide { | |
margin-left: calc(25% - 25vw); | |
margin-right: calc(25% - 25vw); | |
width: auto; | |
max-width: 1000%; | |
} | |
.alignwide img, | |
.alignfull img { | |
display: block; | |
margin: 0 auto; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment