]>
Commit | Line | Data |
---|---|---|
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 > .logo, | |
21 | #article_toolbar, | |
22 | #links, | |
23 | #sort, | |
24 | body > footer, | |
25 | .top_link, | |
26 | div.tools, | |
27 | header div, | |
28 | .messages, | |
29 | .entrie + .results, | |
30 | #article .mbm a, | |
31 | #article-informations { | |
32 | display: none !important; | |
33 | } | |
34 | ||
35 | article { | |
36 | border: none !important; | |
37 | } | |
38 | ||
39 | /* Add URL after links */ | |
40 | .vieworiginal a::after { | |
41 | content: " (" attr(href) ")"; | |
42 | } | |
43 | ||
44 | /* Add explanation after abbr */ | |
45 | abbr[title]::after { | |
46 | content: " (" attr(title) ")"; | |
47 | } | |
48 | ||
49 | /* Change border on current pager item */ | |
50 | .pagination span.current { | |
51 | border-style: dashed; | |
52 | } | |
53 | ||
54 | #main { | |
55 | width: 100%; | |
56 | margin: 0; | |
57 | padding: 0; | |
58 | } | |
59 | ||
60 | #article { | |
61 | width: 100%; | |
62 | } | |
63 | } |