2 ** MediaWiki 'gforge' 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
41 // CB <body> del font, background, color, margin, padding
43 font-family: sans-serif;
44 // background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
50 /* scale back up to a sane default */
52 // CB <globalWrapper> add margin, padding
54 font-family: sans-serif;
55 //background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
69 // CB <table> del white background
75 text-decoration: none;
86 text-decoration: underline;
91 a.new, #p-personal a.new {
94 a.new:visited, #p-personal a.new:visited {
100 vertical-align: middle;
103 margin: .4em 0 .5em 0;
113 background-color: #aaa;
115 margin: .2em 0 .2em 0;
118 h1, h2, h3, h4, h5, h6 {
124 padding-bottom: .17em;
125 border-bottom: 1px solid #aaa;
127 h1 { font-size: 188%; }
128 h2 { font-size: 150%; }
133 h3 { font-size: 132%; }
134 h4 { font-size: 116%; }
135 h5 { font-size: 100%; }
136 h6 { font-size: 80%; }
140 list-style-type: square;
141 margin: .3em 0 0 1.5em;
143 list-style-image: url(bullet.gif);
147 margin: .3em 0 0 3.2em;
149 list-style-image: none;
169 border: 1px solid #2f6fab;
189 input.historysubmit {
190 padding: 0 .3em .3em .3em !important;
193 height: 1.7em !important;
199 abbr, acronym, .explain {
200 border-bottom: 1px dotted black;
206 font-family: Times, "Times New Roman", serif;
211 font-family: Times, "Times New Roman", serif;
215 background-color: #f9f9f9;
219 border: 1px dashed #2f6fab;
221 background-color: #f9f9f9;
226 ** the main content area
237 #contentSub, #contentSub2 {
240 margin: 0 0 1.4em 1em;
248 /* Some space under the headers in the content area */
249 #bodyContent h1, #bodyContent h2 {
252 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
259 /* user notification thing */
261 background-color: #ffce7b;
262 border: 1px solid #ffa500;
267 vertical-align: middle;
282 .errorbox, .successbox {
292 background-color: #fff2f2;
296 background-color: #dfd;
298 .errorbox h2, .successbox h2 {
307 border: 1px solid #aaa;
308 background-color: #f9f9f9;
313 /* currently unused, intended to be used by a metadata box
314 in the bottom-right corner of the content area */
315 .documentDescription {
316 /* The summary text describing the document */
339 /* small for tables and similar */
354 border: 1px solid #aaa;
355 background-color: #f9f9f9;
375 list-style-type: none;
376 list-style-image: none;
397 div.floatright, table.floatright {
401 margin: 0 0 .5em .5em;
404 border: .5em solid white;
405 border-width: .5em 0 .8em 1.4em;
408 div.floatright p { font-style: italic; }
409 div.floatleft, table.floatleft {
412 margin: 0 .5em .5em 0;
415 margin: .3em .5em .5em 0;
416 border: .5em solid white;
417 border-width: .5em 1.4em .8em 0;
420 div.floatleft p { font-style: italic; }
429 border: 1px solid #ccc;
430 padding: 3px !important;
431 background-color: #f9f9f9;
436 div.thumb div a img {
437 border: 1px solid #ccc;
439 div.thumb div div.thumbcaption {
443 padding: .3em 0 .1em 0;
447 border: none !important;
448 background: none !important;
450 div.magnify a, div.magnify img {
452 border: none !important;
453 background: none !important;
458 border-width: .5em 0 .8em 1.4em;
463 border-width: .5em 1.4em .8em 0;
471 vertical-align: middle;
478 ** classes for special content elements like town boxes
479 ** intended to be referenced directly from the wiki src
485 /* table standards */
494 border: 1px solid #aaa;
495 background-color: #f9f9f9;
504 border: 1px solid gray;
520 margin: .1em 0 0 1.1em;
521 background-color: #f3f3f3;
533 /* Page history styling */
534 /* the auto-generated edit comments */
538 #pagehistory span.user {
542 #pagehistory span.minor {
546 border: 1px solid white;
548 #pagehistory li.selected {
549 background-color: #f9f9f9;
550 border: 1px dashed #aaa;
556 table.diff, td.diff-otitle, td.diff-ntitle {
557 background-color: white;
563 td.diff-deletedline {
577 ** keep the whitespace in front of the ^=, hides rule from konqueror
578 ** this is css3, the validator doesn't like it when validating as css2
580 #bodyContent a.external,
581 #bodyContent a[href ^="gopher://"] {
582 background: url(external.png) center right no-repeat;
585 #bodyContent a[href ^="https://"],
587 background: url(lock_icon.gif) center right no-repeat;
590 #bodyContent a[href ^="mailto:"],
592 background: url(mail_icon.gif) center right no-repeat;
595 #bodyContent a[href ^="news://"] {
596 background: url(news_icon.png) center right no-repeat;
599 #bodyContent a[href ^="ftp://"],
601 background: url(file_icon.gif) center right no-repeat;
604 #bodyContent a[href ^="irc://"],
606 background: url(discussionitem_icon.gif) center right no-repeat;
609 /* disable interwiki styling */
610 #bodyContent a.extiw,
611 #bodyContent a.extiw:active {
616 #bodyContent a.external {
619 /* this can be used in the content area to switch off
620 special external link styling */
621 #bodyContent .plainlinks a {
622 background: none !important;
623 padding: 0 !important;
626 ** Structural Elements
630 ** general portlet styles (elements in the quickbar)
646 background: transparent;
647 padding: 0 1em 0 .5em;
650 text-transform: lowercase;
657 border: 1px solid #2f6fab;
658 border-style: solid solid none solid;
659 padding: 0 1em 0 1em;
660 text-transform: lowercase;
669 background-color: white;
671 border-collapse: collapse;
672 border: 1px solid #aaa;
673 padding: 0 .8em .3em .5em;
684 list-style-type: square;
685 list-style-image: url(bullet.gif);
699 //position: absolute; /*needed to use z-index */
700 position: relative; /*needed to use z-index */
705 // CB <p-logo> move down right logo
718 background-repeat: no-repeat;
719 background-position: 35% 50% !important;
720 text-decoration: none;
724 ** the navigation portlet
733 #p-navigation .pBody {
741 #p-navigation li.active a, #p-navigation li.active a:hover {
742 text-decoration: none;
771 padding: .5em .4em .4em .4em;
776 ** the personal toolbar
784 //position: absolute;
788 // CB <p-personal> move down to right menu
801 #p-personal .portlet,
810 /* this is the ul contained in the portlet */
815 padding: 0 2em 0 3em;
818 text-transform: lowercase;
834 #p-personal li.active {
838 text-decoration: none;
840 padding-bottom: .2em;
843 #p-personal li a:hover {
844 background-color: white;
845 padding-bottom: .2em;
846 text-decoration: none;
848 #p-personal li.active a:hover {
849 background-color: transparent;
851 /* the icon in front of the user name, single quotes
852 in bg url to hide it from iemac */
856 background: url(user.gif) top left no-repeat;
858 text-transform: none;
862 ** the page-related actions- page/talk, edit etc
865 //position: absolute;
867 // CB <p-cactions> move down left tabbed menu
878 border-collapse: collapse;
883 #p-cactions .hiddenStructure {
891 border: 1px solid #aaa;
898 #p-cactions li.selected {
899 border-color: #fabd23;
904 background-color: #fbfbfb;
907 padding: 0 .8em .3em;
908 text-decoration: none;
909 text-transform: lowercase;
914 #p-cactions li.selected a {
916 background-color: #fff;
917 padding: 0 1em .2em!important;
922 #p-cactions li a:hover {
924 text-decoration: none;
925 background-color: #fff;
930 #p-cactions li.istalk {
933 #p-cactions li.istalk a {
936 #p-cactions #ca-addsection a {
940 /* offsets to distinguish the tab groups */
944 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
949 ** the remaining portlets
958 /* TODO: #t-iscite is only used by the Cite extension, come up with some
959 * system which allows extensions to add to this file on the fly
961 #t-ispermalink, #t-iscite {
968 background-color: white;
969 border-top: 1px solid #fabd23;
970 border-bottom: 1px solid #fabd23;
971 margin: .6em 0 1em 0;
972 padding: .4em 0 1.2em 0;
980 /* hide from incapable browsers */
981 head:first-child+body #footer li { white-space: nowrap; }
982 #f-poweredbyico, #f-copyrightico {
985 top: -2px; /* Bump it up just a tad */
1004 margin: 1px -2px 1px 2px;
1006 padding: 2px 0 3px 0;
1007 background-color: #f0f0f0;
1009 border: 1px solid #fff;
1010 border-right-color: #716f64;
1013 white-space: nowrap;
1014 list-style-type: none;
1015 list-style-image: none;
1018 #preftoc li.selected {
1020 background-color: #f9f9f9;
1021 border: 1px solid #aaa;
1022 border-bottom: none;
1028 #preftoc > li.selected {
1037 text-decoration: none;
1039 #preftoc li.selected a {
1041 text-decoration: none;
1049 border: 1px solid #aaa;
1052 background-color: #F9F9F9;
1059 .prefsection fieldset {
1060 border: 1px solid #aaa;
1064 .prefsection legend {
1067 .prefsection table, .prefsection legend {
1068 background-color: #F9F9F9;
1073 div.prefsectiontip {
1076 background-color: #FFC1C1;
1083 padding-right: .3em;
1086 .preferences-login {
1088 margin-bottom: 1.5em;
1096 div#userloginForm form,
1097 div#userlogin form#userlogin2 {
1098 margin: 0 3em 1em 0;
1099 border: 1px solid #aaa;
1102 background-color: #f9f9f9;
1106 div#userloginForm table,
1107 div#userlogin form#userlogin2 table {
1108 background-color: #f9f9f9;
1111 div#userloginForm h2,
1112 div#userlogin form#userlogin2 h2 {
1116 div#userlogin .captcha {
1117 border: 1px solid #bbb;
1120 background-color: white;
1124 #userloginprompt, #languagelinks {
1134 #userlogin .loginText, #userlogin .loginPassword {
1138 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1143 ** IE/Mac fixes, hope to find a validating way to move this
1144 ** to a separate stylesheet. This would work but doesn't validate:
1145 ** @import("IEMacFixes.css");
1147 /* tabs: border on the a, not the div */
1148 * > html #p-cactions li { border: none; }
1149 * > html #p-cactions li a {
1150 border: 1px solid #aaa;
1151 border-bottom: none;
1153 * > html #p-cactions li.selected a { border-color: #fabd23; }
1154 /* footer icons need a fixed width */
1155 * > html #f-poweredbyico,
1156 * > html #f-copyrightico { width: 88px; }
1157 * > html #bodyContent,
1158 * > html #bodyContent pre {
1161 padding-bottom: 25px;
1165 /* float/negative margin brokenness */
1166 * html #footer {margin-top: 0;}
1167 * html #column-content {
1171 * html div.editsection { font-size: smaller; }
1172 #pagehistory li.selected { position: relative; }
1174 /* Mac IE 5.0 fix; floated content turns invisible */
1175 * > html #column-content {
1178 * > html #column-one {
1184 margin-left: 13.2em;
1196 background-color: #ffa;
1202 span.newpage, span.minor, span.searchmatch, span.bot {
1213 .sharedUploadNotice {
1217 span.updatedmarker {
1219 background-color: #0f0;
1221 span.newpageletter {
1224 background-color: yellow;
1226 span.minoreditletter {
1228 background-color: #c5ffe6;
1232 border: 1px solid #ccc;
1235 background-color: white;
1239 vertical-align: top;
1243 vertical-align: top;
1244 background-color: #f9f9f9;
1245 border: solid 2px white;
1248 table.gallery td.galleryheader {
1258 div.gallerybox div.thumb {
1260 border: 1px solid #ccc;
1280 border-bottom: 1px solid #aaa;
1281 padding-bottom: 1em;
1291 border: 1px solid gray;
1292 background-color: #ffffff;
1299 .editExternallyHelp {
1304 li span.deleted, span.history-deleted {
1305 text-decoration: line-through;
1315 /* Classes for EXIF data display */
1319 margin-bottom: 0.5em;
1323 table.mw_metadata caption {
1327 table.mw_metadata th {
1328 font-weight: normal;
1331 table.mw_metadata td {
1337 border-collapse: collapse;
1340 table.mw_metadata td, table.mw_metadata th {
1342 border: 1px solid #aaaaaa;
1343 padding-left: 0.1em;
1344 padding-right: 0.1em;
1347 table.mw_metadata th {
1348 background-color: #f9f9f9;
1351 table.mw_metadata td {
1352 background-color: #fcfcfc;
1355 table.collapsed tr.collapsable {
1363 border: 1px solid #aaaaaa;
1364 background-color: #f9f9f9;
1367 margin-bottom: 0.5em;
1374 list-style-type: none;
1379 input#wpSave, input#wpDiff {
1380 margin-right: 0.33em;
1383 #editform .editOptions {
1391 /* Classes for article validation */
1393 table.revisionform_default {
1394 border: 1px solid #000000;
1397 table.revisionform_focus {
1398 border: 1px solid #000000;
1399 background-color:#00BBFF;
1402 tr.revision_tr_default {
1403 background-color:#EEEEEE;
1406 tr.revision_tr_first {
1407 background-color:#DDDDDD;
1416 border: solid 1px #bbbbff;
1417 background-color: #eeeeff;
1422 /* Allmessages table */
1424 #allmessagestable th {
1425 background-color: #b2b2ff;
1428 #allmessagestable tr.orig {
1429 background-color: #ffe2e2;
1432 #allmessagestable tr.new {
1433 background-color: #e2ffe2;
1436 #allmessagestable tr.def {
1437 background-color: #f0f0ff;
1443 border: 1px solid #ccc;
1449 div#searchTargetContainer {
1459 background: #F0F0F0;
1460 border: solid 1px blue;
1463 div#searchTarget ul li {
1467 div#searchTarget ul li:before {
1469 content: "\00BB \0020";