Mercurial > p > roundup > code
comparison website/www/_static/style.css @ 4566:b8119ba37707
Merge branch 'website'
| author | Eric S. Raymond <esr@thyrsus.com> |
|---|---|
| date | Sun, 13 Nov 2011 11:18:42 -0500 |
| parents | 76533e846989 |
| children | 48296d636a40 |
comparison
equal
deleted
inserted
replaced
| 4564:6327b1b21593 | 4566:b8119ba37707 |
|---|---|
| 1 /* layout*/ | |
| 2 body | |
| 3 { | |
| 4 font-family: sans-serif, Arial, Helvetica; | |
| 5 background-color: white; | |
| 6 color: #333; | |
| 7 margin:0; | |
| 8 padding: 0 3em 0 13em; | |
| 9 } | |
| 10 body > .header { margin: 0 0 0 -13em;} | |
| 11 body > .footer { margin: 0 0 0 -13em; clear:both;} | |
| 12 body > .navigation | |
| 13 { | |
| 14 margin-left: -13em; | |
| 15 width: 13em; | |
| 16 float: left; | |
| 17 } | |
| 18 body > .content | |
| 19 { | |
| 20 width: 100%; | |
| 21 margin: 0; | |
| 22 } | |
| 23 body > .header > #searchbox { position: absolute; right: 1em; top: 1em;} | |
| 24 | |
| 25 /* style */ | |
| 26 | |
| 27 :link { color: #bb0000; text-decoration: none;} | |
| 28 :visited { color: #770000; text-decoration: none;} | |
| 29 a.toc-backref { color: #000000; } | |
| 30 | |
| 31 .header h1 { margin-left: 1em; } | |
| 32 | |
| 33 body | |
| 34 { | |
| 35 font-family: sans-serif, Arial, Helvetica; | |
| 36 background-color: #f5f5f5; | |
| 37 color: #333; | |
| 38 } | |
| 39 | |
| 40 .menu { padding: 0; margin-right: 1em;} | |
| 41 .menu ul | |
| 42 { | |
| 43 padding: 0; | |
| 44 margin: 0; | |
| 45 } | |
| 46 .menu li | |
| 47 { | |
| 48 margin: 5pt 0; | |
| 49 } | |
| 50 .menu > ul > li > * | |
| 51 { | |
| 52 display: block; | |
| 53 padding: 2pt 2pt 2pt 10pt; | |
| 54 border: solid thin #dadada; | |
| 55 background-color:#ffffff; | |
| 56 } | |
| 57 .menu > ul > li.current > * | |
| 58 { | |
| 59 background-color:#dddddd; | |
| 60 } | |
| 61 | |
| 62 .menu ul li:first-child { margin-top:0;} | |
| 63 .menu ul { list-style-type:none;} | |
| 64 | |
| 65 /* sub-menus are indented */ | |
| 66 .menu > ul > li > ul, | |
| 67 .menu > ul > li.current > ul | |
| 68 { | |
| 69 border:none; | |
| 70 background-color: inherit; | |
| 71 } | |
| 72 .menu ul ul | |
| 73 { | |
| 74 margin-left: 2em; | |
| 75 font-size: smaller; | |
| 76 } | |
| 77 | |
| 78 /* sub-menu items draw a separator */ | |
| 79 .menu ul ul > li | |
| 80 { | |
| 81 margin: 0; | |
| 82 padding: 0; | |
| 83 border: none; | |
| 84 border-top: solid thin #dadada; | |
| 85 background-color: inherit; | |
| 86 } | |
| 87 .menu ul ul > li:first-child | |
| 88 { | |
| 89 border-top: none; | |
| 90 } | |
| 91 | |
| 92 .footer | |
| 93 { | |
| 94 font-size: small; | |
| 95 text-align: center; | |
| 96 color: lightgrey; | |
| 97 } | |
| 98 | |
| 99 .content | |
| 100 { | |
| 101 padding: 1em; | |
| 102 border: solid thin #dadada; | |
| 103 background-color: #ffffff; | |
| 104 } | |
| 105 | |
| 106 /* This is a little hack to inject a 'news' block into the title | |
| 107 page without having to set up a custom directive. */ | |
| 108 #roundup-issue-tracker .note | |
| 109 { | |
| 110 float: right; | |
| 111 width: auto; | |
| 112 border: solid thin #dadada; | |
| 113 background-color:#f5f5f5; | |
| 114 padding: 1em; | |
| 115 margin: 1em; | |
| 116 } | |
| 117 #roundup-issue-tracker .note .admonition-title { display: none; } | |
| 118 | |
| 119 table | |
| 120 { | |
| 121 border-collapse: collapse; | |
| 122 border-spacing: 1px; | |
| 123 background-color: #fafafa; | |
| 124 } | |
| 125 | |
| 126 input, textarea { border-width: 1px; } |
