Mercurial > genshi > genshi-test
comparison 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 |
comparison
equal
deleted
inserted
replaced
381:a6c2a9cd2e92 | 382:d7da3fba7faf |
---|---|
5 body, th, td { | 5 body, th, td { |
6 font: normal small Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; | 6 font: normal small Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; |
7 } | 7 } |
8 pre, code, tt { font-size: medium; } | 8 pre, code, tt { font-size: medium; } |
9 h1, h2, h3, h4 { | 9 h1, h2, h3, h4 { |
10 border-bottom: 1px solid #ccc; | |
10 font-family: Arial,Verdana,'Bitstream Vera Sans',Helvetica,sans-serif; | 11 font-family: Arial,Verdana,'Bitstream Vera Sans',Helvetica,sans-serif; |
11 font-weight: bold; letter-spacing: -0.018em; | 12 font-weight: bold; letter-spacing: -0.018em; |
12 } | 13 } |
13 h1 { font-size: 19px; margin: 2em 1em 0 0; } | 14 h1 { font-size: 19px; margin: 2em 0 .5em; } |
14 h2 { font-size: 16px; } | 15 h2 { font-size: 16px; margin: 1.5em 0 .5em; } |
15 h3 { font-size: 14px; } | 16 h3 { font-size: 14px; margin: 1.2em 0 .5em; } |
16 hr { border: none; border-top: 1px solid #ccb; margin: 2em 0; } | 17 hr { border: none; border-top: 1px solid #ccb; margin: 2em 0; } |
18 p { margin: 0 0 1em; } | |
17 | 19 |
18 :link, :visited { text-decoration: none; border-bottom: 1px dotted #bbb; | 20 :link, :visited { text-decoration: none; border-bottom: 1px dotted #bbb; |
19 color: #b00; | 21 color: #b00; |
20 } | 22 } |
21 :link:hover, :visited:hover { background-color: #eee; color: #555; } | 23 :link:hover, :visited:hover { background-color: #eee; color: #555; } |
24 h4 :link, h4 :visited, h5 :link, h5 :visited, h6 :link, h6 :visited { | 26 h4 :link, h4 :visited, h5 :link, h5 :visited, h6 :link, h6 :visited { |
25 color: #000; | 27 color: #000; |
26 } | 28 } |
27 | 29 |
28 div.document { background: #fff url(shadow.gif) right top repeat-y; | 30 div.document { background: #fff url(shadow.gif) right top repeat-y; |
29 border-left: 1px solid #000; margin: 0 auto 0 80px; | 31 border-left: 1px solid #000; margin: 0 auto 0 40px; |
30 min-height: 100%; width: 54em; padding: 0 180px 1px 20px; | 32 min-height: 100%; width: 54em; padding: 0 180px 1px 20px; |
31 } | 33 } |
32 h1.title, div.document#genshi h1 { color: #666; font-size: x-large; | 34 h1.title, div.document#genshi h1 { border: none; color: #666; |
33 margin: 0 -20px 1em; padding: 2em 20px 0; | 35 font-size: x-large; margin: 0 -20px 1em; padding: 2em 20px 0; |
34 } | 36 } |
35 h1.title { background: url(vertbars.png) repeat-x; } | 37 h1.title { background: url(vertbars.png) repeat-x; } |
36 div.document#genshi h1.title { text-indent: -4000px; } | 38 div.document#genshi h1.title { text-indent: -4000px; } |
37 div.document#genshi h1 { text-align: center; } | 39 div.document#genshi h1 { text-align: center; } |
38 pre.literal-block { background: #f7f7f7; border: 1px solid #d7d7d7; | 40 pre.literal-block { background: #d7d7d7; border: 1px solid #e6e6e6; color: #000; |
39 margin: 1em 0; padding: .25em; overflow: auto; | 41 margin: 1em 1em; padding: .25em; overflow: auto; |
40 } | 42 } |
41 | 43 |
42 div.contents { position: absolute; position: fixed; margin-left: 80px; | 44 div.contents { font-size: 90%; position: absolute; position: fixed; |
43 left: 57.3em; top: 30px; right: 0; | 45 margin-left: 80px; left: 60em; top: 30px; right: 0; |
44 } | 46 } |
45 div.contents .topic-title { display: none; } | 47 div.contents .topic-title { display: none; } |
46 div.contents ul { list-style: none; padding-left: 0; } | 48 div.contents ul { list-style: none; padding-left: 0; } |
47 div.contents :link, div.contents :visited { color: #c6c6c6; border: none; | 49 div.contents :link, div.contents :visited { color: #c6c6c6; border: none; |
48 display: block; padding: 3px 5px 3px 10px; | 50 display: block; padding: 3px 5px 3px 10px; |
49 } | 51 } |
50 div.contents :link:hover, div.contents :visited:hover { background: #000; | 52 div.contents :link:hover, div.contents :visited:hover { background: #000; |
51 color: #fff; | 53 color: #fff; |
52 } | 54 } |
55 | |
56 p.admonition-title { font-weight: bold; margin-bottom: 0; } | |
57 div.note { font-style: italic; margin-left: 2em; margin-right: 2em; } |