Permalink
Browse files

Added print CSS.

  • Loading branch information...
1 parent 9a63fa0 commit 903f416b1c8fd83aae3c1377fa5d7e9c9791ccd8 @assaf committed Dec 22, 2010
Showing with 47 additions and 0 deletions.
  1. +3 −0 doc/_layout.html
  2. +40 −0 doc/print.css
  3. +4 −0 doc/screen.css
View
@@ -3,6 +3,7 @@
<head>
<title>{{title}}</title>
<link href="screen.css" media="screen,projection" rel="stylesheet" type="text/css">
+ <link href="print.css" media="print" rel="stylesheet" type="text/css">
</head>
<body>
<div id="header">
@@ -20,5 +21,7 @@
<h1>{{title}}</h1>
{{body}}
</div>
+ <div id="footer">
+ </div>
</body>
</html>
View
@@ -0,0 +1,40 @@
+body {
+ font-family: Baskerville, Palatino, "Palatino Linotype", Georgia, serif;
+ font-size: 12pt;
+ margin: 2em 4em;
+}
+h1, h2, h3, h4, #header {
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
+}
+h1 { font-size: 18pt; }
+h2 { font-size: 16pt; }
+h3 { font-size: 14pt; }
+h4 { font-size: 12pt; }
+pre, code {
+ font-family: "Menlo", "Consolas", "New Courier", Courier, monospace;
+ font-size: 10pt;
+ color: #060;
+}
+
+
+#header .title {
+ text-align: right;
+ font-weight: bolder;
+ font-size: 28pt;
+}
+.title a {
+ text-decoration: none;
+ color: #600;
+}
+#header .navigation {
+ display: none;
+}
+
+
+#content {
+ margin-top: 2em;
+}
+
+#footer {
+ margin: 2em 0;
+}
View
@@ -49,3 +49,7 @@ pre, code {
#content {
margin-top: 2em;
}
+
+#footer {
+ margin: 2em 0;
+}

0 comments on commit 903f416

Please sign in to comment.