From 0d2ad838d03a600b034f6355a1d43f74debd62eb Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 5 Apr 2016 13:27:52 +0200 Subject: [PATCH] max width for images in html book view --- src/wolnelektury/static/css/master.book.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/wolnelektury/static/css/master.book.css b/src/wolnelektury/static/css/master.book.css index 29c84765e..1c615df47 100644 --- a/src/wolnelektury/static/css/master.book.css +++ b/src/wolnelektury/static/css/master.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; } @@ -28,6 +28,8 @@ a { img { border: none; + max-width: 36em; + margin-top: 1em; } #logo { @@ -39,8 +41,8 @@ img { #menu { position: fixed; - left: 0em; - top: 0em; + left: 0; + top: 0; width: 100%; height: 1.5em; background: #333; @@ -95,7 +97,7 @@ img { #toc, #themes, #nota_red, #info, #other-versions, #objects { position: fixed; - left: 0em; + left: 0; top: 1.5em; width: 37em; padding: 1.5em; @@ -111,7 +113,7 @@ img { } #download { position: fixed; - left: 0em; + left: 0; top: 1.5em; width: 37em; padding: 1.5em; -- 2.20.1