paul@5 | 1 | /* style-mercurialweb.css - stylesheets resembling the MercurialWikiTheme styles |
paul@0 | 2 | |
paul@0 | 3 | Copyright (c) 2010 Paul Boddie <paul@boddie.org.uk> |
paul@0 | 4 | Copyright (c) 2001, 2002, 2003 by Juergen Hermann |
paul@0 | 5 | */ |
paul@0 | 6 | |
paul@0 | 7 | /* content styles */ |
paul@0 | 8 | |
paul@0 | 9 | body { |
paul@0 | 10 | padding: 0; |
paul@0 | 11 | margin: 0; |
paul@0 | 12 | border: 0; |
paul@0 | 13 | |
paul@0 | 14 | /* Styling similar to the main site. */ |
paul@0 | 15 | |
paul@0 | 16 | font-family: Helvetica, Verdana, Arial, sans-serif; |
paul@0 | 17 | color: #111; |
paul@0 | 18 | margin: 0 5em; |
paul@0 | 19 | } |
paul@0 | 20 | |
paul@0 | 21 | a, img { |
paul@0 | 22 | border: 0; |
paul@0 | 23 | } |
paul@0 | 24 | |
paul@0 | 25 | a:link, a:visited { color: #00b5f1; text-decoration: none; } |
paul@0 | 26 | a:link:hover, a:link:active, a:link:focus, |
paul@0 | 27 | a:visited:hover, a:visited:active, a:visited:focus { text-decoration: underline; } |
paul@0 | 28 | |
paul@0 | 29 | input, select { |
paul@0 | 30 | |
paul@0 | 31 | /* Styling similar to the main site. */ |
paul@0 | 32 | |
paul@0 | 33 | font-family: Helvetica, Arial, sans-serif; |
paul@0 | 34 | font-size: 0.8571em; |
paul@0 | 35 | } |
paul@0 | 36 | |
paul@1 | 37 | /* Table styling. */ |
paul@1 | 38 | |
paul@1 | 39 | table |
paul@1 | 40 | { |
paul@4 | 41 | margin: 1em 0; |
paul@1 | 42 | border-collapse: collapse; |
paul@7 | 43 | width: 100%; |
paul@1 | 44 | } |
paul@1 | 45 | |
paul@1 | 46 | th { |
paul@1 | 47 | text-align: left; |
paul@1 | 48 | } |
paul@1 | 49 | |
paul@1 | 50 | th a:link, th a:visited { |
paul@1 | 51 | color: #111; |
paul@1 | 52 | } |
paul@1 | 53 | |
paul@1 | 54 | th, td { |
paul@4 | 55 | padding: 0.4em 0.25em; |
paul@8 | 56 | vertical-align: top; |
paul@1 | 57 | } |
paul@1 | 58 | |
paul@1 | 59 | td p { |
paul@1 | 60 | margin: 0; |
paul@1 | 61 | padding: 0; |
paul@1 | 62 | } |
paul@1 | 63 | |
paul@7 | 64 | tr.parity1 { |
paul@7 | 65 | background: #f7f7f7; |
paul@7 | 66 | } |
paul@7 | 67 | |
paul@10 | 68 | hr { |
paul@10 | 69 | background-color: #ccc; |
paul@10 | 70 | color: #ccc; |
paul@10 | 71 | border: 0; |
paul@10 | 72 | height: 1px; |
paul@10 | 73 | } |
paul@10 | 74 | |
paul@1 | 75 | /* Styling of headings from the main site. */ |
paul@1 | 76 | |
paul@1 | 77 | h1 { font-size: 2em; } |
paul@1 | 78 | h2 { font-size: 1.6em; } |
paul@1 | 79 | h3 { font-size: 1.3em; } |
paul@1 | 80 | |
paul@4 | 81 | /* Repository information. */ |
paul@4 | 82 | |
paul@8 | 83 | span.tag, |
paul@8 | 84 | span.branch, |
paul@8 | 85 | span.inbranch { |
paul@8 | 86 | padding: 0.25em 0.5em; |
paul@8 | 87 | white-space: nowrap; |
paul@8 | 88 | } |
paul@8 | 89 | |
paul@4 | 90 | span.tag { |
paul@4 | 91 | background: #f1b500; |
paul@4 | 92 | } |
paul@4 | 93 | |
paul@10 | 94 | span.branch, /* default properties */ |
paul@10 | 95 | span.open { |
paul@4 | 96 | background: #b5f1b5; |
paul@4 | 97 | } |
paul@4 | 98 | |
paul@8 | 99 | span.inbranch, |
paul@10 | 100 | span.inactive { |
paul@10 | 101 | background: #b5b5b5 !important; |
paul@4 | 102 | } |
paul@4 | 103 | |
paul@10 | 104 | span.closed { |
paul@10 | 105 | background-color: #f1b5b5 !important; |
paul@7 | 106 | } |
paul@7 | 107 | |
paul@10 | 108 | span.branch a, |
paul@10 | 109 | span.tag a, |
paul@8 | 110 | span.inbranch a, |
paul@10 | 111 | span.open a, |
paul@10 | 112 | span.closed a, |
paul@10 | 113 | span.inactive a { |
paul@7 | 114 | color: #000; |
paul@7 | 115 | } |
paul@7 | 116 | |
paul@0 | 117 | /* Navigational and editing controls. */ |
paul@0 | 118 | |
paul@5 | 119 | @media print { |
paul@5 | 120 | #header { |
paul@5 | 121 | display: none; |
paul@5 | 122 | } |
paul@5 | 123 | } |
paul@5 | 124 | |
paul@0 | 125 | .controls { |
paul@0 | 126 | float: right; |
paul@0 | 127 | text-align: right; |
paul@0 | 128 | } |
paul@0 | 129 | |
paul@0 | 130 | #navibar { |
paul@0 | 131 | display: inline-block; |
paul@0 | 132 | margin: 17px 0 2px 0; |
paul@0 | 133 | padding: 0; |
paul@0 | 134 | vertical-align: bottom; |
paul@0 | 135 | } |
paul@0 | 136 | |
paul@0 | 137 | #navibar li { |
paul@0 | 138 | display: inline; |
paul@0 | 139 | margin: 0; |
paul@0 | 140 | padding: 0; |
paul@0 | 141 | } |
paul@0 | 142 | |
paul@6 | 143 | #navibar li form { |
paul@6 | 144 | display: inline; |
paul@6 | 145 | } |
paul@6 | 146 | |
paul@4 | 147 | #navibar a, #navibar li.current span, .navigation a { |
paul@4 | 148 | color: #fff; |
paul@4 | 149 | text-decoration: none; |
paul@4 | 150 | } |
paul@4 | 151 | |
paul@6 | 152 | #navibar a { |
paul@4 | 153 | background: #999; |
paul@4 | 154 | } |
paul@4 | 155 | |
paul@4 | 156 | .navigation a { |
paul@4 | 157 | background: #ccc; |
paul@4 | 158 | } |
paul@4 | 159 | |
paul@0 | 160 | #navibar a, #navibar li.current span { |
paul@0 | 161 | |
paul@0 | 162 | /* Need a block to redefine the height. */ |
paul@0 | 163 | |
paul@0 | 164 | display: inline-block; |
paul@0 | 165 | height: 42px; |
paul@0 | 166 | line-height: 42px; |
paul@0 | 167 | |
paul@0 | 168 | margin: 0; |
paul@0 | 169 | padding: 0 16px; |
paul@0 | 170 | } |
paul@0 | 171 | |
paul@4 | 172 | .navigation a { |
paul@4 | 173 | padding: 0.25em 0.5em; |
paul@4 | 174 | } |
paul@4 | 175 | |
paul@4 | 176 | #navibar a:hover, #navibar a:focus, #navibar li.current a, #navibar li.current span, |
paul@4 | 177 | .navigation a:hover, .navigation a:focus { |
paul@0 | 178 | background: #00b5f1; |
paul@2 | 179 | } |
paul@2 | 180 | |
paul@4 | 181 | #navibar a:hover, #navibar a:focus, #navibar li.current a, |
paul@4 | 182 | .navigation a:hover, .navigation a:focus { |
paul@0 | 183 | text-decoration: none; |
paul@0 | 184 | } |
paul@0 | 185 | |
paul@0 | 186 | /* Other elements. */ |
paul@0 | 187 | |
paul@0 | 188 | #logo { |
paul@0 | 189 | float: left; |
paul@0 | 190 | margin: 0; |
paul@0 | 191 | padding: 0; |
paul@0 | 192 | |
paul@0 | 193 | /* For text only logo */ |
paul@0 | 194 | |
paul@0 | 195 | font-size: larger; |
paul@0 | 196 | font-weight: bold; |
paul@0 | 197 | } |
paul@0 | 198 | |
paul@0 | 199 | #logo img { |
paul@0 | 200 | vertical-align: bottom; |
paul@0 | 201 | } |
paul@0 | 202 | |
paul@0 | 203 | #logo a { |
paul@0 | 204 | color: black; |
paul@0 | 205 | text-decoration: none; |
paul@0 | 206 | } |
paul@0 | 207 | |
paul@6 | 208 | #navibar form span.container { |
paul@6 | 209 | position: relative; |
paul@0 | 210 | display: inline-block; |
paul@0 | 211 | |
paul@0 | 212 | /* Margin and padding correspond to the navibar settings. */ |
paul@0 | 213 | |
paul@1 | 214 | margin: 0; |
paul@0 | 215 | background: #999; |
paul@0 | 216 | |
paul@0 | 217 | /* Height settings correspond to navibar list entries. */ |
paul@0 | 218 | |
paul@0 | 219 | height: 42px; |
paul@0 | 220 | line-height: 42px; |
paul@0 | 221 | } |
paul@0 | 222 | |
paul@6 | 223 | form#searchform span.container { |
paul@6 | 224 | |
paul@6 | 225 | /* Margin and padding correspond to the navibar settings. */ |
paul@6 | 226 | |
paul@6 | 227 | padding: 0 16px; |
paul@6 | 228 | } |
paul@6 | 229 | |
paul@2 | 230 | #searchform span.container span.hint { |
paul@2 | 231 | display: none; |
paul@2 | 232 | } |
paul@2 | 233 | |
paul@2 | 234 | #searchform span.container:hover span.hint { |
paul@2 | 235 | display: block; |
paul@2 | 236 | position: absolute; |
paul@2 | 237 | top: 42px; |
paul@2 | 238 | left: 16px; |
paul@8 | 239 | z-index: 3; |
paul@2 | 240 | |
paul@2 | 241 | padding: 0 16px; |
paul@2 | 242 | |
paul@2 | 243 | background: #00b5f1; |
paul@2 | 244 | color: #fff; |
paul@2 | 245 | } |
paul@2 | 246 | |
paul@0 | 247 | #searchform input { |
paul@0 | 248 | vertical-align: middle; |
paul@0 | 249 | } |
paul@0 | 250 | |
paul@1 | 251 | #searchform label { |
paul@0 | 252 | font-size: smaller; |
paul@0 | 253 | color: #fff; |
paul@0 | 254 | } |
paul@0 | 255 | |
paul@0 | 256 | #pageline, .pageline { |
paul@0 | 257 | |
paul@0 | 258 | /* Prevent mixing of header and content elements. */ |
paul@0 | 259 | |
paul@0 | 260 | clear: both; |
paul@0 | 261 | margin: 0; |
paul@0 | 262 | padding: 0; |
paul@0 | 263 | border-bottom: 1px solid #ccc; |
paul@0 | 264 | } |
paul@0 | 265 | |
paul@9 | 266 | /* Footer elements. */ |
paul@9 | 267 | |
paul@9 | 268 | #footer { |
paul@9 | 269 | margin-top: 1em; |
paul@9 | 270 | } |
paul@9 | 271 | |
paul@0 | 272 | #credits { |
paul@0 | 273 | float: right; |
paul@0 | 274 | |
paul@0 | 275 | /* Styling similar to the main site. */ |
paul@0 | 276 | |
paul@0 | 277 | font-family: Verdana, Helvetica, Arial, sans-serif; |
paul@0 | 278 | font-size: .6428em; |
paul@0 | 279 | padding: 10px 25px; |
paul@0 | 280 | } |
paul@0 | 281 | |
paul@0 | 282 | #credits li { |
paul@0 | 283 | display: inline; |
paul@0 | 284 | padding: 0 2px; |
paul@0 | 285 | margin: 0 4px; |
paul@0 | 286 | } |
paul@0 | 287 | |
paul@0 | 288 | #credits img { |
paul@0 | 289 | vertical-align: middle; |
paul@0 | 290 | } |
paul@0 | 291 | |
paul@0 | 292 | #credits a { |
paul@0 | 293 | text-decoration: none; |
paul@0 | 294 | } |
paul@8 | 295 | |
paul@9 | 296 | /* Shortlog presentation. */ |
paul@9 | 297 | |
paul@9 | 298 | .commentline { |
paul@9 | 299 | white-space: nowrap; |
paul@9 | 300 | overflow: hidden; |
paul@9 | 301 | } |
paul@9 | 302 | |
paul@8 | 303 | /* Changeset presentation. */ |
paul@8 | 304 | |
paul@9 | 305 | .changesetlinks { |
paul@9 | 306 | position: relative; |
paul@9 | 307 | padding-left: 1em; |
paul@9 | 308 | min-height: 1.2em; |
paul@9 | 309 | line-height: 1.2em; |
paul@9 | 310 | } |
paul@9 | 311 | |
paul@9 | 312 | .changesetlinks a { |
paul@9 | 313 | display: block; |
paul@9 | 314 | } |
paul@9 | 315 | |
paul@9 | 316 | /* Position changeset labels at a fixed distance from the left margin. */ |
paul@9 | 317 | |
paul@9 | 318 | .changesetparentlinks, |
paul@9 | 319 | .changesetchildlinks { |
paul@9 | 320 | position: absolute; |
paul@9 | 321 | top: 0; |
paul@9 | 322 | left: 0; |
paul@9 | 323 | } |
paul@9 | 324 | |
paul@9 | 325 | .changesetparentlinks:before { |
paul@9 | 326 | content: '???'; /* down arrow (UTF-8) */ |
paul@9 | 327 | /* content: '??? '; left arrow (UTF-8) */ |
paul@9 | 328 | } |
paul@9 | 329 | |
paul@9 | 330 | .changesetchildlinks:after { |
paul@9 | 331 | content: '???'; /* up arrow (UTF-8) */ |
paul@9 | 332 | /* content: '???'; right arrow (UTF-8) */ |
paul@8 | 333 | } |
paul@8 | 334 | |
paul@8 | 335 | .changeset { |
paul@8 | 336 | font-weight: bold; |
paul@9 | 337 | margin-left: 1em; |
paul@8 | 338 | } |
paul@8 | 339 | |
paul@8 | 340 | /* Source views. */ |
paul@8 | 341 | |
paul@8 | 342 | .source { |
paul@8 | 343 | background-color: #eee; |
paul@8 | 344 | } |
paul@8 | 345 | |
paul@11 | 346 | .file, .diff { |
paul@11 | 347 | overflow: hidden; |
paul@11 | 348 | } |
paul@11 | 349 | |
paul@8 | 350 | .plusline { |
paul@8 | 351 | color: #090; |
paul@8 | 352 | } |
paul@8 | 353 | |
paul@8 | 354 | .minusline { |
paul@8 | 355 | color: #900; |
paul@8 | 356 | } |
paul@8 | 357 | |
paul@8 | 358 | .atline { |
paul@8 | 359 | color: #990; |
paul@8 | 360 | } |