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
;
202 abbr
, acronym
, .explain
{
203 border-bottom: 1px dotted black
;
209 font-family: Times
, "Times New Roman", serif
;
214 font-family: Times, "Times New Roman", serif;
218 background-color: #f9f9f9;
222 border: 1px dashed
#2f6fab;
224 background-color: #f9f9f9;
229 ** the main content area
239 #contentSub, #contentSub2
{
242 margin: 0 0 1.4em 1em;
250 /* Some space under the headers in the content area */
251 #bodyContent h1
, #bodyContent h2
{
254 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
259 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
260 When bug 2013 is fixed properly, they should be removed. */
265 /* user notification thing */
267 background-color: #ffce7b;
268 border: 1px solid
#ffa500;
273 vertical-align: middle
;
287 border: 1px solid
#aaa;
288 background-color: #f9f9f9;
293 /* currently unused, intended to be used by a metadata box
294 in the bottom-right corner of the content area */
295 .documentDescription {
296 /* The summary text describing the document */
319 /* small for tables and similar */
334 border: 1px solid
#aaa;
335 background-color: #f9f9f9;
355 list-style-type: none
;
356 list-style-image: none
;
378 div
.floatright
, table
.floatright
{
382 margin: 0 0 .5em .5em;
385 border: .5em solid white;
386 border-width: .5em 0 .8em 1.4em;
389 div
.floatright p
{ font-style: italic
; }
391 div
.floatleft
, table
.floatleft
{
395 margin: 0 .5em .5em 0;
398 margin: .3em .5em .5em 0;
399 border: .5em solid white;
400 border-width: .5em 1.4em .8em 0;
403 div
.floatleft p
{ font-style: italic
; }
410 border: 1px solid
#ccc;
411 padding: 3px !important
;
412 background-color: #f9f9f9;
418 border: 1px solid
#ccc;
424 padding: 3px !important
;
429 border: none
!important
;
430 background: none
!important
;
432 div
.magnify a
, div
.magnify img
{
434 border: none
!important
;
435 background: none
!important
;
441 margin: .5em 0 1.3em 1.4em;
447 margin: .5em 1.4em 1.3em 0;
450 border: 1px solid
#dddddd;
454 ** classes for special content elements like town boxes
455 ** intended to be referenced directly from the wiki src
461 /* table standards */
470 border: 1px solid
#aaa;
471 background-color: #f9f9f9;
486 ** keep the whitespace in front of the ^=, hides rule from konqueror
487 ** this is css3, the validator doesn't like it when validating as css2
489 #bodyContent a
.external
,
490 #bodyContent a
.external
[href ^
="gopher://"] {
492 background: url
(external-ltr
.png
) center right no-repeat
;
495 #bodyContent a
.external
[href ^
="https://"],
498 background: url
(lock_icon.gif) center right no-repeat
;
501 #bodyContent a
.external
[href ^
="mailto:"],
504 background: url
(mail_icon.gif) center right no-repeat
;
507 #bodyContent a
.external
[href ^
="news://"] {
509 background: url
(news_icon.png) center right no-repeat
;
512 #bodyContent a
.external
[href ^
="ftp://"],
515 background: url
(file_icon.gif) center right no-repeat
;
518 #bodyContent a
.external
[href ^
="irc://"],
519 #bodyContent a
.external
[href ^
="ircs://"],
522 background: url
(discussionitem_icon.gif) center right no-repeat
;
525 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
526 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
527 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
528 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
529 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
530 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
533 background: url
("audio.png") center right no-repeat
;
536 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
537 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
538 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
539 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
542 background: url
("video.png") center right no-repeat
;
545 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
546 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
547 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
550 background: url
("document.png") center right no-repeat
;
554 /* Interwiki Styling */
555 #bodyContent a
.extiw
,
556 #bodyContent a
.extiw:active
{
558 /* Don't show icons for interwiki links */
562 #bodyContent a
.extiw:visited
{
565 #bodyContent a
.extiw:active
{
570 #bodyContent a
.external
{
573 #bodyContent a
.external:visited
{
574 color: #636; /* bug 3112 */
576 #bodyContent a
.external:active
{
581 ** Structural Elements
585 ** general portlet styles (elements in the quickbar)
595 html
> body
.portlet
{
599 /* recover IEMac (might be fine with the float, but usually it's close to IE */
610 background: transparent
;
611 padding: 0 1em 0 .5em;
614 text-transform: lowercase
;
621 border: 1px solid
#2f6fab;
622 border-style: solid solid none solid
;
623 padding: 0 1em 0 1em;
624 text-transform: lowercase
;
633 background-color: white
;
635 border-collapse: collapse
;
636 border: 1px solid
#aaa;
637 padding: 0 .8em .3em .5em;
648 list-style-type: square
;
650 list-style-image: url
(bullet.gif);
665 position: absolute
; /*needed to use z-index */
679 background-repeat: no-repeat
;
680 background-position: 35% 50% !important
;
681 text-decoration: none
;
706 padding: .5em .4em .4em .4em;
709 #p-search #searchform div div
{
714 ** the personal toolbar
735 #p-personal .portlet
,
744 /* this is the ul contained in the portlet */
749 padding: 0 2em 0 3em;
768 text-decoration: none
;
770 padding-bottom: .2em;
773 #p-personal li
a:hover
{
774 background-color: white
;
775 padding-bottom: .2em;
776 text-decoration: none
;
778 #p-personal li
.active
a:hover
{
779 background-color: transparent
;
781 /* the icon in front of the user name, single quotes
782 in bg url to hide it from iemac */
787 background: url
(user.gif) top left no-repeat
;
789 text-transform: none
;
792 text-transform: lowercase
;
794 #p-personal li
.active
{
798 ** the page-related actions- page/talk, edit etc
810 border-collapse: collapse
;
820 border: 1px solid
#aaa;
827 #p-cactions li
.selected
{
828 border-color: #fabd23;
833 background-color: #fbfbfb;
836 padding: 0 .8em .3em;
840 text-decoration: none
;
842 #p-cactions li
.selected a
{
844 background-color: white
;
849 #p-cactions li
a:hover
{
851 text-decoration: none
;
852 background-color: white
;
857 #p-cactions li
.istalk
{
860 #p-cactions li
.istalk a
{
863 #p-cactions #ca-addsection a
{
867 /* offsets to distinguish the tab groups */
871 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
876 background-color: transparent
;
878 border-collapse: inherit
;
883 text-transform: lowercase
;
891 /* Override text-transform on languages where capitalization is significant */
892 .capitalize-all-nouns
.portlet h5
,
893 .capitalize-all-nouns
.portlet h6
,
894 .capitalize-all-nouns #p-personal ul
,
895 .capitalize-all-nouns #p-cactions ul li a {
896 text-transform: none
;
899 /* TODO: #t-iscite is only used by the Cite extension, come up with some
900 * system which allows extensions to add to this file on the fly
902 #t-ispermalink, #t-iscite
{
909 background-color: white
;
910 border-top: 1px solid
#fabd23;
911 border-bottom: 1px solid
#fabd23;
912 margin: .6em 0 1em 0;
913 padding: .4em 0 1.2em 0;
921 #f-poweredbyico, #f-copyrightico
{
924 top: -2px; /* Bump it up just a tad */
935 .mw-htmlform-submit {
950 background-color: #f0f0f0;
954 margin: 1px -2px 1px 2px;
956 padding: 2px 0 3px 0;
957 border: 1px solid
#fff;
958 border-right-color: #716f64;
962 list-style-type: none
;
963 list-style-image: none
;
966 #preftoc li
.selected
{
968 background-color: #f9f9f9;
969 border: 1px solid
#aaa;
976 #preftoc > li
.selected
{
985 text-decoration: none
;
987 #preftoc li
.selected a
{
989 text-decoration: none
;
993 border: 1px solid
#aaa;
996 background-color: #F9F9F9;
1004 .prefsection legend {
1007 .prefsection table, .prefsection legend {
1008 background-color: #F9F9F9;
1019 .preferences-login {
1021 margin-bottom: 1.5em;
1029 div#userloginForm form
,
1030 div#userlogin form#userlogin2
{
1031 margin: 0 3em 1em 0;
1032 border: 1px solid
#aaa;
1035 background-color: #f9f9f9;
1039 div#userloginForm table
,
1040 div#userlogin form#userlogin2 table
{
1041 background-color: #f9f9f9;
1044 div#userloginForm h2
,
1045 div#userlogin form#userlogin2 h2
{
1049 div#userlogin
.captcha
,
1050 div#userloginForm
.captcha
{
1051 border: 1px solid
#bbb;
1053 background-color: white
;
1056 #loginend, #signupend
{
1060 #userloginprompt, #languagelinks
{
1070 #userlogin .loginText
, #userlogin
.loginPassword
{
1074 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1079 ** IE/Mac fixes, hope to find a validating way to move this
1080 ** to a separate stylesheet. This would work but doesn't validate:
1081 ** @import("IEMacFixes.css");
1083 /* tabs: border on the a, not the div */
1084 * > html #p-cactions li
{ border: none
; }
1085 * > html #p-cactions li a
{
1086 border: 1px solid
#aaa;
1087 border-bottom: none
;
1089 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1090 /* footer icons need a fixed width */
1091 * > html #f-poweredbyico
,
1092 * > html #f-copyrightico
{ width: 88px; }
1093 * > html #bodyContent
,
1094 * > html #bodyContent pre
{
1097 padding-bottom: 25px;
1101 /* float/negative margin brokenness */
1102 * html div#footer
{margin-top: 0;}
1103 * html div#column-content
{
1107 * html div
.editsection
{ font-size: smaller
; }
1108 #pagehistory li
.selected
{ position: relative
; }
1110 /* Mac IE 5.0 fix; floated content turns invisible */
1111 * > html div#column-content
{
1114 * > html div#column-one
{
1119 * > html div#footer
{
1120 margin-left: 13.2em;
1135 .sharedUploadNotice {
1139 span
.updatedmarker
{
1141 background-color: #0f0;
1145 border: 1px solid gray
;
1146 background-color: #ffffff;
1153 .editExternallyHelp {
1164 input#wpSave
, input#wpDiff
{
1165 margin-right: 0.33em;
1174 border: 1px solid
#ccc;
1180 div#searchTargetContainer
{
1190 background: #F0F0F0;
1191 border: solid
1px blue
;
1194 div#searchTarget ul li
{
1198 div#searchTarget ul
li:before
{
1200 content: "\00BB \0020";
1203 div#searchTargetHide
{
1205 border:solid
1px black
;
1214 div
.multipageimagenavbox
{
1215 border: solid
1px silver
;
1218 background: #f0f0f0;
1221 div
.multipageimagenavbox div
.thumb
{
1227 div
.multipageimagenavbox hr
{
1231 table
.multipageimage td
{
1235 .templatesUsed { margin-top: 1.5em; }
1237 .mw-summary-preview {
1241 /* Friendlier slave lag warnings */
1242 div
.mw-lag-warn-normal
,
1243 div
.mw-lag-warn-high
{
1248 div
.mw-lag-warn-normal
{
1249 border: 1px solid
#FFCC66;
1250 background-color: #FFFFCC;
1252 div
.mw-lag-warn-high
{
1254 border: 2px solid
#FF0033;
1255 background-color: #FFCCCC;
1258 .MediaTransformError {
1259 background-color: #ccc;
1262 .MediaTransformError td {
1264 vertical-align: middle
;
1268 /* God-damned hack for the crappy layout */
1273 /* Sometimes people don't want personal tools to be lowercase! */
1274 .no-text-transform {
1275 text-transform: none
;
1278 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */