[svnbook] r4477 committed - [In branches/1.7]...
svnbook at googlecode.com
svnbook at googlecode.com
Fri May 3 12:04:55 CDT 2013
Revision: 4477
Author: cmpilato at gmail.com
Date: Fri May 3 10:04:40 2013
Log: [In branches/1.7]
* en/stylesheets/custom-html-stylesheet.xsl
Rename #svn-footer to #vcws-footer, and wrap long lines.
Add #vcws-version-notice navigation header hook XSL.
* en/book/styles.css
Style tweaks to support the new #vcws-version-notice block and track
the rename of the #svn-footer one.
http://code.google.com/p/svnbook/source/detail?r=4477
Modified:
/branches/1.7/en/book/styles.css
/branches/1.7/en/stylesheets/custom-html-stylesheet.xsl
=======================================
--- /branches/1.7/en/book/styles.css Fri Feb 1 10:44:43 2013
+++ /branches/1.7/en/book/styles.css Fri May 3 10:04:40 2013
@@ -202,13 +202,22 @@
.navheader hr, .navfooter hr {
display: none;
}
-#svn-footer {
- font-size: 80%;
- text-align: center;
+#vcws-version-notice {
+ margin-bottom: 1em;
+ background-color: yellow;
+ padding: 0.5em 1em;
}
-#svn-footer hr {
+#vcws-version-notice p, #vcws-footer p {
+ margin: 0;
+}
+#vcws-version-notice hr, #vcws-footer hr {
display: none;
}
+#vcws-footer {
+ margin-top: 1em;
+ font-size: 80%;
+ text-align: center;
+}
/* --------------------- */
/* PRINT MEDIA OVERRIDES */
@@ -221,7 +230,10 @@
.navheader, .navfooter {
display: none;
}
- #svn-footer hr {
+ #vcws-version-notice {
+ display: none;
+ }
+ #vcws-footer hr {
display: block;
}
}
=======================================
--- /branches/1.7/en/stylesheets/custom-html-stylesheet.xsl Fri Nov 11
08:30:11 2011
+++ /branches/1.7/en/stylesheets/custom-html-stylesheet.xsl Fri May 3
10:04:40 2013
@@ -2,12 +2,27 @@
<!-- Here live locale-specific customizations to the HTML base
stylesheet -->
+ <xsl:template name="user.header.navigation">
+ <div id="vcws-version-notice">
+ <p>This documentation was written to describe the 1.7.x series of
+ Subversion. If you are running a different version of Subversion,
+ you are strongly encourages to visit <a
+ href="http://www.svnbook.com/" >http://www.svnbook.com/</a> and
+ instead consult the version of this documentations 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.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>
+ <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>
</div>
</xsl:template>
More information about the svnbook-dev
mailing list