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 */
66 /* we don't want the bottom borders of <h2>s to be visible through
68 background-color: white
;
71 /* but keep table layouts in forms clean... */
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 h1
.editsection
{ font-size: 53%; }
129 h2
{ font-size: 150%; }
130 h2
.editsection
{ font-size: 67%; }
135 h3
{ font-size: 132%; }
136 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
137 h4
{ font-size: 116%; }
138 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
139 h5
{ font-size: 100%; }
140 h5
.editsection
{ font-weight: normal
; }
141 h6
{ font-size: 80%; }
142 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
146 list-style-type: square
;
147 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
;
293 border: 1px solid
#aaa;
294 background-color: #f9f9f9;
299 /* currently unused, intended to be used by a metadata box
300 in the bottom-right corner of the content area */
301 .documentDescription {
302 /* The summary text describing the document */
325 /* small for tables and similar */
340 border: 1px solid
#aaa;
341 background-color: #f9f9f9;
361 list-style-type: none
;
362 list-style-image: none
;
384 div
.floatright
, table
.floatright
{
388 margin: 0 0 .5em .5em;
391 border: .5em solid white;
392 border-width: .5em 0 .8em 1.4em;
395 div
.floatright p
{ font-style: italic
; }
397 div
.floatleft
, table
.floatleft
{
401 margin: 0 .5em .5em 0;
404 margin: .3em .5em .5em 0;
405 border: .5em solid white;
406 border-width: .5em 1.4em .8em 0;
409 div
.floatleft p
{ font-style: italic
; }
414 border-color: transparent
;
418 border: 1px solid
#ccc;
419 padding: 3px !important
;
420 background-color: #f9f9f9;
426 border: 1px solid
#ccc;
432 padding: 3px !important
;
437 border: none
!important
;
438 background: none
!important
;
440 div
.magnify a
, div
.magnify img
{
442 border: none
!important
;
443 background: none
!important
;
449 border-width: .5em 0 .8em 1.4em;
456 border-width: .5em 1.4em .8em 0;
459 border: 1px solid
#dddddd;
466 ** classes for special content elements like town boxes
467 ** intended to be referenced directly from the wiki src
473 /* table standards */
482 border: 1px solid
#aaa;
483 background-color: #f9f9f9;
498 ** keep the whitespace in front of the ^=, hides rule from konqueror
499 ** this is css3, the validator doesn't like it when validating as css2
501 #bodyContent a
.external
,
502 #bodyContent a
.external
[href ^
="gopher://"] {
504 background: url
(external-ltr
.png
) center right no-repeat
;
507 #bodyContent a
.external
[href ^
="https://"],
510 background: url
(lock_icon.gif) center right no-repeat
;
513 #bodyContent a
.external
[href ^
="mailto:"],
516 background: url
(mail_icon.gif) center right no-repeat
;
519 #bodyContent a
.external
[href ^
="news://"] {
521 background: url
(news_icon.png) center right no-repeat
;
524 #bodyContent a
.external
[href ^
="ftp://"],
527 background: url
(file_icon.gif) center right no-repeat
;
530 #bodyContent a
.external
[href ^
="irc://"],
533 background: url
(discussionitem_icon.gif) center right no-repeat
;
536 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
537 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
538 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
539 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
540 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
541 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
544 background: url
("audio.png") center right no-repeat
;
547 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
548 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
549 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
550 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
553 background: url
("video.png") center right no-repeat
;
556 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
557 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
558 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
561 background: url
("document.png") center right no-repeat
;
565 /* disable interwiki styling */
566 #bodyContent a
.extiw
,
567 #bodyContent a
.extiw:active
{
570 #bodyContent a
.external
{
574 ** Structural Elements
578 ** general portlet styles (elements in the quickbar)
588 html
> body
.portlet
{
592 /* recover IEMac (might be fine with the float, but usually it's close to IE */
603 background: transparent
;
604 padding: 0 1em 0 .5em;
607 text-transform: lowercase
;
614 border: 1px solid
#2f6fab;
615 border-style: solid solid none solid
;
616 padding: 0 1em 0 1em;
617 text-transform: lowercase
;
626 background-color: white
;
628 border-collapse: collapse
;
629 border: 1px solid
#aaa;
630 padding: 0 .8em .3em .5em;
641 list-style-type: square
;
643 list-style-image: url
(bullet.gif);
658 position: absolute
; /*needed to use z-index */
672 background-repeat: no-repeat
;
673 background-position: 35% 50% !important
;
674 text-decoration: none
;
699 padding: .5em .4em .4em .4em;
702 #p-search #searchform div div
{
707 ** the personal toolbar
728 #p-personal .portlet
,
737 /* this is the ul contained in the portlet */
742 padding: 0 2em 0 3em;
761 text-decoration: none
;
763 padding-bottom: .2em;
766 #p-personal li
a:hover
{
767 background-color: white
;
768 padding-bottom: .2em;
769 text-decoration: none
;
771 #p-personal li
.active
a:hover
{
772 background-color: transparent
;
774 /* the icon in front of the user name, single quotes
775 in bg url to hide it from iemac */
780 background: url
(user.gif) top left no-repeat
;
782 text-transform: none
;
785 text-transform: lowercase
;
787 #p-personal li
.active
{
791 ** the page-related actions- page/talk, edit etc
803 border-collapse: collapse
;
813 border: 1px solid
#aaa;
820 #p-cactions li
.selected
{
821 border-color: #fabd23;
826 background-color: #fbfbfb;
829 padding: 0 .8em .3em;
833 text-decoration: none
;
835 #p-cactions li
.selected a
{
837 background-color: white
;
842 #p-cactions li
a:hover
{
844 text-decoration: none
;
845 background-color: white
;
850 #p-cactions li
.istalk
{
853 #p-cactions li
.istalk a
{
856 #p-cactions #ca-addsection a
{
860 /* offsets to distinguish the tab groups */
864 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
869 background-color: transparent
;
871 border-collapse: inherit
;
875 #p-cactions .hiddenStructure
{
879 text-transform: lowercase
;
887 /* Override text-transform on languages where capitalization is significant */
888 .capitalize-all-nouns
.portlet h5
,
889 .capitalize-all-nouns
.portlet h6
,
890 .capitalize-all-nouns #p-personal ul
,
891 .capitalize-all-nouns #p-cactions ul li a {
892 text-transform: none
;
895 /* TODO: #t-iscite is only used by the Cite extension, come up with some
896 * system which allows extensions to add to this file on the fly
898 #t-ispermalink, #t-iscite
{
905 background-color: white
;
906 border-top: 1px solid
#fabd23;
907 border-bottom: 1px solid
#fabd23;
908 margin: .6em 0 1em 0;
909 padding: .4em 0 1.2em 0;
917 #f-poweredbyico, #f-copyrightico
{
920 top: -2px; /* Bump it up just a tad */
931 .mw-htmlform-submit {
946 background-color: #f0f0f0;
950 margin: 1px -2px 1px 2px;
952 padding: 2px 0 3px 0;
953 border: 1px solid
#fff;
954 border-right-color: #716f64;
958 list-style-type: none
;
959 list-style-image: none
;
962 #preftoc li
.selected
{
964 background-color: #f9f9f9;
965 border: 1px solid
#aaa;
972 #preftoc > li
.selected
{
981 text-decoration: none
;
983 #preftoc li
.selected a
{
985 text-decoration: none
;
989 border: 1px solid
#aaa;
992 background-color: #F9F9F9;
1000 .prefsection legend {
1003 .prefsection table, .prefsection legend {
1004 background-color: #F9F9F9;
1015 .preferences-login {
1017 margin-bottom: 1.5em;
1025 div#userloginForm form
,
1026 div#userlogin form#userlogin2
{
1027 margin: 0 3em 1em 0;
1028 border: 1px solid
#aaa;
1031 background-color: #f9f9f9;
1035 div#userloginForm table
,
1036 div#userlogin form#userlogin2 table
{
1037 background-color: #f9f9f9;
1040 div#userloginForm h2
,
1041 div#userlogin form#userlogin2 h2
{
1045 div#userlogin
.captcha
,
1046 div#userloginForm
.captcha
{
1047 border: 1px solid
#bbb;
1049 background-color: white
;
1052 #loginend, #signupend
{
1056 #userloginprompt, #languagelinks
{
1066 #userlogin .loginText
, #userlogin
.loginPassword
{
1070 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1075 ** IE/Mac fixes, hope to find a validating way to move this
1076 ** to a separate stylesheet. This would work but doesn't validate:
1077 ** @import("IEMacFixes.css");
1079 /* tabs: border on the a, not the div */
1080 * > html #p-cactions li
{ border: none
; }
1081 * > html #p-cactions li a
{
1082 border: 1px solid
#aaa;
1083 border-bottom: none
;
1085 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1086 /* footer icons need a fixed width */
1087 * > html #f-poweredbyico
,
1088 * > html #f-copyrightico
{ width: 88px; }
1089 * > html #bodyContent
,
1090 * > html #bodyContent pre
{
1093 padding-bottom: 25px;
1097 /* float/negative margin brokenness */
1098 * html div#footer
{margin-top: 0;}
1099 * html div#column-content
{
1103 * html div
.editsection
{ font-size: smaller
; }
1104 #pagehistory li
.selected
{ position: relative
; }
1106 /* Mac IE 5.0 fix; floated content turns invisible */
1107 * > html div#column-content
{
1110 * > html div#column-one
{
1115 * > html div#footer
{
1116 margin-left: 13.2em;
1131 .sharedUploadNotice {
1135 span
.updatedmarker
{
1137 background-color: #0f0;
1141 border: 1px solid gray
;
1142 background-color: #ffffff;
1149 .editExternallyHelp {
1160 input#wpSave
, input#wpDiff
{
1161 margin-right: 0.33em;
1170 border: 1px solid
#ccc;
1176 div#searchTargetContainer
{
1186 background: #F0F0F0;
1187 border: solid
1px blue
;
1190 div#searchTarget ul li
{
1194 div#searchTarget ul
li:before
{
1196 content: "\00BB \0020";
1199 div#searchTargetHide
{
1201 border:solid
1px black
;
1210 div
.multipageimagenavbox
{
1211 border: solid
1px silver
;
1214 background: #f0f0f0;
1217 div
.multipageimagenavbox div
.thumb
{
1223 div
.multipageimagenavbox hr
{
1227 table
.multipageimage td
{
1231 .templatesUsed { margin-top: 1.5em; }
1233 .mw-summary-preview {
1237 /* Friendlier slave lag warnings */
1238 div
.mw-lag-warn-normal
,
1239 div
.mw-lag-warn-high
{
1244 div
.mw-lag-warn-normal
{
1245 border: 1px solid
#FFCC66;
1246 background-color: #FFFFCC;
1248 div
.mw-lag-warn-high
{
1250 border: 2px solid
#FF0033;
1251 background-color: #FFCCCC;
1254 .MediaTransformError {
1255 background-color: #ccc;
1258 .MediaTransformError td {
1260 vertical-align: middle
;
1264 /* God-damned hack for the crappy layout */
1269 /* Sometimes people don't want personal tools to be lowercase! */
1270 .no-text-transform {
1271 text-transform: none
;
1274 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */