aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material/css/print.scss
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-03-31 20:21:41 +0200
committerThomas Citharel <tcit@tcit.fr>2017-05-04 14:49:44 +0200
commit64f81bc31699ed239e4becec1cfa7ebc0bef2b5a (patch)
tree6363a596055683587d11aaffcf30608a682988aa /app/Resources/static/themes/material/css/print.scss
parent3b4502e0e663866e7bac00164fd935fdc92309d6 (diff)
downloadwallabag-64f81bc31699ed239e4becec1cfa7ebc0bef2b5a.tar.gz
wallabag-64f81bc31699ed239e4becec1cfa7ebc0bef2b5a.tar.zst
wallabag-64f81bc31699ed239e4becec1cfa7ebc0bef2b5a.zip
Adds Webpack support and removes the use for Grunt
Signed-off-by: Thomas Citharel <tcit@tcit.fr> use scss Signed-off-by: Thomas Citharel <tcit@tcit.fr> fix build, add babel, fix annotations fixes (and improvements !) for baggy add live reload & environments & eslint & theme fixes
Diffstat (limited to 'app/Resources/static/themes/material/css/print.scss')
-rwxr-xr-xapp/Resources/static/themes/material/css/print.scss74
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}