changeset 236:7fb269e7da81 trunk

Fix title on index page of HTML docs.
author cmlenz
date Tue, 12 Sep 2006 15:53:26 +0000
parents 41107d1ba1c8
children 670f543fd8c2
files doc/index.txt doc/style/edgewall.css
diffstat 2 files changed, 16 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/doc/index.txt
+++ b/doc/index.txt
@@ -1,5 +1,9 @@
 .. -*- mode: rst; encoding: utf-8 -*-
 
+======
+Genshi
+======
+
 .. image:: logo.png
    :width: 225
    :height: 81
@@ -7,21 +11,16 @@
    :alt: Genshi - Generate output for the web
    :class: logo
 
------------------------------------------------------------
-A toolkit for stream-based generation of output for the web
------------------------------------------------------------
+---------------------------------------------------------
+Toolkit for stream-based generation of output for the web
+---------------------------------------------------------
 
 Genshi is a Python library that provides an integrated set of components
 for parsing, generating, and processing HTML, XML or other textual content
 for output generation on the web. The major feature is a template language,
 which is heavily inspired by Kid.
 
-* `Markup Streams`_
-* `Generating Markup Programmatically`_
-* `Genshi XML Template Language`_
-* `Using XPath in Genshi`_
-
-.. _`Markup Streams`: streams.html
-.. _`Generating Markup Programmatically`: builder.html
-.. _`Genshi XML Template Language`: xml-templates.html
-.. _`Using XPath in Genshi`: xpath.html
+* `Markup Streams <streams.html>`_
+* `Generating Markup Programmatically <builder.html>`_
+* `Genshi XML Template Language <xml-templates.html>`_
+* `Using XPath in Genshi <xpath.html>`_
--- a/doc/style/edgewall.css
+++ b/doc/style/edgewall.css
@@ -29,9 +29,12 @@
   border-left: 1px solid #000; margin: 0 auto 0 80px;
   min-height: 100%; width: 54em; padding: 0 180px 1px 20px;
 }
-h1.title { background: url(vertbars.png) repeat-x; color: #666;
-  font-size: x-large; margin: 0 -20px 1em; padding: 2em 20px 0;
+h1.title, div.document#genshi h1 { color: #666; font-size: x-large;
+  margin: 0 -20px 1em; padding: 2em 20px 0;
 }
+h1.title { background: url(vertbars.png) repeat-x; }
+div.document#genshi h1.title { text-indent: -4000px; }
+div.document#genshi h1 { text-align: center; }
 pre.literal-block { background: #f7f7f7; border: 1px solid #d7d7d7;
   margin: 1em 0; padding: .25em; overflow: auto;
 }
@@ -47,5 +50,3 @@
 div.contents :link:hover, div.contents :visited:hover { background: #000;
   color: #fff;
 }
-
-img.logo { margin-top: 4.5em; }
Copyright (C) 2012-2017 Edgewall Software