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 */
68 text-decoration: none
;
79 text-decoration: underline
;
84 a
.new
, #p-personal a
.new
{
87 a
.new:visited
, #p-personal a
.new:visited
{
93 vertical-align: middle
;
96 margin: .4em 0 .5em 0;
106 background-color: #aaa;
108 margin: .2em 0 .2em 0;
111 h1
, h2
, h3
, h4
, h5
, h6
{
118 padding-bottom: .17em;
119 border-bottom: 1px solid
#aaa;
121 h1
{ font-size: 188%; }
122 h1
.editsection
{ font-size: 53%; }
123 h2
{ font-size: 150%; }
124 h2
.editsection
{ font-size: 67%; }
129 h3
{ font-size: 132%; }
130 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
131 h4
{ font-size: 116%; }
132 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
133 h5
{ font-size: 100%; }
134 h5
.editsection
{ font-weight: normal
; }
135 h6
{ font-size: 80%; }
136 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
140 list-style-type: square
;
141 margin: .3em 0 0 1.5em;
144 list-style-image: url
(bullet.gif);
148 margin: .3em 0 0 3.2em;
150 list-style-image: none
;
170 border: 1px solid
#2f6fab;
177 padding: 0 0.5em 0.5em;
193 input
.historysubmit
{
194 padding: 0 .3em .3em .3em !important
;
197 height: 1.7em !important
;
203 abbr
, acronym
, .explain
{
204 border-bottom: 1px dotted black
;
210 font-family: Times
, "Times New Roman", serif
;
215 font-family: Times, "Times New Roman", serif;
219 background-color: #f9f9f9;
223 border: 1px dashed
#2f6fab;
225 background-color: #f9f9f9;
230 ** the main content area
240 #contentSub, #contentSub2
{
243 margin: 0 0 1.4em 1em;
251 /* Some space under the headers in the content area */
252 #bodyContent h1
, #bodyContent h2
{
255 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
260 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
261 When bug 2013 is fixed properly, they should be removed. */
266 /* user notification thing */
268 background-color: #ffce7b;
269 border: 1px solid
#ffa500;
274 vertical-align: middle
;
288 border: 1px solid
#aaa;
289 background-color: #f9f9f9;
294 /* currently unused, intended to be used by a metadata box
295 in the bottom-right corner of the content area */
296 .documentDescription {
297 /* The summary text describing the document */
320 /* small for tables and similar */
335 border: 1px solid
#aaa;
336 background-color: #f9f9f9;
356 list-style-type: none
;
357 list-style-image: none
;
379 div
.floatright
, table
.floatright
{
383 margin: 0 0 .5em .5em;
386 border: .5em solid white;
387 border-width: .5em 0 .8em 1.4em;
390 div
.floatright p
{ font-style: italic
; }
392 div
.floatleft
, table
.floatleft
{
396 margin: 0 .5em .5em 0;
399 margin: .3em .5em .5em 0;
400 border: .5em solid white;
401 border-width: .5em 1.4em .8em 0;
404 div
.floatleft p
{ font-style: italic
; }
411 border: 1px solid
#ccc;
412 padding: 3px !important
;
413 background-color: #f9f9f9;
419 border: 1px solid
#ccc;
425 padding: 3px !important
;
430 border: none
!important
;
431 background: none
!important
;
433 div
.magnify a
, div
.magnify img
{
435 border: none
!important
;
436 background: none
!important
;
442 margin: .5em 0 1.3em 1.4em;
448 margin: .5em 1.4em 1.3em 0;
451 border: 1px solid
#dddddd;
458 ** classes for special content elements like town boxes
459 ** intended to be referenced directly from the wiki src
465 /* table standards */
474 border: 1px solid
#aaa;
475 background-color: #f9f9f9;
490 ** keep the whitespace in front of the ^=, hides rule from konqueror
491 ** this is css3, the validator doesn't like it when validating as css2
493 #bodyContent a
.external
,
494 #bodyContent a
.external
[href ^
="gopher://"] {
496 background: url
(external-ltr
.png
) center right no-repeat
;
499 #bodyContent a
.external
[href ^
="https://"],
502 background: url
(lock_icon.gif) center right no-repeat
;
505 #bodyContent a
.external
[href ^
="mailto:"],
508 background: url
(mail_icon.gif) center right no-repeat
;
511 #bodyContent a
.external
[href ^
="news://"] {
513 background: url
(news_icon.png) center right no-repeat
;
516 #bodyContent a
.external
[href ^
="ftp://"],
519 background: url
(file_icon.gif) center right no-repeat
;
522 #bodyContent a
.external
[href ^
="irc://"],
525 background: url
(discussionitem_icon.gif) center right no-repeat
;
528 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
529 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
530 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
531 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
532 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
533 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
536 background: url
("audio.png") center right no-repeat
;
539 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
540 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
541 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
542 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
545 background: url
("video.png") center right no-repeat
;
548 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
549 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
550 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
553 background: url
("document.png") center right no-repeat
;
557 /* Interwiki Styling */
558 #bodyContent a
.extiw
,
559 #bodyContent a
.extiw:active
{
561 /* Don't show icons for interwiki links */
565 #bodyContent a
.extiw:visited
{
568 #bodyContent a
.extiw:active
{
573 #bodyContent a
.external
{
576 #bodyContent a
.external:visited
{
577 color: #636; /* bug 3112 */
579 #bodyContent a
.external:active
{
584 ** Structural Elements
588 ** general portlet styles (elements in the quickbar)
598 html
> body
.portlet
{
602 /* recover IEMac (might be fine with the float, but usually it's close to IE */
613 background: transparent
;
614 padding: 0 1em 0 .5em;
617 text-transform: lowercase
;
624 border: 1px solid
#2f6fab;
625 border-style: solid solid none solid
;
626 padding: 0 1em 0 1em;
627 text-transform: lowercase
;
636 background-color: white
;
638 border-collapse: collapse
;
639 border: 1px solid
#aaa;
640 padding: 0 .8em .3em .5em;
651 list-style-type: square
;
653 list-style-image: url
(bullet.gif);
668 position: absolute
; /*needed to use z-index */
682 background-repeat: no-repeat
;
683 background-position: 35% 50% !important
;
684 text-decoration: none
;
709 padding: .5em .4em .4em .4em;
712 #p-search #searchform div div
{
717 ** the personal toolbar
738 #p-personal .portlet
,
747 /* this is the ul contained in the portlet */
752 padding: 0 2em 0 3em;
771 text-decoration: none
;
773 padding-bottom: .2em;
776 #p-personal li
a:hover
{
777 background-color: white
;
778 padding-bottom: .2em;
779 text-decoration: none
;
781 #p-personal li
.active
a:hover
{
782 background-color: transparent
;
784 /* the icon in front of the user name, single quotes
785 in bg url to hide it from iemac */
790 background: url
(user.gif) top left no-repeat
;
792 text-transform: none
;
795 text-transform: lowercase
;
797 #p-personal li
.active
{
801 ** the page-related actions- page/talk, edit etc
813 border-collapse: collapse
;
823 border: 1px solid
#aaa;
830 #p-cactions li
.selected
{
831 border-color: #fabd23;
836 background-color: #fbfbfb;
839 padding: 0 .8em .3em;
843 text-decoration: none
;
845 #p-cactions li
.selected a
{
847 background-color: white
;
852 #p-cactions li
a:hover
{
854 text-decoration: none
;
855 background-color: white
;
860 #p-cactions li
.istalk
{
863 #p-cactions li
.istalk a
{
866 #p-cactions #ca-addsection a
{
870 /* offsets to distinguish the tab groups */
874 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
879 background-color: transparent
;
881 border-collapse: inherit
;
885 #p-cactions .hiddenStructure
{
889 text-transform: lowercase
;
897 /* Override text-transform on languages where capitalization is significant */
898 .capitalize-all-nouns
.portlet h5
,
899 .capitalize-all-nouns
.portlet h6
,
900 .capitalize-all-nouns #p-personal ul
,
901 .capitalize-all-nouns #p-cactions ul li a {
902 text-transform: none
;
905 /* TODO: #t-iscite is only used by the Cite extension, come up with some
906 * system which allows extensions to add to this file on the fly
908 #t-ispermalink, #t-iscite
{
915 background-color: white
;
916 border-top: 1px solid
#fabd23;
917 border-bottom: 1px solid
#fabd23;
918 margin: .6em 0 1em 0;
919 padding: .4em 0 1.2em 0;
927 #f-poweredbyico, #f-copyrightico
{
930 top: -2px; /* Bump it up just a tad */
941 .mw-htmlform-submit {
956 background-color: #f0f0f0;
960 margin: 1px -2px 1px 2px;
962 padding: 2px 0 3px 0;
963 border: 1px solid
#fff;
964 border-right-color: #716f64;
968 list-style-type: none
;
969 list-style-image: none
;
972 #preftoc li
.selected
{
974 background-color: #f9f9f9;
975 border: 1px solid
#aaa;
982 #preftoc > li
.selected
{
991 text-decoration: none
;
993 #preftoc li
.selected a
{
995 text-decoration: none
;
999 border: 1px solid
#aaa;
1002 background-color: #F9F9F9;
1010 .prefsection legend {
1013 .prefsection table, .prefsection legend {
1014 background-color: #F9F9F9;
1025 .preferences-login {
1027 margin-bottom: 1.5em;
1035 div#userloginForm form
,
1036 div#userlogin form#userlogin2
{
1037 margin: 0 3em 1em 0;
1038 border: 1px solid
#aaa;
1041 background-color: #f9f9f9;
1045 div#userloginForm table
,
1046 div#userlogin form#userlogin2 table
{
1047 background-color: #f9f9f9;
1050 div#userloginForm h2
,
1051 div#userlogin form#userlogin2 h2
{
1055 div#userlogin
.captcha
,
1056 div#userloginForm
.captcha
{
1057 border: 1px solid
#bbb;
1059 background-color: white
;
1062 #loginend, #signupend
{
1066 #userloginprompt, #languagelinks
{
1076 #userlogin .loginText
, #userlogin
.loginPassword
{
1080 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1085 ** IE/Mac fixes, hope to find a validating way to move this
1086 ** to a separate stylesheet. This would work but doesn't validate:
1087 ** @import("IEMacFixes.css");
1089 /* tabs: border on the a, not the div */
1090 * > html #p-cactions li
{ border: none
; }
1091 * > html #p-cactions li a
{
1092 border: 1px solid
#aaa;
1093 border-bottom: none
;
1095 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1096 /* footer icons need a fixed width */
1097 * > html #f-poweredbyico
,
1098 * > html #f-copyrightico
{ width: 88px; }
1099 * > html #bodyContent
,
1100 * > html #bodyContent pre
{
1103 padding-bottom: 25px;
1107 /* float/negative margin brokenness */
1108 * html div#footer
{margin-top: 0;}
1109 * html div#column-content
{
1113 * html div
.editsection
{ font-size: smaller
; }
1114 #pagehistory li
.selected
{ position: relative
; }
1116 /* Mac IE 5.0 fix; floated content turns invisible */
1117 * > html div#column-content
{
1120 * > html div#column-one
{
1125 * > html div#footer
{
1126 margin-left: 13.2em;
1141 .sharedUploadNotice {
1145 span
.updatedmarker
{
1147 background-color: #0f0;
1151 border: 1px solid gray
;
1152 background-color: #ffffff;
1159 .editExternallyHelp {
1170 input#wpSave
, input#wpDiff
{
1171 margin-right: 0.33em;
1180 border: 1px solid
#ccc;
1186 div#searchTargetContainer
{
1196 background: #F0F0F0;
1197 border: solid
1px blue
;
1200 div#searchTarget ul li
{
1204 div#searchTarget ul
li:before
{
1206 content: "\00BB \0020";
1209 div#searchTargetHide
{
1211 border:solid
1px black
;
1220 div
.multipageimagenavbox
{
1221 border: solid
1px silver
;
1224 background: #f0f0f0;
1227 div
.multipageimagenavbox div
.thumb
{
1233 div
.multipageimagenavbox hr
{
1237 table
.multipageimage td
{
1241 .templatesUsed { margin-top: 1.5em; }
1243 .mw-summary-preview {
1247 /* Friendlier slave lag warnings */
1248 div
.mw-lag-warn-normal
,
1249 div
.mw-lag-warn-high
{
1254 div
.mw-lag-warn-normal
{
1255 border: 1px solid
#FFCC66;
1256 background-color: #FFFFCC;
1258 div
.mw-lag-warn-high
{
1260 border: 2px solid
#FF0033;
1261 background-color: #FFCCCC;
1264 .MediaTransformError {
1265 background-color: #ccc;
1268 .MediaTransformError td {
1270 vertical-align: middle
;
1274 /* God-damned hack for the crappy layout */
1279 /* Sometimes people don't want personal tools to be lowercase! */
1280 .no-text-transform {
1281 text-transform: none
;
1284 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */