[svnbook commit] r3263 - trunk/src/en/book

cmpilato noreply at red-bean.com
Fri Aug 8 15:00:46 CDT 2008


Author: cmpilato
Date: Fri Aug  8 15:00:46 2008
New Revision: 3263

Log:
More stylesheet tweaks.

Modified:
   trunk/src/en/book/styles.css

Modified: trunk/src/en/book/styles.css
==============================================================================
--- trunk/src/en/book/styles.css	(original)
+++ trunk/src/en/book/styles.css	Fri Aug  8 15:00:46 2008
@@ -1,22 +1,24 @@
-/************************************************************************/
-/* Custom style-sheet stuffs for the Subversion book in HTML form.      */
-/************************************************************************/
-
-/*
- * Copyright (c) 2003-2008
- * Ben Collins-Sussman, Brian W. Fitzpatrick, C. Michael Pilato.  
- * 
- * This work is licensed under the Creative Commons Attribution License.
- * To view a copy of this license, visit
- * http://creativecommons.org/licenses/by/2.0/ or send a letter to
- * Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305,
- * USA.
- */
+/****************************************************************************
+ *                                                                          *
+ *     CUSTOM STYLE-SHEET STUFFS FOR THE SUBVERSION BOOK IN HTML FORM       *
+ *                                                                          *
+ ****************************************************************************
+ *                                                                          *
+ *   Copyright (c) 2003-2008                                                *
+ *   Ben Collins-Sussman, Brian W. Fitzpatrick, C. Michael Pilato.          *
+ *                                                                          *
+ *   This work is licensed under the Creative Commons Attribution License.  *
+ *   To view a copy of this license, visit                                  *
+ *   http://creativecommons.org/licenses/by/2.0/ or send a letter to        *
+ *   Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305,   *
+ *   USA.                                                                   *
+ *                                                                          *
+ ****************************************************************************/
 
 body
 {
     background: white;
-    margin: 0.5in;
+    margin: 1in;
     font-family: serif;
 }
 
@@ -102,12 +104,18 @@
 
 .toc b
 {
-    font-size: 125%;
+    font-family: sans-serif;
+    font-size: 120%;
     font-style: normal;
     font-weight: bold;
     color: black;
 }
 
+.title
+{
+    font-family: sans-serif;
+}
+
 .screen, .programlisting, .structname
 {
     font-family: monospace;
@@ -136,6 +144,14 @@
     margin: 0.125in 0.25in;
 }
 
+.figure p.title b, .example p.title b, .table p.title b
+{
+    font-family: serif;
+    font-size: 80%;
+    font-style: italic;
+    font-weight: normal;
+}
+
 .table table
 {
     border-width: 1px;
@@ -270,3 +286,25 @@
 {
     display: none;
 }
+
+/* --------------------- */
+/* PRINT MEDIA OVERRIDES */
+/* --------------------- */
+
+ at media print
+{
+    body 
+    {
+        margin: 0;
+    }
+
+    .navheader, .navfooter
+    {
+        display: none;
+    }
+
+    #svn-footer hr
+    {
+        display: block;
+    }
+}




More information about the svnbook-dev mailing list