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
225 #contentSub, #contentSub2
{
228 margin: 0 0 1.4em 1em;
236 /* Some space under the headers in the content area */
237 #bodyContent h1
, #bodyContent h2
{
240 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
247 /* user notification thing */
249 background-color: #ffce7b;
250 border: 1px solid
#ffa500;
255 vertical-align: middle
;
271 border: 1px solid
#aaa;
272 background-color: #f9f9f9;
277 /* currently unused, intended to be used by a metadata box
278 in the bottom-right corner of the content area */
279 .documentDescription {
280 /* The summary text describing the document */
303 /* small for tables and similar */
317 border: 1px solid
#aaa;
318 background-color: #f9f9f9;
338 list-style-type: none
;
339 list-style-image: none
;
355 div
.floatright
, table
.floatright
{
359 margin: 0 0 .5em .5em;
362 border: .5em solid white;
363 border-width: .5em 0 .8em 1.4em;
366 div
.floatright p
{ font-style: italic
; }
367 div
.floatleft
, table
.floatleft
{
370 margin: 0 .5em .5em 0;
373 margin: .3em .5em .5em 0;
374 border: .5em solid white;
375 border-width: .5em 1.4em .8em 0;
378 div
.floatleft p
{ font-style: italic
; }
387 border: 1px solid
#ccc;
388 padding: 3px !important
;
389 background-color: #f9f9f9;
394 div
.thumb div a img
{
395 border: 1px solid
#ccc;
397 div
.thumb div div
.thumbcaption
{
401 padding: .3em 0 .1em 0;
405 border: none
!important
;
406 background: none
!important
;
408 div
.magnify a
, div
.magnify img
{
410 border: none
!important
;
411 background: none
!important
;
416 border-width: .5em 0 .8em 1.4em;
421 border-width: .5em 1.4em .8em 0;
428 vertical-align: middle
;
435 ** classes for special content elements like town boxes
436 ** intended to be referenced directly from the wiki src
442 /* table standards */
451 border: 1px solid
#aaa;
452 background-color: #f9f9f9;
461 border: 1px solid gray
;
477 margin: .1em 0 0 1.1em;
478 background-color: #f3f3f3;
490 /* Page history styling */
491 /* the auto-generated edit comments */
495 #pagehistory span
.user
{
499 #pagehistory span
.minor
{
503 border: 1px solid white
;
505 #pagehistory li
.selected
{
506 background-color: #f9f9f9;
507 border: 1px dashed
#aaa;
513 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
514 background-color: white
;
520 td
.diff-deletedline
{
534 ** keep the whitespace in front of the ^=, hides rule from konqueror
535 ** this is css3, the validator doesn't like it when validating as css2
537 #bodyContent a
[href ^
="http://"],
538 #bodyContent a
[href ^
="gopher://"] {
539 background: url
(external.png) center right no-repeat
;
542 #bodyContent a
[href ^
="https://"],
544 background: url
(lock_icon.gif) center right no-repeat
;
547 #bodyContent a
[href ^
="mailto:"],
549 background: url
(mail_icon.gif) center right no-repeat
;
552 #bodyContent a
[href ^
="news://"] {
553 background: url
(news_icon.png) center right no-repeat
;
556 #bodyContent a
[href ^
="ftp://"],
558 background: url
(file_icon.gif) center right no-repeat
;
561 #bodyContent a
[href ^
="irc://"],
563 background: url
(discussionitem_icon.gif) center right no-repeat
;
566 /* disable interwiki styling */
567 #bodyContent a
.extiw
,
568 #bodyContent a
.extiw:active
{
573 #bodyContent a
.external
{
576 /* this can be used in the content area to switch off
577 special external link styling */
578 #bodyContent .plainlinks a
{
579 background: none
!important
;
583 ** Structural Elements
587 ** general portlet styles (elements in the quickbar)
603 background: transparent
;
604 padding: 0 1em 0 .5em;
607 text-transform: lowercase
;
614 border: 1px solid
#2f6fab;
615 border-style: solid solid none solid
;
616 padding: 0 1em 0 1em;
617 text-transform: lowercase
;
626 background-color: white
;
628 border-collapse: collapse
;
629 border: 1px solid
#aaa;
630 padding: 0 .8em .3em .5em;
641 list-style-type: square
;
642 list-style-image: url
(bullet.gif);
656 position: absolute
; /*needed to use z-index */
671 background-repeat: no-repeat
;
672 background-position: 35% 50% !important
;
673 text-decoration: none
;
677 ** the navigation portlet
685 #p-navigation .pBody
{
693 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
694 text-decoration: none
;
725 padding: .5em .4em .4em .4em;
729 ** the personal toolbar
750 #p-personal .portlet
,
759 /* this is the ul contained in the portlet */
764 padding: 0 2em 0 3em;
767 text-transform: lowercase
;
783 text-decoration: none
;
785 padding-bottom: .2em;
788 #p-personal li
a:hover
{
789 background-color: white
;
790 padding-bottom: .2em;
791 text-decoration: none
;
794 /* the icon in front of the user name, single quotes
795 in bg url to hide it from iemac */
799 background: url
(user.gif) top left no-repeat
;
801 text-transform: none
;
805 ** the page-related actions- page/talk, edit etc
817 border-collapse: collapse
;
822 #p-cactions .hiddenStructure
{
830 border: 1px solid
#aaa;
837 #p-cactions li
.selected
{
838 border-color: #fabd23;
843 background-color: white
;
846 padding: 0 .8em .3em .8em;
847 text-decoration: none
;
848 text-transform: lowercase
;
853 #p-cactions .selected a
{
859 #p-cactions li
a:hover
{
861 text-decoration: none
;
866 #p-cactions li
.istalk
{
869 #p-cactions li
.istalk a
{
872 #p-cactions #ca-addsection a
{
876 /* offsets to distinguish the tab groups */
880 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
885 ** the remaining portlets
900 background-color: white
;
901 border-top: 1px solid
#fabd23;
902 border-bottom: 1px solid
#fabd23;
903 margin: .6em 0 1em 0;
904 padding: .4em 0 1.2em 0;
912 /* hide from incapable browsers */
913 head:first-child
+body #footer li
{ white-space: nowrap
; }
914 #f-poweredbyico, #f-copyrightico
{
917 top: -2px; /* Bump it up just a tad */
936 margin: 1px -2px 1px 2px;
938 padding: 2px 0 3px 0;
939 background-color: #f0f0f0;
941 border: 1px solid
#fff;
942 border-right-color: #716f64;
946 list-style-type: none
;
947 list-style-image: none
;
950 #preftoc li
.selected
{
952 background-color: #f9f9f9;
953 border: 1px solid
#aaa;
960 #preftoc > li
.selected
{
969 text-decoration: none
;
971 #preftoc li
.selected a
{
973 text-decoration: none
;
981 border: 1px solid
#aaa;
984 background-color: #F9F9F9;
991 .prefsection fieldset {
992 border: 1px solid
#aaa;
996 .prefsection legend {
999 .prefsection table, .prefsection legend {
1000 background-color: #F9F9F9;
1005 div
.prefsectiontip
{
1008 background-color: #FFC1C1;
1015 padding-right: .3em;
1018 .preferences-save-success {
1019 border: 2px solid green
;
1021 padding: .5em 1.2em;
1022 background-color: #ddffdd;
1027 .preferences-login {
1029 margin-bottom: 1.5em;
1038 ** IE/Mac fixes, hope to find a validating way to move this
1039 ** to a separate stylesheet. This would work but doesn't validate:
1040 ** @import("IEMacFixes.css");
1042 /* tabs: border on the a, not the div */
1043 * > html #p-cactions li
{ border: none
; }
1044 * > html #p-cactions li a
{
1045 border: 1px solid
#aaa;
1046 border-bottom: none
;
1048 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1049 /* footer icons need a fixed width */
1050 * > html #f-poweredbyico
,
1051 * > html #f-copyrightico
{ width: 88px; }
1052 * > html #bodyContent
,
1053 * > html #bodyContent pre
{
1056 padding-bottom: 25px;
1060 /* float/negative margin brokenness */
1061 * html #footer
{margin-top: 0;}
1062 * html #column-content
{
1066 * html div
.editsection
{ font-size: smaller
; }
1067 #pagehistory li
.selected
{ position: relative
; }
1069 /* Mac IE 5.0 fix; floated content turns invisible */
1070 * > html #column-content
{
1073 * > html #column-one
{
1079 margin-left: 13.2em;
1091 background-color: #ffa;
1097 span
.newpage
, span
.minor
, span
.searchmatch
{
1108 .sharedUploadNotice {
1112 span
.updatedmarker
{
1114 background-color: #0f0;
1116 span
.newpageletter
{
1119 background-color: yellow
;
1121 span
.minoreditletter
{
1123 background-color: #c5ffe6;
1127 border: 1px solid
#ccc;
1130 background-color: white
;
1134 vertical-align: top
;
1138 vertical-align: top
;
1139 background-color: #f9f9f9;
1140 border: solid
2px white
;
1148 div
.gallerybox div
.thumb
{
1150 border: 1px solid
#ccc;
1170 border-bottom: 1px solid
#aaa;
1171 padding-bottom: 1em;
1176 border: 1px solid gray
;
1177 background-color: #ffffff;
1184 .editExternallyHelp {
1190 text-decoration: line-through
;
1200 /* Classes for EXIF data display */
1204 margin-bottom: 0.5em;
1207 table
.metadata caption
{
1212 font-weight: normal
;
1221 border-collapse: collapse
;
1224 table
.metadata td
, table
.metadata th
{
1226 border: 1px solid
#aaaaaa;
1227 padding-left: 0.1em;
1228 padding-right: 0.1em;
1232 background-color: #f9f9f9;
1236 background-color: #fcfcfc;
1242 border: 1px solid
#aaaaaa;
1243 background-color: #f9f9f9;
1246 margin-bottom: 0.5em;
1253 list-style-type: none
;
1258 input#wpSave
, input#wpDiff
{
1259 margin-right: 0.33em;
1263 /* Classes for article validation */
1265 table
.revisionform_default
{
1266 border: 1px solid
#000000;
1269 table
.revisionform_focus
{
1270 border: 1px solid
#000000;
1271 background-color:#00BBFF;
1274 tr
.revision_tr_default
{
1275 background-color:#EEEEEE;
1278 tr
.revision_tr_first
{
1279 background-color:#DDDDDD;
1288 border: solid
1px #bbbbff;
1289 background-color: #eeeeff;
1294 /* Allmessages table */
1296 #allmessagestable th
{
1297 background-color: #b2b2ff;
1300 #allmessagestable tr
.orig
{
1301 background-color: #ffe2e2;
1304 #allmessagestable tr
.new
{
1305 background-color: #e2ffe2;
1308 #allmessagestable tr
.def
{
1309 background-color: #f0f0ff;
1315 border: 1px solid
#ccc;