-
-
Save 88880/3f6279dd6e888ebb8aeabad294f88d4c to your computer and use it in GitHub Desktop.
automatically resize blogger images to fit full blog post area
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
.post-body img { | |
width: $(content.width); | |
height: auto; | |
margin-left: -1em; | |
padding: 0; | |
border: none; | |
max-width: 100%; | |
} | |
.post-body .tr-caption-container { | |
padding: 0; | |
} | |
.post-body .tr-caption-container img { | |
padding: 0; | |
display: block; | |
width: $(content.width); | |
height: auto; | |
margin-left: 0; | |
max-width: 100%; | |
background: transparent; | |
border: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment