2 ** MediaWiki 'fusionforge' 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 1em 1em;
30 border: 1px solid #aaa;
34 /* the left column width is specified in class .portlet */
37 ** We take advantage of keyword scaling- browsers won't go below 9px
38 ** More at http://www.w3.org/2003/07/30-font-size
39 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
43 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
44 font: x-small sans-serif;
50 /* scale back up to a sane default */
67 /* we don't want the bottom borders of <h2>s to be visible through
69 //background-color: white;
72 /* but keep table layouts in forms clean... */
76 text-decoration: none;
87 text-decoration: underline;
92 a.new, #p-personal a.new {
95 a.new:visited, #p-personal a.new:visited {
101 vertical-align: middle;
104 margin: .4em 0 .5em 0;
114 background-color: #aaa;
116 margin: .2em 0 .2em 0;
119 h1, h2, h3, h4, h5, h6 {
125 padding-bottom: .17em;
126 border-bottom: 1px solid #aaa;
128 h1 { font-size: 188%; }
129 h1 .editsection { font-size: 53%; }
130 h2 { font-size: 150%; }
131 h2 .editsection { font-size: 67%; }
136 h3 { font-size: 132%; }
137 h3 .editsection { font-size: 76%; font-weight: normal; }
138 h4 { font-size: 116%; }
139 h4 .editsection { font-size: 86%; font-weight: normal; }
140 h5 { font-size: 100%; }
141 h5 .editsection { font-weight: normal; }
142 h6 { font-size: 80%; }
143 h6 .editsection { font-size: 125%; font-weight: normal; }
147 list-style-type: square;
148 margin: .3em 0 0 1.5em;
150 list-style-image: url(bullet.gif);
154 margin: .3em 0 0 3.2em;
156 list-style-image: none;
176 border: 1px solid #2f6fab;
183 padding: 0 0.5em 0.5em;
199 input.historysubmit {
200 padding: 0 .3em .3em .3em !important;
203 height: 1.7em !important;
209 abbr, acronym, .explain {
210 border-bottom: 1px dotted black;
216 font-family: Times, "Times New Roman", serif;
221 font-family: Times, "Times New Roman", serif;
225 background-color: #f9f9f9;
229 border: 1px dashed #2f6fab;
231 background-color: #f9f9f9;
236 ** the main content area
246 #contentSub, #contentSub2 {
249 margin: 0 0 1.4em 1em;
257 /* Some space under the headers in the content area */
258 #bodyContent h1, #bodyContent h2 {
261 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
266 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
267 When bug 2013 is fixed properly, they should be removed. */
272 /* user notification thing */
274 background-color: #ffce7b;
275 border: 1px solid #ffa500;
280 vertical-align: middle;
299 .errorbox, .successbox {
309 background-color: #fff2f2;
313 background-color: #dfd;
315 .errorbox h2, .successbox h2 {
324 border: 1px solid #aaa;
325 background-color: #f9f9f9;
330 /* currently unused, intended to be used by a metadata box
331 in the bottom-right corner of the content area */
332 .documentDescription {
333 /* The summary text describing the document */
356 /* small for tables and similar */
371 border: 1px solid #aaa;
372 background-color: #f9f9f9;
392 list-style-type: none;
393 list-style-image: none;
414 div.floatright, table.floatright {
418 margin: 0 0 .5em .5em;
421 border: .5em solid white;
422 border-width: .5em 0 .8em 1.4em;
425 div.floatright p { font-style: italic; }
426 div.floatleft, table.floatleft {
430 margin: 0 .5em .5em 0;
433 margin: .3em .5em .5em 0;
434 border: .5em solid white;
435 border-width: .5em 1.4em .8em 0;
438 div.floatleft p { font-style: italic; }
447 border: 1px solid #ccc;
448 padding: 3px !important;
449 background-color: #f9f9f9;
455 border: 1px solid #ccc;
461 padding: 3px !important;
466 border: none !important;
467 background: none !important;
469 div.magnify a, div.magnify img {
471 border: none !important;
472 background: none !important;
477 border-width: .5em 0 .8em 1.4em;
483 border-width: .5em 1.4em .8em 0;
486 border: 1px solid #dddddd;
493 ** classes for special content elements like town boxes
494 ** intended to be referenced directly from the wiki src
500 /* table standards */
509 border: 1px solid #aaa;
510 background-color: #f9f9f9;
525 ** keep the whitespace in front of the ^=, hides rule from konqueror
526 ** this is css3, the validator doesn't like it when validating as css2
528 #bodyContent a.external,
529 #bodyContent a[href ^="gopher://"] {
530 background: url(external.png) center right no-repeat;
533 .rtl #bodyContent a.external,
534 .rtl #bodyContent a[href ^="gopher://"] {
535 background-image: url(external-rtl.png);
537 #bodyContent a[href ^="https://"],
539 background: url(lock_icon.gif) center right no-repeat;
542 #bodyContent a[href ^="mailto:"],
544 background: url(mail_icon.gif) center right no-repeat;
547 #bodyContent a[href ^="news://"] {
548 background: url(news_icon.png) center right no-repeat;
551 #bodyContent a[href ^="ftp://"],
553 background: url(file_icon.gif) center right no-repeat;
556 #bodyContent a[href ^="irc://"],
557 #bodyContent a.extiw[href ^="irc://"],
559 background: url(discussionitem_icon.gif) center right no-repeat;
562 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
563 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
564 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
565 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
566 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
567 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
569 background: url("audio.png") center right no-repeat;
572 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
573 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
574 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
575 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
577 background: url("video.png") center right no-repeat;
580 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
581 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
582 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
584 background: url("document.png") center right no-repeat;
589 .rtl #bodyContent a.external {
590 background-position: left;
594 background-position: right;
599 /* correction for ltr wikis */
600 .ltr #bodyContent a.external {
604 /* disable interwiki styling */
605 #bodyContent a.extiw,
606 #bodyContent a.extiw:active {
611 #bodyContent a.external {
614 /* this can be used in the content area to switch off
615 special external link styling */
616 #bodyContent .plainlinks a {
617 background: none !important;
618 padding: 0 !important;
621 ** Structural Elements
625 ** general portlet styles (elements in the quickbar)
641 background: transparent;
642 padding: 0 1em 0 .5em;
645 text-transform: lowercase;
652 border: 1px solid #2f6fab;
653 border-style: solid solid none solid;
654 padding: 0 1em 0 1em;
655 text-transform: lowercase;
664 background-color: white;
666 border-collapse: collapse;
667 border: 1px solid #aaa;
668 padding: 0 .8em .3em .5em;
679 list-style-type: square;
680 list-style-image: url(bullet.gif);
695 position: absolute; /*needed to use z-index */
709 background-repeat: no-repeat;
710 background-position: 35% 50% !important;
711 text-decoration: none;
736 padding: .5em .4em .4em .4em;
739 #p-search #searchform div div {
744 ** the personal toolbar
765 #p-personal .portlet,
774 /* this is the ul contained in the portlet */
779 padding: 0 2em 0 3em;
798 text-decoration: none;
800 padding-bottom: .2em;
803 #p-personal li a:hover {
804 background-color: white;
805 padding-bottom: .2em;
806 text-decoration: none;
808 #p-personal li.active a:hover {
809 background-color: transparent;
811 /* the icon in front of the user name, single quotes
812 in bg url to hide it from iemac */
816 background: url(user.gif) top left no-repeat;
818 text-transform: none;
821 text-transform: lowercase;
823 #p-personal li.active {
827 ** the page-related actions- page/talk, edit etc
839 border-collapse: collapse;
849 border: 1px solid #aaa;
856 #p-cactions li.selected {
857 border-color: #fabd23;
862 background-color: #fbfbfb;
865 padding: 0 .8em .3em;
869 text-decoration: none;
871 #p-cactions li.selected a {
873 padding: 0 1em .2em!important;
874 background-color: white;
879 #p-cactions li a:hover {
881 text-decoration: none;
882 background-color: white;
887 #p-cactions li.istalk {
890 #p-cactions li.istalk a {
893 #p-cactions #ca-addsection a {
897 /* offsets to distinguish the tab groups */
901 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
906 background-color: transparent;
908 border-collapse: inherit;
912 #p-cactions .hiddenStructure {
916 text-transform: lowercase;
924 /* TODO: #t-iscite is only used by the Cite extension, come up with some
925 * system which allows extensions to add to this file on the fly
927 #t-ispermalink, #t-iscite {
934 background-color: white;
935 border-top: 1px solid #fabd23;
936 border-bottom: 1px solid #fabd23;
937 margin: .6em 0 1em 0;
938 padding: .4em 0 1.2em 0;
946 #f-poweredbyico, #f-copyrightico {
949 top: -2px; /* Bump it up just a tad */
968 background-color: #f0f0f0;
972 margin: 1px -2px 1px 2px;
974 padding: 2px 0 3px 0;
975 border: 1px solid #fff;
976 border-right-color: #716f64;
980 list-style-type: none;
981 list-style-image: none;
984 #preftoc li.selected {
986 background-color: #f9f9f9;
987 border: 1px solid #aaa;
994 #preftoc > li.selected {
1003 text-decoration: none;
1005 #preftoc li.selected a {
1007 text-decoration: none;
1015 border: 1px solid #aaa;
1018 background-color: #F9F9F9;
1025 .prefsection fieldset {
1026 border: 1px solid #aaa;
1030 .prefsection legend {
1033 .prefsection table, .prefsection legend {
1034 background-color: #F9F9F9;
1039 div.prefsectiontip {
1047 padding-right: .3em;
1050 .preferences-login {
1052 margin-bottom: 1.5em;
1060 div#userloginForm form,
1061 div#userlogin form#userlogin2 {
1062 margin: 0 3em 1em 0;
1063 border: 1px solid #aaa;
1066 background-color: #f9f9f9;
1069 .rtl div#userloginForm form,
1070 .rtl div#userlogin form#userlogin2 {
1074 div#userloginForm table,
1075 div#userlogin form#userlogin2 table {
1076 background-color: #f9f9f9;
1079 div#userloginForm h2,
1080 div#userlogin form#userlogin2 h2 {
1084 div#userlogin .captcha,
1085 div#userloginForm .captcha {
1086 border: 1px solid #bbb;
1088 background-color: white;
1091 #loginend, #signupend {
1095 #userloginprompt, #languagelinks {
1105 #userlogin .loginText, #userlogin .loginPassword {
1109 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1114 ** IE/Mac fixes, hope to find a validating way to move this
1115 ** to a separate stylesheet. This would work but doesn't validate:
1116 ** @import("IEMacFixes.css");
1118 /* tabs: border on the a, not the div */
1119 * > html #p-cactions li { border: none; }
1120 * > html #p-cactions li a {
1121 border: 1px solid #aaa;
1122 border-bottom: none;
1124 * > html #p-cactions li.selected a { border-color: #fabd23; }
1125 /* footer icons need a fixed width */
1126 * > html #f-poweredbyico,
1127 * > html #f-copyrightico { width: 88px; }
1128 * > html #bodyContent,
1129 * > html #bodyContent pre {
1132 padding-bottom: 25px;
1136 /* float/negative margin brokenness */
1137 * html #footer {margin-top: 0;}
1138 * html #column-content {
1142 * html div.editsection { font-size: smaller; }
1143 #pagehistory li.selected { position: relative; }
1145 /* Mac IE 5.0 fix; floated content turns invisible */
1146 * > html #column-content {
1149 * > html #column-one {
1155 margin-left: 13.2em;
1167 background-color: #ffa;
1174 span.newpage, span.minor, span.bot {
1182 .sharedUploadNotice {
1186 span.updatedmarker {
1188 background-color: #0f0;
1192 border: 1px solid #ccc;
1195 background-color: white;
1199 vertical-align: top;
1203 vertical-align: top;
1204 background-color: #f9f9f9;
1205 border: solid 2px white;
1207 /* Keep this temporarily so that cached pages will display right */
1208 table.gallery td.galleryheader {
1212 table.gallery caption {
1220 div.gallerybox div.thumb {
1222 border: 1px solid #ccc;
1243 border-bottom: 1px solid #aaa;
1244 padding-bottom: 1em;
1254 border: 1px solid gray;
1255 background-color: #ffffff;
1262 .editExternallyHelp {
1272 /* Classes for EXIF data display */
1276 margin-bottom: 0.5em;
1280 table.mw_metadata caption {
1284 table.mw_metadata th {
1285 font-weight: normal;
1288 table.mw_metadata td {
1294 border-collapse: collapse;
1297 table.mw_metadata td, table.mw_metadata th {
1299 border: 1px solid #aaaaaa;
1300 padding-left: 0.1em;
1301 padding-right: 0.1em;
1304 table.mw_metadata th {
1305 background-color: #f9f9f9;
1308 table.mw_metadata td {
1309 background-color: #fcfcfc;
1312 table.collapsed tr.collapsable {
1320 border: 1px solid #aaaaaa;
1321 background-color: #f9f9f9;
1324 margin-bottom: 0.5em;
1331 list-style-type: none;
1340 input#wpSave, input#wpDiff {
1341 margin-right: 0.33em;
1348 /* Classes for article validation */
1350 table.revisionform_default {
1351 border: 1px solid #000000;
1354 table.revisionform_focus {
1355 border: 1px solid #000000;
1356 background-color:#00BBFF;
1359 tr.revision_tr_default {
1360 background-color:#EEEEEE;
1363 tr.revision_tr_first {
1364 background-color:#DDDDDD;
1373 border: solid 1px #bbbbff;
1374 background-color: #eeeeff;
1379 /* Allmessages table */
1381 #allmessagestable th {
1382 background-color: #b2b2ff;
1385 #allmessagestable tr.orig {
1386 background-color: #ffe2e2;
1389 #allmessagestable tr.new {
1390 background-color: #e2ffe2;
1393 #allmessagestable tr.def {
1394 background-color: #f0f0ff;
1400 border: 1px solid #ccc;
1406 div#searchTargetContainer {
1416 background: #F0F0F0;
1417 border: solid 1px blue;
1420 div#searchTarget ul li {
1424 div#searchTarget ul li:before {
1426 content: "\00BB \0020";
1429 div#searchTargetHide {
1431 border:solid 1px black;
1440 div.multipageimagenavbox {
1441 border: solid 1px silver;
1444 background: #f0f0f0;
1447 div.multipageimagenavbox div.thumb {
1453 div.multipageimagenavbox hr {
1457 table.multipageimage td {
1461 /** Special:Version */
1463 table#sv-ext, table#sv-hooks, table#sv-software {
1468 #sv-ext td, #sv-hooks td, #sv-software td,
1469 #sv-ext th, #sv-hooks th, #sv-software th {
1470 border: 1px solid #A0A0A0;
1471 padding: 0 0.15em 0 0.15em;
1473 #sv-ext th, #sv-hooks th, #sv-software th {
1474 background-color: #F0F0F0;
1476 padding: 0 0.15em 0 0.15em;
1482 tr.sv-space td { display: none; }
1485 Table pager (e.g. Special:Imagelist)
1486 - remove underlines from the navigation link
1488 - set the borders to outsets (similar to Special:Allmessages)
1489 - remove line wrapping for all td and th, set background color
1490 - restore line wrapping for the last two table cells (description and size)
1492 .TablePager { min-width: 80%; }
1493 .TablePager_nav a { text-decoration: none; }
1494 .TablePager { border-collapse: collapse; }
1495 .TablePager, .TablePager td, .TablePager th {
1496 border: 1px solid #aaaaaa;
1497 padding: 0 0.15em 0 0.15em;
1499 .TablePager th { background-color: #eeeeff }
1500 .TablePager td { background-color: #ffffff }
1501 .TablePager tr:hover td { background-color: #eeeeff }
1503 .imagelist td, .imagelist th { white-space: nowrap }
1504 .imagelist .TablePager_col_links { background-color: #eeeeff }
1505 .imagelist .TablePager_col_img_description { white-space: normal }
1506 .imagelist th.TablePager_sort { background-color: #ccccff }
1508 .templatesUsed { margin-top: 1.5em; }
1510 .mw-summary-preview {
1514 /* Friendlier slave lag warnings */
1515 div.mw-lag-warn-normal,
1516 div.mw-lag-warn-high {
1521 div.mw-lag-warn-normal {
1522 border: 1px solid #FFCC66;
1523 background-color: #FFFFCC;
1525 div.mw-lag-warn-high {
1527 border: 2px solid #FF0033;
1528 background-color: #FFCCCC;
1531 .MediaTransformError {
1532 background-color: #ccc;
1535 .MediaTransformError td {
1537 vertical-align: middle;
1541 /** Special:Search stuff */
1542 div#mw-search-interwiki-caption {
1548 .mw-search-interwiki-project {
1551 padding-left: 0.2em;
1552 padding-right: 0.15em;
1553 padding-bottom: 0.2em;
1554 padding-top: 0.15em;
1555 background: #cae8ff;
1558 /* God-damned hack for the crappy layout */