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
;
275 border: 1px solid
#aaa;
276 background-color: #f9f9f9;
281 /* currently unused, intended to be used by a metadata box
282 in the bottom-right corner of the content area */
283 .documentDescription {
284 /* The summary text describing the document */
307 /* small for tables and similar */
321 border: 1px solid
#aaa;
322 background-color: #f9f9f9;
342 list-style-type: none
;
343 list-style-image: none
;
359 div
.floatright
, table
.floatright
{
363 margin: 0 0 .5em .5em;
366 border: .5em solid white;
367 border-width: .5em 0 .8em 1.4em;
370 div
.floatright p
{ font-style: italic
; }
371 div
.floatleft
, table
.floatleft
{
374 margin: 0 .5em .5em 0;
377 margin: .3em .5em .5em 0;
378 border: .5em solid white;
379 border-width: .5em 1.4em .8em 0;
382 div
.floatleft p
{ font-style: italic
; }
391 border: 1px solid
#ccc;
392 padding: 3px !important
;
393 background-color: #f9f9f9;
398 div
.thumb div a img
{
399 border: 1px solid
#ccc;
401 div
.thumb div div
.thumbcaption
{
405 padding: .3em 0 .1em 0;
409 border: none
!important
;
410 background: none
!important
;
412 div
.magnify a
, div
.magnify img
{
414 border: none
!important
;
415 background: none
!important
;
420 border-width: .5em 0 .8em 1.4em;
425 border-width: .5em 1.4em .8em 0;
432 vertical-align: middle
;
439 ** classes for special content elements like town boxes
440 ** intended to be referenced directly from the wiki src
446 /* table standards */
455 border: 1px solid
#aaa;
456 background-color: #f9f9f9;
465 border: 1px solid gray
;
481 margin: .1em 0 0 1.1em;
482 background-color: #f3f3f3;
494 /* Page history styling */
495 /* the auto-generated edit comments */
499 #pagehistory span
.user
{
503 #pagehistory span
.minor
{
507 border: 1px solid white
;
509 #pagehistory li
.selected
{
510 background-color: #f9f9f9;
511 border: 1px dashed
#aaa;
517 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
518 background-color: white
;
524 td
.diff-deletedline
{
538 ** keep the whitespace in front of the ^=, hides rule from konqueror
539 ** this is css3, the validator doesn't like it when validating as css2
541 #bodyContent a
[href ^
="http://"],
542 #bodyContent a
[href ^
="gopher://"] {
543 background: url
(external.png) center right no-repeat
;
546 #bodyContent a
[href ^
="https://"],
548 background: url
(lock_icon.gif) center right no-repeat
;
551 #bodyContent a
[href ^
="mailto:"],
553 background: url
(mail_icon.gif) center right no-repeat
;
556 #bodyContent a
[href ^
="news://"] {
557 background: url
(news_icon.png) center right no-repeat
;
560 #bodyContent a
[href ^
="ftp://"],
562 background: url
(file_icon.gif) center right no-repeat
;
565 #bodyContent a
[href ^
="irc://"],
567 background: url
(discussionitem_icon.gif) center right no-repeat
;
570 /* disable interwiki styling */
571 #bodyContent a
.extiw
,
572 #bodyContent a
.extiw:active
{
577 #bodyContent a
.external
{
580 /* this can be used in the content area to switch off
581 special external link styling */
582 #bodyContent .plainlinks a
{
583 background: none
!important
;
587 ** Structural Elements
591 ** general portlet styles (elements in the quickbar)
607 background: transparent
;
608 padding: 0 1em 0 .5em;
611 text-transform: lowercase
;
618 border: 1px solid
#2f6fab;
619 border-style: solid solid none solid
;
620 padding: 0 1em 0 1em;
621 text-transform: lowercase
;
630 background-color: white
;
632 border-collapse: collapse
;
633 border: 1px solid
#aaa;
634 padding: 0 .8em .3em .5em;
645 list-style-type: square
;
646 list-style-image: url
(bullet.gif);
660 position: absolute
; /*needed to use z-index */
675 background-repeat: no-repeat
;
676 background-position: 35% 50% !important
;
677 text-decoration: none
;
681 ** the navigation portlet
689 #p-navigation .pBody
{
697 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
698 text-decoration: none
;
729 padding: .5em .4em .4em .4em;
733 ** the personal toolbar
754 #p-personal .portlet
,
763 /* this is the ul contained in the portlet */
768 padding: 0 2em 0 3em;
771 text-transform: lowercase
;
787 #p-personal li
.active
{
791 text-decoration: none
;
793 padding-bottom: .2em;
796 #p-personal li
a:hover
{
797 background-color: white
;
798 padding-bottom: .2em;
799 text-decoration: none
;
801 #p-personal li
.active
a:hover
{
802 background-color: transparent
;
804 /* the icon in front of the user name, single quotes
805 in bg url to hide it from iemac */
809 background: url
(user.gif) top left no-repeat
;
811 text-transform: none
;
815 ** the page-related actions- page/talk, edit etc
827 border-collapse: collapse
;
832 #p-cactions .hiddenStructure
{
840 border: 1px solid
#aaa;
847 #p-cactions li
.selected
{
848 border-color: #fabd23;
853 background-color: #fbfbfb;
856 padding: 0 .8em .3em;
857 text-decoration: none
;
858 text-transform: lowercase
;
863 #p-cactions li
.selected a
{
865 background-color: #fff;
866 padding: 0 1em .2em!important
;
871 #p-cactions li
a:hover
{
873 text-decoration: none
;
874 background-color: #fff;
879 #p-cactions li
.istalk
{
882 #p-cactions li
.istalk a
{
885 #p-cactions #ca-addsection a
{
889 /* offsets to distinguish the tab groups */
893 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
898 ** the remaining portlets
913 background-color: white
;
914 border-top: 1px solid
#fabd23;
915 border-bottom: 1px solid
#fabd23;
916 margin: .6em 0 1em 0;
917 padding: .4em 0 1.2em 0;
925 /* hide from incapable browsers */
926 head:first-child
+body #footer li
{ white-space: nowrap
; }
927 #f-poweredbyico, #f-copyrightico
{
930 top: -2px; /* Bump it up just a tad */
949 margin: 1px -2px 1px 2px;
951 padding: 2px 0 3px 0;
952 background-color: #f0f0f0;
954 border: 1px solid
#fff;
955 border-right-color: #716f64;
959 list-style-type: none
;
960 list-style-image: none
;
963 #preftoc li
.selected
{
965 background-color: #f9f9f9;
966 border: 1px solid
#aaa;
973 #preftoc > li
.selected
{
982 text-decoration: none
;
984 #preftoc li
.selected a
{
986 text-decoration: none
;
994 border: 1px solid
#aaa;
997 background-color: #F9F9F9;
1004 .prefsection fieldset {
1005 border: 1px solid
#aaa;
1009 .prefsection legend {
1012 .prefsection table, .prefsection legend {
1013 background-color: #F9F9F9;
1018 div
.prefsectiontip
{
1021 background-color: #FFC1C1;
1028 padding-right: .3em;
1031 .preferences-save-success {
1032 border: 2px solid green
;
1034 padding: .5em 1.2em;
1035 background-color: #ddffdd;
1040 .preferences-login {
1042 margin-bottom: 1.5em;
1051 ** IE/Mac fixes, hope to find a validating way to move this
1052 ** to a separate stylesheet. This would work but doesn't validate:
1053 ** @import("IEMacFixes.css");
1055 /* tabs: border on the a, not the div */
1056 * > html #p-cactions li
{ border: none
; }
1057 * > html #p-cactions li a
{
1058 border: 1px solid
#aaa;
1059 border-bottom: none
;
1061 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1062 /* footer icons need a fixed width */
1063 * > html #f-poweredbyico
,
1064 * > html #f-copyrightico
{ width: 88px; }
1065 * > html #bodyContent
,
1066 * > html #bodyContent pre
{
1069 padding-bottom: 25px;
1073 /* float/negative margin brokenness */
1074 * html #footer
{margin-top: 0;}
1075 * html #column-content
{
1079 * html div
.editsection
{ font-size: smaller
; }
1080 #pagehistory li
.selected
{ position: relative
; }
1082 /* Mac IE 5.0 fix; floated content turns invisible */
1083 * > html #column-content
{
1086 * > html #column-one
{
1092 margin-left: 13.2em;
1104 background-color: #ffa;
1110 span
.newpage
, span
.minor
, span
.searchmatch
{
1121 .sharedUploadNotice {
1125 span
.updatedmarker
{
1127 background-color: #0f0;
1129 span
.newpageletter
{
1132 background-color: yellow
;
1134 span
.minoreditletter
{
1136 background-color: #c5ffe6;
1140 border: 1px solid
#ccc;
1143 background-color: white
;
1147 vertical-align: top
;
1151 vertical-align: top
;
1152 background-color: #f9f9f9;
1153 border: solid
2px white
;
1161 div
.gallerybox div
.thumb
{
1163 border: 1px solid
#ccc;
1183 border-bottom: 1px solid
#aaa;
1184 padding-bottom: 1em;
1194 border: 1px solid gray
;
1195 background-color: #ffffff;
1202 .editExternallyHelp {
1208 text-decoration: line-through
;
1218 /* Classes for EXIF data display */
1222 margin-bottom: 0.5em;
1225 table
.metadata caption
{
1230 font-weight: normal
;
1239 border-collapse: collapse
;
1242 table
.metadata td
, table
.metadata th
{
1244 border: 1px solid
#aaaaaa;
1245 padding-left: 0.1em;
1246 padding-right: 0.1em;
1250 background-color: #f9f9f9;
1254 background-color: #fcfcfc;
1260 border: 1px solid
#aaaaaa;
1261 background-color: #f9f9f9;
1264 margin-bottom: 0.5em;
1271 list-style-type: none
;
1276 input#wpSave
, input#wpDiff
{
1277 margin-right: 0.33em;
1280 #editform .editOptions
{
1288 /* Classes for article validation */
1290 table
.revisionform_default
{
1291 border: 1px solid
#000000;
1294 table
.revisionform_focus
{
1295 border: 1px solid
#000000;
1296 background-color:#00BBFF;
1299 tr
.revision_tr_default
{
1300 background-color:#EEEEEE;
1303 tr
.revision_tr_first
{
1304 background-color:#DDDDDD;
1313 border: solid
1px #bbbbff;
1314 background-color: #eeeeff;
1319 /* Allmessages table */
1321 #allmessagestable th
{
1322 background-color: #b2b2ff;
1325 #allmessagestable tr
.orig
{
1326 background-color: #ffe2e2;
1329 #allmessagestable tr
.new
{
1330 background-color: #e2ffe2;
1333 #allmessagestable tr
.def
{
1334 background-color: #f0f0ff;
1340 border: 1px solid
#ccc;