aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/public/css/print.css
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/public/css/print.css')
-rw-r--r--themes/default/public/css/print.css53
1 files changed, 53 insertions, 0 deletions
diff --git a/themes/default/public/css/print.css b/themes/default/public/css/print.css
new file mode 100644
index 00000000..625478e1
--- /dev/null
+++ b/themes/default/public/css/print.css
@@ -0,0 +1,53 @@
1/* ### Layout ### */
2
3body {
4 font-family: Serif;
5 background-color: #fff;
6}
7
8@page {
9 margin: 1cm;
10}
11
12img {
13 max-width: 100% !important;
14}
15
16/* ### Content ### */
17
18/* Hide useless blocks */
19body > header,
20#links,
21#sort,
22body > footer,
23.top_link,
24div.tools,
25header div,
26.messages,
27.entrie + .results,
28#article_toolbar {
29 display: none !important;
30}
31
32article {
33 border: none !important;
34}
35
36pre code {
37 line-height: 1.6em;
38}
39
40/* Add URL after links */
41.vieworiginal a:after {
42 content: " (" attr(href) ")";
43}
44
45/* Add explanation after abbr */
46abbr[title]:after {
47 content: " (" attr(title) ")";
48}
49
50/* Change border on current pager item */
51.pagination span.current {
52 border-style: dashed;
53}