]>
Commit | Line | Data |
---|---|---|
5ecdfcd0 TC |
1 | @media print { |
2 | /* ### Layout ### */ | |
3 | ||
4 | body { | |
5 | font-family: Serif; | |
6 | background-color: #fff; | |
7 | } | |
8 | ||
9 | @page { | |
10 | margin: 1cm; | |
11 | } | |
12 | ||
13 | img { | |
14 | max-width: 100% !important; | |
15 | } | |
16 | ||
17 | /* ### Content ### */ | |
18 | ||
19 | /* Hide useless blocks */ | |
20 | body > header, | |
21 | #article_toolbar, | |
22 | #links, | |
23 | #sort, | |
24 | body > footer, | |
25 | .top_link, | |
26 | div.tools, | |
27 | header div, | |
28 | .messages, | |
29 | .entry + .results { | |
30 | display: none !important; | |
31 | } | |
32 | ||
33 | article { | |
34 | border: none !important; | |
35 | } | |
36 | ||
37 | /* Add URL after links */ | |
38 | .vieworiginal a::after { | |
39 | content: " (" attr(href) ")"; | |
40 | } | |
41 | ||
42 | /* Add explanation after abbr */ | |
43 | abbr[title]::after { | |
44 | content: " (" attr(title) ")"; | |
45 | } | |
46 | ||
47 | /* Change border on current pager item */ | |
48 | .pagination span.current { | |
49 | border-style: dashed; | |
50 | } | |
51 | ||
52 | #main { | |
53 | width: 100%; | |
54 | padding: 0; | |
55 | margin: 0; | |
56 | margin-left: 0; | |
57 | padding-right: 0; | |
58 | padding-bottom: 0; | |
59 | } | |
60 | ||
61 | #article { | |
62 | width: 100%; | |
63 | } | |
64 | } |