From a33fbe311075b313ceb34e56ffc5241d85f58029 Mon Sep 17 00:00:00 2001 From: Jeena Date: Tue, 3 Jun 2014 22:54:59 +0200 Subject: [PATCH] fixed images and figures --- css/screen.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/css/screen.css b/css/screen.css index 4c05fec..b0f4b1b 100644 --- a/css/screen.css +++ b/css/screen.css @@ -138,8 +138,14 @@ section > footer { box-sizing: border-box; } +figure { + margin: 0; + padding: 0; +} + img { max-width: 100% !important; + height: auto; } #full > article pre { @@ -147,13 +153,13 @@ img { } @media screen and (width: 320px) { - #full > article > * { + #full > article * { max-width: 300px !important; } } @media screen and (width: 480px) { - #full > article > * { + #full > article * { max-width: 460px !important; } }