# HG changeset patch # User cmlenz # Date 1158076406 0 # Node ID 7fb269e7da8137e20057765d903f5d5030977e8e # Parent 41107d1ba1c869fdd5f742415f8c46921f8fa0e4 Fix title on index page of HTML docs. diff --git a/doc/index.txt b/doc/index.txt --- 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 `_ +* `Generating Markup Programmatically `_ +* `Genshi XML Template Language `_ +* `Using XPath in Genshi `_ diff --git a/doc/style/edgewall.css b/doc/style/edgewall.css --- 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; }