diff options
Diffstat (limited to 'themes/default/public/css/print.css')
-rw-r--r-- | themes/default/public/css/print.css | 53 |
1 files changed, 53 insertions, 0 deletions
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 @@ | |||
1 | /* ### Layout ### */ | ||
2 | |||
3 | body { | ||
4 | font-family: Serif; | ||
5 | background-color: #fff; | ||
6 | } | ||
7 | |||
8 | @page { | ||
9 | margin: 1cm; | ||
10 | } | ||
11 | |||
12 | img { | ||
13 | max-width: 100% !important; | ||
14 | } | ||
15 | |||
16 | /* ### Content ### */ | ||
17 | |||
18 | /* Hide useless blocks */ | ||
19 | body > header, | ||
20 | #links, | ||
21 | #sort, | ||
22 | body > footer, | ||
23 | .top_link, | ||
24 | div.tools, | ||
25 | header div, | ||
26 | .messages, | ||
27 | .entrie + .results, | ||
28 | #article_toolbar { | ||
29 | display: none !important; | ||
30 | } | ||
31 | |||
32 | article { | ||
33 | border: none !important; | ||
34 | } | ||
35 | |||
36 | pre code { | ||
37 | line-height: 1.6em; | ||
38 | } | ||
39 | |||
40 | /* Add URL after links */ | ||
41 | .vieworiginal a:after { | ||
42 | content: " (" attr(href) ")"; | ||
43 | } | ||
44 | |||
45 | /* Add explanation after abbr */ | ||
46 | abbr[title]:after { | ||
47 | content: " (" attr(title) ")"; | ||
48 | } | ||
49 | |||
50 | /* Change border on current pager item */ | ||
51 | .pagination span.current { | ||
52 | border-style: dashed; | ||
53 | } | ||