Author: desruisseaux
Date: Thu Oct 18 11:35:18 2012
New Revision: 1399585

URL: http://svn.apache.org/viewvc?rev=1399585&view=rev
Log:
Modified styling on the developer guide.

Modified:
    sis/branches/JDK7/src/main/docbook/book.xsl
    sis/branches/JDK7/src/site/resources/book/book.css

Modified: sis/branches/JDK7/src/main/docbook/book.xsl
URL: 
http://svn.apache.org/viewvc/sis/branches/JDK7/src/main/docbook/book.xsl?rev=1399585&r1=1399584&r2=1399585&view=diff
==============================================================================
--- sis/branches/JDK7/src/main/docbook/book.xsl (original)
+++ sis/branches/JDK7/src/main/docbook/book.xsl Thu Oct 18 11:35:18 2012
@@ -19,6 +19,10 @@
   <xsl:import href="urn:docbkx:stylesheet/docbook.xsl"/>
   <xsl:import href="urn:docbkx:stylesheet/highlight.xsl"/>
 
+  <!-- Parameters from 
http://docbook.sourceforge.net/release/xsl/current/doc/fo/  -->
+  <xsl:param name="section.autolabel" select="1"/>
+  <xsl:param name="section.label.includes.component.label" select="1"/>
+
   <!--
        Following is copied from 
"http://docbook.sourceforge.net/release/xsl/current/xhtml/component.xsl";.
        Only the lines identified by a comment have been modified.  This file 
is used only for building
@@ -69,6 +73,11 @@
       <xsl:apply-templates mode="xslthl"/>
     </span>
   </xsl:template>
+  <xsl:template match="xslthl:comment" mode="xslthl">
+    <span class="hl-comment">
+      <xsl:apply-templates mode="xslthl"/>
+    </span>
+  </xsl:template>
   <xsl:template match="xslthl:doccomment|xslthl:doctype" mode="xslthl">
     <span class="hl-doccomment">
       <xsl:apply-templates mode="xslthl"/>
@@ -86,6 +95,7 @@
   <xsl:template match= "d:function[@role = 'OGC']"    mode="class.value"> 
<xsl:value-of select="'OGC'"   /> </xsl:template>
   <xsl:template match= "d:function[@role = 'GeoAPI']" mode="class.value"> 
<xsl:value-of select="'GeoAPI'"/> </xsl:template>
   <xsl:template match= "d:function[@role = 'SIS']"    mode="class.value"> 
<xsl:value-of select="'SIS'"   /> </xsl:template>
+  <xsl:template match=  "d:literal[@role = 'OGC']"    mode="class.value"> 
<xsl:value-of select="'OGC'"   /> </xsl:template>
   <xsl:template match=  "d:literal[@role = 'GeoAPI']" mode="class.value"> 
<xsl:value-of select="'GeoAPI'"/> </xsl:template>
   <xsl:template match=  "d:literal[@role = 'SIS']"    mode="class.value"> 
<xsl:value-of select="'SIS'"   /> </xsl:template>
 

Modified: sis/branches/JDK7/src/site/resources/book/book.css
URL: 
http://svn.apache.org/viewvc/sis/branches/JDK7/src/site/resources/book/book.css?rev=1399585&r1=1399584&r2=1399585&view=diff
==============================================================================
--- sis/branches/JDK7/src/site/resources/book/book.css (original)
+++ sis/branches/JDK7/src/site/resources/book/book.css Thu Oct 18 11:35:18 2012
@@ -14,47 +14,88 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
+/*
+ * Chapters and sections titles (excluding the book titles).
+ */
+div.chapter h1 {
+  margin-top:          3cm;
+  background-color:    #99AAFF;
+  border-top-color:    #0000CC;
+  border-bottom-color: #0000CC;
+  border-top-style:    solid;
+  border-bottom-style: solid;
+  border-top-width:    2pt;
+  border-bottom-width: 2pt;
+  padding-bottom:      4pt;
+  padding-top:         4pt;
+}
+
+div.chapter h2 {
+  margin-top:          2cm;
+  border-bottom-style: solid;
+  border-bottom-width: 1pt;
+}
+
+div.chapter h3 {
+  margin-top: 1.5cm;
+}
+
+div.chapter h4 {
+  margin-top: 1cm;
+}
+
 p {
   text-align: justify;
 }
 
-div.informalexample {
-  margin-left:  1.25cm;
-  margin-right: 1.5cm;
-  font-size: smaller;
+/*
+ * Boxes (programs listing, examples).
+ */
+pre.programlisting {
+  border-style: solid;
+  border-width: 1pt;
+  padding:      9pt;
 }
 
 div.sidebar {
-  margin-left:  1.25cm;
-  margin-right: 1.5cm;
-  border-style: solid;
-  border-width: 1px;
+  margin-left:      1.25cm;
+  margin-right:     1.5cm;
+  padding-right:    9pt;
+  padding-left:     9pt;
+  border-style:     solid;
+  border-width:     1pt;
   background-color: #EEEEEE;
-  border-color: #DDDDDD;
-  font-size: smaller;
+  border-color:     #BBBBBB;
+  font-size:        smaller;
 }
 
-span.deprecated {
-  text-decoration: line-through;
+div.informalexample {
+  margin-left:  1.25cm;
+  margin-right: 1.5cm;
+  font-size:    smaller;
 }
 
+/*
+ * Tables.
+ */
 div.table p.title {
   text-align: center;
 }
 
 table {
-  margin-left:  auto;
-  margin-right: auto;
-  border-style: solid;
+  margin-left:    auto;
+  margin-right:   auto;
+  border-style:   solid;
   border-width:   2pt;
   border-spacing: 0pt;
 }
 
 table tr th {
-  background-color: #B9DCFF;
+  background-color:    #B9DCFF;
   border-bottom-style: solid;
   border-bottom-width: 1pt;
-  padding: 3pt;
+  padding:             3pt;
 }
 
 table tr td {
@@ -69,23 +110,17 @@ table tr td.leftBorder {
 }
 
 table tr td.separator {
-  font-weight: bold;
-  text-align: center;
-  padding-top:    3pt;
-  padding-bottom: 3pt;
-  border-top-style: solid;
-  border-top-width: 1pt;
-  border-top-color: lightgray;
+  text-align:          center;
+  font-weight:         bold;
+  background-color:    #EEEEFF;
+  border-top-color:    LightGray;
+  border-bottom-color: LightGray;
+  border-top-style:    solid;
   border-bottom-style: solid;
+  border-top-width:    1pt;
   border-bottom-width: 1pt;
-  border-bottom-color: lightgray;
-  background-color: #EEEEFF;
-}
-
-pre.programlisting {
-  border-style: solid;
-  border-width: 1pt;
-  padding: 9pt;
+  padding-top:         3pt;
+  padding-bottom:      3pt;
 }
 
 /*
@@ -107,14 +142,30 @@ code.SIS {
  * Syntax highlighting.
  */
 span.hl-string {
-  color: fireBrick;
+  color: FireBrick;
 }
 
 span.hl-annotation {
-  color: slateGray;
+  color: SeaGreen;
+}
+
+span.hl-comment {
+  font-style: italic;
+  color: MediumSeaGreen;
 }
 
 span.hl-doccomment {
   font-style: italic;
-  color: teal;
+  color: MediumSeaGreen;
+}
+
+/*
+ * Miscellaneous.
+ */
+span.deprecated {
+  text-decoration: line-through;
+}
+
+.example-break {
+  display: none;
 }


Reply via email to