diff options
Diffstat (limited to 'app/Resources/static/themes/material/css/print.scss')
-rwxr-xr-x | app/Resources/static/themes/material/css/print.scss | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/css/print.scss b/app/Resources/static/themes/material/css/print.scss new file mode 100755 index 00000000..967a8c2b --- /dev/null +++ b/app/Resources/static/themes/material/css/print.scss | |||
@@ -0,0 +1,74 @@ | |||
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 | #slide-out, | ||
31 | .progress, | ||
32 | .hide-on-large-only, | ||
33 | #article > aside, | ||
34 | #article .mbm a { | ||
35 | display: none !important; | ||
36 | } | ||
37 | |||
38 | main { | ||
39 | padding-left: 0 !important; | ||
40 | } | ||
41 | |||
42 | #article { | ||
43 | margin: inherit !important; | ||
44 | } | ||
45 | |||
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 | margin: 0; | ||
68 | padding: 0; | ||
69 | } | ||
70 | |||
71 | #article { | ||
72 | width: 100%; | ||
73 | } | ||
74 | } | ||