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

cmpilato noreply at red-bean.com
Thu Aug 7 13:20:26 CDT 2008


Author: cmpilato
Date: Thu Aug  7 13:20:26 2008
New Revision: 3256

Log:
More work to try to make our HTML stylations match the way O'Reilly
renders text.

* src/en/book/styles.css
  Override <strong> tags -- we have no markup that should be
  generating bold text.  Italicize commands.  Shrink the fonts in
  admonishments.


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	Thu Aug  7 13:20:26 2008
@@ -95,6 +95,11 @@
     color: black;
 }
 
+strong
+{
+    font-weight: normal;
+}
+
 .toc b
 {
     font-size: 125%;
@@ -103,13 +108,23 @@
     color: black;
 }
 
-.command, .screen, .programlisting, .structname
+.screen, .programlisting, .structname
 {
     font-family: courier new,courier,fixed;
     font-style: normal;
     font-weight: normal;
 }
 
+.userinput
+{
+    font-weight: normal;
+}
+
+.command
+{
+    font-style: italic;
+}
+
 .filename
 {
     font-family: arial,helvetica,sans-serif;
@@ -193,28 +208,27 @@
     font-size: 125%;
 }
 
-.note
+.note, .tip, .warning
 {
     border: black solid 1px;
-    background: url(./images/note.png) no-repeat rgb(252,246,220);
     margin: 0.125in 0;
     padding: 0 55px;
+    font-size: 90%;
+}
+
+.note
+{
+    background: url(./images/note.png) no-repeat rgb(252,246,220);
 }
 
 .tip
 {
-    border: black solid 1px;
     background: url(./images/tip.png) no-repeat rgb(224,244,255);
-    margin: 0.125in 0;
-    padding: 0 55px;
 }
 
 .warning
 {
-    border: black solid 1px;
     background: url(./images/warning.png) no-repeat rgb(255,210,210);
-    margin: 0.125in 0;
-    padding: 0 55px;
 }
 
 .note .title, .tip .title, .warning .title




More information about the svnbook-dev mailing list