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;
241 #contentSub:empty
, #
contentSub2:empty
{
249 /* Some space under the headers in the content area */
250 #bodyContent h1
, #bodyContent h2
{
253 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
258 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
259 When bug 2013 is fixed properly, they should be removed. */
264 /* user notification thing */
266 background-color: #ffce7b;
267 border: 1px solid
#ffa500;
272 vertical-align: middle
;
286 border: 1px solid
#aaa;
287 background-color: #f9f9f9;
292 /* currently unused, intended to be used by a metadata box
293 in the bottom-right corner of the content area */
294 .documentDescription {
295 /* The summary text describing the document */
318 /* small for tables and similar */
333 border: 1px solid
#aaa;
334 background-color: #f9f9f9;
354 list-style-type: none
;
355 list-style-image: none
;
376 /* @noflip */div
.floatright
, table
.floatright
{
377 margin: 0 0 .5em .5em;
380 border: .5em solid white;
381 border-width: .5em 0 .8em 1.4em;
384 div
.floatright p
{ font-style: italic
; }
385 /* @noflip */div
.floatleft
, table
.floatleft
{
386 margin: 0 .5em .5em 0;
389 margin: .3em .5em .5em 0;
390 border: .5em solid white;
391 border-width: .5em 1.4em .8em 0;
394 div
.floatleft p
{ font-style: italic
; }
401 border: 1px solid
#ccc;
402 padding: 3px !important
;
403 background-color: #f9f9f9;
409 border: 1px solid
#ccc;
415 padding: 3px !important
;
420 border: none
!important
;
421 background: none
!important
;
423 div
.magnify a
, div
.magnify img
{
425 border: none
!important
;
426 background: none
!important
;
428 /* @noflip */div
.tright
{
429 margin: .5em 0 1.3em 1.4em;
431 /* @noflip */div
.tleft
{
432 margin: .5em 1.4em 1.3em 0;
435 border: 1px solid
#dddddd;
439 ** classes for special content elements like town boxes
440 ** intended to be referenced directly from the wiki src
446 /* table standards */
455 border: 1px solid
#aaa;
456 background-color: #f9f9f9;
471 ** keep the whitespace in front of the ^=, hides rule from konqueror
472 ** this is css3, the validator doesn't like it when validating as css2
474 #bodyContent a
.external
,
475 #bodyContent a
.external
[href ^
="gopher://"] {
477 background: url
(external-ltr
.png
) center right no-repeat
;
480 #bodyContent a
.external
[href ^
="https://"],
483 background: url
(lock_icon.gif) center right no-repeat
;
486 #bodyContent a
.external
[href ^
="mailto:"],
489 background: url
(mail_icon.gif) center right no-repeat
;
492 #bodyContent a
.external
[href ^
="news://"] {
494 background: url
(news_icon.png) center right no-repeat
;
497 #bodyContent a
.external
[href ^
="ftp://"],
500 background: url
(file_icon.gif) center right no-repeat
;
503 #bodyContent a
.external
[href ^
="irc://"],
504 #bodyContent a
.external
[href ^
="ircs://"],
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"],
518 background: url
("audio.png") center right no-repeat
;
521 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
522 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
523 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
524 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
527 background: url
("video.png") center right no-repeat
;
530 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
531 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
532 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
535 background: url
("document.png") center right no-repeat
;
539 /* Interwiki Styling */
540 #bodyContent a
.extiw
,
541 #bodyContent a
.extiw:active
{
543 /* Don't show icons for interwiki links */
547 #bodyContent a
.extiw:visited
{
550 #bodyContent a
.extiw:active
{
555 #bodyContent a
.external
{
558 #bodyContent a
.external:visited
{
559 color: #636; /* bug 3112 */
561 #bodyContent a
.external:active
{
566 ** Structural Elements
570 ** general portlet styles (elements in the quickbar)
580 html
> body
.portlet
{
584 /* recover IEMac (might be fine with the float, but usually it's close to IE */
595 background: transparent
;
596 padding: 0 1em 0 .5em;
599 text-transform: lowercase
;
606 border: 1px solid
#2f6fab;
607 border-style: solid solid none solid
;
608 padding: 0 1em 0 1em;
609 text-transform: lowercase
;
618 background-color: white
;
620 border-collapse: collapse
;
621 border: 1px solid
#aaa;
622 padding: 0 .8em .3em .5em;
633 list-style-type: square
;
635 list-style-image: url
(bullet.gif);
650 position: absolute
; /*needed to use z-index */
664 background-repeat: no-repeat
;
665 background-position: 35% 50% !important
;
666 text-decoration: none
;
691 padding: .5em .4em .4em .4em;
694 #p-search #searchform div div
{
699 ** the personal toolbar
720 #p-personal .portlet
,
729 /* this is the ul contained in the portlet */
734 padding: 0 2em 0 3em;
753 text-decoration: none
;
755 padding-bottom: .2em;
758 #p-personal li
a:hover
{
759 background-color: white
;
760 padding-bottom: .2em;
761 text-decoration: none
;
763 #p-personal li
.active
a:hover
{
764 background-color: transparent
;
766 /* the icon in front of the user name, single quotes
767 in bg url to hide it from iemac */
772 background: url
(user.gif) top left no-repeat
;
774 text-transform: none
;
777 text-transform: lowercase
;
779 #p-personal li
.active
{
783 ** the page-related actions- page/talk, edit etc
795 border-collapse: collapse
;
805 border: 1px solid
#aaa;
812 #p-cactions li
.selected
{
813 border-color: #fabd23;
818 background-color: #fbfbfb;
821 padding: 0 .8em .3em;
825 text-decoration: none
;
827 #p-cactions li
.selected a
{
829 background-color: white
;
834 #p-cactions li
a:hover
{
836 text-decoration: none
;
837 background-color: white
;
842 #p-cactions li
.istalk
{
845 #p-cactions li
.istalk a
{
848 #p-cactions #ca-addsection a
{
852 /* offsets to distinguish the tab groups */
856 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
861 background-color: transparent
;
863 border-collapse: inherit
;
868 text-transform: lowercase
;
876 /* Override text-transform on languages where capitalization is significant */
877 .capitalize-all-nouns
.portlet h5
,
878 .capitalize-all-nouns
.portlet h6
,
879 .capitalize-all-nouns #p-personal ul
,
880 .capitalize-all-nouns #p-cactions ul li a {
881 text-transform: none
;
884 /* TODO: #t-iscite is only used by the Cite extension, come up with some
885 * system which allows extensions to add to this file on the fly
887 #t-ispermalink, #t-iscite
{
894 background-color: white
;
895 border-top: 1px solid
#fabd23;
896 border-bottom: 1px solid
#fabd23;
897 margin: .6em 0 1em 0;
898 padding: .4em 0 1.2em 0;
906 #f-poweredbyico, #f-copyrightico
{
909 top: -2px; /* Bump it up just a tad */
920 .mw-htmlform-submit {
935 background-color: #f0f0f0;
939 margin: 1px -2px 1px 2px;
941 padding: 2px 0 3px 0;
942 border: 1px solid
#fff;
943 border-right-color: #716f64;
947 list-style-type: none
;
948 list-style-image: none
;
951 #preftoc li
.selected
{
953 background-color: #f9f9f9;
954 border: 1px solid
#aaa;
961 #preftoc > li
.selected
{
970 text-decoration: none
;
972 #preftoc li
.selected a
{
974 text-decoration: none
;
978 border: 1px solid
#aaa;
981 background-color: #F9F9F9;
989 .prefsection legend {
992 .prefsection table, .prefsection legend {
993 background-color: #F9F9F9;
1004 .preferences-login {
1006 margin-bottom: 1.5em;
1014 div#userloginForm form
,
1015 div#userlogin form#userlogin2
{
1016 margin: 0 3em 1em 0;
1017 border: 1px solid
#aaa;
1020 background-color: #f9f9f9;
1024 div#userloginForm table
,
1025 div#userlogin form#userlogin2 table
{
1026 background-color: #f9f9f9;
1029 div#userloginForm h2
,
1030 div#userlogin form#userlogin2 h2
{
1034 div#userlogin
.captcha
,
1035 div#userloginForm
.captcha
{
1036 border: 1px solid
#bbb;
1038 background-color: white
;
1041 #loginend, #signupend
{
1045 #userloginprompt, #languagelinks
{
1055 #userlogin .loginText
, #userlogin
.loginPassword
{
1059 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1064 ** IE/Mac fixes, hope to find a validating way to move this
1065 ** to a separate stylesheet. This would work but doesn't validate:
1066 ** @import("IEMacFixes.css");
1068 /* tabs: border on the a, not the div */
1069 * > html #p-cactions li
{ border: none
; }
1070 * > html #p-cactions li a
{
1071 border: 1px solid
#aaa;
1072 border-bottom: none
;
1074 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1075 /* footer icons need a fixed width */
1076 * > html #f-poweredbyico
,
1077 * > html #f-copyrightico
{ width: 88px; }
1078 * > html #bodyContent
,
1079 * > html #bodyContent pre
{
1082 padding-bottom: 25px;
1086 /* float/negative margin brokenness */
1087 * html div#footer
{margin-top: 0;}
1088 * html div#column-content
{
1092 * html div
.editsection
{ font-size: smaller
; }
1093 #pagehistory li
.selected
{ position: relative
; }
1095 /* Mac IE 5.0 fix; floated content turns invisible */
1096 * > html div#column-content
{
1099 * > html div#column-one
{
1104 * > html div#footer
{
1105 margin-left: 13.2em;
1120 .sharedUploadNotice {
1124 span
.updatedmarker
{
1126 background-color: #0f0;
1130 border: 1px solid gray
;
1131 background-color: #ffffff;
1138 .editExternallyHelp {
1149 input#wpSave
, input#wpDiff
{
1150 margin-right: 0.33em;
1159 border: 1px solid
#ccc;
1165 div#searchTargetContainer
{
1175 background: #F0F0F0;
1176 border: solid
1px blue
;
1179 div#searchTarget ul li
{
1183 div#searchTarget ul
li:before
{
1185 content: "\00BB \0020";
1188 div#searchTargetHide
{
1190 border:solid
1px black
;
1199 div
.multipageimagenavbox
{
1200 border: solid
1px silver
;
1203 background: #f0f0f0;
1206 div
.multipageimagenavbox div
.thumb
{
1212 div
.multipageimagenavbox hr
{
1216 table
.multipageimage td
{
1220 .templatesUsed { margin-top: 1.5em; }
1222 .mw-summary-preview {
1226 /* Friendlier slave lag warnings */
1227 div
.mw-lag-warn-normal
,
1228 div
.mw-lag-warn-high
{
1233 div
.mw-lag-warn-normal
{
1234 border: 1px solid
#FFCC66;
1235 background-color: #FFFFCC;
1237 div
.mw-lag-warn-high
{
1239 border: 2px solid
#FF0033;
1240 background-color: #FFCCCC;
1243 .MediaTransformError {
1244 background-color: #ccc;
1247 .MediaTransformError td {
1249 vertical-align: middle
;
1253 /* God-damned hack for the crappy layout */
1258 /* Sometimes people don't want personal tools to be lowercase! */
1259 .no-text-transform {
1260 text-transform: none
;
1263 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */