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
; }
416 border: 1px solid
#ccc;
417 padding: 3px !important
;
418 background-color: #f9f9f9;
424 border: 1px solid
#ccc;
430 padding: 3px !important
;
435 border: none
!important
;
436 background: none
!important
;
438 div
.magnify a
, div
.magnify img
{
440 border: none
!important
;
441 background: none
!important
;
447 margin: .5em 0 1.3em 1.4em;
453 margin: .5em 1.9em 1.3em 0;
456 border: 1px solid
#dddddd;
463 ** classes for special content elements like town boxes
464 ** intended to be referenced directly from the wiki src
470 /* table standards */
479 border: 1px solid
#aaa;
480 background-color: #f9f9f9;
495 ** keep the whitespace in front of the ^=, hides rule from konqueror
496 ** this is css3, the validator doesn't like it when validating as css2
498 #bodyContent a
.external
,
499 #bodyContent a
.external
[href ^
="gopher://"] {
501 background: url
(external-ltr
.png
) center right no-repeat
;
504 #bodyContent a
.external
[href ^
="https://"],
507 background: url
(lock_icon.gif) center right no-repeat
;
510 #bodyContent a
.external
[href ^
="mailto:"],
513 background: url
(mail_icon.gif) center right no-repeat
;
516 #bodyContent a
.external
[href ^
="news://"] {
518 background: url
(news_icon.png) center right no-repeat
;
521 #bodyContent a
.external
[href ^
="ftp://"],
524 background: url
(file_icon.gif) center right no-repeat
;
527 #bodyContent a
.external
[href ^
="irc://"],
530 background: url
(discussionitem_icon.gif) center right no-repeat
;
533 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
534 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
535 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
536 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
537 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
538 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
541 background: url
("audio.png") center right no-repeat
;
544 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
545 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
546 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
547 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
550 background: url
("video.png") center right no-repeat
;
553 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
554 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
555 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
558 background: url
("document.png") center right no-repeat
;
562 /* disable interwiki styling */
563 #bodyContent a
.extiw
,
564 #bodyContent a
.extiw:active
{
567 #bodyContent a
.external
{
571 ** Structural Elements
575 ** general portlet styles (elements in the quickbar)
585 html
> body
.portlet
{
589 /* recover IEMac (might be fine with the float, but usually it's close to IE */
600 background: transparent
;
601 padding: 0 1em 0 .5em;
604 text-transform: lowercase
;
611 border: 1px solid
#2f6fab;
612 border-style: solid solid none solid
;
613 padding: 0 1em 0 1em;
614 text-transform: lowercase
;
623 background-color: white
;
625 border-collapse: collapse
;
626 border: 1px solid
#aaa;
627 padding: 0 .8em .3em .5em;
638 list-style-type: square
;
640 list-style-image: url
(bullet.gif);
655 position: absolute
; /*needed to use z-index */
669 background-repeat: no-repeat
;
670 background-position: 35% 50% !important
;
671 text-decoration: none
;
696 padding: .5em .4em .4em .4em;
699 #p-search #searchform div div
{
704 ** the personal toolbar
725 #p-personal .portlet
,
734 /* this is the ul contained in the portlet */
739 padding: 0 2em 0 3em;
758 text-decoration: none
;
760 padding-bottom: .2em;
763 #p-personal li
a:hover
{
764 background-color: white
;
765 padding-bottom: .2em;
766 text-decoration: none
;
768 #p-personal li
.active
a:hover
{
769 background-color: transparent
;
771 /* the icon in front of the user name, single quotes
772 in bg url to hide it from iemac */
777 background: url
(user.gif) top left no-repeat
;
779 text-transform: none
;
782 text-transform: lowercase
;
784 #p-personal li
.active
{
788 ** the page-related actions- page/talk, edit etc
800 border-collapse: collapse
;
810 border: 1px solid
#aaa;
817 #p-cactions li
.selected
{
818 border-color: #fabd23;
823 background-color: #fbfbfb;
826 padding: 0 .8em .3em;
830 text-decoration: none
;
832 #p-cactions li
.selected a
{
834 background-color: white
;
839 #p-cactions li
a:hover
{
841 text-decoration: none
;
842 background-color: white
;
847 #p-cactions li
.istalk
{
850 #p-cactions li
.istalk a
{
853 #p-cactions #ca-addsection a
{
857 /* offsets to distinguish the tab groups */
861 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
866 background-color: transparent
;
868 border-collapse: inherit
;
872 #p-cactions .hiddenStructure
{
876 text-transform: lowercase
;
884 /* Override text-transform on languages where capitalization is significant */
885 .capitalize-all-nouns
.portlet h5
,
886 .capitalize-all-nouns
.portlet h6
,
887 .capitalize-all-nouns #p-personal ul
,
888 .capitalize-all-nouns #p-cactions ul li a {
889 text-transform: none
;
892 /* TODO: #t-iscite is only used by the Cite extension, come up with some
893 * system which allows extensions to add to this file on the fly
895 #t-ispermalink, #t-iscite
{
902 background-color: white
;
903 border-top: 1px solid
#fabd23;
904 border-bottom: 1px solid
#fabd23;
905 margin: .6em 0 1em 0;
906 padding: .4em 0 1.2em 0;
914 #f-poweredbyico, #f-copyrightico
{
917 top: -2px; /* Bump it up just a tad */
928 .mw-htmlform-submit {
943 background-color: #f0f0f0;
947 margin: 1px -2px 1px 2px;
949 padding: 2px 0 3px 0;
950 border: 1px solid
#fff;
951 border-right-color: #716f64;
955 list-style-type: none
;
956 list-style-image: none
;
959 #preftoc li
.selected
{
961 background-color: #f9f9f9;
962 border: 1px solid
#aaa;
969 #preftoc > li
.selected
{
978 text-decoration: none
;
980 #preftoc li
.selected a
{
982 text-decoration: none
;
986 border: 1px solid
#aaa;
989 background-color: #F9F9F9;
997 .prefsection legend {
1000 .prefsection table, .prefsection legend {
1001 background-color: #F9F9F9;
1012 .preferences-login {
1014 margin-bottom: 1.5em;
1022 div#userloginForm form
,
1023 div#userlogin form#userlogin2
{
1024 margin: 0 3em 1em 0;
1025 border: 1px solid
#aaa;
1028 background-color: #f9f9f9;
1032 div#userloginForm table
,
1033 div#userlogin form#userlogin2 table
{
1034 background-color: #f9f9f9;
1037 div#userloginForm h2
,
1038 div#userlogin form#userlogin2 h2
{
1042 div#userlogin
.captcha
,
1043 div#userloginForm
.captcha
{
1044 border: 1px solid
#bbb;
1046 background-color: white
;
1049 #loginend, #signupend
{
1053 #userloginprompt, #languagelinks
{
1063 #userlogin .loginText
, #userlogin
.loginPassword
{
1067 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1072 ** IE/Mac fixes, hope to find a validating way to move this
1073 ** to a separate stylesheet. This would work but doesn't validate:
1074 ** @import("IEMacFixes.css");
1076 /* tabs: border on the a, not the div */
1077 * > html #p-cactions li
{ border: none
; }
1078 * > html #p-cactions li a
{
1079 border: 1px solid
#aaa;
1080 border-bottom: none
;
1082 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1083 /* footer icons need a fixed width */
1084 * > html #f-poweredbyico
,
1085 * > html #f-copyrightico
{ width: 88px; }
1086 * > html #bodyContent
,
1087 * > html #bodyContent pre
{
1090 padding-bottom: 25px;
1094 /* float/negative margin brokenness */
1095 * html div#footer
{margin-top: 0;}
1096 * html div#column-content
{
1100 * html div
.editsection
{ font-size: smaller
; }
1101 #pagehistory li
.selected
{ position: relative
; }
1103 /* Mac IE 5.0 fix; floated content turns invisible */
1104 * > html div#column-content
{
1107 * > html div#column-one
{
1112 * > html div#footer
{
1113 margin-left: 13.2em;
1128 .sharedUploadNotice {
1132 span
.updatedmarker
{
1134 background-color: #0f0;
1138 border: 1px solid gray
;
1139 background-color: #ffffff;
1146 .editExternallyHelp {
1157 input#wpSave
, input#wpDiff
{
1158 margin-right: 0.33em;
1167 border: 1px solid
#ccc;
1173 div#searchTargetContainer
{
1183 background: #F0F0F0;
1184 border: solid
1px blue
;
1187 div#searchTarget ul li
{
1191 div#searchTarget ul
li:before
{
1193 content: "\00BB \0020";
1196 div#searchTargetHide
{
1198 border:solid
1px black
;
1207 div
.multipageimagenavbox
{
1208 border: solid
1px silver
;
1211 background: #f0f0f0;
1214 div
.multipageimagenavbox div
.thumb
{
1220 div
.multipageimagenavbox hr
{
1224 table
.multipageimage td
{
1228 .templatesUsed { margin-top: 1.5em; }
1230 .mw-summary-preview {
1234 /* Friendlier slave lag warnings */
1235 div
.mw-lag-warn-normal
,
1236 div
.mw-lag-warn-high
{
1241 div
.mw-lag-warn-normal
{
1242 border: 1px solid
#FFCC66;
1243 background-color: #FFFFCC;
1245 div
.mw-lag-warn-high
{
1247 border: 2px solid
#FF0033;
1248 background-color: #FFCCCC;
1251 .MediaTransformError {
1252 background-color: #ccc;
1255 .MediaTransformError td {
1257 vertical-align: middle
;
1261 /* God-damned hack for the crappy layout */
1266 /* Sometimes people don't want personal tools to be lowercase! */
1267 .no-text-transform {
1268 text-transform: none
;
1271 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */