Mercurial > genshi > genshi-test
diff doc/style/edgewall.css @ 382:d7da3fba7faf
* Added documentation for the various stream event kinds.
* Move generation of HTML documentation into a custom distutils command, run by `setup.py build_doc`
* Added verification of doctest snippets in documentation, which can be run by `setup.py test_doc`
* Fixed `repr` of `Markup` instances.
author | cmlenz |
---|---|
date | Fri, 01 Dec 2006 23:43:59 +0000 |
parents | 66e702ab4ae4 |
children | 6fd7e4dc0318 0742f421caba |
line wrap: on
line diff
--- a/doc/style/edgewall.css +++ b/doc/style/edgewall.css @@ -7,13 +7,15 @@ } pre, code, tt { font-size: medium; } h1, h2, h3, h4 { + border-bottom: 1px solid #ccc; font-family: Arial,Verdana,'Bitstream Vera Sans',Helvetica,sans-serif; font-weight: bold; letter-spacing: -0.018em; } -h1 { font-size: 19px; margin: 2em 1em 0 0; } -h2 { font-size: 16px; } -h3 { font-size: 14px; } +h1 { font-size: 19px; margin: 2em 0 .5em; } +h2 { font-size: 16px; margin: 1.5em 0 .5em; } +h3 { font-size: 14px; margin: 1.2em 0 .5em; } hr { border: none; border-top: 1px solid #ccb; margin: 2em 0; } +p { margin: 0 0 1em; } :link, :visited { text-decoration: none; border-bottom: 1px dotted #bbb; color: #b00; @@ -26,21 +28,21 @@ } div.document { background: #fff url(shadow.gif) right top repeat-y; - border-left: 1px solid #000; margin: 0 auto 0 80px; + border-left: 1px solid #000; margin: 0 auto 0 40px; min-height: 100%; width: 54em; padding: 0 180px 1px 20px; } -h1.title, div.document#genshi h1 { color: #666; font-size: x-large; - margin: 0 -20px 1em; padding: 2em 20px 0; +h1.title, div.document#genshi h1 { border: none; 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; +pre.literal-block { background: #d7d7d7; border: 1px solid #e6e6e6; color: #000; + margin: 1em 1em; padding: .25em; overflow: auto; } -div.contents { position: absolute; position: fixed; margin-left: 80px; - left: 57.3em; top: 30px; right: 0; +div.contents { font-size: 90%; position: absolute; position: fixed; + margin-left: 80px; left: 60em; top: 30px; right: 0; } div.contents .topic-title { display: none; } div.contents ul { list-style: none; padding-left: 0; } @@ -50,3 +52,6 @@ div.contents :link:hover, div.contents :visited:hover { background: #000; color: #fff; } + +p.admonition-title { font-weight: bold; margin-bottom: 0; } +div.note { font-style: italic; margin-left: 2em; margin-right: 2em; }