From 93fd4692f6eb753cae16358131c8049d84cfbb41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 22 Jan 2015 08:30:07 +0100 Subject: symfony is there --- app/Resources/views/default/public/css/print.css | 53 ++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 app/Resources/views/default/public/css/print.css (limited to 'app/Resources/views/default/public/css/print.css') diff --git a/app/Resources/views/default/public/css/print.css b/app/Resources/views/default/public/css/print.css new file mode 100644 index 00000000..625478e1 --- /dev/null +++ b/app/Resources/views/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