add trim() to reading from stdin, so that it also works on Windows
[rust-101.git] / docs / pycco_custom.css
index bee0e24c9521958016c9f89b351350f8960b62e4..28333e530d2ecd8469f428ce4337bc4168d27a13 100644 (file)
@@ -16,7 +16,31 @@ body {
 }
 
 h1, h2, h3, h4, h5, h6 {
-  line-height: 1em;
+  line-height: 1.1em;
+}
+
+@media print {
+    #background {
+        background: none;
+        border: none;
+    }
+    h1, h2, h3, h4, h5, h6 {
+        margin-top: 20px;
+    }
+    div.docs {
+        max-width: 99%;
+        padding-left: 0px;
+        padding-right: 0px;
+    }
+    div.docs p {
+        margin-bottom: 5px;
+    }
+    div.code {
+        margin: 0px;
+        padding-top: 2px;
+        padding-bottom: 5px;
+        clear: both;
+    }
 }
 
 /*---------------------- Syntax Highlighting -----------------------------*/