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 */
66 text-decoration: none
;
77 text-decoration: underline
;
82 a
.new
, #p-personal a
.new
{
85 a
.new:visited
, #p-personal a
.new:visited
{
91 vertical-align: middle
;
94 margin: .4em 0 .5em 0;
104 background-color: #aaa;
106 margin: .2em 0 .2em 0;
109 h1
, h2
, h3
, h4
, h5
, h6
{
115 padding-bottom: .17em;
116 border-bottom: 1px solid
#aaa;
118 h1
{ font-size: 188%; }
119 h2
{ font-size: 150%; }
124 h3
{ font-size: 132%; }
125 h4
{ font-size: 116%; }
126 h5
{ font-size: 100%; }
127 h6
{ font-size: 80%; }
131 list-style-type: square
;
132 margin: .3em 0 0 1.5em;
134 list-style-image: url
(bullet.gif);
138 margin: .3em 0 0 3.2em;
140 list-style-image: none
;
160 border: 1px solid
#2f6fab;
179 input
.historysubmit
{
180 padding: 0 .3em .3em .3em !important
;
183 height: 1.7em !important
;
189 abbr
, acronym
, .explain
{
190 border-bottom: 1px dotted black
;
196 font-family: Times
, "Times New Roman", serif
;
201 font-family: Times, "Times New Roman", serif;
205 background-color: #f9f9f9;
209 border: 1px dashed
#2f6fab;
211 background-color: #f9f9f9;
216 ** the main content area
227 #contentSub, #contentSub2
{
230 margin: 0 0 1.4em 1em;
238 /* Some space under the headers in the content area */
239 #bodyContent h1
, #bodyContent h2
{
242 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
249 /* user notification thing */
251 background-color: #ffce7b;
252 border: 1px solid
#ffa500;
257 vertical-align: middle
;
272 .errorbox, .successbox {
282 background-color: #fff2f2;
286 background-color: #dfd;
288 .errorbox h2, .successbox h2 {
297 border: 1px solid
#aaa;
298 background-color: #f9f9f9;
303 /* currently unused, intended to be used by a metadata box
304 in the bottom-right corner of the content area */
305 .documentDescription {
306 /* The summary text describing the document */
329 /* small for tables and similar */
344 border: 1px solid
#aaa;
345 background-color: #f9f9f9;
365 list-style-type: none
;
366 list-style-image: none
;
387 div
.floatright
, table
.floatright
{
391 margin: 0 0 .5em .5em;
394 border: .5em solid white;
395 border-width: .5em 0 .8em 1.4em;
398 div
.floatright p
{ font-style: italic
; }
399 div
.floatleft
, table
.floatleft
{
402 margin: 0 .5em .5em 0;
405 margin: .3em .5em .5em 0;
406 border: .5em solid white;
407 border-width: .5em 1.4em .8em 0;
410 div
.floatleft p
{ font-style: italic
; }
419 border: 1px solid
#ccc;
420 padding: 3px !important
;
421 background-color: #f9f9f9;
426 div
.thumb div a img
{
427 border: 1px solid
#ccc;
429 div
.thumb div div
.thumbcaption
{
433 padding: .3em 0 .1em 0;
437 border: none
!important
;
438 background: none
!important
;
440 div
.magnify a
, div
.magnify img
{
442 border: none
!important
;
443 background: none
!important
;
448 border-width: .5em 0 .8em 1.4em;
453 border-width: .5em 1.4em .8em 0;
461 vertical-align: middle
;
468 ** classes for special content elements like town boxes
469 ** intended to be referenced directly from the wiki src
475 /* table standards */
484 border: 1px solid
#aaa;
485 background-color: #f9f9f9;
494 border: 1px solid gray
;
510 margin: .1em 0 0 1.1em;
511 background-color: #f3f3f3;
523 /* Page history styling */
524 /* the auto-generated edit comments */
528 #pagehistory span
.user
{
532 #pagehistory span
.minor
{
536 border: 1px solid white
;
538 #pagehistory li
.selected
{
539 background-color: #f9f9f9;
540 border: 1px dashed
#aaa;
546 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
547 background-color: white
;
553 td
.diff-deletedline
{
567 ** keep the whitespace in front of the ^=, hides rule from konqueror
568 ** this is css3, the validator doesn't like it when validating as css2
570 #bodyContent a
.external
,
571 #bodyContent a
[href ^
="gopher://"] {
572 background: url
(external.png) center right no-repeat
;
575 #bodyContent a
[href ^
="https://"],
577 background: url
(lock_icon.gif) center right no-repeat
;
580 #bodyContent a
[href ^
="mailto:"],
582 background: url
(mail_icon.gif) center right no-repeat
;
585 #bodyContent a
[href ^
="news://"] {
586 background: url
(news_icon.png) center right no-repeat
;
589 #bodyContent a
[href ^
="ftp://"],
591 background: url
(file_icon.gif) center right no-repeat
;
594 #bodyContent a
[href ^
="irc://"],
596 background: url
(discussionitem_icon.gif) center right no-repeat
;
599 /* disable interwiki styling */
600 #bodyContent a
.extiw
,
601 #bodyContent a
.extiw:active
{
606 #bodyContent a
.external
{
609 /* this can be used in the content area to switch off
610 special external link styling */
611 #bodyContent .plainlinks a
{
612 background: none
!important
;
613 padding: 0 !important
;
616 ** Structural Elements
620 ** general portlet styles (elements in the quickbar)
636 background: transparent
;
637 padding: 0 1em 0 .5em;
640 text-transform: lowercase
;
647 border: 1px solid
#2f6fab;
648 border-style: solid solid none solid
;
649 padding: 0 1em 0 1em;
650 text-transform: lowercase
;
659 background-color: white
;
661 border-collapse: collapse
;
662 border: 1px solid
#aaa;
663 padding: 0 .8em .3em .5em;
674 list-style-type: square
;
675 list-style-image: url
(bullet.gif);
689 position: absolute
; /*needed to use z-index */
704 background-repeat: no-repeat
;
705 background-position: 35% 50% !important
;
706 text-decoration: none
;
710 ** the navigation portlet
718 #p-navigation .pBody
{
726 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
727 text-decoration: none
;
755 padding: .5em .4em .4em .4em;
760 ** the personal toolbar
781 #p-personal .portlet
,
790 /* this is the ul contained in the portlet */
795 padding: 0 2em 0 3em;
798 text-transform: lowercase
;
814 #p-personal li
.active
{
818 text-decoration: none
;
820 padding-bottom: .2em;
823 #p-personal li
a:hover
{
824 background-color: white
;
825 padding-bottom: .2em;
826 text-decoration: none
;
828 #p-personal li
.active
a:hover
{
829 background-color: transparent
;
831 /* the icon in front of the user name, single quotes
832 in bg url to hide it from iemac */
836 background: url
(user.gif) top left no-repeat
;
838 text-transform: none
;
842 ** the page-related actions- page/talk, edit etc
854 border-collapse: collapse
;
859 #p-cactions .hiddenStructure
{
867 border: 1px solid
#aaa;
874 #p-cactions li
.selected
{
875 border-color: #fabd23;
880 background-color: #fbfbfb;
883 padding: 0 .8em .3em;
884 text-decoration: none
;
885 text-transform: lowercase
;
890 #p-cactions li
.selected a
{
892 background-color: #fff;
893 padding: 0 1em .2em!important
;
898 #p-cactions li
a:hover
{
900 text-decoration: none
;
901 background-color: #fff;
906 #p-cactions li
.istalk
{
909 #p-cactions li
.istalk a
{
912 #p-cactions #ca-addsection a
{
916 /* offsets to distinguish the tab groups */
920 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
925 ** the remaining portlets
933 /* TODO: #t-iscite is only used by the Cite extension, come up with some
934 * system which allows extensions to add to this file on the fly
936 #t-ispermalink, #t-iscite
{
943 background-color: white
;
944 border-top: 1px solid
#fabd23;
945 border-bottom: 1px solid
#fabd23;
946 margin: .6em 0 1em 0;
947 padding: .4em 0 1.2em 0;
955 /* hide from incapable browsers */
956 head:first-child
+body #footer li
{ white-space: nowrap
; }
957 #f-poweredbyico, #f-copyrightico
{
960 top: -2px; /* Bump it up just a tad */
979 margin: 1px -2px 1px 2px;
981 padding: 2px 0 3px 0;
982 background-color: #f0f0f0;
984 border: 1px solid
#fff;
985 border-right-color: #716f64;
989 list-style-type: none
;
990 list-style-image: none
;
993 #preftoc li
.selected
{
995 background-color: #f9f9f9;
996 border: 1px solid
#aaa;
1003 #preftoc > li
.selected
{
1012 text-decoration: none
;
1014 #preftoc li
.selected a
{
1016 text-decoration: none
;
1024 border: 1px solid
#aaa;
1027 background-color: #F9F9F9;
1034 .prefsection fieldset {
1035 border: 1px solid
#aaa;
1039 .prefsection legend {
1042 .prefsection table, .prefsection legend {
1043 background-color: #F9F9F9;
1048 div
.prefsectiontip
{
1051 background-color: #FFC1C1;
1058 padding-right: .3em;
1061 .preferences-login {
1063 margin-bottom: 1.5em;
1071 div#userloginForm form
,
1072 div#userlogin form#userlogin2
{
1073 margin: 0 3em 1em 0;
1074 border: 1px solid
#aaa;
1077 background-color: #f9f9f9;
1081 div#userloginForm table
,
1082 div#userlogin form#userlogin2 table
{
1083 background-color: #f9f9f9;
1086 div#userloginForm h2
,
1087 div#userlogin form#userlogin2 h2
{
1091 div#userlogin
.captcha
{
1092 border: 1px solid
#bbb;
1095 background-color: white
;
1099 #userloginprompt, #languagelinks
{
1109 #userlogin .loginText
, #userlogin
.loginPassword
{
1113 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1118 ** IE/Mac fixes, hope to find a validating way to move this
1119 ** to a separate stylesheet. This would work but doesn't validate:
1120 ** @import("IEMacFixes.css");
1122 /* tabs: border on the a, not the div */
1123 * > html #p-cactions li
{ border: none
; }
1124 * > html #p-cactions li a
{
1125 border: 1px solid
#aaa;
1126 border-bottom: none
;
1128 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1129 /* footer icons need a fixed width */
1130 * > html #f-poweredbyico
,
1131 * > html #f-copyrightico
{ width: 88px; }
1132 * > html #bodyContent
,
1133 * > html #bodyContent pre
{
1136 padding-bottom: 25px;
1140 /* float/negative margin brokenness */
1141 * html #footer
{margin-top: 0;}
1142 * html #column-content
{
1146 * html div
.editsection
{ font-size: smaller
; }
1147 #pagehistory li
.selected
{ position: relative
; }
1149 /* Mac IE 5.0 fix; floated content turns invisible */
1150 * > html #column-content
{
1153 * > html #column-one
{
1159 margin-left: 13.2em;
1171 background-color: #ffa;
1177 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1188 .sharedUploadNotice {
1192 span
.updatedmarker
{
1194 background-color: #0f0;
1196 span
.newpageletter
{
1199 background-color: yellow
;
1201 span
.minoreditletter
{
1203 background-color: #c5ffe6;
1207 border: 1px solid
#ccc;
1210 background-color: white
;
1214 vertical-align: top
;
1218 vertical-align: top
;
1219 background-color: #f9f9f9;
1220 border: solid
2px white
;
1223 table
.gallery td
.galleryheader
{
1233 div
.gallerybox div
.thumb
{
1235 border: 1px solid
#ccc;
1255 border-bottom: 1px solid
#aaa;
1256 padding-bottom: 1em;
1266 border: 1px solid gray
;
1267 background-color: #ffffff;
1274 .editExternallyHelp {
1279 li span
.deleted
, span
.history-deleted
{
1280 text-decoration: line-through
;
1290 /* Classes for EXIF data display */
1294 margin-bottom: 0.5em;
1298 table
.mw_metadata caption
{
1302 table
.mw_metadata th
{
1303 font-weight: normal
;
1306 table
.mw_metadata td
{
1312 border-collapse: collapse
;
1315 table
.mw_metadata td
, table
.mw_metadata th
{
1317 border: 1px solid
#aaaaaa;
1318 padding-left: 0.1em;
1319 padding-right: 0.1em;
1322 table
.mw_metadata th
{
1323 background-color: #f9f9f9;
1326 table
.mw_metadata td
{
1327 background-color: #fcfcfc;
1330 table
.collapsed tr
.collapsable
{
1338 border: 1px solid
#aaaaaa;
1339 background-color: #f9f9f9;
1342 margin-bottom: 0.5em;
1349 list-style-type: none
;
1354 input#wpSave
, input#wpDiff
{
1355 margin-right: 0.33em;
1358 #editform .editOptions
{
1366 /* Classes for article validation */
1368 table
.revisionform_default
{
1369 border: 1px solid
#000000;
1372 table
.revisionform_focus
{
1373 border: 1px solid
#000000;
1374 background-color:#00BBFF;
1377 tr
.revision_tr_default
{
1378 background-color:#EEEEEE;
1381 tr
.revision_tr_first
{
1382 background-color:#DDDDDD;
1391 border: solid
1px #bbbbff;
1392 background-color: #eeeeff;
1397 /* Allmessages table */
1399 #allmessagestable th
{
1400 background-color: #b2b2ff;
1403 #allmessagestable tr
.orig
{
1404 background-color: #ffe2e2;
1407 #allmessagestable tr
.new
{
1408 background-color: #e2ffe2;
1411 #allmessagestable tr
.def
{
1412 background-color: #f0f0ff;
1418 border: 1px solid
#ccc;
1424 div#searchTargetContainer
{
1434 background: #F0F0F0;
1435 border: solid
1px blue
;
1438 div#searchTarget ul li
{
1442 div#searchTarget ul
li:before
{
1444 content: "\00BB \0020";
1447 div
.multipageimagenavbox
{
1448 border: solid
1px silver
;
1451 -moz-border-radius: 6px;
1452 background: #f0f0f0;
1455 div
.multipageimagenavbox div
.thumb
{
1461 div
.multipageimagenavbox hr
{
1465 table
.multipageimage td
{
1470 Table pager (e.g. Special:Imagelist)
1471 - remove underlines from the navigation link
1473 - set the borders to outsets (similar to Special:Allmessages)
1474 - remove line wrapping for all td and th, set background color
1475 - restore line wrapping for the last two table cells (description and size)
1477 .TablePager_nav a { text-decoration: none
; }
1478 .TablePager { border-collapse: collapse
; }
1479 .TablePager, .TablePager td, .TablePager th {
1480 border: 0.15em solid
#777777;
1481 padding: 0 0.15em 0 0.15em;
1483 .TablePager th { background-color: #eeeeff }
1484 .TablePager td { background-color: #ffffff }
1485 .TablePager tr:hover td { background-color: #eeeeff }
1487 .imagelist td, .imagelist th { white-space: nowrap
}
1488 .imagelist .TablePager_col_links { background-color: #eeeeff }
1489 .imagelist .TablePager_col_img_description { white-space: normal
}
1490 .imagelist th.TablePager_sort { background-color: #ccccff }