r17 - manual/trunk/stylesheets

Sebastian Bergmann at BerliOS <[email protected]> Tue, 21 Sep 2004 10:37:35 +0200
Newsgroups gmane.comp.web.phpopentracker.cvs
Message-ID <[email protected]>
Author: s_bergmann
Date: 2004-09-21 10:37:34 +0200 (Tue, 21 Sep 2004)
New Revision: 17

Modified:
   manual/trunk/stylesheets/common.xsl.in
   manual/trunk/stylesheets/docbook.css
   manual/trunk/stylesheets/html-chunked.xsl.in
   manual/trunk/stylesheets/html-common.xsl
   manual/trunk/stylesheets/html.xsl.in
Log:
Tweak stylesheets.

Modified: manual/trunk/stylesheets/common.xsl.in
===================================================================
--- manual/trunk/stylesheets/common.xsl.in	2004-09-21 08:37:11 UTC (rev 16)
+++ manual/trunk/stylesheets/common.xsl.in	2004-09-21 08:37:34 UTC (rev 17)
@@ -1,36 +1,36 @@
-<?xml version='1.0'?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-  <xsl:param name="base.dir" select="'output/{language}/'"/>
-  <xsl:param name="l10n.gentext.language" select="'{language}'"/>
-
-  <xsl:param name="generate.toc">
-    book toc,example,figure
-  </xsl:param>
-
-  <xsl:param name="local.l10n.xml" select="document('')"/>
-  <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
-    <l:l10n language="de">
-      <l:context name="title">
-        <l:template name="example" text="Listing %n: %t"/>
-      </l:context>
-      <l:context name="xref-number-and-title">
-        <l:template name="example" text="Listing %n"/>
-        <l:template name="figure" text="Abbildung %n"/>
-      </l:context>
-      <l:gentext key="Index" text=""/>
-      <l:gentext key="index" text=""/>
-    </l:l10n>
-    <l:l10n language="en">
-      <l:context name="title">
-        <l:template name="example" text="Listing %n: %t"/>
-      </l:context>
-      <l:context name="xref-number-and-title">
-        <l:template name="example" text="%n"/>
-        <l:template name="figure" text="%n"/>
-      </l:context>
-      <l:gentext key="Index" text=""/>
-      <l:gentext key="index" text=""/>
-    </l:l10n>
-  </l:i18n>
-</xsl:stylesheet>
+<?xml version='1.0'?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+  <xsl:param name="base.dir" select="'output/{language}/'"/>
+  <xsl:param name="l10n.gentext.language" select="'{language}'"/>
+
+  <xsl:param name="generate.toc">
+    book toc,example,figure
+  </xsl:param>
+
+  <xsl:param name="local.l10n.xml" select="document('')"/>
+  <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+    <l:l10n language="de">
+      <l:context name="title">
+        <l:template name="example" text="Listing %n: %t"/>
+      </l:context>
+      <l:context name="xref-number-and-title">
+        <l:template name="example" text="Listing %n"/>
+        <l:template name="figure" text="Abbildung %n"/>
+      </l:context>
+      <l:gentext key="Index" text=""/>
+      <l:gentext key="index" text=""/>
+    </l:l10n>
+    <l:l10n language="en">
+      <l:context name="title">
+        <l:template name="example" text="Listing %n: %t"/>
+      </l:context>
+      <l:context name="xref-number-and-title">
+        <l:template name="example" text="%n"/>
+        <l:template name="figure" text="%n"/>
+      </l:context>
+      <l:gentext key="Index" text=""/>
+      <l:gentext key="index" text=""/>
+    </l:l10n>
+  </l:i18n>
+</xsl:stylesheet>

Modified: manual/trunk/stylesheets/docbook.css
===================================================================
--- manual/trunk/stylesheets/docbook.css	2004-09-21 08:37:11 UTC (rev 16)
+++ manual/trunk/stylesheets/docbook.css	2004-09-21 08:37:34 UTC (rev 17)
@@ -1,99 +1,55 @@
 a:link, a:visited {
-  color:              #185ac6;
-  text-decoration:    none;
+  color: #185ac6;
+  text-decoration: none;
 }
 
 a:active, a:hover {
-  background:         #eeeeee;
-  color:              #185ac6;
-  text-decoration:    none;
+  background: #eeeeee;
+  color: #185ac6;
+  text-decoration: none;
 }
 
 body {
-  background:         #ffffff;
-  color:              #222222;
-  font-family:        "Trebuchet MS", "Lucida Grande", Arial, Geneva, sans-serif;
-  font-weight:        normal;
-  letter-spacing:     normal;
-	line-height:        110%;
-  margin-left:        10%;
-  margin-right:       10%;
-  margin-top:         5px;
-  padding-left:       0px;
-  padding-right:      0px;
-  padding-top:        0px;
-  text-transform:     none;
-  word-spacing:       normal;
+  background: white;
+  color: black;
+  font-family: "Bitstream Vera Sans", sans-serif;
+	line-height: 150%;
+  margin-left: 10%;
+  margin-right: 10%;
+  margin-top: 5px;
+  padding: 0px;
 }
 
-div.epigraph {
-  font-size: small;
-  width: 50%;
-}
-
-div.sections p { 
-  text-align: justify;
-}
-
-div.toc { 
-  text-align: justify;
-}
-
-div.example-output, pre.screen {
-  border-style:       solid;
-  border-width:       0px;
-  border-left-width:  2px;
-  border-color:       #000000;
-  font-family:        Monaco, "Andale Mono", "Monotype.com", "Courier New", Courier, monospace;
-  font-size:          small;
-  margin-left:        10px;
-  margin-right:       10px;
-  margin-top:         5px;
-  padding-left:       5px;
-}
-
-div.example-source, pre.programlisting, pre.readercomment {
-  background-color:   #eeeeee; 
-  border-color:       #000000;
-  border-style:       dashed; 
-  border-width:       1px;
-  font-family:        Monaco, "Andale Mono", "Monotype.com", "Courier New", Courier, monospace;
-  font-size:          small;
-  margin-left:        10px;
-  margin-right:       10px;
-  margin-top:         5px;
-  padding-left:       5px;
-}
-
-h1, h2, h3, h4, h5, h6 {
-  font-family: Georgia, "Lucida Grande", serif;
-}
-
-h1 { 
+h1 {
   font-size: x-large;
 }
 
-h2 { 
+h2 {
   font-size: large;
   margin-left: 2%;
 }
 
-h3, h4, h5, h6 { 
+h3, h4, h5, h6 {
   font-size: large;
   margin-left: 5%;
 }
 
-h2.title, h2.subtitle, h3.author, h3.editor, h3.title, h3.subtitle, h4.editedby {
+h2.title, h2.subtitle, h3.author, h3.title, h3.subtitle {
+	line-height: 100%;
   margin-left: 0px;
   text-align: left;
 }
 
+h3.editor, h4.editedby, p.copyright {
+  display: none;
+}
+
 hr {
   height: 1px;
 }
 
 table {
-  border-color: #000000;
+  border-color: black;
   border-width: 2;
 }
 
@@ -104,3 +60,36 @@
 ul {
   line-height: 20px;
 }
+
+div.epigraph {
+  font-size: small;
+  width: 50%;
+}
+
+div.example-output, pre.screen div.example-source, pre.programlisting, tt.code {
+  font-family: "Bitstream Vera Sans Mono", monospace;
+}
+
+div.example-output, pre.screen, div.example-source, pre.programlisting {
+  border-color: black;
+  margin-left: 10px;
+  margin-right: 10px;
+  margin-top: 5px;
+  padding-left: 5px;
+}
+
+div.example-output, pre.screen {
+  border-style: solid;
+  border-width: 0px;
+  border-left-width: 2px;
+}
+
+div.example-source, pre.programlisting {
+  background-color: #eeeeee;
+  border-style: dashed;
+  border-width: 1px;
+}
+
+div.epigraph, div.list-of-examples, div.list-of-figures, div.toc, div.example-output, pre.screen, div.example-source, pre.programlisting {
+	line-height: 110%;
+}

Modified: manual/trunk/stylesheets/html-chunked.xsl.in
===================================================================
--- manual/trunk/stylesheets/html-chunked.xsl.in	2004-09-21 08:37:11 UTC (rev 16)
+++ manual/trunk/stylesheets/html-chunked.xsl.in	2004-09-21 08:37:34 UTC (rev 17)
@@ -1,24 +1,20 @@
-<?xml version='1.0'?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
-  <xsl:import href="file:///{xsl_root}/html/chunk.xsl"/>
-  <xsl:import href="html-common.xsl"/>
-
-  <xsl:param name='use.id.as.filename' select="1"/>
-
-  <xsl:param name="chunk.section.depth" select="3"/>
-  <xsl:param name="chunk.first.sections" select="0"/>
-  <xsl:param name="chunk.fast" select="0"/>
-  <xsl:param name="chunk.quietly" select="1"/>
-
-  <xsl:param name="using.chunker" select="1"/>
-  <xsl:param name="chunker.output.cdata-section-elements"/>
-  <xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD HTML 4.01 Transitional//EN'"/>
-  <xsl:param name="chunker.output.doctype-system" select="'http://www.w3.org/TR/html4/loose.dtd'"/>
-  <xsl:param name="chunker.output.encoding" select="'iso-8859-1'"/>
-  <xsl:param name="chunker.output.indent" select="'yes'"/>
-  <xsl:param name="chunker.output.media-type"/>
-  <xsl:param name="chunker.output.method" select="'html'"/>
-  <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
-  <xsl:param name="chunker.output.standalone" select="'no'"/>
-</xsl:stylesheet>
+<?xml version='1.0'?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+  <xsl:import href="file:///{xsl_root}/xhtml/chunk.xsl"/>
+  <xsl:import href="html-common.xsl"/>
+
+  <xsl:param name='use.id.as.filename' select="1"/>
+
+  <xsl:param name="chunk.section.depth" select="3"/>
+  <xsl:param name="chunk.first.sections" select="0"/>
+  <xsl:param name="chunk.fast" select="0"/>
+  <xsl:param name="chunk.quietly" select="1"/>
+
+  <xsl:param name="using.chunker" select="1"/>
+  <xsl:param name="chunker.output.cdata-section-elements"/>
+  <xsl:param name="chunker.output.encoding" select="'iso-8859-1'"/>
+  <xsl:param name="chunker.output.media-type"/>
+  <xsl:param name="chunker.output.method" select="'html'"/>
+  <xsl:param name="chunker.output.standalone" select="'no'"/>
+</xsl:stylesheet>

Modified: manual/trunk/stylesheets/html-common.xsl
===================================================================
--- manual/trunk/stylesheets/html-common.xsl	2004-09-21 08:37:11 UTC (rev 16)
+++ manual/trunk/stylesheets/html-common.xsl	2004-09-21 08:37:34 UTC (rev 17)
@@ -1,13 +1,13 @@
-<?xml version='1.0'?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-  <xsl:import href="common.xsl"/>
-
-  <xsl:param name="default.encoding" select="'iso-8859-1'"/>
-  <xsl:param name="html.stylesheet" select="'docbook.css'"/>
-  <xsl:param name="html.stylesheet.type" select="'text/css'"/>
-  <xsl:param name="toc.section.depth" select="'3'"/>
-  <xsl:param name="use.id.function" select="1"/>
-
-  <xsl:param name="ulink.target"/>
-</xsl:stylesheet>
+<?xml version='1.0'?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+  <xsl:import href="common.xsl"/>
+
+  <xsl:param name="default.encoding" select="'iso-8859-1'"/>
+  <xsl:param name="html.stylesheet" select="'docbook.css'"/>
+  <xsl:param name="html.stylesheet.type" select="'text/css'"/>
+  <xsl:param name="toc.section.depth" select="'3'"/>
+  <xsl:param name="use.id.function" select="1"/>
+
+  <xsl:param name="ulink.target"/>
+</xsl:stylesheet>

Modified: manual/trunk/stylesheets/html.xsl.in
===================================================================
--- manual/trunk/stylesheets/html.xsl.in	2004-09-21 08:37:11 UTC (rev 16)
+++ manual/trunk/stylesheets/html.xsl.in	2004-09-21 08:37:34 UTC (rev 17)
@@ -1,10 +1,8 @@
-<?xml version='1.0'?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
-  <xsl:import href="file:///{xsl_root}/html/docbook.xsl"/>
-  <xsl:import href="html-common.xsl"/>
-
-  <xsl:output indent="yes" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
-
-  <xsl:param name="l10n.gentext.language" select="'{language}'"/>
-</xsl:stylesheet>
+<?xml version='1.0'?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+  <xsl:import href="file:///{xsl_root}/xhtml/docbook.xsl"/>
+  <xsl:import href="html-common.xsl"/>
+
+  <xsl:param name="l10n.gentext.language" select="'{language}'"/>
+</xsl:stylesheet>