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 */
67 text-decoration: none
;
78 text-decoration: underline
;
83 a
.new
, #p-personal a
.new
{
86 a
.new:visited
, #p-personal a
.new:visited
{
92 vertical-align: middle
;
95 margin: .4em 0 .5em 0;
105 background-color: #aaa;
107 margin: .2em 0 .2em 0;
110 h1
, h2
, h3
, h4
, h5
, h6
{
116 padding-bottom: .17em;
117 border-bottom: 1px solid
#aaa;
119 h1
{ font-size: 188%; }
120 h2
{ font-size: 150%; }
125 h3
{ font-size: 132%; }
126 h4
{ font-size: 116%; }
127 h5
{ font-size: 100%; }
128 h6
{ font-size: 80%; }
132 list-style-type: square
;
133 margin: .3em 0 0 1.5em;
135 list-style-image: url
(bullet.gif);
139 margin: .3em 0 0 3.2em;
141 list-style-image: none
;
161 border: 1px solid
#2f6fab;
181 input
.historysubmit
{
182 padding: 0 .3em .3em .3em !important
;
185 height: 1.7em !important
;
191 abbr
, acronym
, .explain
{
192 border-bottom: 1px dotted black
;
198 font-family: Times
, "Times New Roman", serif
;
203 font-family: Times, "Times New Roman", serif;
207 background-color: #f9f9f9;
211 border: 1px dashed
#2f6fab;
213 background-color: #f9f9f9;
218 ** the main content area
229 #contentSub, #contentSub2
{
232 margin: 0 0 1.4em 1em;
240 /* Some space under the headers in the content area */
241 #bodyContent h1
, #bodyContent h2
{
244 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
251 /* user notification thing */
253 background-color: #ffce7b;
254 border: 1px solid
#ffa500;
259 vertical-align: middle
;
274 .errorbox, .successbox {
284 background-color: #fff2f2;
288 background-color: #dfd;
290 .errorbox h2, .successbox h2 {
299 border: 1px solid
#aaa;
300 background-color: #f9f9f9;
305 /* currently unused, intended to be used by a metadata box
306 in the bottom-right corner of the content area */
307 .documentDescription {
308 /* The summary text describing the document */
331 /* small for tables and similar */
345 border: 1px solid
#aaa;
346 background-color: #f9f9f9;
366 list-style-type: none
;
367 list-style-image: none
;
383 div
.floatright
, table
.floatright
{
387 margin: 0 0 .5em .5em;
390 border: .5em solid white;
391 border-width: .5em 0 .8em 1.4em;
394 div
.floatright p
{ font-style: italic
; }
395 div
.floatleft
, table
.floatleft
{
398 margin: 0 .5em .5em 0;
401 margin: .3em .5em .5em 0;
402 border: .5em solid white;
403 border-width: .5em 1.4em .8em 0;
406 div
.floatleft p
{ font-style: italic
; }
415 border: 1px solid
#ccc;
416 padding: 3px !important
;
417 background-color: #f9f9f9;
422 div
.thumb div a img
{
423 border: 1px solid
#ccc;
425 div
.thumb div div
.thumbcaption
{
429 padding: .3em 0 .1em 0;
433 border: none
!important
;
434 background: none
!important
;
436 div
.magnify a
, div
.magnify img
{
438 border: none
!important
;
439 background: none
!important
;
444 border-width: .5em 0 .8em 1.4em;
449 border-width: .5em 1.4em .8em 0;
456 vertical-align: middle
;
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;
489 border: 1px solid gray
;
505 margin: .1em 0 0 1.1em;
506 background-color: #f3f3f3;
518 /* Page history styling */
519 /* the auto-generated edit comments */
523 #pagehistory span
.user
{
527 #pagehistory span
.minor
{
531 border: 1px solid white
;
533 #pagehistory li
.selected
{
534 background-color: #f9f9f9;
535 border: 1px dashed
#aaa;
541 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
542 background-color: white
;
548 td
.diff-deletedline
{
562 ** keep the whitespace in front of the ^=, hides rule from konqueror
563 ** this is css3, the validator doesn't like it when validating as css2
565 #bodyContent a
[href ^
="http://"],
566 #bodyContent a
[href ^
="gopher://"] {
567 background: url
(external.png) center right no-repeat
;
570 #bodyContent a
[href ^
="https://"],
572 background: url
(lock_icon.gif) center right no-repeat
;
575 #bodyContent a
[href ^
="mailto:"],
577 background: url
(mail_icon.gif) center right no-repeat
;
580 #bodyContent a
[href ^
="news://"] {
581 background: url
(news_icon.png) center right no-repeat
;
584 #bodyContent a
[href ^
="ftp://"],
586 background: url
(file_icon.gif) center right no-repeat
;
589 #bodyContent a
[href ^
="irc://"],
591 background: url
(discussionitem_icon.gif) center right no-repeat
;
594 /* disable interwiki styling */
595 #bodyContent a
.extiw
,
596 #bodyContent a
.extiw:active
{
601 #bodyContent a
.external
{
604 /* this can be used in the content area to switch off
605 special external link styling */
606 #bodyContent .plainlinks a
{
607 background: none
!important
;
611 ** Structural Elements
615 ** general portlet styles (elements in the quickbar)
631 background: transparent
;
632 padding: 0 1em 0 .5em;
635 text-transform: lowercase
;
642 border: 1px solid
#2f6fab;
643 border-style: solid solid none solid
;
644 padding: 0 1em 0 1em;
645 text-transform: lowercase
;
654 background-color: white
;
656 border-collapse: collapse
;
657 border: 1px solid
#aaa;
658 padding: 0 .8em .3em .5em;
669 list-style-type: square
;
670 list-style-image: url
(bullet.gif);
684 position: absolute
; /*needed to use z-index */
699 background-repeat: no-repeat
;
700 background-position: 35% 50% !important
;
701 text-decoration: none
;
705 ** the navigation portlet
713 #p-navigation .pBody
{
721 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
722 text-decoration: none
;
753 padding: .5em .4em .4em .4em;
757 ** the personal toolbar
778 #p-personal .portlet
,
787 /* this is the ul contained in the portlet */
792 padding: 0 2em 0 3em;
795 text-transform: lowercase
;
811 #p-personal li
.active
{
815 text-decoration: none
;
817 padding-bottom: .2em;
820 #p-personal li
a:hover
{
821 background-color: white
;
822 padding-bottom: .2em;
823 text-decoration: none
;
825 #p-personal li
.active
a:hover
{
826 background-color: transparent
;
828 /* the icon in front of the user name, single quotes
829 in bg url to hide it from iemac */
833 background: url
(user.gif) top left no-repeat
;
835 text-transform: none
;
839 ** the page-related actions- page/talk, edit etc
851 border-collapse: collapse
;
856 #p-cactions .hiddenStructure
{
864 border: 1px solid
#aaa;
871 #p-cactions li
.selected
{
872 border-color: #fabd23;
877 background-color: #fbfbfb;
880 padding: 0 .8em .3em;
881 text-decoration: none
;
882 text-transform: lowercase
;
887 #p-cactions li
.selected a
{
889 background-color: #fff;
890 padding: 0 1em .2em!important
;
895 #p-cactions li
a:hover
{
897 text-decoration: none
;
898 background-color: #fff;
903 #p-cactions li
.istalk
{
906 #p-cactions li
.istalk a
{
909 #p-cactions #ca-addsection a
{
913 /* offsets to distinguish the tab groups */
917 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
922 ** the remaining portlets
930 /* TODO: #t-iscite is only used by the Cite extension, come up with some
931 * system which allows extensions to add to this file on the fly
933 #t-ispermalink, #t-iscite
{
940 background-color: white
;
941 border-top: 1px solid
#fabd23;
942 border-bottom: 1px solid
#fabd23;
943 margin: .6em 0 1em 0;
944 padding: .4em 0 1.2em 0;
952 /* hide from incapable browsers */
953 head:first-child
+body #footer li
{ white-space: nowrap
; }
954 #f-poweredbyico, #f-copyrightico
{
957 top: -2px; /* Bump it up just a tad */
976 margin: 1px -2px 1px 2px;
978 padding: 2px 0 3px 0;
979 background-color: #f0f0f0;
981 border: 1px solid
#fff;
982 border-right-color: #716f64;
986 list-style-type: none
;
987 list-style-image: none
;
990 #preftoc li
.selected
{
992 background-color: #f9f9f9;
993 border: 1px solid
#aaa;
1000 #preftoc > li
.selected
{
1009 text-decoration: none
;
1011 #preftoc li
.selected a
{
1013 text-decoration: none
;
1021 border: 1px solid
#aaa;
1024 background-color: #F9F9F9;
1031 .prefsection fieldset {
1032 border: 1px solid
#aaa;
1036 .prefsection legend {
1039 .prefsection table, .prefsection legend {
1040 background-color: #F9F9F9;
1045 div
.prefsectiontip
{
1048 background-color: #FFC1C1;
1055 padding-right: .3em;
1058 .preferences-login {
1060 margin-bottom: 1.5em;
1069 margin: 0 3em 1em 0;
1070 border: 1px solid
#aaa;
1073 background-color: #f9f9f9;
1077 #userloginForm table
{
1078 background-color: #f9f9f9;
1089 #login-emailforlost {
1095 #userlogin .loginText
, #userlogin
.loginPassword
{
1099 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1104 ** IE/Mac fixes, hope to find a validating way to move this
1105 ** to a separate stylesheet. This would work but doesn't validate:
1106 ** @import("IEMacFixes.css");
1108 /* tabs: border on the a, not the div */
1109 * > html #p-cactions li
{ border: none
; }
1110 * > html #p-cactions li a
{
1111 border: 1px solid
#aaa;
1112 border-bottom: none
;
1114 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1115 /* footer icons need a fixed width */
1116 * > html #f-poweredbyico
,
1117 * > html #f-copyrightico
{ width: 88px; }
1118 * > html #bodyContent
,
1119 * > html #bodyContent pre
{
1122 padding-bottom: 25px;
1126 /* float/negative margin brokenness */
1127 * html #footer
{margin-top: 0;}
1128 * html #column-content
{
1132 * html div
.editsection
{ font-size: smaller
; }
1133 #pagehistory li
.selected
{ position: relative
; }
1135 /* Mac IE 5.0 fix; floated content turns invisible */
1136 * > html #column-content
{
1139 * > html #column-one
{
1145 margin-left: 13.2em;
1157 background-color: #ffa;
1163 span
.newpage
, span
.minor
, span
.searchmatch
{
1174 .sharedUploadNotice {
1178 span
.updatedmarker
{
1180 background-color: #0f0;
1182 span
.newpageletter
{
1185 background-color: yellow
;
1187 span
.minoreditletter
{
1189 background-color: #c5ffe6;
1193 border: 1px solid
#ccc;
1196 background-color: white
;
1200 vertical-align: top
;
1204 vertical-align: top
;
1205 background-color: #f9f9f9;
1206 border: solid
2px white
;
1214 div
.gallerybox div
.thumb
{
1216 border: 1px solid
#ccc;
1236 border-bottom: 1px solid
#aaa;
1237 padding-bottom: 1em;
1247 border: 1px solid gray
;
1248 background-color: #ffffff;
1255 .editExternallyHelp {
1260 li span
.deleted
, span
.history-deleted
{
1261 text-decoration: line-through
;
1271 /* Classes for EXIF data display */
1275 margin-bottom: 0.5em;
1279 table
.mw_metadata caption
{
1283 table
.mw_metadata th
{
1284 font-weight: normal
;
1287 table
.mw_metadata td
{
1293 border-collapse: collapse
;
1296 table
.mw_metadata td
, table
.mw_metadata th
{
1298 border: 1px solid
#aaaaaa;
1299 padding-left: 0.1em;
1300 padding-right: 0.1em;
1303 table
.mw_metadata th
{
1304 background-color: #f9f9f9;
1307 table
.mw_metadata td
{
1308 background-color: #fcfcfc;
1311 table
.collapsed tr
.collapsable
{
1319 border: 1px solid
#aaaaaa;
1320 background-color: #f9f9f9;
1323 margin-bottom: 0.5em;
1330 list-style-type: none
;
1335 input#wpSave
, input#wpDiff
{
1336 margin-right: 0.33em;
1339 #editform .editOptions
{
1347 /* Classes for article validation */
1349 table
.revisionform_default
{
1350 border: 1px solid
#000000;
1353 table
.revisionform_focus
{
1354 border: 1px solid
#000000;
1355 background-color:#00BBFF;
1358 tr
.revision_tr_default
{
1359 background-color:#EEEEEE;
1362 tr
.revision_tr_first
{
1363 background-color:#DDDDDD;
1372 border: solid
1px #bbbbff;
1373 background-color: #eeeeff;
1378 /* Allmessages table */
1380 #allmessagestable th
{
1381 background-color: #b2b2ff;
1384 #allmessagestable tr
.orig
{
1385 background-color: #ffe2e2;
1388 #allmessagestable tr
.new
{
1389 background-color: #e2ffe2;
1392 #allmessagestable tr
.def
{
1393 background-color: #f0f0ff;
1399 border: 1px solid
#ccc;