1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/themes/mercurialwiki/css/common.css Sat May 22 21:47:16 2010 +0200
1.3 @@ -0,0 +1,550 @@
1.4 +/* common.css - MoinMoin Default Styles
1.5 +
1.6 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann
1.7 +*/
1.8 +
1.9 +/* content styles */
1.10 +
1.11 +html {
1.12 + background-color: white;
1.13 + color: black;
1.14 + font-family: sans-serif;
1.15 + font-size: 1em;
1.16 +}
1.17 +
1.18 +body {
1.19 + margin: 0;
1.20 +}
1.21 +
1.22 +/* Links */
1.23 +
1.24 +a {color: #0044B3;}
1.25 +/* a:visited {color: #597BB3;} */
1.26 +a:visited {color: #FF7BB3;}
1.27 +
1.28 +a.nonexistent:visited, a.nonexistent,
1.29 +a.badinterwiki:visited, a.badinterwiki {color: gray;}
1.30 +
1.31 +a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
1.32 +a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
1.33 +a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
1.34 +a.file:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
1.35 +a.ftp:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
1.36 +a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
1.37 +a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
1.38 +a.telnet:before, a.ssh:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
1.39 +a.irc:before, a.ircs:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
1.40 +a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
1.41 +a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
1.42 +a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
1.43 +a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
1.44 +
1.45 +dl, ol, ul {
1.46 + padding: 0 1em;
1.47 + margin: 0 0.5em;
1.48 +}
1.49 +
1.50 +li p {
1.51 + margin: 0.1em 0;
1.52 +}
1.53 +
1.54 +li.gap {
1.55 + margin-top: 0.25em;
1.56 +}
1.57 +
1.58 +dt {
1.59 + margin-top: 0.25em;
1.60 + font-weight: bold;
1.61 +}
1.62 +
1.63 +dd {
1.64 + margin-top: 0;
1.65 + margin-bottom: 0;
1.66 +}
1.67 +
1.68 +dd p {
1.69 + margin: 0.1em 0;
1.70 +}
1.71 +
1.72 +a, img, img.drawing {
1.73 + border: 0;
1.74 +}
1.75 +
1.76 +pre {
1.77 + border: 1pt solid #AEBDCC;
1.78 + background-color: #F3F5F7;
1.79 + padding: 5pt;
1.80 + font-family: courier, monospace;
1.81 + white-space: pre;
1.82 + /* begin css 3 or browser specific rules - do not remove!
1.83 + see: http://forums.techguy.org/archive/index.php/t-249849.html */
1.84 + white-space: pre-wrap;
1.85 + word-wrap: break-word;
1.86 + white-space: -moz-pre-wrap;
1.87 + white-space: -pre-wrap;
1.88 + white-space: -o-pre-wrap;
1.89 + /* end css 3 or browser specific rules */
1.90 +}
1.91 +
1.92 +pre.comment {
1.93 + background-color: #CCCCCC;
1.94 + color: red;
1.95 + padding: 0;
1.96 + margin: 0;
1.97 + border: 0;
1.98 +}
1.99 +
1.100 +pre.comment:before {
1.101 + content: url(../img/attention.png);
1.102 +}
1.103 +
1.104 +
1.105 +/* .comment css definition must be top of .red/.green/.blue or it won't work */
1.106 +.comment { color: #555555; background-color: #DDDDFF; }
1.107 +
1.108 +.red { background-color: #FFCCCC; }
1.109 +.green { background-color: #CCFFCC; }
1.110 +.blue { background-color: #CCCCFF; }
1.111 +.yellow { background-color: #FFF29F; }
1.112 +.orange { background-color: #FFD59B; }
1.113 +
1.114 +.solid { border: 2px solid #000000; padding: 2px; }
1.115 +.dashed { border: 2px dashed #000000; padding: 2px; }
1.116 +.dotted { border: 2px dotted #000000; padding: 2px; }
1.117 +
1.118 +.left { text-align: left; }
1.119 +.center { text-align: center; }
1.120 +.right { text-align: right; }
1.121 +.justify { text-align: justify; }
1.122 +
1.123 +table
1.124 +{
1.125 + margin: 0.5em 0 0 0.5em;
1.126 + border-collapse: collapse;
1.127 +}
1.128 +
1.129 +th, td
1.130 +{
1.131 + padding: 0.25em 0.5em 0.25em 0.5em;
1.132 + border: 1pt solid #ADB9CC;
1.133 +}
1.134 +
1.135 +td p {
1.136 + margin: 0;
1.137 + padding: 0;
1.138 +}
1.139 +/* TableOfContents macro */
1.140 +div.table-of-contents {
1.141 + border: 1px solid #bbbbbb;
1.142 + color: black;
1.143 + background-color: #eeeeee;
1.144 + font-size: 80%;
1.145 + text-align: left;
1.146 + margin: 0.5em 0 0.5em 1em;
1.147 + padding: 0.5em 0.75em 0.5em 0.5em;
1.148 + max-width: 50%;
1.149 + display: inline-table;
1.150 +}
1.151 +div.table-of-contents ol {
1.152 + margin: 0;
1.153 + padding: 0 0 0 2em;
1.154 +}
1.155 +div.table-of-contents ul {
1.156 + margin: 0;
1.157 + list-style:none;
1.158 +}
1.159 +div.table-of-contents li {
1.160 + margin:0;
1.161 + padding: 0;
1.162 +}
1.163 +p.table-of-contents-heading {
1.164 + font-weight:bold;
1.165 + padding:0;
1.166 + margin: 0 0 0.5em 0;
1.167 + letter-spacing: 0.075em;
1.168 +}
1.169 +
1.170 +/* Navigation macro */
1.171 +table.navigation {
1.172 + background: #fff;
1.173 + margin: 0;
1.174 +}
1.175 +
1.176 +.footnotes div {
1.177 + width: 5em;
1.178 + border-top: 1pt solid gray;
1.179 +}
1.180 +
1.181 +.footnotes ol {
1.182 + padding: 0 2em;
1.183 + margin: 0 0 1em;
1.184 +}
1.185 +
1.186 +.footnotes li {
1.187 +}
1.188 +
1.189 +.info {
1.190 + float: right;
1.191 + font-size: 0.7em;
1.192 + color: gray;
1.193 +}
1.194 +
1.195 +#pageinfo {
1.196 + margin-top: 2em;
1.197 +}
1.198 +
1.199 +.seperator {
1.200 + color: gray;
1.201 +}
1.202 +
1.203 +#pagebottom {clear: both;}
1.204 +
1.205 +/* standard rule ---- */
1.206 +hr {
1.207 + height: 1pt;
1.208 + background-color: #9C9C9C;
1.209 + border: 0;
1.210 +}
1.211 +
1.212 +/* custom rules ----- to ---------- */
1.213 +.hr1 {height: 2pt;}
1.214 +.hr2 {height: 3pt;}
1.215 +.hr3 {height: 4pt;}
1.216 +.hr4 {height: 5pt;}
1.217 +.hr5 {height: 6pt;}
1.218 +.hr6 {height: 7pt;}
1.219 +
1.220 +/* Replacement for deprecated html 3 <u> element and html 4 <strike> */
1.221 +.u {text-decoration: underline;}
1.222 +.strike {text-decoration: line-through;}
1.223 +
1.224 +/* eye catchers */
1.225 +.warning
1.226 +{
1.227 + color: red;
1.228 +}
1.229 +
1.230 +.error
1.231 +{
1.232 + color: red;
1.233 +}
1.234 +
1.235 +strong.highlight
1.236 +{
1.237 + background-color: #CCE0FF;
1.238 + padding: 1pt;
1.239 +}
1.240 +
1.241 +
1.242 +/* Recent changes */
1.243 +
1.244 +.rcrss {
1.245 + float: right;
1.246 + margin: 0 7px 0 14px;
1.247 + height: 0;
1.248 + position: relative;
1.249 + top: 9px;
1.250 +}
1.251 +*[div="rtl"] .rcrss {
1.252 + float: left;
1.253 +}
1.254 +.recentchanges[dir="rtl"] .rcrss {
1.255 + float: left;
1.256 +}
1.257 +
1.258 +.recentchanges table {
1.259 + clear: both;
1.260 + border-collapse: collapse;
1.261 +
1.262 + border: 1px solid #4d7da9;
1.263 +}
1.264 +
1.265 +.recentchanges td {
1.266 + vertical-align: top;
1.267 + border: none;
1.268 + background: #e6eaf0;
1.269 +}
1.270 +
1.271 +
1.272 +.recentchanges .rcdaybreak td {
1.273 + background: #81BBF2;
1.274 + border: none;
1.275 + border: 1px solid #4d7da9;
1.276 +}
1.277 +
1.278 +.rcdaybreak td a {
1.279 + font-size: 0.88em;
1.280 +}
1.281 +
1.282 +.rcicon1, .rcicon2 {
1.283 + text-align: center;
1.284 +}
1.285 +
1.286 +.rcpagelink {
1.287 + width: 33%;
1.288 +}
1.289 +
1.290 +.rctime {
1.291 + font-size: 0.88em;
1.292 + white-space: nowrap;
1.293 +}
1.294 +
1.295 +.rceditor {
1.296 + white-space: nowrap;
1.297 + font-size: 0.88em;
1.298 +}
1.299 +
1.300 +.rccomment {
1.301 + width: 50%;
1.302 + color: gray;
1.303 + font-size: 0.88em;
1.304 +}
1.305 +
1.306 +
1.307 +/* User Preferences */
1.308 +
1.309 +.userpref table, .userpref td {
1.310 + border: none;
1.311 +}
1.312 +
1.313 +/* CSS for new code_area markup used by Colorizer and ParserBase */
1.314 +
1.315 +div.codearea { /* the div makes the border */
1.316 + margin: 0.5em 0;
1.317 + padding: 0;
1.318 + border: 1pt solid #AEBDCC;
1.319 + background-color: #F3F5F7;
1.320 + color: black;
1.321 +}
1.322 +
1.323 +div.codearea pre { /* the pre has no border and is inside the div */
1.324 + margin: 0;
1.325 + padding: 10pt;
1.326 + border: none;
1.327 +}
1.328 +
1.329 +a.codenumbers { /* format of the line numbering link */
1.330 + margin: 0 10pt;
1.331 + font-size: 0.85em;
1.332 + color: gray;
1.333 +}
1.334 +
1.335 +/* format of certain syntax spans */
1.336 +div.codearea pre span.LineNumber {color: gray;}
1.337 +div.codearea pre span.ID {color: #000000;}
1.338 +div.codearea pre span.Operator {color: #0000C0;}
1.339 +div.codearea pre span.Char {color: #004080;}
1.340 +div.codearea pre span.Comment {color: #008000;}
1.341 +div.codearea pre span.Number {color: #0080C0;}
1.342 +div.codearea pre span.String {color: #004080;}
1.343 +div.codearea pre span.SPChar {color: #0000C0;}
1.344 +div.codearea pre span.ResWord {color: #A00000;}
1.345 +div.codearea pre span.ConsWord {color: #008080; font-weight: bold;}
1.346 +div.codearea pre span.Error {color: #FF8080; border: solid 1.5pt #FF0000;}
1.347 +div.codearea pre span.ResWord2 {color: #0080ff; font-weight: bold;}
1.348 +div.codearea pre span.Special {color: #0000ff;}
1.349 +div.codearea pre span.Preprc {color: #803999;}
1.350 +
1.351 +/* for diff parser */
1.352 +div.codearea pre span.DiffAdded {color: #4876FF;}
1.353 +div.codearea pre span.DiffRemoved {color: #FF0000;}
1.354 +div.codearea pre span.DiffChanged {color: #FF7F50;}
1.355 +div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold}
1.356 +
1.357 +/* Search results */
1.358 +.advancedsearch {
1.359 + border: 1pt solid #ADB9CC;
1.360 +}
1.361 +
1.362 +.advancedsearch td {
1.363 + vertical-align: top;
1.364 + background-color: #E7E7E7;
1.365 + border: 0px;
1.366 +}
1.367 +
1.368 +.advancedsearch td.searchfor {
1.369 + font-weight: bold;
1.370 +}
1.371 +
1.372 +.advancedsearch input {
1.373 + border: 1px solid #ADB9CC;
1.374 + background-color: #fff;
1.375 +}
1.376 +
1.377 +.advancedsearch input[disabled] {
1.378 + background-color: #eee;
1.379 +}
1.380 +
1.381 +.advancedsearch td.submit {
1.382 + border-top: 1px solid #ADB9CC;
1.383 + background-color: #fff;
1.384 + text-align: right;
1.385 +}
1.386 +
1.387 +.advancedsearch optioni,
1.388 +.advancedsearch select {
1.389 + border: 1px solid #ADB9CC;
1.390 + background-color: #fff;
1.391 +}
1.392 +
1.393 +
1.394 +.searchresults dt {
1.395 + margin-top: 1em;
1.396 + font-weight: normal;
1.397 +}
1.398 +
1.399 +.searchresults dd, .searchresults p {
1.400 + font-size: 0.85em;
1.401 +}
1.402 +
1.403 +.searchresults .searchhitinfobar {
1.404 + color: #008000;
1.405 + margin-left: 15px;
1.406 + margin-top: 0;
1.407 +}
1.408 +
1.409 +p.searchstats {
1.410 + font-size: 0.8em;
1.411 + text-align: right;
1.412 + width: 100%;
1.413 + background-color: #E6EAF0;
1.414 + border-top: 1px solid #9088DC;
1.415 + padding: 2px;
1.416 +}
1.417 +
1.418 +p.searchhint {
1.419 + background-color: #E6EAF0;
1.420 + border: 1px solid #9088DC;
1.421 + padding: 2px;
1.422 +}
1.423 +
1.424 +.searchpages {
1.425 + margin-left: auto;
1.426 + margin-right: auto;
1.427 +}
1.428 +
1.429 +.searchpages tr, .searchpages td {
1.430 + border: 0;
1.431 + padding: 5px;
1.432 + margin: 0;
1.433 + text-align: center;
1.434 + vertical-align: middle;
1.435 + color: #b93a58;
1.436 + font-weight: bold;
1.437 + font-size: 1.05em;
1.438 +}
1.439 +
1.440 +.searchpages td a, .searchpages td a:link {
1.441 + text-decoration: underline;
1.442 +}
1.443 +
1.444 +/* MonthCalendar css */
1.445 +
1.446 +/* days without and with pages linked to them */
1.447 +a.cal-emptyday {
1.448 + color: #777777;
1.449 + text-align: center;
1.450 +}
1.451 +a.cal-usedday {
1.452 + color: #000000;
1.453 + font-weight: bold;
1.454 + text-align: center;
1.455 +}
1.456 +/* general stuff: workdays, weekend, today */
1.457 +td.cal-workday {
1.458 + background-color: #DDDDFF;
1.459 + text-align: center;
1.460 +}
1.461 +td.cal-weekend {
1.462 + background-color: #FFDDDD;
1.463 + text-align: center;
1.464 +}
1.465 +td.cal-today {
1.466 + background-color: #CCFFCC;
1.467 + border-style: solid;
1.468 + border-width: 2pt;
1.469 + text-align: center;
1.470 +}
1.471 +/* invalid places on the monthly calendar sheet */
1.472 +td.cal-invalidday {
1.473 + background-color: #CCCCCC;
1.474 +}
1.475 +/* links to prev/next month/year */
1.476 +a.cal-link {
1.477 + color: #000000;
1.478 + text-decoration: none;
1.479 +}
1.480 +th.cal-header {
1.481 + background-color: #DDBBFF;
1.482 + text-align: center;
1.483 +}
1.484 +
1.485 +/* for MonthCalendar mouseover info boxes */
1.486 +TABLE.tip {
1.487 + color: black;
1.488 + background-color: #FF8888;
1.489 + font-size: small;
1.490 + font-weight: normal;
1.491 + border-style: solid;
1.492 + border-width: 1px;
1.493 +}
1.494 +
1.495 +TH.tip {
1.496 + background-color: #FF4444;
1.497 + font-weight: bold;
1.498 + text-align: center;
1.499 +}
1.500 +
1.501 +TD.tip {
1.502 + text-align: left;
1.503 +}
1.504 +*[dir="rtl"] TD.tip {
1.505 + text-align: right;
1.506 +}
1.507 +
1.508 +/* end MonthCalendar stuff */
1.509 +
1.510 +#message .hint {font-style: italic;}
1.511 +#message .info {
1.512 + float: none;
1.513 + font-size: 1em;
1.514 + color: black;
1.515 +}
1.516 +#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;}
1.517 +#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;}
1.518 +#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;}
1.519 +
1.520 +
1.521 +/* admonition start */
1.522 +#content div.caution,
1.523 +#content div.important,
1.524 +#content div.note,
1.525 +#content div.tip,
1.526 +#content div.warning {
1.527 + border: 1pt solid #E5E5E5;
1.528 + background-color: #F9F9FF;
1.529 + color: black;
1.530 +
1.531 + margin: 10pt 30pt 10pt 30pt;
1.532 + background-repeat: no-repeat;
1.533 + background-position: 8px 8px;
1.534 + min-height: 64px; /*64=48+8+8 but doesn't work with IE*/
1.535 + padding-left: 64px;
1.536 +}
1.537 +
1.538 +#content div.caution p,
1.539 +#content div.important p,
1.540 +#content div.note p,
1.541 +#content div.tip p,
1.542 +#content div.warning p {
1.543 + margin-top: 8px; /*to align text with bg graphic*/
1.544 +}
1.545 +
1.546 +#content div.tip { background-image: url("../img/admon-tip.png"); }
1.547 +#content div.note { background-image: url("../img/admon-note.png"); }
1.548 +#content div.important { background-image: url("../img/admon-important.png"); }
1.549 +#content div.caution { background-image: url("../img/admon-caution.png"); }
1.550 +#content div.warning { background-image: url("../img/admon-warning.png"); }
1.551 +
1.552 +/* admonition end */
1.553 +