aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material/css/print.css
diff options
context:
space:
mode:
Diffstat (limited to 'app/Resources/static/themes/material/css/print.css')
-rwxr-xr-xapp/Resources/static/themes/material/css/print.css64
1 files changed, 64 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/css/print.css b/app/Resources/static/themes/material/css/print.css
new file mode 100755
index 00000000..a16be71e
--- /dev/null
+++ b/app/Resources/static/themes/material/css/print.css
@@ -0,0 +1,64 @@
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}