From e8ebaf04a0feba6a0e9a06c29aecfc6c7ad842ec Mon Sep 17 00:00:00 2001 From: Ana Isabel Carvalho Date: Thu, 5 Jun 2014 15:30:04 +0100 Subject: [PATCH] fixed margins and sizes --- css/main.css | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/css/main.css b/css/main.css index 1cd2d4e..4083918 100644 --- a/css/main.css +++ b/css/main.css @@ -367,22 +367,38 @@ a:focus > img + strong { margin: .5em 0; } -/* Images inside .main +/* Images */ -.main ul.images:before, .main ul.images:after { +ul.images:before, ul.images:after { content: " "; display: table; } -.main ul.images:after { +ul.images:after { clear: both; } -.main ul.images { +ul.images { padding: 0.5em 0; } +ul.images li { + margin-bottom: 1em; +} + +ul.images li > img { + width: 100%; + max-width: 600px; + height: auto; +} + +.sidebar > p > img { + width: 100%; + max-width: 600px; + height: auto; +} + /* Troubleshooting panel */ -- 2.25.1