Mercurial > genshi > mirror
diff doc/style/edgewall.css @ 235:41107d1ba1c8 trunk
Beautified the HTML docs a bit.
author | cmlenz |
---|---|
date | Tue, 12 Sep 2006 15:35:42 +0000 |
parents | |
children | 7fb269e7da81 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/doc/style/edgewall.css @@ -0,0 +1,51 @@ +@import(docutils.css); + +html, body { height: 100%; margin: 0; padding: 0; } +html, body { background: #4b4d4d url(bkgnd_pattern.png); color: #000; } +body, th, td { + font: normal small Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; +} +pre, code, tt { font-size: medium; } +h1, h2, h3, h4 { + 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; } +hr { border: none; border-top: 1px solid #ccb; margin: 2em 0; } + +:link, :visited { text-decoration: none; border-bottom: 1px dotted #bbb; + color: #b00; +} +:link:hover, :visited:hover { background-color: #eee; color: #555; } +:link img, :visited img { border: none } +h1 :link, h1 :visited ,h2 :link, h2 :visited, h3 :link, h3 :visited, +h4 :link, h4 :visited, h5 :link, h5 :visited, h6 :link, h6 :visited { + color: #000; +} + +div.document { background: #fff url(shadow.gif) right top repeat-y; + 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; +} +pre.literal-block { background: #f7f7f7; border: 1px solid #d7d7d7; + margin: 1em 0; padding: .25em; overflow: auto; +} + +div.contents { position: absolute; position: fixed; margin-left: 80px; + left: 57.3em; top: 30px; right: 0; +} +div.contents .topic-title { display: none; } +div.contents ul { list-style: none; padding-left: 0; } +div.contents :link, div.contents :visited { color: #c6c6c6; border: none; + display: block; padding: 3px 5px 3px 10px; +} +div.contents :link:hover, div.contents :visited:hover { background: #000; + color: #fff; +} + +img.logo { margin-top: 4.5em; }