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@1 | 68 | /* Styling of headings from the main site. */ |
paul@1 | 69 | |
paul@1 | 70 | h1 { font-size: 2em; } |
paul@1 | 71 | h2 { font-size: 1.6em; } |
paul@1 | 72 | h3 { font-size: 1.3em; } |
paul@1 | 73 | |
paul@4 | 74 | /* Repository information. */ |
paul@4 | 75 | |
paul@8 | 76 | span.tag, |
paul@8 | 77 | span.branch, |
paul@8 | 78 | span.inbranch { |
paul@8 | 79 | padding: 0.25em 0.5em; |
paul@8 | 80 | white-space: nowrap; |
paul@8 | 81 | } |
paul@8 | 82 | |
paul@4 | 83 | span.tag { |
paul@4 | 84 | background: #f1b500; |
paul@4 | 85 | } |
paul@4 | 86 | |
paul@8 | 87 | span.branch, |
paul@8 | 88 | span.branch-open { |
paul@4 | 89 | background: #b5f1b5; |
paul@4 | 90 | } |
paul@4 | 91 | |
paul@8 | 92 | span.inbranch, |
paul@8 | 93 | span.branch-inactive { |
paul@4 | 94 | background: #b5b5b5; |
paul@8 | 95 | } |
paul@8 | 96 | |
paul@8 | 97 | span.branch-open, |
paul@8 | 98 | span.branch-closed, |
paul@8 | 99 | span.branch-inactive { |
paul@4 | 100 | padding: 0.25em 0.5em; |
paul@4 | 101 | } |
paul@4 | 102 | |
paul@7 | 103 | span.branch-closed { |
paul@8 | 104 | background-color: #f1b5b5; |
paul@7 | 105 | } |
paul@7 | 106 | |
paul@8 | 107 | span.inbranch a, |
paul@8 | 108 | span.branch a, |
paul@8 | 109 | span.branch-open a, |
paul@7 | 110 | span.branch-closed a, |
paul@7 | 111 | span.branch-inactive a { |
paul@7 | 112 | color: #000; |
paul@7 | 113 | } |
paul@7 | 114 | |
paul@0 | 115 | /* Navigational and editing controls. */ |
paul@0 | 116 | |
paul@5 | 117 | @media print { |
paul@5 | 118 | #header { |
paul@5 | 119 | display: none; |
paul@5 | 120 | } |
paul@5 | 121 | } |
paul@5 | 122 | |
paul@0 | 123 | .controls { |
paul@0 | 124 | float: right; |
paul@0 | 125 | text-align: right; |
paul@0 | 126 | } |
paul@0 | 127 | |
paul@0 | 128 | #navibar { |
paul@0 | 129 | display: inline-block; |
paul@0 | 130 | margin: 17px 0 2px 0; |
paul@0 | 131 | padding: 0; |
paul@0 | 132 | vertical-align: bottom; |
paul@0 | 133 | } |
paul@0 | 134 | |
paul@0 | 135 | #navibar li { |
paul@0 | 136 | display: inline; |
paul@0 | 137 | margin: 0; |
paul@0 | 138 | padding: 0; |
paul@0 | 139 | } |
paul@0 | 140 | |
paul@6 | 141 | #navibar li form { |
paul@6 | 142 | display: inline; |
paul@6 | 143 | } |
paul@6 | 144 | |
paul@4 | 145 | #navibar a, #navibar li.current span, .navigation a { |
paul@4 | 146 | color: #fff; |
paul@4 | 147 | text-decoration: none; |
paul@4 | 148 | } |
paul@4 | 149 | |
paul@6 | 150 | #navibar a { |
paul@4 | 151 | background: #999; |
paul@4 | 152 | } |
paul@4 | 153 | |
paul@4 | 154 | .navigation a { |
paul@4 | 155 | background: #ccc; |
paul@4 | 156 | } |
paul@4 | 157 | |
paul@8 | 158 | .pager { |
paul@8 | 159 | float: right; |
paul@8 | 160 | } |
paul@8 | 161 | |
paul@0 | 162 | #navibar a, #navibar li.current span { |
paul@0 | 163 | |
paul@0 | 164 | /* Need a block to redefine the height. */ |
paul@0 | 165 | |
paul@0 | 166 | display: inline-block; |
paul@0 | 167 | height: 42px; |
paul@0 | 168 | line-height: 42px; |
paul@0 | 169 | |
paul@0 | 170 | margin: 0; |
paul@0 | 171 | padding: 0 16px; |
paul@0 | 172 | } |
paul@0 | 173 | |
paul@4 | 174 | .navigation a { |
paul@4 | 175 | padding: 0.25em 0.5em; |
paul@4 | 176 | } |
paul@4 | 177 | |
paul@4 | 178 | #navibar a:hover, #navibar a:focus, #navibar li.current a, #navibar li.current span, |
paul@4 | 179 | .navigation a:hover, .navigation a:focus { |
paul@0 | 180 | background: #00b5f1; |
paul@2 | 181 | } |
paul@2 | 182 | |
paul@4 | 183 | #navibar a:hover, #navibar a:focus, #navibar li.current a, |
paul@4 | 184 | .navigation a:hover, .navigation a:focus { |
paul@0 | 185 | text-decoration: none; |
paul@0 | 186 | } |
paul@0 | 187 | |
paul@0 | 188 | /* Other elements. */ |
paul@0 | 189 | |
paul@0 | 190 | #logo { |
paul@0 | 191 | float: left; |
paul@0 | 192 | margin: 0; |
paul@0 | 193 | padding: 0; |
paul@0 | 194 | |
paul@0 | 195 | /* For text only logo */ |
paul@0 | 196 | |
paul@0 | 197 | font-size: larger; |
paul@0 | 198 | font-weight: bold; |
paul@0 | 199 | } |
paul@0 | 200 | |
paul@0 | 201 | #logo img { |
paul@0 | 202 | vertical-align: bottom; |
paul@0 | 203 | } |
paul@0 | 204 | |
paul@0 | 205 | #logo a { |
paul@0 | 206 | color: black; |
paul@0 | 207 | text-decoration: none; |
paul@0 | 208 | } |
paul@0 | 209 | |
paul@6 | 210 | #navibar form span.container { |
paul@6 | 211 | position: relative; |
paul@0 | 212 | display: inline-block; |
paul@0 | 213 | |
paul@0 | 214 | /* Margin and padding correspond to the navibar settings. */ |
paul@0 | 215 | |
paul@1 | 216 | margin: 0; |
paul@0 | 217 | background: #999; |
paul@0 | 218 | |
paul@0 | 219 | /* Height settings correspond to navibar list entries. */ |
paul@0 | 220 | |
paul@0 | 221 | height: 42px; |
paul@0 | 222 | line-height: 42px; |
paul@0 | 223 | } |
paul@0 | 224 | |
paul@6 | 225 | form#searchform span.container { |
paul@6 | 226 | |
paul@6 | 227 | /* Margin and padding correspond to the navibar settings. */ |
paul@6 | 228 | |
paul@6 | 229 | padding: 0 16px; |
paul@6 | 230 | } |
paul@6 | 231 | |
paul@2 | 232 | #searchform span.container span.hint { |
paul@2 | 233 | display: none; |
paul@2 | 234 | } |
paul@2 | 235 | |
paul@2 | 236 | #searchform span.container:hover span.hint { |
paul@2 | 237 | display: block; |
paul@2 | 238 | position: absolute; |
paul@2 | 239 | top: 42px; |
paul@2 | 240 | left: 16px; |
paul@8 | 241 | z-index: 3; |
paul@2 | 242 | |
paul@2 | 243 | padding: 0 16px; |
paul@2 | 244 | |
paul@2 | 245 | background: #00b5f1; |
paul@2 | 246 | color: #fff; |
paul@2 | 247 | } |
paul@2 | 248 | |
paul@0 | 249 | #searchform input { |
paul@0 | 250 | vertical-align: middle; |
paul@0 | 251 | } |
paul@0 | 252 | |
paul@1 | 253 | #searchform label { |
paul@0 | 254 | font-size: smaller; |
paul@0 | 255 | color: #fff; |
paul@0 | 256 | } |
paul@0 | 257 | |
paul@0 | 258 | #pageline, .pageline { |
paul@0 | 259 | |
paul@0 | 260 | /* Prevent mixing of header and content elements. */ |
paul@0 | 261 | |
paul@0 | 262 | clear: both; |
paul@0 | 263 | margin: 0; |
paul@0 | 264 | padding: 0; |
paul@0 | 265 | border-bottom: 1px solid #ccc; |
paul@0 | 266 | } |
paul@0 | 267 | |
paul@0 | 268 | #credits { |
paul@0 | 269 | float: right; |
paul@0 | 270 | |
paul@0 | 271 | /* Styling similar to the main site. */ |
paul@0 | 272 | |
paul@0 | 273 | font-family: Verdana, Helvetica, Arial, sans-serif; |
paul@0 | 274 | font-size: .6428em; |
paul@0 | 275 | padding: 10px 25px; |
paul@0 | 276 | } |
paul@0 | 277 | |
paul@0 | 278 | #credits li { |
paul@0 | 279 | display: inline; |
paul@0 | 280 | padding: 0 2px; |
paul@0 | 281 | margin: 0 4px; |
paul@0 | 282 | } |
paul@0 | 283 | |
paul@0 | 284 | #credits img { |
paul@0 | 285 | vertical-align: middle; |
paul@0 | 286 | } |
paul@0 | 287 | |
paul@0 | 288 | #credits a { |
paul@0 | 289 | text-decoration: none; |
paul@0 | 290 | } |
paul@8 | 291 | |
paul@8 | 292 | /* Changeset presentation. */ |
paul@8 | 293 | |
paul@8 | 294 | .changesetparentlink:before { |
paul@8 | 295 | content: '??? '; /* left arrow (UTF-8) */ |
paul@8 | 296 | } |
paul@8 | 297 | |
paul@8 | 298 | .changeset { |
paul@8 | 299 | font-weight: bold; |
paul@8 | 300 | } |
paul@8 | 301 | |
paul@8 | 302 | .changesetchildlink:after { |
paul@8 | 303 | content: '???'; /* right arrow (UTF-8) */ |
paul@8 | 304 | } |
paul@8 | 305 | |
paul@8 | 306 | /* Source views. */ |
paul@8 | 307 | |
paul@8 | 308 | .source { |
paul@8 | 309 | background-color: #eee; |
paul@8 | 310 | } |
paul@8 | 311 | |
paul@8 | 312 | .plusline { |
paul@8 | 313 | color: #090; |
paul@8 | 314 | } |
paul@8 | 315 | |
paul@8 | 316 | .minusline { |
paul@8 | 317 | color: #900; |
paul@8 | 318 | } |
paul@8 | 319 | |
paul@8 | 320 | .atline { |
paul@8 | 321 | color: #990; |
paul@8 | 322 | } |