sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1705258 - in /sis/site/trunk: book/book.css content/book/book.css
Date Fri, 25 Sep 2015 08:56:27 GMT
Author: desruisseaux
Date: Fri Sep 25 08:56:27 2015
New Revision: 1705258

URL: http://svn.apache.org/viewvc?rev=1705258&view=rev
Log:
CSS tuning.

Modified:
    sis/site/trunk/book/book.css
    sis/site/trunk/content/book/book.css

Modified: sis/site/trunk/book/book.css
URL: http://svn.apache.org/viewvc/sis/site/trunk/book/book.css?rev=1705258&r1=1705257&r2=1705258&view=diff
==============================================================================
--- sis/site/trunk/book/book.css (original)
+++ sis/site/trunk/book/book.css Fri Sep 25 08:56:27 2015
@@ -21,3 +21,35 @@
  * if they were in their final location (which is ../content/book/).
  */
 @import url('../content/book/book.css');
+
+
+/*
+ * Following is a copy-and-paste of '../content/book/book.css' with 'section'
+ * selector replaced by 'body', and top margin of <h1> omitted.
+ */
+body > header > h1 {
+  text-align:          center;
+  background-color:    #99AAFF;
+  border-top-color:    #0000CC;
+  border-bottom-color: #0000CC;
+  border-top-style:    solid;
+  border-bottom-style: solid;
+  border-top-width:    3px;
+  border-bottom-width: 3px;
+  padding-bottom:      6px;
+  padding-top:         6px;
+}
+
+body > h2 {
+  margin-top:          60px;
+  border-bottom-style: solid;
+  border-bottom-width: 2px;
+}
+
+body > h3 {
+  margin-top: 50px;
+}
+
+body > h4 {
+  margin-top: 30px;
+}

Modified: sis/site/trunk/content/book/book.css
URL: http://svn.apache.org/viewvc/sis/site/trunk/content/book/book.css?rev=1705258&r1=1705257&r2=1705258&view=diff
==============================================================================
--- sis/site/trunk/content/book/book.css (original)
+++ sis/site/trunk/content/book/book.css Fri Sep 25 08:56:27 2015
@@ -30,7 +30,6 @@ ul.toc ul {
 /*
  * Chapters and sections titles (excluding the book titles).
  */
-body > header > h1,
 section > header > h1 {
   margin-top:          160px;
   text-align:          center;
@@ -45,19 +44,16 @@ section > header > h1 {
   padding-top:         6px;
 }
 
-body > h2,
 section > h2 {
   margin-top:          60px;
   border-bottom-style: solid;
   border-bottom-width: 2px;
 }
 
-body > h3,
 section > h3 {
   margin-top: 50px;
 }
 
-body > h4,
 section > h4 {
   margin-top: 30px;
 }



Mime
View raw message