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