summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/_layouts/default.yml1
-rw-r--r--spec/public/stylesheets/print.css15
2 files changed, 16 insertions, 0 deletions
diff --git a/spec/_layouts/default.yml b/spec/_layouts/default.yml
index fbbab3a1a0..e777b8f14c 100644
--- a/spec/_layouts/default.yml
+++ b/spec/_layouts/default.yml
@@ -49,6 +49,7 @@
</script>
<link rel="stylesheet" type="text/css" href="public/stylesheets/screen.css">
+ <link rel="stylesheet" type="text/css" media="print" href="public/stylesheets/print.css">
<title>{{ page.title }}</title>
</head>
diff --git a/spec/public/stylesheets/print.css b/spec/public/stylesheets/print.css
new file mode 100644
index 0000000000..3fbc5596c0
--- /dev/null
+++ b/spec/public/stylesheets/print.css
@@ -0,0 +1,15 @@
+/* This removes a few things from screen.css for printing */
+
+body {
+ padding: 0px;
+ margin: 0.5em;
+}
+
+.anchor, #navigation, .to_top {
+ display: none;
+}
+
+#content-container {
+ width: 100%;
+ float: none;
+}