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 a
.new
, #p-personal a
.new
{
74 list-style-image: url
(bullet.gif);
78 padding: 0 .3em .3em .3em !important
;
81 height: 1.7em !important
;
90 ** the main content area
105 /* currently unused, intended to be used by a metadata box
106 in the bottom-right corner of the content area */
107 .documentDescription {
108 /* The summary text describing the document */
123 ** classes for special content elements like town boxes
124 ** intended to be referenced directly from the wiki src
130 /* table standards */
149 ** keep the whitespace in front of the ^=, hides rule from konqueror
150 ** this is css3, the validator doesn't like it when validating as css2
152 #bodyContent a
.external
,
153 #bodyContent a
.external
[href ^
="gopher://"] {
155 background: url
(external-ltr
.png
) center right no-repeat
;
158 #bodyContent a
.external
[href ^
="https://"],
161 background: url
(lock_icon.gif) center right no-repeat
;
164 #bodyContent a
.external
[href ^
="mailto:"],
167 background: url
(mail_icon.gif) center right no-repeat
;
170 #bodyContent a
.external
[href ^
="news://"] {
172 background: url
(news_icon.png) center right no-repeat
;
175 #bodyContent a
.external
[href ^
="ftp://"],
178 background: url
(file_icon.gif) center right no-repeat
;
181 #bodyContent a
.external
[href ^
="irc://"],
182 #bodyContent a
.external
[href ^
="ircs://"],
185 background: url
(discussionitem_icon.gif) center right no-repeat
;
188 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
189 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
190 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
191 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
192 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
193 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
196 background: url
("audio.png") center right no-repeat
;
199 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
200 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
201 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
202 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
205 background: url
("video.png") center right no-repeat
;
208 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
209 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
210 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
213 background: url
("document.png") center right no-repeat
;
217 /* Interwiki Styling */
218 #bodyContent a
.extiw
,
219 #bodyContent a
.extiw:active
{
224 #bodyContent a
.external
{
229 ** Structural Elements
233 ** general portlet styles (elements in the quickbar)
243 html
> body
.portlet
{
247 /* recover IEMac (might be fine with the float, but usually it's close to IE */
258 background: transparent
;
259 padding: 0 1em 0 .5em;
262 text-transform: lowercase
;
269 border: 1px solid
#2f6fab;
270 border-style: solid solid none solid
;
271 padding: 0 1em 0 1em;
272 text-transform: lowercase
;
281 background-color: white
;
283 border-collapse: collapse
;
284 border: 1px solid
#aaa;
285 padding: 0 .8em .3em .5em;
296 list-style-type: square
;
298 list-style-image: url
(bullet.gif);
313 position: absolute
; /*needed to use z-index */
327 background-repeat: no-repeat
;
328 background-position: 35% 50% !important
;
329 text-decoration: none
;
354 padding: .5em .4em .4em .4em;
357 #p-search #searchform div div
{
362 ** the personal toolbar
383 #p-personal .portlet
,
392 /* this is the ul contained in the portlet */
397 padding: 0 2em 0 3em;
416 text-decoration: none
;
418 padding-bottom: .2em;
421 #p-personal li
a:hover
{
422 background-color: white
;
423 padding-bottom: .2em;
424 text-decoration: none
;
426 #p-personal li
.active
a:hover
{
427 background-color: transparent
;
429 /* the icon in front of the user name, single quotes
430 in bg url to hide it from iemac */
435 background: url
(user.gif) top left no-repeat
;
437 text-transform: none
;
440 text-transform: lowercase
;
442 #p-personal li
.active
{
446 ** the page-related actions- page/talk, edit etc
458 border-collapse: collapse
;
468 border: 1px solid
#aaa;
475 #p-cactions li
.selected
{
476 border-color: #fabd23;
481 background-color: #fbfbfb;
484 padding: 0 .8em .3em;
488 text-decoration: none
;
490 #p-cactions li
.selected a
{
492 background-color: white
;
497 #p-cactions li
a:hover
{
499 text-decoration: none
;
500 background-color: white
;
505 #p-cactions li
.istalk
{
508 #p-cactions li
.istalk a
{
511 #p-cactions #ca-addsection a
{
515 /* offsets to distinguish the tab groups */
519 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
524 background-color: transparent
;
526 border-collapse: inherit
;
531 text-transform: lowercase
;
539 /* Override text-transform on languages where capitalization is significant */
540 .capitalize-all-nouns
.portlet h5
,
541 .capitalize-all-nouns
.portlet h6
,
542 .capitalize-all-nouns #p-personal ul
,
543 .capitalize-all-nouns #p-cactions ul li a {
544 text-transform: none
;
547 /* TODO: #t-iscite is only used by the Cite extension, come up with some
548 * system which allows extensions to add to this file on the fly
550 #t-ispermalink, #t-iscite
{
557 background-color: white
;
558 border-top: 1px solid
#fabd23;
559 border-bottom: 1px solid
#fabd23;
560 margin: .6em 0 1em 0;
561 padding: .4em 0 1.2em 0;
569 #f-poweredbyico, #f-copyrightico
{
572 top: -2px; /* Bump it up just a tad */
583 .mw-htmlform-submit {
598 background-color: #f0f0f0;
602 margin: 1px -2px 1px 2px;
604 padding: 2px 0 3px 0;
605 border: 1px solid
#fff;
606 border-right-color: #716f64;
610 list-style-type: none
;
611 list-style-image: none
;
614 #preftoc li
.selected
{
616 background-color: #f9f9f9;
617 border: 1px solid
#aaa;
624 #preftoc > li
.selected
{
633 text-decoration: none
;
635 #preftoc li
.selected a
{
637 text-decoration: none
;
641 border: 1px solid
#aaa;
644 background-color: #F9F9F9;
652 .prefsection legend {
655 .prefsection table, .prefsection legend {
656 background-color: #F9F9F9;
669 margin-bottom: 1.5em;
680 border: 1px solid
#aaa;
683 background-color: #f9f9f9;
687 div#userloginForm table
,
688 div#userlogin table
{
689 background-color: #f9f9f9;
692 div#userloginForm h2
,
697 div#userlogin
.captcha
,
698 div#userloginForm
.captcha
{
699 border: 1px solid
#bbb;
701 background-color: white
;
704 #loginend, #signupend
{
708 #userloginprompt, #languagelinks
{
718 #userlogin .loginText
, #userlogin
.loginPassword
{
722 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
727 ** IE/Mac fixes, hope to find a validating way to move this
728 ** to a separate stylesheet. This would work but doesn't validate:
729 ** @import("IEMacFixes.css");
731 /* tabs: border on the a, not the div */
732 * > html #p-cactions li
{ border: none
; }
733 * > html #p-cactions li a
{
734 border: 1px solid
#aaa;
737 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
738 /* footer icons need a fixed width */
739 * > html #f-poweredbyico
,
740 * > html #f-copyrightico
{ width: 88px; }
741 * > html #bodyContent
,
742 * > html #bodyContent pre
{
745 padding-bottom: 25px;
749 /* float/negative margin brokenness */
750 * html div#footer
{margin-top: 0;}
751 * html div#column-content
{
755 #pagehistory li
.selected
{ position: relative
; }
757 /* Mac IE 5.0 fix; floated content turns invisible */
758 * > html div#column-content
{
761 * > html div#column-one
{
766 * > html div#footer
{
782 .sharedUploadNotice {
788 background-color: #0f0;
792 border: 1px solid gray
;
793 background-color: #ffffff;
800 .editExternallyHelp {
811 input#wpSave
, input#wpDiff
{
812 margin-right: 0.33em;
821 border: 1px solid
#ccc;
827 div#searchTargetContainer
{
838 border: solid
1px blue
;
841 div#searchTarget ul li
{
845 div#searchTarget ul
li:before
{
847 content: "\00BB \0020";
850 div#searchTargetHide
{
852 border:solid
1px black
;
861 div
.multipageimagenavbox
{
862 border: solid
1px silver
;
868 div
.multipageimagenavbox div
.thumb
{
874 div
.multipageimagenavbox hr
{
878 table
.multipageimage td
{
882 .templatesUsed { margin-top: 1.5em; }
884 .mw-summary-preview {
888 /* Friendlier slave lag warnings */
889 div
.mw-lag-warn-normal
,
890 div
.mw-lag-warn-high
{
895 div
.mw-lag-warn-normal
{
896 border: 1px solid
#FFCC66;
897 background-color: #FFFFCC;
899 div
.mw-lag-warn-high
{
901 border: 2px solid
#FF0033;
902 background-color: #FFCCCC;
905 .MediaTransformError {
906 background-color: #ccc;
909 .MediaTransformError td {
911 vertical-align: middle
;
915 /* God-damned hack for the crappy layout */
920 /* Sometimes people don't want personal tools to be lowercase! */
922 text-transform: none
;
925 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */