From: Jan Szejko Date: Tue, 5 Apr 2016 11:26:09 +0000 (+0200) Subject: max width for images in html X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/f3729c4c853ef396de8d6bbd75210bfbacffa8b6 max width for images in html --- diff --git a/redakcja/static/css/book.css b/redakcja/static/css/book.css index a29d1d63..c68e46ec 100644 --- a/redakcja/static/css/book.css +++ b/redakcja/static/css/book.css @@ -1,6 +1,6 @@ body { font-size: 16px; - font: Georgia, "Times New Roman", serif; + font-family: Georgia, "Times New Roman", serif; line-height: 1.5em; margin: 0; } @@ -24,6 +24,8 @@ a { img { border: none; + max-width: 36em; + margin-top: 1em; } #logo { @@ -35,8 +37,8 @@ img { #menu { position: fixed; - left: 0em; - top: 0em; + left: 0; + top: 0; width: 100%; height: 1.5em; background: #333; @@ -91,7 +93,7 @@ img { #toc, #themes, #nota_red, #info { position: fixed; - left: 0em; + left: 0; top: 1.5em; width: 37em; padding: 1.5em; @@ -107,7 +109,7 @@ img { } #download { position: fixed; - left: 0em; + left: 0; top: 1.5em; width: 37em; padding: 1.5em;