[svnbook] r4472 committed - [in branches/1.6]...

svnbook at googlecode.com svnbook at googlecode.com
Fri May 3 10:21:39 CDT 2013


Revision: 4472
Author:   cmpilato at gmail.com
Date:     Fri May  3 08:21:25 2013
Log:      [in branches/1.6]

* en/book/styles.css
* en/stylesheets/custom-html-stylesheet.xsl
   Add header matter and supporting styles to warn folks that they are
   looking at an old version of the book.
http://code.google.com/p/svnbook/source/detail?r=4472

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

=======================================
--- /branches/1.6/en/book/styles.css	Thu Aug  4 11:14:30 2011
+++ /branches/1.6/en/book/styles.css	Fri May  3 08:21:25 2013
@@ -197,13 +197,24 @@
  .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;
  }
+#vcws-footer {
+  margin-top: 1em;
+}

  /* --------------------- */
  /* PRINT MEDIA OVERRIDES */
@@ -216,7 +227,7 @@
    .navheader, .navfooter {
      display: none;
    }
-  #svn-footer hr {
+  #vcws-footer hr {
      display: block;
    }
  }
=======================================
--- /branches/1.6/en/stylesheets/custom-html-stylesheet.xsl	Thu Aug 11  
11:37:12 2011
+++ /branches/1.6/en/stylesheets/custom-html-stylesheet.xsl	Fri May  3  
08:21:25 2013
@@ -2,8 +2,19 @@

    <!-- Here live locale-specific customizations to the HTML base  
stylesheet -->

+  <xsl:template name="user.header.navigation">
+    <div id="vcws-header">
+    <hr/>
+    <p>This documentation was written to describe Subversion 1.6.  If
+       you are running a newer version of Subversion, we strongly suggest
+       that you visit <a href="http://www.svnbook.com/"
+       >http://www.svnbook.com/</a> and consult the version of this book
+       appropriate for your version of Subversion.</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.6), 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/>




More information about the svnbook-dev mailing list