From 79e051a1f216704752e05f5174633abf20dde582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 20 Jan 2015 14:11:26 +0100 Subject: restructure folders --- themes/default/public/css/print.css | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 themes/default/public/css/print.css (limited to 'themes/default/public/css/print.css') diff --git a/themes/default/public/css/print.css b/themes/default/public/css/print.css new file mode 100644 index 00000000..625478e1 --- /dev/null +++ b/themes/default/public/css/print.css @@ -0,0 +1,53 @@ +/* ### Layout ### */ + +body { + font-family: Serif; + background-color: #fff; +} + +@page { + margin: 1cm; +} + +img { + max-width: 100% !important; +} + +/* ### Content ### */ + +/* Hide useless blocks */ +body > header, +#links, +#sort, +body > footer, +.top_link, +div.tools, +header div, +.messages, +.entrie + .results, +#article_toolbar { + display: none !important; +} + +article { + border: none !important; +} + +pre code { + line-height: 1.6em; +} + +/* Add URL after links */ +.vieworiginal a:after { + content: " (" attr(href) ")"; +} + +/* Add explanation after abbr */ +abbr[title]:after { + content: " (" attr(title) ")"; +} + +/* Change border on current pager item */ +.pagination span.current { + border-style: dashed; +} -- cgit v1.2.3