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://"],
521 background: url
(discussionitem_icon.gif) center right no-repeat
;
524 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
525 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
526 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
527 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
528 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
529 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
532 background: url
("audio.png") center right no-repeat
;
535 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
536 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
537 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
538 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
541 background: url
("video.png") center right no-repeat
;
544 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
545 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
546 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
549 background: url
("document.png") center right no-repeat
;
553 /* Interwiki Styling */
554 #bodyContent a
.extiw
,
555 #bodyContent a
.extiw:active
{
557 /* Don't show icons for interwiki links */
561 #bodyContent a
.extiw:visited
{
564 #bodyContent a
.extiw:active
{
569 #bodyContent a
.external
{
572 #bodyContent a
.external:visited
{
573 color: #636; /* bug 3112 */
575 #bodyContent a
.external:active
{
580 ** Structural Elements
584 ** general portlet styles (elements in the quickbar)
594 html
> body
.portlet
{
598 /* recover IEMac (might be fine with the float, but usually it's close to IE */
609 background: transparent
;
610 padding: 0 1em 0 .5em;
613 text-transform: lowercase
;
620 border: 1px solid
#2f6fab;
621 border-style: solid solid none solid
;
622 padding: 0 1em 0 1em;
623 text-transform: lowercase
;
632 background-color: white
;
634 border-collapse: collapse
;
635 border: 1px solid
#aaa;
636 padding: 0 .8em .3em .5em;
647 list-style-type: square
;
649 list-style-image: url
(bullet.gif);
664 position: absolute
; /*needed to use z-index */
678 background-repeat: no-repeat
;
679 background-position: 35% 50% !important
;
680 text-decoration: none
;
705 padding: .5em .4em .4em .4em;
708 #p-search #searchform div div
{
713 ** the personal toolbar
734 #p-personal .portlet
,
743 /* this is the ul contained in the portlet */
748 padding: 0 2em 0 3em;
767 text-decoration: none
;
769 padding-bottom: .2em;
772 #p-personal li
a:hover
{
773 background-color: white
;
774 padding-bottom: .2em;
775 text-decoration: none
;
777 #p-personal li
.active
a:hover
{
778 background-color: transparent
;
780 /* the icon in front of the user name, single quotes
781 in bg url to hide it from iemac */
786 background: url
(user.gif) top left no-repeat
;
788 text-transform: none
;
791 text-transform: lowercase
;
793 #p-personal li
.active
{
797 ** the page-related actions- page/talk, edit etc
809 border-collapse: collapse
;
819 border: 1px solid
#aaa;
826 #p-cactions li
.selected
{
827 border-color: #fabd23;
832 background-color: #fbfbfb;
835 padding: 0 .8em .3em;
839 text-decoration: none
;
841 #p-cactions li
.selected a
{
843 background-color: white
;
848 #p-cactions li
a:hover
{
850 text-decoration: none
;
851 background-color: white
;
856 #p-cactions li
.istalk
{
859 #p-cactions li
.istalk a
{
862 #p-cactions #ca-addsection a
{
866 /* offsets to distinguish the tab groups */
870 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
875 background-color: transparent
;
877 border-collapse: inherit
;
882 text-transform: lowercase
;
890 /* Override text-transform on languages where capitalization is significant */
891 .capitalize-all-nouns
.portlet h5
,
892 .capitalize-all-nouns
.portlet h6
,
893 .capitalize-all-nouns #p-personal ul
,
894 .capitalize-all-nouns #p-cactions ul li a {
895 text-transform: none
;
898 /* TODO: #t-iscite is only used by the Cite extension, come up with some
899 * system which allows extensions to add to this file on the fly
901 #t-ispermalink, #t-iscite
{
908 background-color: white
;
909 border-top: 1px solid
#fabd23;
910 border-bottom: 1px solid
#fabd23;
911 margin: .6em 0 1em 0;
912 padding: .4em 0 1.2em 0;
920 #f-poweredbyico, #f-copyrightico
{
923 top: -2px; /* Bump it up just a tad */
934 .mw-htmlform-submit {
949 background-color: #f0f0f0;
953 margin: 1px -2px 1px 2px;
955 padding: 2px 0 3px 0;
956 border: 1px solid
#fff;
957 border-right-color: #716f64;
961 list-style-type: none
;
962 list-style-image: none
;
965 #preftoc li
.selected
{
967 background-color: #f9f9f9;
968 border: 1px solid
#aaa;
975 #preftoc > li
.selected
{
984 text-decoration: none
;
986 #preftoc li
.selected a
{
988 text-decoration: none
;
992 border: 1px solid
#aaa;
995 background-color: #F9F9F9;
1003 .prefsection legend {
1006 .prefsection table, .prefsection legend {
1007 background-color: #F9F9F9;
1018 .preferences-login {
1020 margin-bottom: 1.5em;
1028 div#userloginForm form
,
1029 div#userlogin form#userlogin2
{
1030 margin: 0 3em 1em 0;
1031 border: 1px solid
#aaa;
1034 background-color: #f9f9f9;
1038 div#userloginForm table
,
1039 div#userlogin form#userlogin2 table
{
1040 background-color: #f9f9f9;
1043 div#userloginForm h2
,
1044 div#userlogin form#userlogin2 h2
{
1048 div#userlogin
.captcha
,
1049 div#userloginForm
.captcha
{
1050 border: 1px solid
#bbb;
1052 background-color: white
;
1055 #loginend, #signupend
{
1059 #userloginprompt, #languagelinks
{
1069 #userlogin .loginText
, #userlogin
.loginPassword
{
1073 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1078 ** IE/Mac fixes, hope to find a validating way to move this
1079 ** to a separate stylesheet. This would work but doesn't validate:
1080 ** @import("IEMacFixes.css");
1082 /* tabs: border on the a, not the div */
1083 * > html #p-cactions li
{ border: none
; }
1084 * > html #p-cactions li a
{
1085 border: 1px solid
#aaa;
1086 border-bottom: none
;
1088 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1089 /* footer icons need a fixed width */
1090 * > html #f-poweredbyico
,
1091 * > html #f-copyrightico
{ width: 88px; }
1092 * > html #bodyContent
,
1093 * > html #bodyContent pre
{
1096 padding-bottom: 25px;
1100 /* float/negative margin brokenness */
1101 * html div#footer
{margin-top: 0;}
1102 * html div#column-content
{
1106 * html div
.editsection
{ font-size: smaller
; }
1107 #pagehistory li
.selected
{ position: relative
; }
1109 /* Mac IE 5.0 fix; floated content turns invisible */
1110 * > html div#column-content
{
1113 * > html div#column-one
{
1118 * > html div#footer
{
1119 margin-left: 13.2em;
1134 .sharedUploadNotice {
1138 span
.updatedmarker
{
1140 background-color: #0f0;
1144 border: 1px solid gray
;
1145 background-color: #ffffff;
1152 .editExternallyHelp {
1163 input#wpSave
, input#wpDiff
{
1164 margin-right: 0.33em;
1173 border: 1px solid
#ccc;
1179 div#searchTargetContainer
{
1189 background: #F0F0F0;
1190 border: solid
1px blue
;
1193 div#searchTarget ul li
{
1197 div#searchTarget ul
li:before
{
1199 content: "\00BB \0020";
1202 div#searchTargetHide
{
1204 border:solid
1px black
;
1213 div
.multipageimagenavbox
{
1214 border: solid
1px silver
;
1217 background: #f0f0f0;
1220 div
.multipageimagenavbox div
.thumb
{
1226 div
.multipageimagenavbox hr
{
1230 table
.multipageimage td
{
1234 .templatesUsed { margin-top: 1.5em; }
1236 .mw-summary-preview {
1240 /* Friendlier slave lag warnings */
1241 div
.mw-lag-warn-normal
,
1242 div
.mw-lag-warn-high
{
1247 div
.mw-lag-warn-normal
{
1248 border: 1px solid
#FFCC66;
1249 background-color: #FFFFCC;
1251 div
.mw-lag-warn-high
{
1253 border: 2px solid
#FF0033;
1254 background-color: #FFCCCC;
1257 .MediaTransformError {
1258 background-color: #ccc;
1261 .MediaTransformError td {
1263 vertical-align: middle
;
1267 /* God-damned hack for the crappy layout */
1272 /* Sometimes people don't want personal tools to be lowercase! */
1273 .no-text-transform {
1274 text-transform: none
;
1277 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */