From f3729c4c853ef396de8d6bbd75210bfbacffa8b6 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 5 Apr 2016 13:26:09 +0200 Subject: [PATCH 1/1] max width for images in html --- redakcja/static/css/book.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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; -- 2.20.1