2 ** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
3 ** Copyright Gabriel Wicke - http://wikidev.net/
4 ** License: GPL (http://www.gnu.org/copyleft/gpl.html)
6 ** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
7 ** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
8 ** Michael Zeltner and Geir Bækholt)
9 ** All you guys rock :)
15 margin: 0 0 .6em -12.2em;
19 margin: 2.8em 0 0 12.2em;
20 padding: 0 1em 1.5em 1em;
23 border: 1px solid #aaa;
32 /* the left column width is specified in class .portlet */
35 ** We take advantage of keyword scaling- browsers won't go below 9px
36 ** More at http://www.w3.org/2003/07/30-font-size
37 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
42 font: x-small sans-serif;
43 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
46 /* background: #f9f9f9 url(gforge47etch.jpg) 0 0 ; */
53 /* scale back up to a sane default */
72 text-decoration: none;
83 text-decoration: underline;
88 a.new, #p-personal a.new {
91 a.new:visited, #p-personal a.new:visited {
97 vertical-align: middle;
100 margin: .4em 0 .5em 0;
110 background-color: #aaa;
112 margin: .2em 0 .2em 0;
115 h1, h2, h3, h4, h5, h6 {
121 padding-bottom: .17em;
122 border-bottom: 1px solid #aaa;
124 h1 { font-size: 188%; }
125 h2 { font-size: 150%; }
130 h3 { font-size: 132%; }
131 h4 { font-size: 116%; }
132 h5 { font-size: 100%; }
133 h6 { font-size: 80%; }
137 list-style-type: square;
138 margin: .3em 0 0 1.5em;
140 list-style-image: url(bullet.gif);
144 margin: .3em 0 0 3.2em;
146 list-style-image: none;
166 border: 1px solid #2f6fab;
186 input.historysubmit {
187 padding: 0 .3em .3em .3em !important;
190 height: 1.7em !important;
196 abbr, acronym, .explain {
197 border-bottom: 1px dotted black;
203 font-family: Times, "Times New Roman", serif;
208 font-family: Times, "Times New Roman", serif;
212 background-color: #f9f9f9;
216 border: 1px dashed #2f6fab;
218 background-color: #f9f9f9;
223 ** the main content area
234 #contentSub, #contentSub2 {
237 margin: 0 0 1.4em 1em;
245 /* Some space under the headers in the content area */
246 #bodyContent h1, #bodyContent h2 {
249 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
256 /* user notification thing */
258 background-color: #ffce7b;
259 border: 1px solid #ffa500;
264 vertical-align: middle;
279 .errorbox, .successbox {
289 background-color: #fff2f2;
293 background-color: #dfd;
295 .errorbox h2, .successbox h2 {
304 border: 1px solid #aaa;
305 background-color: #f9f9f9;
310 /* currently unused, intended to be used by a metadata box
311 in the bottom-right corner of the content area */
312 .documentDescription {
313 /* The summary text describing the document */
336 /* small for tables and similar */
351 border: 1px solid #aaa;
352 background-color: #f9f9f9;
372 list-style-type: none;
373 list-style-image: none;
394 div.floatright, table.floatright {
398 margin: 0 0 .5em .5em;
401 border: .5em solid white;
402 border-width: .5em 0 .8em 1.4em;
405 div.floatright p { font-style: italic; }
406 div.floatleft, table.floatleft {
409 margin: 0 .5em .5em 0;
412 margin: .3em .5em .5em 0;
413 border: .5em solid white;
414 border-width: .5em 1.4em .8em 0;
417 div.floatleft p { font-style: italic; }
426 border: 1px solid #ccc;
427 padding: 3px !important;
428 background-color: #f9f9f9;
433 div.thumb div a img {
434 border: 1px solid #ccc;
436 div.thumb div div.thumbcaption {
440 padding: .3em 0 .1em 0;
444 border: none !important;
445 background: none !important;
447 div.magnify a, div.magnify img {
449 border: none !important;
450 background: none !important;
455 border-width: .5em 0 .8em 1.4em;
460 border-width: .5em 1.4em .8em 0;
468 vertical-align: middle;
475 ** classes for special content elements like town boxes
476 ** intended to be referenced directly from the wiki src
482 /* table standards */
491 border: 1px solid #aaa;
492 background-color: #f9f9f9;
501 border: 1px solid gray;
517 margin: .1em 0 0 1.1em;
518 background-color: #f3f3f3;
530 /* Page history styling */
531 /* the auto-generated edit comments */
535 #pagehistory span.user {
539 #pagehistory span.minor {
543 border: 1px solid white;
545 #pagehistory li.selected {
546 background-color: #f9f9f9;
547 border: 1px dashed #aaa;
553 table.diff, td.diff-otitle, td.diff-ntitle {
554 background-color: white;
560 td.diff-deletedline {
574 ** keep the whitespace in front of the ^=, hides rule from konqueror
575 ** this is css3, the validator doesn't like it when validating as css2
577 #bodyContent a.external,
578 #bodyContent a[href ^="gopher://"] {
579 background: url(external.png) center right no-repeat;
582 #bodyContent a[href ^="https://"],
584 background: url(lock_icon.gif) center right no-repeat;
587 #bodyContent a[href ^="mailto:"],
589 background: url(mail_icon.gif) center right no-repeat;
592 #bodyContent a[href ^="news://"] {
593 background: url(news_icon.png) center right no-repeat;
596 #bodyContent a[href ^="ftp://"],
598 background: url(file_icon.gif) center right no-repeat;
601 #bodyContent a[href ^="irc://"],
603 background: url(discussionitem_icon.gif) center right no-repeat;
606 /* disable interwiki styling */
607 #bodyContent a.extiw,
608 #bodyContent a.extiw:active {
613 #bodyContent a.external {
616 /* this can be used in the content area to switch off
617 special external link styling */
618 #bodyContent .plainlinks a {
619 background: none !important;
620 padding: 0 !important;
623 ** Structural Elements
627 ** general portlet styles (elements in the quickbar)
643 background: transparent;
644 padding: 0 1em 0 .5em;
647 text-transform: lowercase;
654 border: 1px solid #2f6fab;
655 border-style: solid solid none solid;
656 padding: 0 1em 0 1em;
657 text-transform: lowercase;
666 background-color: white;
668 border-collapse: collapse;
669 border: 1px solid #aaa;
670 padding: 0 .8em .3em .5em;
681 list-style-type: square;
682 list-style-image: url(bullet.gif);
696 position: absolute; /*needed to use z-index */
711 background-repeat: no-repeat;
712 background-position: 35% 50% !important;
713 text-decoration: none;
717 ** the navigation portlet
725 #p-navigation .pBody {
733 #p-navigation li.active a, #p-navigation li.active a:hover {
734 text-decoration: none;
762 padding: .5em .4em .4em .4em;
767 ** the personal toolbar
788 #p-personal .portlet,
797 /* this is the ul contained in the portlet */
802 padding: 0 2em 0 3em;
805 text-transform: lowercase;
821 #p-personal li.active {
825 text-decoration: none;
827 padding-bottom: .2em;
830 #p-personal li a:hover {
831 background-color: white;
832 padding-bottom: .2em;
833 text-decoration: none;
835 #p-personal li.active a:hover {
836 background-color: transparent;
838 /* the icon in front of the user name, single quotes
839 in bg url to hide it from iemac */
843 background: url(user.gif) top left no-repeat;
845 text-transform: none;
849 ** the page-related actions- page/talk, edit etc
861 border-collapse: collapse;
866 #p-cactions .hiddenStructure {
874 border: 1px solid #aaa;
881 #p-cactions li.selected {
882 border-color: #fabd23;
887 background-color: #fbfbfb;
890 padding: 0 .8em .3em;
891 text-decoration: none;
892 text-transform: lowercase;
897 #p-cactions li.selected a {
899 background-color: #fff;
900 padding: 0 1em .2em!important;
905 #p-cactions li a:hover {
907 text-decoration: none;
908 background-color: #fff;
913 #p-cactions li.istalk {
916 #p-cactions li.istalk a {
919 #p-cactions #ca-addsection a {
923 /* offsets to distinguish the tab groups */
927 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
932 ** the remaining portlets
940 /* TODO: #t-iscite is only used by the Cite extension, come up with some
941 * system which allows extensions to add to this file on the fly
943 #t-ispermalink, #t-iscite {
950 background-color: white;
951 border-top: 1px solid #fabd23;
952 border-bottom: 1px solid #fabd23;
953 margin: .6em 0 1em 0;
954 padding: .4em 0 1.2em 0;
962 /* hide from incapable browsers */
963 head:first-child+body #footer li { white-space: nowrap; }
964 #f-poweredbyico, #f-copyrightico {
967 top: -2px; /* Bump it up just a tad */
986 margin: 1px -2px 1px 2px;
988 padding: 2px 0 3px 0;
989 background-color: #f0f0f0;
991 border: 1px solid #fff;
992 border-right-color: #716f64;
996 list-style-type: none;
997 list-style-image: none;
1000 #preftoc li.selected {
1002 background-color: #f9f9f9;
1003 border: 1px solid #aaa;
1004 border-bottom: none;
1010 #preftoc > li.selected {
1019 text-decoration: none;
1021 #preftoc li.selected a {
1023 text-decoration: none;
1031 border: 1px solid #aaa;
1034 background-color: #F9F9F9;
1041 .prefsection fieldset {
1042 border: 1px solid #aaa;
1046 .prefsection legend {
1049 .prefsection table, .prefsection legend {
1050 background-color: #F9F9F9;
1055 div.prefsectiontip {
1058 background-color: #FFC1C1;
1065 padding-right: .3em;
1068 .preferences-login {
1070 margin-bottom: 1.5em;
1078 div#userloginForm form,
1079 div#userlogin form#userlogin2 {
1080 margin: 0 3em 1em 0;
1081 border: 1px solid #aaa;
1084 background-color: #f9f9f9;
1088 div#userloginForm table,
1089 div#userlogin form#userlogin2 table {
1090 background-color: #f9f9f9;
1093 div#userloginForm h2,
1094 div#userlogin form#userlogin2 h2 {
1098 div#userlogin .captcha {
1099 border: 1px solid #bbb;
1102 background-color: white;
1106 #userloginprompt, #languagelinks {
1116 #userlogin .loginText, #userlogin .loginPassword {
1120 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1125 ** IE/Mac fixes, hope to find a validating way to move this
1126 ** to a separate stylesheet. This would work but doesn't validate:
1127 ** @import("IEMacFixes.css");
1129 /* tabs: border on the a, not the div */
1130 * > html #p-cactions li { border: none; }
1131 * > html #p-cactions li a {
1132 border: 1px solid #aaa;
1133 border-bottom: none;
1135 * > html #p-cactions li.selected a { border-color: #fabd23; }
1136 /* footer icons need a fixed width */
1137 * > html #f-poweredbyico,
1138 * > html #f-copyrightico { width: 88px; }
1139 * > html #bodyContent,
1140 * > html #bodyContent pre {
1143 padding-bottom: 25px;
1147 /* float/negative margin brokenness */
1148 * html #footer {margin-top: 0;}
1149 * html #column-content {
1153 * html div.editsection { font-size: smaller; }
1154 #pagehistory li.selected { position: relative; }
1156 /* Mac IE 5.0 fix; floated content turns invisible */
1157 * > html #column-content {
1160 * > html #column-one {
1166 margin-left: 13.2em;
1178 background-color: #ffa;
1184 span.newpage, span.minor, span.searchmatch, span.bot {
1195 .sharedUploadNotice {
1199 span.updatedmarker {
1201 background-color: #0f0;
1203 span.newpageletter {
1206 background-color: yellow;
1208 span.minoreditletter {
1210 background-color: #c5ffe6;
1214 border: 1px solid #ccc;
1217 background-color: white;
1221 vertical-align: top;
1225 vertical-align: top;
1226 background-color: #f9f9f9;
1227 border: solid 2px white;
1230 table.gallery td.galleryheader {
1240 div.gallerybox div.thumb {
1242 border: 1px solid #ccc;
1262 border-bottom: 1px solid #aaa;
1263 padding-bottom: 1em;
1273 border: 1px solid gray;
1274 background-color: #ffffff;
1281 .editExternallyHelp {
1286 li span.deleted, span.history-deleted {
1287 text-decoration: line-through;
1297 /* Classes for EXIF data display */
1301 margin-bottom: 0.5em;
1305 table.mw_metadata caption {
1309 table.mw_metadata th {
1310 font-weight: normal;
1313 table.mw_metadata td {
1319 border-collapse: collapse;
1322 table.mw_metadata td, table.mw_metadata th {
1324 border: 1px solid #aaaaaa;
1325 padding-left: 0.1em;
1326 padding-right: 0.1em;
1329 table.mw_metadata th {
1330 background-color: #f9f9f9;
1333 table.mw_metadata td {
1334 background-color: #fcfcfc;
1337 table.collapsed tr.collapsable {
1345 border: 1px solid #aaaaaa;
1346 background-color: #f9f9f9;
1349 margin-bottom: 0.5em;
1356 list-style-type: none;
1361 input#wpSave, input#wpDiff {
1362 margin-right: 0.33em;
1365 #editform .editOptions {
1373 /* Classes for article validation */
1375 table.revisionform_default {
1376 border: 1px solid #000000;
1379 table.revisionform_focus {
1380 border: 1px solid #000000;
1381 background-color:#00BBFF;
1384 tr.revision_tr_default {
1385 background-color:#EEEEEE;
1388 tr.revision_tr_first {
1389 background-color:#DDDDDD;
1398 border: solid 1px #bbbbff;
1399 background-color: #eeeeff;
1404 /* Allmessages table */
1406 #allmessagestable th {
1407 background-color: #b2b2ff;
1410 #allmessagestable tr.orig {
1411 background-color: #ffe2e2;
1414 #allmessagestable tr.new {
1415 background-color: #e2ffe2;
1418 #allmessagestable tr.def {
1419 background-color: #f0f0ff;
1425 border: 1px solid #ccc;
1431 div#searchTargetContainer {
1441 background: #F0F0F0;
1442 border: solid 1px blue;
1445 div#searchTarget ul li {
1449 div#searchTarget ul li:before {
1451 content: "\00BB \0020";