📱 feature: responsive (and centered) images

main
welpo 2 years ago
parent d653f5b281
commit 9242fa4389
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -3,12 +3,20 @@ figure {
display: inline-block;
margin: 0;
max-width: 100%;
height: auto;
}
figure img {
max-height: 500px;
}
img {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
}
@media screen and (min-width: 600px) {
figure {
padding: 0 40px;

Loading…
Cancel
Save