You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2005/03/18 14:22:55 UTC

svn commit: r158060 - cocoon/trunk/src/documentation/src/documentation/skinconf.xml

Author: reinhard
Date: Fri Mar 18 05:22:54 2005
New Revision: 158060

URL: http://svn.apache.org/viewcvs?view=rev&rev=158060
Log:
integrate skinconf* as entities

Modified:
    cocoon/trunk/src/documentation/src/documentation/skinconf.xml

Modified: cocoon/trunk/src/documentation/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/documentation/src/documentation/skinconf.xml?view=diff&r1=158059&r2=158060
==============================================================================
--- cocoon/trunk/src/documentation/src/documentation/skinconf.xml (original)
+++ cocoon/trunk/src/documentation/src/documentation/skinconf.xml Fri Mar 18 05:22:54 2005
@@ -20,7 +20,14 @@
 which will be used to configure the chosen Forrest skin.
 -->
 
-<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.6-3//EN" "http://forrest.apache.org/dtd/skinconfig-v06-3.dtd">
+<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.6-3//EN" "http://forrest.apache.org/dtd/skinconfig-v06-3.dtd"
+[
+  <!ENTITY extracss SYSTEM "../forrest-configuration/skinconf-extracss.xml">
+  <!ENTITY colors   SYSTEM "../forrest-configuration/skinconf-colors.xml">
+  <!ENTITY pdf      SYSTEM "../forrest-configuration/skinconf-pdf.xml">
+  <!ENTITY credits  SYSTEM "../forrest-configuration/skinconf-credits.xml">      
+]>
+
 <skinconfig>
   <!-- To enable lucene search add provider="lucene"
     Add box-location="alt" to move the search box to an alternate location
@@ -110,193 +117,9 @@
   <!-- Heading types can be clean|underlined|boxed  -->
   <headings type="clean"/>
 
-  <extra-css>
-    /* ----------------------------------- TOC -----------------------------------  */
-    #minitoc-area {
-      border:1px solid #aaaaaa;
-      background-color:#f9f9f9;
-      padding:5px;
-      font-size: 95%;
-      width:450px;
-    }
-
-    /* ----------------------------------- comments -----------------------------------  */
-    .commentsarea {
-      margin-top:40px;
-      background-color:white;
-      border:1px solid #aaaaaa;
-    }
-    .comment {
-      border:1px solid #aaaaaa;
-      background-color:#aaaaaa;
-      padding:0px;
-      margin:5px;
-    }
-    a[name="Comments"] + h2 {
-      display:none;
-    }
-    .commentbody {
-      background-color:white;
-    }
-    .comment * {
-      padding: 0px;
-      margin: 0px;
-    }    
-    .commentheader, .commenttaskbar {
-      background-color:#E5E4D9;
-      color:black;
-      font-weight:bold;   
-    }    
-
-    /* ----------------------------------- table styling fixes--------------------  */
-
-    #content td {
-      margin: 0;
-      padding: 5px;
-      vertical-alin: top;
-     }
-
-    #content td p {
-      margin: 0px;
-    }
-
-    /* ----------------------------------- text -----------------------------------  */
-    p { margin: 0.4em 0em 0.5em 0em;
-        line-height: 1.5em;
-    }
-
-    h1, h2, h3, h4, h5, h6 {
-        color: Black;
-        background: none;
-        font-weight: normal;
-        margin: 0;
-        padding-top: 0.7em;
-        padding-bottom: 0.17em;
-        border-bottom: 1px solid #aaaaaa;
-    }
-    h1 { font-size: 188%; }
-    h2 { font-size: 150%; }
-    h4, h5, h6 {
-        border-bottom: none;
-    }
-    h3 { font-size: 132%; }
-    h4 { font-size: 116%; font-weight:bold;}
-    h5 { font-size: 100%; }
-    h6 { font-size: 80%;  }
-
-    pre {
-        border:1px solid #aaaaaa;
-        background-color:#f9f9f9;
-        padding:5px;
-        font-size: 95%;
-    }
-    li {
-       list-style-type:square;
-    }    
-  </extra-css>
-
-  <colors>
-  <!-- These values are used for the generated CSS files. -->
-
-  <!-- Cocoon -->
-
-    <color name="header"    value="#294563"/>
-
-    <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="subtab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="subtab-unselected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-
-    <color name="heading" value="#294563"/>
-    <color name="subheading" value="#4a6d8c"/>
-
-    <color name="published" value="#4C6C8F" font="#FFFFFF"/>
-    <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
-
-    <color name="navstrip" value="#4a6d8c" font="#ffffff" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
-    <color name="toolbox" value="#4a6d8c"/>
-    <color name="border" value="#294563"/>
-
-    <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/>
-
-    <color name="menuheading" value="#cfdced" font="#000000" />
-    <color name="searchbox" value="#E5E4D9" font="#000000"/>
-
-    <color name="dialog" value="#4a6d8c"/>
-    <color name="body" value="#ffffff"  link="#0F3660" vlink="#009999" hlink="#000066"/>
-
-    <color name="table" value="#7099C5"/>
-    <color name="table-cell" value="#f0f0ff"/>
-    <color name="highlight" value="#ffff00"/>
-    <color name="fixme" value="#cc6600"/>
-    <color name="note" value="#006699"/>
-    <color name="warning" value="#990000"/>
-    <color name="code" value="#CFDCED"/>
-
-    <color name="footer" value="#cedfef"/>
-
-
-
-  </colors>
-
-  <!-- Settings specific to PDF output.  -->
-  <pdf>
-    <!--
-       Supported page sizes are a0, a1, a2, a3, a4, a5, executive,
-       folio, legal, ledger, letter, quarto, tabloid (default letter).
-       Supported page orientations are portrait, landscape (default
-       portrait).
-       Supported text alignments are left, right, justify (default left).
-    -->
-    <page size="a4" orientation="portrait" text-align="left"/>
-
-    <!--
-       Margins can be specified for top, bottom, inner, and outer
-       edges. If double-sided="false", the inner edge is always left
-       and the outer is always right. If double-sided="true", the
-       inner edge will be left on odd pages, right on even pages,
-       the outer edge vice versa.
-       Specified below are the default settings.
-    -->
-    <margins double-sided="false">
-      <top>1cm</top>
-      <bottom>1cm</bottom>
-      <inner>2cm</inner>
-      <outer>1.5cm</outer>
-    </margins>
-
-    <!--
-      Print the URL text next to all links going outside the file
-    -->
-    <show-external-urls>false</show-external-urls>
-  </pdf>
-
-  <!-- Credits are typically rendered as a set of small clickable
-    images in the page footer -->
-  <credits>
-    <credit>
-      <name>Built with Apache Forrest</name>
-      <url>http://forrest.apache.org/</url>
-      <image>skin/images/built-with-forrest-button.png</image>
-      <width>88</width>
-      <height>31</height>
-    </credit>
-    <credit>
-      <name>Built with Apache Cocoon</name>
-      <url>http://cocoon.apache.org/</url>
-      <image>images/built-with-cocoon.gif</image>
-      <width>88</width>
-      <height>31</height>
-    </credit>
-    <credit>
-      <name>thanks to ASF, thanks from ASF</name>
-      <url>http://www.apache.org/foundation/thanks.html</url>
-      <image>images/icon.png</image>
-      <width>26</width>
-      <height>22</height>
-    </credit>
-    <!-- A credit with @role='pdf' will have its name and url
-      displayed in the PDF page's footer. -->
-  </credits>
+  &extracss;
+  &colors;
+  &pdf;
+  &credits;
 
 </skinconfig>