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
;
45 background: #f9f9f9 url
(headbg.jpg) 0 0 no-repeat
;
49 direction: ltr
; /* Needed for RTL flipping */
53 /* scale back up to a sane default */
67 text-decoration: none
;
78 text-decoration: underline
;
83 a
.new
, #p-personal a
.new
{
86 a
.new:visited
, #p-personal a
.new:visited
{
92 vertical-align: middle
;
95 margin: .4em 0 .5em 0;
105 background-color: #aaa;
107 margin: .2em 0 .2em 0;
110 h1
, h2
, h3
, h4
, h5
, h6
{
117 padding-bottom: .17em;
118 border-bottom: 1px solid
#aaa;
120 h1
{ font-size: 188%; }
121 h1
.editsection
{ font-size: 53%; }
122 h2
{ font-size: 150%; }
123 h2
.editsection
{ font-size: 67%; }
128 h3
{ font-size: 132%; }
129 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
130 h4
{ font-size: 116%; }
131 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
132 h5
{ font-size: 100%; }
133 h5
.editsection
{ font-weight: normal
; }
134 h6
{ font-size: 80%; }
135 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
139 list-style-type: square
;
140 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;
176 padding: 0 0.5em 0.5em;
192 input
.historysubmit
{
193 padding: 0 .3em .3em .3em !important
;
196 height: 1.7em !important
;
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
233 #contentSub, #contentSub2
{
236 margin: 0 0 1.4em 1em;
244 /* Some space under the headers in the content area */
245 #bodyContent h1
, #bodyContent h2
{
248 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
253 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
254 When bug 2013 is fixed properly, they should be removed. */
259 /* user notification thing */
261 background-color: #ffce7b;
262 border: 1px solid
#ffa500;
267 vertical-align: middle
;
281 border: 1px solid
#aaa;
282 background-color: #f9f9f9;
287 /* currently unused, intended to be used by a metadata box
288 in the bottom-right corner of the content area */
289 .documentDescription {
290 /* The summary text describing the document */
313 /* small for tables and similar */
328 border: 1px solid
#aaa;
329 background-color: #f9f9f9;
349 list-style-type: none
;
350 list-style-image: none
;
371 /* @noflip */div
.floatright
, table
.floatright
{
372 margin: 0 0 .5em .5em;
375 border: .5em solid white;
376 border-width: .5em 0 .8em 1.4em;
379 div
.floatright p
{ font-style: italic
; }
380 /* @noflip */div
.floatleft
, table
.floatleft
{
381 margin: 0 .5em .5em 0;
384 margin: .3em .5em .5em 0;
385 border: .5em solid white;
386 border-width: .5em 1.4em .8em 0;
389 div
.floatleft p
{ font-style: italic
; }
396 border: 1px solid
#ccc;
397 padding: 3px !important
;
398 background-color: #f9f9f9;
404 border: 1px solid
#ccc;
410 padding: 3px !important
;
415 border: none
!important
;
416 background: none
!important
;
418 div
.magnify a
, div
.magnify img
{
420 border: none
!important
;
421 background: none
!important
;
423 /* @noflip */div
.tright
{
424 margin: .5em 0 1.3em 1.4em;
426 /* @noflip */div
.tleft
{
427 margin: .5em 1.4em 1.3em 0;
430 border: 1px solid
#dddddd;
434 ** classes for special content elements like town boxes
435 ** intended to be referenced directly from the wiki src
441 /* table standards */
450 border: 1px solid
#aaa;
451 background-color: #f9f9f9;
466 ** keep the whitespace in front of the ^=, hides rule from konqueror
467 ** this is css3, the validator doesn't like it when validating as css2
469 #bodyContent a
.external
,
470 #bodyContent a
.external
[href ^
="gopher://"] {
472 background: url
(external-ltr
.png
) center right no-repeat
;
475 #bodyContent a
.external
[href ^
="https://"],
478 background: url
(lock_icon.gif) center right no-repeat
;
481 #bodyContent a
.external
[href ^
="mailto:"],
484 background: url
(mail_icon.gif) center right no-repeat
;
487 #bodyContent a
.external
[href ^
="news://"] {
489 background: url
(news_icon.png) center right no-repeat
;
492 #bodyContent a
.external
[href ^
="ftp://"],
495 background: url
(file_icon.gif) center right no-repeat
;
498 #bodyContent a
.external
[href ^
="irc://"],
499 #bodyContent a
.external
[href ^
="ircs://"],
502 background: url
(discussionitem_icon.gif) center right no-repeat
;
505 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
506 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
507 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
508 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
509 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
510 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
513 background: url
("audio.png") center right no-repeat
;
516 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
517 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
518 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
519 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
522 background: url
("video.png") center right no-repeat
;
525 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
526 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
527 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
530 background: url
("document.png") center right no-repeat
;
534 /* Interwiki Styling */
535 #bodyContent a
.extiw
,
536 #bodyContent a
.extiw:active
{
538 /* Don't show icons for interwiki links */
542 #bodyContent a
.extiw:visited
{
545 #bodyContent a
.extiw:active
{
550 #bodyContent a
.external
{
553 #bodyContent a
.external:visited
{
554 color: #636; /* bug 3112 */
556 #bodyContent a
.external:active
{
561 ** Structural Elements
565 ** general portlet styles (elements in the quickbar)
575 html
> body
.portlet
{
579 /* recover IEMac (might be fine with the float, but usually it's close to IE */
590 background: transparent
;
591 padding: 0 1em 0 .5em;
594 text-transform: lowercase
;
601 border: 1px solid
#2f6fab;
602 border-style: solid solid none solid
;
603 padding: 0 1em 0 1em;
604 text-transform: lowercase
;
613 background-color: white
;
615 border-collapse: collapse
;
616 border: 1px solid
#aaa;
617 padding: 0 .8em .3em .5em;
628 list-style-type: square
;
630 list-style-image: url
(bullet.gif);
645 position: absolute
; /*needed to use z-index */
659 background-repeat: no-repeat
;
660 background-position: 35% 50% !important
;
661 text-decoration: none
;
686 padding: .5em .4em .4em .4em;
689 #p-search #searchform div div
{
694 ** the personal toolbar
715 #p-personal .portlet
,
724 /* this is the ul contained in the portlet */
729 padding: 0 2em 0 3em;
748 text-decoration: none
;
750 padding-bottom: .2em;
753 #p-personal li
a:hover
{
754 background-color: white
;
755 padding-bottom: .2em;
756 text-decoration: none
;
758 #p-personal li
.active
a:hover
{
759 background-color: transparent
;
761 /* the icon in front of the user name, single quotes
762 in bg url to hide it from iemac */
767 background: url
(user.gif) top left no-repeat
;
769 text-transform: none
;
772 text-transform: lowercase
;
774 #p-personal li
.active
{
778 ** the page-related actions- page/talk, edit etc
790 border-collapse: collapse
;
800 border: 1px solid
#aaa;
807 #p-cactions li
.selected
{
808 border-color: #fabd23;
813 background-color: #fbfbfb;
816 padding: 0 .8em .3em;
820 text-decoration: none
;
822 #p-cactions li
.selected a
{
824 background-color: white
;
829 #p-cactions li
a:hover
{
831 text-decoration: none
;
832 background-color: white
;
837 #p-cactions li
.istalk
{
840 #p-cactions li
.istalk a
{
843 #p-cactions #ca-addsection a
{
847 /* offsets to distinguish the tab groups */
851 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
856 background-color: transparent
;
858 border-collapse: inherit
;
863 text-transform: lowercase
;
871 /* Override text-transform on languages where capitalization is significant */
872 .capitalize-all-nouns
.portlet h5
,
873 .capitalize-all-nouns
.portlet h6
,
874 .capitalize-all-nouns #p-personal ul
,
875 .capitalize-all-nouns #p-cactions ul li a {
876 text-transform: none
;
879 /* TODO: #t-iscite is only used by the Cite extension, come up with some
880 * system which allows extensions to add to this file on the fly
882 #t-ispermalink, #t-iscite
{
889 background-color: white
;
890 border-top: 1px solid
#fabd23;
891 border-bottom: 1px solid
#fabd23;
892 margin: .6em 0 1em 0;
893 padding: .4em 0 1.2em 0;
901 #f-poweredbyico, #f-copyrightico
{
904 top: -2px; /* Bump it up just a tad */
915 .mw-htmlform-submit {
930 background-color: #f0f0f0;
934 margin: 1px -2px 1px 2px;
936 padding: 2px 0 3px 0;
937 border: 1px solid
#fff;
938 border-right-color: #716f64;
942 list-style-type: none
;
943 list-style-image: none
;
946 #preftoc li
.selected
{
948 background-color: #f9f9f9;
949 border: 1px solid
#aaa;
956 #preftoc > li
.selected
{
965 text-decoration: none
;
967 #preftoc li
.selected a
{
969 text-decoration: none
;
973 border: 1px solid
#aaa;
976 background-color: #F9F9F9;
984 .prefsection legend {
987 .prefsection table, .prefsection legend {
988 background-color: #F9F9F9;
1001 margin-bottom: 1.5em;
1009 div#userloginForm form
,
1010 div#userlogin form#userlogin2
{
1011 margin: 0 3em 1em 0;
1012 border: 1px solid
#aaa;
1015 background-color: #f9f9f9;
1019 div#userloginForm table
,
1020 div#userlogin form#userlogin2 table
{
1021 background-color: #f9f9f9;
1024 div#userloginForm h2
,
1025 div#userlogin form#userlogin2 h2
{
1029 div#userlogin
.captcha
,
1030 div#userloginForm
.captcha
{
1031 border: 1px solid
#bbb;
1033 background-color: white
;
1036 #loginend, #signupend
{
1040 #userloginprompt, #languagelinks
{
1050 #userlogin .loginText
, #userlogin
.loginPassword
{
1054 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1059 ** IE/Mac fixes, hope to find a validating way to move this
1060 ** to a separate stylesheet. This would work but doesn't validate:
1061 ** @import("IEMacFixes.css");
1063 /* tabs: border on the a, not the div */
1064 * > html #p-cactions li
{ border: none
; }
1065 * > html #p-cactions li a
{
1066 border: 1px solid
#aaa;
1067 border-bottom: none
;
1069 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1070 /* footer icons need a fixed width */
1071 * > html #f-poweredbyico
,
1072 * > html #f-copyrightico
{ width: 88px; }
1073 * > html #bodyContent
,
1074 * > html #bodyContent pre
{
1077 padding-bottom: 25px;
1081 /* float/negative margin brokenness */
1082 * html div#footer
{margin-top: 0;}
1083 * html div#column-content
{
1087 * html div
.editsection
{ font-size: smaller
; }
1088 #pagehistory li
.selected
{ position: relative
; }
1090 /* Mac IE 5.0 fix; floated content turns invisible */
1091 * > html div#column-content
{
1094 * > html div#column-one
{
1099 * > html div#footer
{
1100 margin-left: 13.2em;
1115 .sharedUploadNotice {
1119 span
.updatedmarker
{
1121 background-color: #0f0;
1125 border: 1px solid gray
;
1126 background-color: #ffffff;
1133 .editExternallyHelp {
1144 input#wpSave
, input#wpDiff
{
1145 margin-right: 0.33em;
1154 border: 1px solid
#ccc;
1160 div#searchTargetContainer
{
1170 background: #F0F0F0;
1171 border: solid
1px blue
;
1174 div#searchTarget ul li
{
1178 div#searchTarget ul
li:before
{
1180 content: "\00BB \0020";
1183 div#searchTargetHide
{
1185 border:solid
1px black
;
1194 div
.multipageimagenavbox
{
1195 border: solid
1px silver
;
1198 background: #f0f0f0;
1201 div
.multipageimagenavbox div
.thumb
{
1207 div
.multipageimagenavbox hr
{
1211 table
.multipageimage td
{
1215 .templatesUsed { margin-top: 1.5em; }
1217 .mw-summary-preview {
1221 /* Friendlier slave lag warnings */
1222 div
.mw-lag-warn-normal
,
1223 div
.mw-lag-warn-high
{
1228 div
.mw-lag-warn-normal
{
1229 border: 1px solid
#FFCC66;
1230 background-color: #FFFFCC;
1232 div
.mw-lag-warn-high
{
1234 border: 2px solid
#FF0033;
1235 background-color: #FFCCCC;
1238 .MediaTransformError {
1239 background-color: #ccc;
1242 .MediaTransformError td {
1244 vertical-align: middle
;
1248 /* God-damned hack for the crappy layout */
1250 font-size: 127%!important
;
1253 /* Sometimes people don't want personal tools to be lowercase! */
1254 .no-text-transform {
1255 text-transform: none
;
1258 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */