1 /* style-mercurialweb.css - stylesheets resembling the MercurialWikiTheme styles 2 3 Copyright (c) 2010 Paul Boddie <paul@boddie.org.uk> 4 Copyright (c) 2001, 2002, 2003 by Juergen Hermann 5 */ 6 7 /* content styles */ 8 9 body { 10 padding: 0; 11 margin: 0; 12 border: 0; 13 14 /* Styling similar to the main site. */ 15 16 font-family: Helvetica, Verdana, Arial, sans-serif; 17 color: #111; 18 margin: 0 5em; 19 } 20 21 a, img { 22 border: 0; 23 } 24 25 a:link, a:visited { color: #00b5f1; text-decoration: none; } 26 a:link:hover, a:link:active, a:link:focus, 27 a:visited:hover, a:visited:active, a:visited:focus { text-decoration: underline; } 28 29 input, select { 30 31 /* Styling similar to the main site. */ 32 33 font-family: Helvetica, Arial, sans-serif; 34 font-size: 0.8571em; 35 } 36 37 /* Table styling. */ 38 39 table 40 { 41 margin: 1em 0; 42 border-collapse: collapse; 43 width: 100%; 44 } 45 46 th { 47 text-align: left; 48 } 49 50 th a:link, th a:visited { 51 color: #111; 52 } 53 54 th, td { 55 padding: 0.4em 0.25em; 56 } 57 58 td p { 59 margin: 0; 60 padding: 0; 61 } 62 63 tr.parity1 { 64 background: #f7f7f7; 65 } 66 67 /* Styling of headings from the main site. */ 68 69 h1 { font-size: 2em; } 70 h2 { font-size: 1.6em; } 71 h3 { font-size: 1.3em; } 72 73 /* Repository information. */ 74 75 span.tag { 76 background: #f1b500; 77 padding: 0.25em 0.5em; 78 } 79 80 span.branch { 81 background: #b5f1b5; 82 padding: 0.25em 0.5em; 83 } 84 85 span.inbranch { 86 background: #b5b5b5; 87 padding: 0.25em 0.5em; 88 } 89 90 span.branch-closed { 91 background: #b5b5f1; 92 padding: 0.25em 0.5em; 93 } 94 95 span.branch-inactive { 96 background: #f1b5b5; 97 padding: 0.25em 0.5em; 98 } 99 100 span.branch-closed a, 101 span.branch-inactive a { 102 color: #000; 103 } 104 105 /* Navigational and editing controls. */ 106 107 @media print { 108 #header { 109 display: none; 110 } 111 } 112 113 .controls { 114 float: right; 115 text-align: right; 116 } 117 118 #navibar { 119 display: inline-block; 120 margin: 17px 0 2px 0; 121 padding: 0; 122 vertical-align: bottom; 123 } 124 125 #navibar li { 126 display: inline; 127 margin: 0; 128 padding: 0; 129 } 130 131 #navibar li form { 132 display: inline; 133 } 134 135 #navibar a, #navibar li.current span, .navigation a { 136 color: #fff; 137 text-decoration: none; 138 } 139 140 #navibar a { 141 background: #999; 142 } 143 144 .navigation a { 145 background: #ccc; 146 } 147 148 #navibar a, #navibar li.current span { 149 150 /* Need a block to redefine the height. */ 151 152 display: inline-block; 153 height: 42px; 154 line-height: 42px; 155 156 margin: 0; 157 padding: 0 16px; 158 } 159 160 .navigation a { 161 padding: 0.25em 0.5em; 162 } 163 164 #navibar a:hover, #navibar a:focus, #navibar li.current a, #navibar li.current span, 165 .navigation a:hover, .navigation a:focus { 166 background: #00b5f1; 167 } 168 169 #navibar a:hover, #navibar a:focus, #navibar li.current a, 170 .navigation a:hover, .navigation a:focus { 171 text-decoration: none; 172 } 173 174 /* Other elements. */ 175 176 #logo { 177 float: left; 178 margin: 0; 179 padding: 0; 180 181 /* For text only logo */ 182 183 font-size: larger; 184 font-weight: bold; 185 } 186 187 #logo img { 188 vertical-align: bottom; 189 } 190 191 #logo a { 192 color: black; 193 text-decoration: none; 194 } 195 196 #navibar form span.container { 197 position: relative; 198 display: inline-block; 199 200 /* Margin and padding correspond to the navibar settings. */ 201 202 margin: 0; 203 background: #999; 204 205 /* Height settings correspond to navibar list entries. */ 206 207 height: 42px; 208 line-height: 42px; 209 } 210 211 form#searchform span.container { 212 213 /* Margin and padding correspond to the navibar settings. */ 214 215 padding: 0 16px; 216 } 217 218 #searchform span.container span.hint { 219 display: none; 220 } 221 222 #searchform span.container:hover span.hint { 223 display: block; 224 position: absolute; 225 top: 42px; 226 left: 16px; 227 228 padding: 0 16px; 229 230 background: #00b5f1; 231 color: #fff; 232 } 233 234 #searchform input { 235 vertical-align: middle; 236 } 237 238 #searchform label { 239 font-size: smaller; 240 color: #fff; 241 } 242 243 #pageline, .pageline { 244 245 /* Prevent mixing of header and content elements. */ 246 247 clear: both; 248 margin: 0; 249 padding: 0; 250 border-bottom: 1px solid #ccc; 251 } 252 253 #credits { 254 float: right; 255 256 /* Styling similar to the main site. */ 257 258 font-family: Verdana, Helvetica, Arial, sans-serif; 259 font-size: .6428em; 260 padding: 10px 25px; 261 } 262 263 #credits li { 264 display: inline; 265 padding: 0 2px; 266 margin: 0 4px; 267 } 268 269 #credits img { 270 vertical-align: middle; 271 } 272 273 #credits a { 274 text-decoration: none; 275 }