From 30d81a47c689e1d7d963fcd3fd42af9958805e31 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Fri, 22 Jan 2016 13:45:10 +0100 Subject: Move public assets for themes So they can be installed using the `assets:install` command and there'll no longer symlink in the repo They moved from `web/themes/...` to `bundles/wallabagcore/themes/...` --- .../Resources/public/themes/material/css/print.css | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100755 src/Wallabag/CoreBundle/Resources/public/themes/material/css/print.css (limited to 'src/Wallabag/CoreBundle/Resources/public/themes/material/css/print.css') diff --git a/src/Wallabag/CoreBundle/Resources/public/themes/material/css/print.css b/src/Wallabag/CoreBundle/Resources/public/themes/material/css/print.css new file mode 100755 index 00000000..2a799c44 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/public/themes/material/css/print.css @@ -0,0 +1,62 @@ +/* ### Layout ### */ + +body { + font-family: Serif; + background-color: #fff; +} + +@page { + margin: 1cm; +} + +img { + max-width: 100% !important; +} + +/* ### Content ### */ + +/* Hide useless blocks */ +body > header, +#article_toolbar, +#links, +#sort, +body > footer, +.top_link, +div.tools, +header div, +.messages, +.entry + .results { + display: none !important; +} + +article { + border: none !important; +} + +/* Add URL after links */ +.vieworiginal a:after { + content: " (" attr(href) ")"; +} + +/* Add explanation after abbr */ +abbr[title]:after { + content: " (" attr(title) ")"; +} + +/* Change border on current pager item */ +.pagination span.current { + border-style: dashed; +} + +#main { + width: 100%; + padding: 0; + margin: 0; + margin-left: 0; + padding-right: 0; + padding-bottom: 0; +} + +#article { + width: 100%; +} -- cgit v1.2.3