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 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 font: x-small sans-serif;
44 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
50 /* scale back up to a sane default */
64 text-decoration: none;
75 text-decoration: underline;
80 a.new, #p-personal a.new {
83 a.new:visited, #p-personal a.new:visited {
89 vertical-align: middle;
92 margin: .4em 0 .5em 0;
102 background-color: #aaa;
104 margin: .2em 0 .2em 0;
107 h1, h2, h3, h4, h5, h6 {
114 padding-bottom: .17em;
115 border-bottom: 1px solid #aaa;
117 h1 { font-size: 188%; }
118 h1 .editsection { font-size: 53%; }
119 h2 { font-size: 150%; }
120 h2 .editsection { font-size: 67%; }
125 h3 { font-size: 132%; }
126 h3 .editsection { font-size: 76%; font-weight: normal; }
127 h4 { font-size: 116%; }
128 h4 .editsection { font-size: 86%; font-weight: normal; }
129 h5 { font-size: 100%; }
130 h5 .editsection { font-weight: normal; }
131 h6 { font-size: 80%; }
132 h6 .editsection { font-size: 125%; font-weight: normal; }
136 list-style-type: square;
137 margin: .3em 0 0 1.5em;
139 list-style-image: url(bullet.gif);
143 margin: .3em 0 0 3.2em;
145 list-style-image: none;
165 border: 1px solid #2f6fab;
172 padding: 0 0.5em 0.5em;
188 input.historysubmit {
189 padding: 0 .3em .3em .3em !important;
192 height: 1.7em !important;
199 font-family: Times, "Times New Roman", serif;
204 font-family: Times, "Times New Roman", serif;
208 background-color: #f9f9f9;
212 border: 1px dashed #2f6fab;
214 background-color: #f9f9f9;
219 ** the main content area
229 #contentSub, #contentSub2 {
232 margin: 0 0 1.4em 1em;
240 /* Some space under the headers in the content area */
241 #bodyContent h1, #bodyContent h2 {
244 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
249 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
250 When bug 2013 is fixed properly, they should be removed. */
255 /* user notification thing */
257 background-color: #ffce7b;
258 border: 1px solid #ffa500;
263 vertical-align: middle;
276 border: 1px solid #aaa;
277 background-color: #f9f9f9;
282 /* currently unused, intended to be used by a metadata box
283 in the bottom-right corner of the content area */
284 .documentDescription {
285 /* The summary text describing the document */
308 /* small for tables and similar */
323 border: 1px solid #aaa;
324 background-color: #f9f9f9;
344 list-style-type: none;
345 list-style-image: none;
366 div.floatright, table.floatright {
370 margin: 0 0 .5em .5em;
373 border: .5em solid white;
374 border-width: .5em 0 .8em 1.4em;
377 div.floatright p { font-style: italic; }
378 div.floatleft, table.floatleft {
382 margin: 0 .5em .5em 0;
385 margin: .3em .5em .5em 0;
386 border: .5em solid white;
387 border-width: .5em 1.4em .8em 0;
390 div.floatleft p { font-style: italic; }
397 border: 1px solid #ccc;
398 padding: 3px !important;
399 background-color: #f9f9f9;
405 border: 1px solid #ccc;
411 padding: 3px !important;
416 border: none !important;
417 background: none !important;
419 div.magnify a, div.magnify img {
421 border: none !important;
422 background: none !important;
427 margin: .5em 0 1.3em 1.4em;
432 margin: .5em 1.4em 1.3em 0;
435 border: 1px solid #dddddd;
442 ** classes for special content elements like town boxes
443 ** intended to be referenced directly from the wiki src
449 /* table standards */
458 border: 1px solid #aaa;
459 background-color: #f9f9f9;
474 ** keep the whitespace in front of the ^=, hides rule from konqueror
475 ** this is css3, the validator doesn't like it when validating as css2
477 #bodyContent a.external,
478 #bodyContent a.external[href ^="gopher://"] {
479 background: url(external.png) center right no-repeat;
482 .rtl #bodyContent a.external,
483 .rtl #bodyContent a.external[href ^="gopher://"] {
484 background-image: url(external-rtl.png);
486 #bodyContent a.external[href ^="https://"],
488 background: url(lock_icon.gif) center right no-repeat;
491 #bodyContent a.external[href ^="mailto:"],
493 background: url(mail_icon.gif) center right no-repeat;
496 #bodyContent a.external[href ^="news://"] {
497 background: url(news_icon.png) center right no-repeat;
500 #bodyContent a.external[href ^="ftp://"],
502 background: url(file_icon.gif) center right no-repeat;
505 #bodyContent a.external[href ^="irc://"],
507 background: url(discussionitem_icon.gif) center right no-repeat;
510 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
511 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
512 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
513 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
514 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
515 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
517 background: url("audio.png") center right no-repeat;
520 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
521 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
522 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
523 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
525 background: url("video.png") center right no-repeat;
528 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
529 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
530 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
532 background: url("document.png") center right no-repeat;
537 .rtl #bodyContent a.external {
538 background-position: left;
542 background-position: right;
547 /* correction for ltr wikis */
548 .ltr #bodyContent a.external {
552 /* disable interwiki styling */
553 #bodyContent a.extiw,
554 #bodyContent a.extiw:active {
557 #bodyContent a.external {
561 ** Structural Elements
565 ** general portlet styles (elements in the quickbar)
581 background: transparent;
582 padding: 0 1em 0 .5em;
585 text-transform: lowercase;
592 border: 1px solid #2f6fab;
593 border-style: solid solid none solid;
594 padding: 0 1em 0 1em;
595 text-transform: lowercase;
604 background-color: white;
606 border-collapse: collapse;
607 border: 1px solid #aaa;
608 padding: 0 .8em .3em .5em;
619 list-style-type: square;
620 list-style-image: url(bullet.gif);
635 position: absolute; /*needed to use z-index */
649 background-repeat: no-repeat;
650 background-position: 35% 50% !important;
651 text-decoration: none;
676 padding: .5em .4em .4em .4em;
679 #p-search #searchform div div {
684 ** the personal toolbar
705 #p-personal .portlet,
714 /* this is the ul contained in the portlet */
719 padding: 0 2em 0 3em;
738 text-decoration: none;
740 padding-bottom: .2em;
743 #p-personal li a:hover {
744 background-color: white;
745 padding-bottom: .2em;
746 text-decoration: none;
748 #p-personal li.active a:hover {
749 background-color: transparent;
751 /* the icon in front of the user name, single quotes
752 in bg url to hide it from iemac */
756 background: url(user.gif) top left no-repeat;
758 text-transform: none;
761 text-transform: lowercase;
763 #p-personal li.active {
767 ** the page-related actions- page/talk, edit etc
779 border-collapse: collapse;
789 border: 1px solid #aaa;
796 #p-cactions li.selected {
797 border-color: #fabd23;
802 background-color: #fbfbfb;
805 padding: 0 .8em .3em;
809 text-decoration: none;
811 #p-cactions li.selected a {
813 background-color: white;
818 #p-cactions li a:hover {
820 text-decoration: none;
821 background-color: white;
826 #p-cactions li.istalk {
829 #p-cactions li.istalk a {
832 #p-cactions #ca-addsection a {
836 /* offsets to distinguish the tab groups */
840 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
845 background-color: transparent;
847 border-collapse: inherit;
851 #p-cactions .hiddenStructure {
855 text-transform: lowercase;
863 /* Override text-transform on languages where capitalization is significant */
864 .capitalize-all-nouns .portlet h5,
865 .capitalize-all-nouns .portlet h6,
866 .capitalize-all-nouns #p-personal ul,
867 .capitalize-all-nouns #p-cactions ul li a {
868 text-transform: none;
871 /* TODO: #t-iscite is only used by the Cite extension, come up with some
872 * system which allows extensions to add to this file on the fly
874 #t-ispermalink, #t-iscite {
881 background-color: white;
882 border-top: 1px solid #fabd23;
883 border-bottom: 1px solid #fabd23;
884 margin: .6em 0 1em 0;
885 padding: .4em 0 1.2em 0;
893 #f-poweredbyico, #f-copyrightico {
896 top: -2px; /* Bump it up just a tad */
907 .mw-htmlform-submit {
922 background-color: #f0f0f0;
926 margin: 1px -2px 1px 2px;
928 padding: 2px 0 3px 0;
929 border: 1px solid #fff;
930 border-right-color: #716f64;
934 list-style-type: none;
935 list-style-image: none;
938 #preftoc li.selected {
940 background-color: #f9f9f9;
941 border: 1px solid #aaa;
948 #preftoc > li.selected {
957 text-decoration: none;
959 #preftoc li.selected a {
961 text-decoration: none;
965 border: 1px solid #aaa;
968 background-color: #F9F9F9;
976 .prefsection legend {
979 .prefsection table, .prefsection legend {
980 background-color: #F9F9F9;
993 margin-bottom: 1.5em;
1001 div#userloginForm form,
1002 div#userlogin form#userlogin2 {
1003 margin: 0 3em 1em 0;
1004 border: 1px solid #aaa;
1007 background-color: #f9f9f9;
1010 .rtl div#userloginForm form,
1011 .rtl div#userlogin form#userlogin2 {
1015 div#userloginForm table,
1016 div#userlogin form#userlogin2 table {
1017 background-color: #f9f9f9;
1020 div#userloginForm h2,
1021 div#userlogin form#userlogin2 h2 {
1025 div#userlogin .captcha,
1026 div#userloginForm .captcha {
1027 border: 1px solid #bbb;
1029 background-color: white;
1032 #loginend, #signupend {
1036 #userloginprompt, #languagelinks {
1046 #userlogin .loginText, #userlogin .loginPassword {
1050 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1055 ** IE/Mac fixes, hope to find a validating way to move this
1056 ** to a separate stylesheet. This would work but doesn't validate:
1057 ** @import("IEMacFixes.css");
1059 /* tabs: border on the a, not the div */
1060 * > html #p-cactions li { border: none; }
1061 * > html #p-cactions li a {
1062 border: 1px solid #aaa;
1063 border-bottom: none;
1065 * > html #p-cactions li.selected a { border-color: #fabd23; }
1066 /* footer icons need a fixed width */
1067 * > html #f-poweredbyico,
1068 * > html #f-copyrightico { width: 88px; }
1069 * > html #bodyContent,
1070 * > html #bodyContent pre {
1073 padding-bottom: 25px;
1077 /* float/negative margin brokenness */
1078 * html div#footer {margin-top: 0;}
1079 * html div#column-content {
1083 * html div.editsection { font-size: smaller; }
1084 #pagehistory li.selected { position: relative; }
1086 /* Mac IE 5.0 fix; floated content turns invisible */
1087 * > html div#column-content {
1090 * > html div#column-one {
1095 * > html div#footer {
1096 margin-left: 13.2em;
1111 .sharedUploadNotice {
1115 span.updatedmarker {
1117 background-color: #0f0;
1121 border: 1px solid gray;
1122 background-color: #ffffff;
1129 .editExternallyHelp {
1140 input#wpSave, input#wpDiff {
1141 margin-right: 0.33em;
1150 border: 1px solid #ccc;
1156 div#searchTargetContainer {
1166 background: #F0F0F0;
1167 border: solid 1px blue;
1170 div#searchTarget ul li {
1174 div#searchTarget ul li:before {
1176 content: "\00BB \0020";
1179 div#searchTargetHide {
1181 border:solid 1px black;
1190 div.multipageimagenavbox {
1191 border: solid 1px silver;
1194 background: #f0f0f0;
1197 div.multipageimagenavbox div.thumb {
1203 div.multipageimagenavbox hr {
1207 table.multipageimage td {
1211 .templatesUsed { margin-top: 1.5em; }
1213 .mw-summary-preview {
1217 /* Friendlier slave lag warnings */
1218 div.mw-lag-warn-normal,
1219 div.mw-lag-warn-high {
1224 div.mw-lag-warn-normal {
1225 border: 1px solid #FFCC66;
1226 background-color: #FFFFCC;
1228 div.mw-lag-warn-high {
1230 border: 2px solid #FF0033;
1231 background-color: #FFCCCC;
1234 .MediaTransformError {
1235 background-color: #ccc;
1238 .MediaTransformError td {
1240 vertical-align: middle;
1244 /* God-damned hack for the crappy layout */
1249 /* Sometimes people don't want personal tools to be lowercase! */
1250 .no-text-transform {
1251 text-transform: none;
1254 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */