[svnbook] r3684 committed - Fix the double-admonishment-graphic problem....

svnbook at googlecode.com svnbook at googlecode.com
Sun Feb 7 00:09:30 CST 2010


Revision: 3684
Author: cmpilato at gmail.com
Date: Sat Feb  6 22:08:39 2010
Log: Fix the double-admonishment-graphic problem.

* src/en/book/styles.css
   Newer versions of the XSL stylesheets are a) picking up the
   admonishment images by name mathing now, and b) formatting
   admonishments using a two-column table (with the graphic occupying
   the left column, and the text the right.  So we can lose some of
   our HTML stylesheet stuff now.  (I wish I knew a way of doing
   this kind of stuff optionally based on versions of tools and
   XSL stylesheets and such.  But I don't.)

http://code.google.com/p/svnbook/source/detail?r=3684

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

=======================================
--- /trunk/src/en/book/styles.css	Mon Nov 30 13:34:07 2009
+++ /trunk/src/en/book/styles.css	Sat Feb  6 22:08:39 2010
@@ -228,23 +228,22 @@
  {
      border: black solid 1px;
      margin: 0.125in 0;
-    padding: 0 55px;
      font-size: 90%;
  }

  .note
  {
-    background: url(./images/note.png) no-repeat rgb(252,246,220);
+    background: rgb(252,246,220);
  }

  .tip
  {
-    background: url(./images/tip.png) no-repeat rgb(224,244,255);
+    background: rgb(224,244,255);
  }

  .warning
  {
-    background: url(./images/warning.png) no-repeat rgb(255,210,210);
+    background: rgb(255,210,210);
  }

  .note .title, .tip .title, .warning .title




More information about the svnbook-dev mailing list