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 h2
{ font-size: 150%; }
127 h3
{ font-size: 132%; }
128 h4
{ font-size: 116%; }
129 h5
{ font-size: 100%; }
130 h6
{ font-size: 80%; }
139 list-style-type: square
;
140 margin: .3em 0 0 1.5em;
142 list-style-image: url
(bullet.gif);
146 margin: .3em 0 0 3.2em;
148 list-style-image: none
;
168 border: 1px solid
#2f6fab;
187 input
.historysubmit
{
188 padding: 0 .3em .3em .3em !important
;
191 height: 1.7em !important
;
197 abbr
, acronym
, .explain
{
198 border-bottom: 1px dotted black
;
204 font-family: Times
, "Times New Roman", serif
;
209 font-family: Times, "Times New Roman", serif;
213 background-color: #f9f9f9;
217 border: 1px dashed
#2f6fab;
219 background-color: #f9f9f9;
224 ** the main content area
235 #contentSub, #contentSub2
{
238 margin: 0 0 1.4em 1em;
246 /* Some space under the headers in the content area */
247 #bodyContent h1
, #bodyContent h2
{
250 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
257 /* user notification thing */
259 background-color: #ffce7b;
260 border: 1px solid
#ffa500;
265 vertical-align: middle
;
280 .errorbox, .successbox {
290 background-color: #fff2f2;
294 background-color: #dfd;
296 .errorbox h2, .successbox h2 {
305 border: 1px solid
#aaa;
306 background-color: #f9f9f9;
311 /* currently unused, intended to be used by a metadata box
312 in the bottom-right corner of the content area */
313 .documentDescription {
314 /* The summary text describing the document */
337 /* small for tables and similar */
352 border: 1px solid
#aaa;
353 background-color: #f9f9f9;
373 list-style-type: none
;
374 list-style-image: none
;
395 div
.floatright
, table
.floatright
{
399 margin: 0 0 .5em .5em;
402 border: .5em solid white;
403 border-width: .5em 0 .8em 1.4em;
406 div
.floatright p
{ font-style: italic
; }
407 div
.floatleft
, table
.floatleft
{
410 margin: 0 .5em .5em 0;
413 margin: .3em .5em .5em 0;
414 border: .5em solid white;
415 border-width: .5em 1.4em .8em 0;
418 div
.floatleft p
{ font-style: italic
; }
427 border: 1px solid
#ccc;
428 padding: 3px !important
;
429 background-color: #f9f9f9;
434 div
.thumb div a img
{
435 border: 1px solid
#ccc;
437 div
.thumb div div
.thumbcaption
{
441 padding: .3em 0 .1em 0;
445 border: none
!important
;
446 background: none
!important
;
448 div
.magnify a
, div
.magnify img
{
450 border: none
!important
;
451 background: none
!important
;
456 border-width: .5em 0 .8em 1.4em;
461 border-width: .5em 1.4em .8em 0;
469 vertical-align: middle
;
476 ** classes for special content elements like town boxes
477 ** intended to be referenced directly from the wiki src
483 /* table standards */
492 border: 1px solid
#aaa;
493 background-color: #f9f9f9;
502 border: 1px solid gray
;
518 margin: .1em 0 0 1.1em;
519 background-color: #f3f3f3;
531 /* Page history styling */
532 /* the auto-generated edit comments */
536 #pagehistory span
.user
{
540 #pagehistory span
.minor
{
544 border: 1px solid white
;
546 #pagehistory li
.selected
{
547 background-color: #f9f9f9;
548 border: 1px dashed
#aaa;
554 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
555 background-color: white
;
561 td
.diff-deletedline
{
575 ** keep the whitespace in front of the ^=, hides rule from konqueror
576 ** this is css3, the validator doesn't like it when validating as css2
578 #bodyContent a
.external
,
579 #bodyContent a
[href ^
="gopher://"] {
580 background: url
(external.png) center right no-repeat
;
583 #bodyContent a
[href ^
="https://"],
585 background: url
(lock_icon.gif) center right no-repeat
;
588 #bodyContent a
[href ^
="mailto:"],
590 background: url
(mail_icon.gif) center right no-repeat
;
593 #bodyContent a
[href ^
="news://"] {
594 background: url
(news_icon.png) center right no-repeat
;
597 #bodyContent a
[href ^
="ftp://"],
599 background: url
(file_icon.gif) center right no-repeat
;
602 #bodyContent a
[href ^
="irc://"],
604 background: url
(discussionitem_icon.gif) center right no-repeat
;
607 /* disable interwiki styling */
608 #bodyContent a
.extiw
,
609 #bodyContent a
.extiw:active
{
614 #bodyContent a
.external
{
617 /* this can be used in the content area to switch off
618 special external link styling */
619 #bodyContent .plainlinks a
{
620 background: none
!important
;
621 padding: 0 !important
;
624 ** Structural Elements
628 ** general portlet styles (elements in the quickbar)
644 background: transparent
;
645 padding: 0 1em 0 .5em;
648 text-transform: lowercase
;
655 border: 1px solid
#2f6fab;
656 border-style: solid solid none solid
;
657 padding: 0 1em 0 1em;
658 text-transform: lowercase
;
667 background-color: white
;
669 border-collapse: collapse
;
670 border: 1px solid
#aaa;
671 padding: 0 .8em .3em .5em;
682 list-style-type: square
;
683 list-style-image: url
(bullet.gif);
697 position: absolute
; /*needed to use z-index */
712 background-repeat: no-repeat
;
713 background-position: 35% 50% !important
;
714 text-decoration: none
;
718 ** the navigation portlet
726 #p-navigation .pBody
{
734 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
735 text-decoration: none
;
763 padding: .5em .4em .4em .4em;
768 ** the personal toolbar
789 #p-personal .portlet
,
798 /* this is the ul contained in the portlet */
803 padding: 0 2em 0 3em;
806 text-transform: lowercase
;
822 #p-personal li
.active
{
826 text-decoration: none
;
828 padding-bottom: .2em;
831 #p-personal li
a:hover
{
832 background-color: white
;
833 padding-bottom: .2em;
834 text-decoration: none
;
836 #p-personal li
.active
a:hover
{
837 background-color: transparent
;
839 /* the icon in front of the user name, single quotes
840 in bg url to hide it from iemac */
844 background: url
(user.gif) top left no-repeat
;
846 text-transform: none
;
850 ** the page-related actions- page/talk, edit etc
862 border-collapse: collapse
;
867 #p-cactions .hiddenStructure
{
875 border: 1px solid
#aaa;
882 #p-cactions li
.selected
{
883 border-color: #fabd23;
888 background-color: #fbfbfb;
891 padding: 0 .8em .3em;
892 text-decoration: none
;
893 text-transform: lowercase
;
898 #p-cactions li
.selected a
{
900 background-color: #fff;
901 padding: 0 1em .2em!important
;
906 #p-cactions li
a:hover
{
908 text-decoration: none
;
909 background-color: #fff;
914 #p-cactions li
.istalk
{
917 #p-cactions li
.istalk a
{
920 #p-cactions #ca-addsection a
{
924 /* offsets to distinguish the tab groups */
928 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
933 ** the remaining portlets
941 /* TODO: #t-iscite is only used by the Cite extension, come up with some
942 * system which allows extensions to add to this file on the fly
944 #t-ispermalink, #t-iscite
{
951 background-color: white
;
952 border-top: 1px solid
#fabd23;
953 border-bottom: 1px solid
#fabd23;
954 margin: .6em 0 1em 0;
955 padding: .4em 0 1.2em 0;
963 /* hide from incapable browsers */
964 head:first-child
+body #footer li
{ white-space: nowrap
; }
965 #f-poweredbyico, #f-copyrightico
{
968 top: -2px; /* Bump it up just a tad */
987 margin: 1px -2px 1px 2px;
989 padding: 2px 0 3px 0;
990 background-color: #f0f0f0;
992 border: 1px solid
#fff;
993 border-right-color: #716f64;
997 list-style-type: none
;
998 list-style-image: none
;
1001 #preftoc li
.selected
{
1003 background-color: #f9f9f9;
1004 border: 1px solid
#aaa;
1005 border-bottom: none
;
1011 #preftoc > li
.selected
{
1020 text-decoration: none
;
1022 #preftoc li
.selected a
{
1024 text-decoration: none
;
1032 border: 1px solid
#aaa;
1035 background-color: #F9F9F9;
1042 .prefsection fieldset {
1043 border: 1px solid
#aaa;
1047 .prefsection legend {
1050 .prefsection table, .prefsection legend {
1051 background-color: #F9F9F9;
1056 div
.prefsectiontip
{
1059 background-color: #FFC1C1;
1066 padding-right: .3em;
1069 .preferences-login {
1071 margin-bottom: 1.5em;
1079 div#userloginForm form
,
1080 div#userlogin form#userlogin2
{
1081 margin: 0 3em 1em 0;
1082 border: 1px solid
#aaa;
1085 background-color: #f9f9f9;
1089 div#userloginForm table
,
1090 div#userlogin form#userlogin2 table
{
1091 background-color: #f9f9f9;
1094 div#userloginForm h2
,
1095 div#userlogin form#userlogin2 h2
{
1099 div#userlogin
.captcha
{
1100 border: 1px solid
#bbb;
1103 background-color: white
;
1107 #userloginprompt, #languagelinks
{
1117 #userlogin .loginText
, #userlogin
.loginPassword
{
1121 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1126 ** IE/Mac fixes, hope to find a validating way to move this
1127 ** to a separate stylesheet. This would work but doesn't validate:
1128 ** @import("IEMacFixes.css");
1130 /* tabs: border on the a, not the div */
1131 * > html #p-cactions li
{ border: none
; }
1132 * > html #p-cactions li a
{
1133 border: 1px solid
#aaa;
1134 border-bottom: none
;
1136 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1137 /* footer icons need a fixed width */
1138 * > html #f-poweredbyico
,
1139 * > html #f-copyrightico
{ width: 88px; }
1140 * > html #bodyContent
,
1141 * > html #bodyContent pre
{
1144 padding-bottom: 25px;
1148 /* float/negative margin brokenness */
1149 * html #footer
{margin-top: 0;}
1150 * html #column-content
{
1154 * html div
.editsection
{ font-size: smaller
; }
1155 #pagehistory li
.selected
{ position: relative
; }
1157 /* Mac IE 5.0 fix; floated content turns invisible */
1158 * > html #column-content
{
1161 * > html #column-one
{
1167 margin-left: 13.2em;
1179 background-color: #ffa;
1185 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1196 .sharedUploadNotice {
1200 span
.updatedmarker
{
1202 background-color: #0f0;
1204 span
.newpageletter
{
1207 background-color: yellow
;
1209 span
.minoreditletter
{
1211 background-color: #c5ffe6;
1215 border: 1px solid
#ccc;
1218 background-color: white
;
1222 vertical-align: top
;
1226 vertical-align: top
;
1227 background-color: #f9f9f9;
1228 border: solid
2px white
;
1231 table
.gallery td
.galleryheader
{
1241 div
.gallerybox div
.thumb
{
1243 border: 1px solid
#ccc;
1263 border-bottom: 1px solid
#aaa;
1264 padding-bottom: 1em;
1274 border: 1px solid gray
;
1275 background-color: #ffffff;
1282 .editExternallyHelp {
1287 li span
.deleted
, span
.history-deleted
{
1288 text-decoration: line-through
;
1298 /* Classes for EXIF data display */
1302 margin-bottom: 0.5em;
1306 table
.mw_metadata caption
{
1310 table
.mw_metadata th
{
1311 font-weight: normal
;
1314 table
.mw_metadata td
{
1320 border-collapse: collapse
;
1323 table
.mw_metadata td
, table
.mw_metadata th
{
1325 border: 1px solid
#aaaaaa;
1326 padding-left: 0.1em;
1327 padding-right: 0.1em;
1330 table
.mw_metadata th
{
1331 background-color: #f9f9f9;
1334 table
.mw_metadata td
{
1335 background-color: #fcfcfc;
1338 table
.collapsed tr
.collapsable
{
1346 border: 1px solid
#aaaaaa;
1347 background-color: #f9f9f9;
1350 margin-bottom: 0.5em;
1357 list-style-type: none
;
1366 input#wpSave
, input#wpDiff
{
1367 margin-right: 0.33em;
1370 #editform .editOptions
{
1378 /* Classes for article validation */
1380 table
.revisionform_default
{
1381 border: 1px solid
#000000;
1384 table
.revisionform_focus
{
1385 border: 1px solid
#000000;
1386 background-color:#00BBFF;
1389 tr
.revision_tr_default
{
1390 background-color:#EEEEEE;
1393 tr
.revision_tr_first
{
1394 background-color:#DDDDDD;
1403 border: solid
1px #bbbbff;
1404 background-color: #eeeeff;
1409 /* Allmessages table */
1411 #allmessagestable th
{
1412 background-color: #b2b2ff;
1415 #allmessagestable tr
.orig
{
1416 background-color: #ffe2e2;
1419 #allmessagestable tr
.new
{
1420 background-color: #e2ffe2;
1423 #allmessagestable tr
.def
{
1424 background-color: #f0f0ff;
1430 border: 1px solid
#ccc;
1436 div#searchTargetContainer
{
1446 background: #F0F0F0;
1447 border: solid
1px blue
;
1450 div#searchTarget ul li
{
1454 div#searchTarget ul
li:before
{
1456 content: "\00BB \0020";
1459 div
.multipageimagenavbox
{
1460 border: solid
1px silver
;
1463 -moz-border-radius: 6px;
1464 background: #f0f0f0;
1467 div
.multipageimagenavbox div
.thumb
{
1473 div
.multipageimagenavbox hr
{
1477 table
.multipageimage td
{
1482 Table pager (e.g. Special:Imagelist)
1483 - remove underlines from the navigation link
1485 - set the borders to outsets (similar to Special:Allmessages)
1486 - remove line wrapping for all td and th, set background color
1487 - restore line wrapping for the last two table cells (description and size)
1489 .TablePager_nav a { text-decoration: none
; }
1490 .TablePager { border-collapse: collapse
; }
1491 .TablePager, .TablePager td, .TablePager th {
1492 border: 0.15em solid
#777777;
1493 padding: 0 0.15em 0 0.15em;
1495 .TablePager th { background-color: #eeeeff }
1496 .TablePager td { background-color: #ffffff }
1497 .TablePager tr:hover td { background-color: #eeeeff }
1499 .imagelist td, .imagelist th { white-space: nowrap
}
1500 .imagelist .TablePager_col_links { background-color: #eeeeff }
1501 .imagelist .TablePager_col_img_description { white-space: normal
}
1502 .imagelist th.TablePager_sort { background-color: #ccccff }