From f70a9d353bc78f8a34635c4b64d5a383d148f8fa Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 14 May 2010 14:10:15 +0200 Subject: [PATCH] Fixed printing from "read online". Hide menu bar for printing (#409). Fix printing line numbers (#609). --- wolnelektury/static/css/master.book.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/wolnelektury/static/css/master.book.css b/wolnelektury/static/css/master.book.css index b0d354296..26a11c62c 100644 --- a/wolnelektury/static/css/master.book.css +++ b/wolnelektury/static/css/master.book.css @@ -194,10 +194,13 @@ blockquote { /* ============= */ /* = Numbering = */ /* ============= */ +.verse { + position:relative; +} .anchor { position: absolute; margin: -0.25em -0.5em; - left: 1em; + left: -3em; color: #777; font-size: 12px; width: 2em; @@ -317,3 +320,11 @@ em.person { font-variant: small-caps; } + +/* =================================== */ +/* = Hide some elements for printing = */ +/* =================================== */ + +@media print { + #menu {display: none;} +} -- 2.20.1