From dccf5bdcb32d3019ac0410f195b00716b38ca75f Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 9 Nov 2016 11:42:54 +0100 Subject: added print css --- public/stylesheets/print.css | 45 ++++++++++++++++++++++++++++++++++++++++++++ views/index.jade | 1 + 2 files changed, 46 insertions(+) create mode 100644 public/stylesheets/print.css diff --git a/public/stylesheets/print.css b/public/stylesheets/print.css new file mode 100644 index 0000000..ed715b6 --- /dev/null +++ b/public/stylesheets/print.css @@ -0,0 +1,45 @@ +#search, #week-selector { + background-color: inherit; + box-shadow: inherit; +} + +#search { + border-bottom: 1px solid black; +} + +#search .top-bar, #week-selector .week-wrapper { + max-width: inherit; +} + +#search input[type="text"] { + background-color: inherit; + color: black; + font-weight: bold; +} + +#search .fav { + display: none; +} + +#search #overflow-button { + display: none; +} + +#week-selector .week-wrapper { + display: block; +} + +#week-selector input[type='button'] { + display: none; +} + +#week-selector .current { + color: black; + padding: 16px; + font-size: 1.1em; + float: right; +} + +#search-space-filler { + display: none; +} diff --git a/views/index.jade b/views/index.jade index 6f3e230..a0b0db3 100644 --- a/views/index.jade +++ b/views/index.jade @@ -2,6 +2,7 @@ extends layout block head link(rel='stylesheet', href='/stylesheets/style.css') + link(rel='stylesheet', href='/stylesheets/print.css', media='print') link(rel='stylesheet', href='https://fonts.googleapis.com/icon?family=Material+Icons') link(rel='stylesheet', href='https://code.getmdl.io/1.2.1/material.indigo-pink.min.css') script(defer='', src='https://code.getmdl.io/1.2.1/material.min.js') -- cgit v1.1