Mercurial > genshi > genshi-test
comparison doc/style/edgewall.css @ 508:cabd80e75dad
Enable syntax highlighting (with Pygments) on doc page.
author | cmlenz |
---|---|
date | Wed, 06 Jun 2007 10:06:29 +0000 |
parents | 1e1e0564dc52 |
children | ca7d707d51b0 |
comparison
equal
deleted
inserted
replaced
507:c006015dc52d | 508:cabd80e75dad |
---|---|
1 @import(docutils.css); | 1 @import url(docutils.css); |
2 @import url(pygments.css); | |
2 | 3 |
3 html, body { height: 100%; margin: 0; padding: 0; } | 4 html, body { height: 100%; margin: 0; padding: 0; } |
4 html, body { background: #4b4d4d url(bkgnd_pattern.png); color: #000; } | 5 html, body { background: #4b4d4d url(bkgnd_pattern.png); color: #000; } |
5 body, th, td { | 6 body, th, td { |
6 font: normal small Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; | 7 font: normal small Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; |
43 font-size: x-large; margin: 0 -20px 1em; padding: 2em 20px 0; | 44 font-size: x-large; margin: 0 -20px 1em; padding: 2em 20px 0; |
44 } | 45 } |
45 h1.title { background: url(vertbars.png) repeat-x; } | 46 h1.title { background: url(vertbars.png) repeat-x; } |
46 div.document#genshi h1.title { text-indent: -4000px; } | 47 div.document#genshi h1.title { text-indent: -4000px; } |
47 div.document#genshi h1 { text-align: center; } | 48 div.document#genshi h1 { text-align: center; } |
48 pre.literal-block { background: #d7d7d7; border: 1px solid #e6e6e6; color: #000; | 49 pre.literal-block, div.highlight pre { background: #f4f4f4; |
49 margin: 1em 1em; padding: .25em; overflow: auto; | 50 border: 1px solid #e6e6e6; color: #000; margin: 1em 1em; padding: .25em; |
51 overflow: auto; | |
50 } | 52 } |
51 | 53 |
52 div.contents { font-size: 90%; position: absolute; position: fixed; | 54 div.contents { font-size: 90%; position: absolute; position: fixed; |
53 margin-left: 80px; left: 60em; top: 30px; right: 0; | 55 margin-left: 80px; left: 60em; top: 30px; right: 0; |
54 } | 56 } |
59 } | 61 } |
60 div.contents :link:hover, div.contents :visited:hover { background: #000; | 62 div.contents :link:hover, div.contents :visited:hover { background: #000; |
61 color: #fff; | 63 color: #fff; |
62 } | 64 } |
63 | 65 |
64 p.admonition-title { font-weight: bold; margin-bottom: 0; } | 66 div.admonition, div.attention, div.caution, div.danger, div.error, div.hint, |
65 div.note, div.warning { font-style: italic; margin-left: 2em; | 67 div.important, div.note, div.tip, div.warning { |
66 margin-right: 2em; | 68 border: none; color: #333; font-style: italic; margin: 1em 2em; |
67 } | 69 } |
70 p.admonition-title { margin-bottom: 0; } | |
71 div.note, div.warning { font-style: italic; } |