[svnbook] r4200 committed - * en/book/styles.css...

svnbook at googlecode.com svnbook at googlecode.com
Fri Nov 11 11:02:48 CST 2011


Revision: 4200
Author:   cmpilato at gmail.com
Date:     Fri Nov 11 09:02:13 2011
Log:      * en/book/styles.css
* en/stylesheets/custom-html-stylesheet.xsl
   Add a custom header that warns readers about the in-between-ness of
   this (trunk) version of the book.

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

Modified:
  /trunk/en/book/styles.css
  /trunk/en/stylesheets/custom-html-stylesheet.xsl

=======================================
--- /trunk/en/book/styles.css	Thu Aug  4 11:14:30 2011
+++ /trunk/en/book/styles.css	Fri Nov 11 09:02:13 2011
@@ -197,11 +197,19 @@
  .navheader hr, .navfooter hr {
    display: none;
  }
-#svn-footer {
+#vcws-header, #vcws-footer {
    font-size: 80%;
    text-align: center;
  }
-#svn-footer hr {
+#vcws-header {
+  margin-bottom: 1em;
+  background-color: yellow;
+  padding: 0.5em 1em;
+}
+#vcws-header p, #vcws-footer p {
+  margin: 0;
+}
+#vcws-header hr, #vcws-footer hr {
    display: none;
  }

=======================================
--- /trunk/en/stylesheets/custom-html-stylesheet.xsl	Thu Aug 18 10:39:39  
2011
+++ /trunk/en/stylesheets/custom-html-stylesheet.xsl	Fri Nov 11 09:02:13  
2011
@@ -5,12 +5,32 @@
    <xsl:param name="draft.mode">yes</xsl:param>
    <xsl:param name="draft.watermark.image">images/draft.png</xsl:param>

+  <xsl:template name="user.header.navigation">
+    <div id="vcws-header">
+    <hr/>
+    <p>This text is a work in progress—highly subject to
+       change—and may not accurately describe any released
+       version of the Apache™ Subversion® software.
+       Bookmarking or otherwise referring others to this page is
+       probably not such a smart idea.  Please visit
+       <a href="http://www.svnbook.com/" >http://www.svnbook.com/</a>
+       for stable versions of this book.</p>
+    </div>
+  </xsl:template>
+
    <xsl:template name="user.footer.navigation">
-    <div id="svn-footer">
+    <div id="vcws-footer">
      <hr/>
-    <p>You are reading <em>Version Control with Subversion</em> (for  
Subversion 1.7), by Ben Collins-Sussman, Brian W. Fitzpatrick, and C.  
Michael Pilato.<br/>
-       This work is licensed under the <a  
href="http://creativecommons.org/licenses/by/2.0/">Creative Commons  
Attribution License v2.0</a>.<br/>
-       To submit comments, corrections, or other contributions to the  
text, please visit <a  
href="http://www.svnbook.com/">http://www.svnbook.com/</a>.</p>
+    <img src="images/cc-by.png" style="float: right;" />
+    <p>You are reading <em>Version Control with Subversion</em> (for
+       Subversion 1.7), by Ben Collins-Sussman, Brian W. Fitzpatrick,
+       and C. Michael Pilato.</p>
+    <p>This work is licensed under
+       the <a href="http://creativecommons.org/licenses/by/2.0/"
+       >Creative Commons Attribution License v2.0</a>.</p>
+    <p>To submit comments, corrections, or other contributions to the
+       text, please visit <a href="http://www.svnbook.com/"
+       >http://www.svnbook.com/</a>.</p>
      </div>
    </xsl:template>





More information about the svnbook-dev mailing list