]>
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, | |
52ef4970 NL |
29 | .entry + .results, |
30 | #slide-out, | |
c146f694 TC |
31 | .progress, |
32 | .hide-on-large-only, | |
52ef4970 | 33 | #article > aside, |
c146f694 | 34 | #article .mbm a { |
5ecdfcd0 TC |
35 | display: none !important; |
36 | } | |
37 | ||
52ef4970 | 38 | main { |
be20e6f0 | 39 | padding-left: 0 !important; |
52ef4970 NL |
40 | } |
41 | ||
42 | #article { | |
be20e6f0 | 43 | margin: inherit !important; |
52ef4970 NL |
44 | } |
45 | ||
5ecdfcd0 TC |
46 | article { |
47 | border: none !important; | |
48 | } | |
49 | ||
50 | /* Add URL after links */ | |
51 | .vieworiginal a::after { | |
52 | content: " (" attr(href) ")"; | |
53 | } | |
54 | ||
55 | /* Add explanation after abbr */ | |
56 | abbr[title]::after { | |
57 | content: " (" attr(title) ")"; | |
58 | } | |
59 | ||
60 | /* Change border on current pager item */ | |
61 | .pagination span.current { | |
62 | border-style: dashed; | |
63 | } | |
64 | ||
65 | #main { | |
66 | width: 100%; | |
67 | padding: 0; | |
68 | margin: 0; | |
69 | margin-left: 0; | |
70 | padding-right: 0; | |
71 | padding-bottom: 0; | |
72 | } | |
73 | ||
74 | #article { | |
75 | width: 100%; | |
76 | } | |
77 | } |