fixed images and figures

This commit is contained in:
Jeena 2014-06-03 22:54:59 +02:00
parent 54900c3346
commit a33fbe3110

View file

@ -138,8 +138,14 @@ section > footer {
box-sizing: border-box; box-sizing: border-box;
} }
figure {
margin: 0;
padding: 0;
}
img { img {
max-width: 100% !important; max-width: 100% !important;
height: auto;
} }
#full > article pre { #full > article pre {
@ -147,13 +153,13 @@ img {
} }
@media screen and (width: 320px) { @media screen and (width: 320px) {
#full > article > * { #full > article * {
max-width: 300px !important; max-width: 300px !important;
} }
} }
@media screen and (width: 480px) { @media screen and (width: 480px) {
#full > article > * { #full > article * {
max-width: 460px !important; max-width: 460px !important;
} }
} }