summaryrefslogtreecommitdiff
path: root/spec/public/stylesheets
diff options
context:
space:
mode:
authorAntoine Gourlay <antoine@gourlay.fr>2014-09-23 10:00:28 +0200
committerAntoine Gourlay <antoine@gourlay.fr>2014-09-23 10:00:28 +0200
commite95d91e826bc11af9aa42db45861d68211edd347 (patch)
treeeccfe7306d4f7a864fa833280092c12f2e3eaa53 /spec/public/stylesheets
parent3a72a9d1109e995b9c4de70f260ac3b5ac8f73b9 (diff)
downloadscala-e95d91e826bc11af9aa42db45861d68211edd347.tar.gz
scala-e95d91e826bc11af9aa42db45861d68211edd347.tar.bz2
scala-e95d91e826bc11af9aa42db45861d68211edd347.zip
spec: a print stylesheet to remove the TOC when printing
Diffstat (limited to 'spec/public/stylesheets')
-rw-r--r--spec/public/stylesheets/print.css15
1 files changed, 15 insertions, 0 deletions
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;
+}