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 1.5em 1em;
23 border: 1px solid
#aaa;
32 /* the left column width is specified in class .portlet */
35 ** We take advantage of keyword scaling- browsers won't go below 9px
36 ** More at http://www.w3.org/2003/07/30-font-size
37 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
41 font: x-small sans-serif
;
42 background: #f9f9f9 url
(headbg.jpg) 0 0 no-repeat
;
48 /* scale back up to a sane default */
64 /* we don't want the bottom borders of <h2>s to be visible through
66 background-color: white
;
69 text-decoration: none
;
80 text-decoration: underline
;
85 a
.new
, #p-personal a
.new
{
88 a
.new:visited
, #p-personal a
.new:visited
{
94 vertical-align: middle
;
97 margin: .4em 0 .5em 0;
107 background-color: #aaa;
109 margin: .2em 0 .2em 0;
112 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
; }
145 list-style-type: square
;
146 margin: .3em 0 0 1.5em;
148 list-style-image: url
(bullet.gif);
152 margin: .3em 0 0 3.2em;
154 list-style-image: none
;
174 border: 1px solid
#2f6fab;
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
241 #contentSub, #contentSub2
{
244 margin: 0 0 1.4em 1em;
252 /* Some space under the headers in the content area */
253 #bodyContent h1
, #bodyContent h2
{
256 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
263 /* user notification thing */
265 background-color: #ffce7b;
266 border: 1px solid
#ffa500;
271 vertical-align: middle
;
286 .errorbox, .successbox {
296 background-color: #fff2f2;
300 background-color: #dfd;
302 .errorbox h2, .successbox h2 {
311 border: 1px solid
#aaa;
312 background-color: #f9f9f9;
317 /* currently unused, intended to be used by a metadata box
318 in the bottom-right corner of the content area */
319 .documentDescription {
320 /* The summary text describing the document */
343 /* small for tables and similar */
358 border: 1px solid
#aaa;
359 background-color: #f9f9f9;
379 list-style-type: none
;
380 list-style-image: none
;
401 div
.floatright
, table
.floatright
{
405 margin: 0 0 .5em .5em;
408 border: .5em solid white;
409 border-width: .5em 0 .8em 1.4em;
412 div
.floatright p
{ font-style: italic
; }
413 div
.floatleft
, table
.floatleft
{
417 margin: 0 .5em .5em 0;
420 margin: .3em .5em .5em 0;
421 border: .5em solid white;
422 border-width: .5em 1.4em .8em 0;
425 div
.floatleft p
{ font-style: italic
; }
434 border: 1px solid
#ccc;
435 padding: 3px !important
;
436 background-color: #f9f9f9;
441 div
.thumb div a img
{
442 border: 1px solid
#ccc;
444 div
.thumb div div
.thumbcaption
{
448 padding: .3em 0 .1em 0;
452 border: none
!important
;
453 background: none
!important
;
455 div
.magnify a
, div
.magnify img
{
457 border: none
!important
;
458 background: none
!important
;
463 border-width: .5em 0 .8em 1.4em;
469 border-width: .5em 1.4em .8em 0;
477 vertical-align: middle
;
484 ** classes for special content elements like town boxes
485 ** intended to be referenced directly from the wiki src
491 /* table standards */
500 border: 1px solid
#aaa;
501 background-color: #f9f9f9;
510 border: 1px solid gray
;
526 margin: .1em 0 0 1.1em;
527 background-color: #f3f3f3;
539 /* Page history styling */
540 /* the auto-generated edit comments */
544 #pagehistory span
.user
{
548 #pagehistory span
.minor
{
552 border: 1px solid white
;
554 #pagehistory li
.selected
{
555 background-color: #f9f9f9;
556 border: 1px dashed
#aaa;
562 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
563 background-color: white
;
569 td
.diff-deletedline
{
583 ** keep the whitespace in front of the ^=, hides rule from konqueror
584 ** this is css3, the validator doesn't like it when validating as css2
586 #bodyContent a
.external
,
587 #bodyContent a
[href ^
="gopher://"] {
588 background: url
(external.png) center right no-repeat
;
591 #bodyContent a
[href ^
="https://"],
593 background: url
(lock_icon.gif) center right no-repeat
;
596 #bodyContent a
[href ^
="mailto:"],
598 background: url
(mail_icon.gif) center right no-repeat
;
601 #bodyContent a
[href ^
="news://"] {
602 background: url
(news_icon.png) center right no-repeat
;
605 #bodyContent a
[href ^
="ftp://"],
607 background: url
(file_icon.gif) center right no-repeat
;
610 #bodyContent a
[href ^
="irc://"],
612 background: url
(discussionitem_icon.gif) center right no-repeat
;
615 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
616 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
617 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
618 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
619 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
620 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
622 background: url
("audio.png") center right no-repeat
;
625 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
626 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
627 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
628 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
630 background: url
("video.png") center right no-repeat
;
633 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
634 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
635 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
637 background: url
("document.png") center right no-repeat
;
641 /* disable interwiki styling */
642 #bodyContent a
.extiw
,
643 #bodyContent a
.extiw:active
{
648 #bodyContent a
.external
{
651 /* this can be used in the content area to switch off
652 special external link styling */
653 #bodyContent .plainlinks a
{
654 background: none
!important
;
655 padding: 0 !important
;
658 ** Structural Elements
662 ** general portlet styles (elements in the quickbar)
678 background: transparent
;
679 padding: 0 1em 0 .5em;
682 text-transform: lowercase
;
689 border: 1px solid
#2f6fab;
690 border-style: solid solid none solid
;
691 padding: 0 1em 0 1em;
692 text-transform: lowercase
;
701 background-color: white
;
703 border-collapse: collapse
;
704 border: 1px solid
#aaa;
705 padding: 0 .8em .3em .5em;
716 list-style-type: square
;
717 list-style-image: url
(bullet.gif);
731 position: absolute
; /*needed to use z-index */
746 background-repeat: no-repeat
;
747 background-position: 35% 50% !important
;
748 text-decoration: none
;
752 ** the navigation portlet
760 #p-navigation .pBody
{
768 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
769 text-decoration: none
;
797 padding: .5em .4em .4em .4em;
802 ** the personal toolbar
823 #p-personal .portlet
,
832 /* this is the ul contained in the portlet */
837 padding: 0 2em 0 3em;
840 text-transform: lowercase
;
856 #p-personal li
.active
{
860 text-decoration: none
;
862 padding-bottom: .2em;
865 #p-personal li
a:hover
{
866 background-color: white
;
867 padding-bottom: .2em;
868 text-decoration: none
;
870 #p-personal li
.active
a:hover
{
871 background-color: transparent
;
873 /* the icon in front of the user name, single quotes
874 in bg url to hide it from iemac */
878 background: url
(user.gif) top left no-repeat
;
880 text-transform: none
;
884 ** the page-related actions- page/talk, edit etc
896 border-collapse: collapse
;
901 #p-cactions .hiddenStructure
{
909 border: 1px solid
#aaa;
916 #p-cactions li
.selected
{
917 border-color: #fabd23;
922 background-color: #fbfbfb;
925 padding: 0 .8em .3em;
926 text-decoration: none
;
927 text-transform: lowercase
;
932 #p-cactions li
.selected a
{
934 background-color: #fff;
935 padding: 0 1em .2em!important
;
940 #p-cactions li
a:hover
{
942 text-decoration: none
;
943 background-color: #fff;
948 #p-cactions li
.istalk
{
951 #p-cactions li
.istalk a
{
954 #p-cactions #ca-addsection a
{
958 /* offsets to distinguish the tab groups */
962 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
967 ** the remaining portlets
975 /* TODO: #t-iscite is only used by the Cite extension, come up with some
976 * system which allows extensions to add to this file on the fly
978 #t-ispermalink, #t-iscite
{
985 background-color: white
;
986 border-top: 1px solid
#fabd23;
987 border-bottom: 1px solid
#fabd23;
988 margin: .6em 0 1em 0;
989 padding: .4em 0 1.2em 0;
997 /* hide from incapable browsers */
998 head:first-child
+body #footer li
{ white-space: nowrap
; }
999 #f-poweredbyico, #f-copyrightico
{
1002 top: -2px; /* Bump it up just a tad */
1021 margin: 1px -2px 1px 2px;
1023 padding: 2px 0 3px 0;
1024 background-color: #f0f0f0;
1026 border: 1px solid
#fff;
1027 border-right-color: #716f64;
1030 white-space: nowrap
;
1031 list-style-type: none
;
1032 list-style-image: none
;
1035 #preftoc li
.selected
{
1037 background-color: #f9f9f9;
1038 border: 1px solid
#aaa;
1039 border-bottom: none
;
1045 #preftoc > li
.selected
{
1054 text-decoration: none
;
1056 #preftoc li
.selected a
{
1058 text-decoration: none
;
1066 border: 1px solid
#aaa;
1069 background-color: #F9F9F9;
1076 .prefsection fieldset {
1077 border: 1px solid
#aaa;
1081 .prefsection legend {
1084 .prefsection table, .prefsection legend {
1085 background-color: #F9F9F9;
1090 div
.prefsectiontip
{
1093 background-color: #FFC1C1;
1100 padding-right: .3em;
1103 .preferences-login {
1105 margin-bottom: 1.5em;
1113 div#userloginForm form
,
1114 div#userlogin form#userlogin2
{
1115 margin: 0 3em 1em 0;
1116 border: 1px solid
#aaa;
1119 background-color: #f9f9f9;
1123 div#userloginForm table
,
1124 div#userlogin form#userlogin2 table
{
1125 background-color: #f9f9f9;
1128 div#userloginForm h2
,
1129 div#userlogin form#userlogin2 h2
{
1133 div#userlogin
.captcha
{
1134 border: 1px solid
#bbb;
1137 background-color: white
;
1141 #userloginprompt, #languagelinks
{
1151 #userlogin .loginText
, #userlogin
.loginPassword
{
1155 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1160 ** IE/Mac fixes, hope to find a validating way to move this
1161 ** to a separate stylesheet. This would work but doesn't validate:
1162 ** @import("IEMacFixes.css");
1164 /* tabs: border on the a, not the div */
1165 * > html #p-cactions li
{ border: none
; }
1166 * > html #p-cactions li a
{
1167 border: 1px solid
#aaa;
1168 border-bottom: none
;
1170 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1171 /* footer icons need a fixed width */
1172 * > html #f-poweredbyico
,
1173 * > html #f-copyrightico
{ width: 88px; }
1174 * > html #bodyContent
,
1175 * > html #bodyContent pre
{
1178 padding-bottom: 25px;
1182 /* float/negative margin brokenness */
1183 * html #footer
{margin-top: 0;}
1184 * html #column-content
{
1188 * html div
.editsection
{ font-size: smaller
; }
1189 #pagehistory li
.selected
{ position: relative
; }
1191 /* Mac IE 5.0 fix; floated content turns invisible */
1192 * > html #column-content
{
1195 * > html #column-one
{
1201 margin-left: 13.2em;
1213 background-color: #ffa;
1219 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1230 .sharedUploadNotice {
1234 span
.updatedmarker
{
1236 background-color: #0f0;
1238 span
.newpageletter
{
1241 background-color: yellow
;
1243 span
.minoreditletter
{
1245 background-color: #c5ffe6;
1249 border: 1px solid
#ccc;
1252 background-color: white
;
1256 vertical-align: top
;
1260 vertical-align: top
;
1261 background-color: #f9f9f9;
1262 border: solid
2px white
;
1265 table
.gallery td
.galleryheader
{
1275 div
.gallerybox div
.thumb
{
1277 border: 1px solid
#ccc;
1297 border-bottom: 1px solid
#aaa;
1298 padding-bottom: 1em;
1308 border: 1px solid gray
;
1309 background-color: #ffffff;
1316 .editExternallyHelp {
1321 li span
.deleted
, span
.history-deleted
{
1322 text-decoration: line-through
;
1332 /* Classes for EXIF data display */
1336 margin-bottom: 0.5em;
1340 table
.mw_metadata caption
{
1344 table
.mw_metadata th
{
1345 font-weight: normal
;
1348 table
.mw_metadata td
{
1354 border-collapse: collapse
;
1357 table
.mw_metadata td
, table
.mw_metadata th
{
1359 border: 1px solid
#aaaaaa;
1360 padding-left: 0.1em;
1361 padding-right: 0.1em;
1364 table
.mw_metadata th
{
1365 background-color: #f9f9f9;
1368 table
.mw_metadata td
{
1369 background-color: #fcfcfc;
1372 table
.collapsed tr
.collapsable
{
1380 border: 1px solid
#aaaaaa;
1381 background-color: #f9f9f9;
1384 margin-bottom: 0.5em;
1391 list-style-type: none
;
1400 input#wpSave
, input#wpDiff
{
1401 margin-right: 0.33em;
1404 #editform .editOptions
{
1412 /* Classes for article validation */
1414 table
.revisionform_default
{
1415 border: 1px solid
#000000;
1418 table
.revisionform_focus
{
1419 border: 1px solid
#000000;
1420 background-color:#00BBFF;
1423 tr
.revision_tr_default
{
1424 background-color:#EEEEEE;
1427 tr
.revision_tr_first
{
1428 background-color:#DDDDDD;
1437 border: solid
1px #bbbbff;
1438 background-color: #eeeeff;
1443 /* Allmessages table */
1445 #allmessagestable th
{
1446 background-color: #b2b2ff;
1449 #allmessagestable tr
.orig
{
1450 background-color: #ffe2e2;
1453 #allmessagestable tr
.new
{
1454 background-color: #e2ffe2;
1457 #allmessagestable tr
.def
{
1458 background-color: #f0f0ff;
1464 border: 1px solid
#ccc;
1470 div#searchTargetContainer
{
1480 background: #F0F0F0;
1481 border: solid
1px blue
;
1484 div#searchTarget ul li
{
1488 div#searchTarget ul
li:before
{
1490 content: "\00BB \0020";
1493 div
.multipageimagenavbox
{
1494 border: solid
1px silver
;
1497 -moz-border-radius: 6px;
1498 background: #f0f0f0;
1501 div
.multipageimagenavbox div
.thumb
{
1507 div
.multipageimagenavbox hr
{
1511 table
.multipageimage td
{
1516 Table pager (e.g. Special:Imagelist)
1517 - remove underlines from the navigation link
1519 - set the borders to outsets (similar to Special:Allmessages)
1520 - remove line wrapping for all td and th, set background color
1521 - restore line wrapping for the last two table cells (description and size)
1523 .TablePager_nav a { text-decoration: none
; }
1524 .TablePager { border-collapse: collapse
; }
1525 .TablePager, .TablePager td, .TablePager th {
1526 border: 0.15em solid
#777777;
1527 padding: 0 0.15em 0 0.15em;
1529 .TablePager th { background-color: #eeeeff }
1530 .TablePager td { background-color: #ffffff }
1531 .TablePager tr:hover td { background-color: #eeeeff }
1533 .imagelist td, .imagelist th { white-space: nowrap
}
1534 .imagelist .TablePager_col_links { background-color: #eeeeff }
1535 .imagelist .TablePager_col_img_description { white-space: normal
}
1536 .imagelist th.TablePager_sort { background-color: #ccccff }
1538 .templatesUsed { margin-top: 1.5em; }
1540 .mw-summary-preview {
1543 #toolbar { clear: both
; }