diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 14:10:44 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 14:10:44 +0200 |
commit | 4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c (patch) | |
tree | 3c2f2885be96c7163444a7d366767a4ac2ca87f7 /themes/default/css/print.css | |
parent | 66e074b43dd4efc9f63c8fee784b99bcce51ab93 (diff) | |
download | wallabag-4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c.tar.gz wallabag-4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c.tar.zst wallabag-4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c.zip |
embed themes
Diffstat (limited to 'themes/default/css/print.css')
-rw-r--r-- | themes/default/css/print.css | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/themes/default/css/print.css b/themes/default/css/print.css new file mode 100644 index 00000000..9aefa779 --- /dev/null +++ b/themes/default/css/print.css | |||
@@ -0,0 +1,48 @@ | |||
1 | /* ### Layout ### */ | ||
2 | |||
3 | body { | ||
4 | font-family: Serif; | ||
5 | background-color: #fff; | ||
6 | } | ||
7 | |||
8 | @page { | ||
9 | margin: 1cm; | ||
10 | } | ||
11 | |||
12 | img { | ||
13 | max-width: 100% !important; | ||
14 | } | ||
15 | |||
16 | /* ### Content ### */ | ||
17 | |||
18 | /* Hide useless blocks */ | ||
19 | body > header, | ||
20 | #links, | ||
21 | #sort, | ||
22 | body > footer, | ||
23 | .top_link, | ||
24 | div.tools, | ||
25 | header div, | ||
26 | .messages, | ||
27 | .entrie + .results { | ||
28 | display: none !important; | ||
29 | } | ||
30 | |||
31 | article { | ||
32 | border: none !important; | ||
33 | } | ||
34 | |||
35 | /* Add URL after links */ | ||
36 | .vieworiginal a:after { | ||
37 | content: " (" attr(href) ")"; | ||
38 | } | ||
39 | |||
40 | /* Add explanation after abbr */ | ||
41 | abbr[title]:after { | ||
42 | content: " (" attr(title) ")"; | ||
43 | } | ||
44 | |||
45 | /* Change border on current pager item */ | ||
46 | .pagination span.current { | ||
47 | border-style: dashed; | ||
48 | } | ||