aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/stylesheets/print.css45
-rw-r--r--views/index.jade1
2 files changed, 46 insertions, 0 deletions
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')