diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 10:14:54 -0700 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 10:14:54 -0700 |
commit | 01e671f4d1fc66696c3ab14c837be0dde8fd02ea (patch) | |
tree | 21c041fef6e17a41e0d3f9e965124e550f272b95 /themes/default/css/print.css | |
parent | 79026b73a804d1fe3715c3edf5bc2cfb1e56732c (diff) | |
parent | d47d2533accb30a69fbbb964f63793b821300974 (diff) | |
download | wallabag-01e671f4d1fc66696c3ab14c837be0dde8fd02ea.tar.gz wallabag-01e671f4d1fc66696c3ab14c837be0dde8fd02ea.tar.zst wallabag-01e671f4d1fc66696c3ab14c837be0dde8fd02ea.zip |
Merge pull request #256 from inthepoche/dev
merge 1.0.0
Diffstat (limited to 'themes/default/css/print.css')
m--------- | themes | 0 | ||||
-rw-r--r-- | themes/default/css/print.css | 48 |
2 files changed, 48 insertions, 0 deletions
diff --git a/themes b/themes deleted file mode 160000 | |||
Subproject 689dcedf8d6c7cf5e8424654fef4fd9687288dc | |||
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 | } | ||