From: Ana Isabel Carvalho Date: Thu, 5 Jun 2014 14:30:04 +0000 (+0100) Subject: fixed margins and sizes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e8ebaf04a0feba6a0e9a06c29aecfc6c7ad842ec;p=enc-static.git fixed margins and sizes --- 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 */