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 #p-personal li
.active
{
787 text-decoration: none
;
789 padding-bottom: .2em;
792 #p-personal li
a:hover
{
793 background-color: white
;
794 padding-bottom: .2em;
795 text-decoration: none
;
797 #p-personal li
.active
a:hover
{
798 background-color: transparent
;
800 /* the icon in front of the user name, single quotes
801 in bg url to hide it from iemac */
805 background: url
(user.gif) top left no-repeat
;
807 text-transform: none
;
811 ** the page-related actions- page/talk, edit etc
823 border-collapse: collapse
;
828 #p-cactions .hiddenStructure
{
836 border: 1px solid
#aaa;
843 #p-cactions li
.selected
{
844 border-color: #fabd23;
849 background-color: white
;
852 padding: 0 .8em .3em .8em;
853 text-decoration: none
;
854 text-transform: lowercase
;
859 #p-cactions .selected a
{
865 #p-cactions li
a:hover
{
867 text-decoration: none
;
872 #p-cactions li
.istalk
{
875 #p-cactions li
.istalk a
{
878 #p-cactions #ca-addsection a
{
882 /* offsets to distinguish the tab groups */
886 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
891 ** the remaining portlets
906 background-color: white
;
907 border-top: 1px solid
#fabd23;
908 border-bottom: 1px solid
#fabd23;
909 margin: .6em 0 1em 0;
910 padding: .4em 0 1.2em 0;
918 /* hide from incapable browsers */
919 head:first-child
+body #footer li
{ white-space: nowrap
; }
920 #f-poweredbyico, #f-copyrightico
{
923 top: -2px; /* Bump it up just a tad */
942 margin: 1px -2px 1px 2px;
944 padding: 2px 0 3px 0;
945 background-color: #f0f0f0;
947 border: 1px solid
#fff;
948 border-right-color: #716f64;
952 list-style-type: none
;
953 list-style-image: none
;
956 #preftoc li
.selected
{
958 background-color: #f9f9f9;
959 border: 1px solid
#aaa;
966 #preftoc > li
.selected
{
975 text-decoration: none
;
977 #preftoc li
.selected a
{
979 text-decoration: none
;
987 border: 1px solid
#aaa;
990 background-color: #F9F9F9;
997 .prefsection fieldset {
998 border: 1px solid
#aaa;
1002 .prefsection legend {
1005 .prefsection table, .prefsection legend {
1006 background-color: #F9F9F9;
1011 div
.prefsectiontip
{
1014 background-color: #FFC1C1;
1021 padding-right: .3em;
1024 .preferences-save-success {
1025 border: 2px solid green
;
1027 padding: .5em 1.2em;
1028 background-color: #ddffdd;
1033 .preferences-login {
1035 margin-bottom: 1.5em;
1044 ** IE/Mac fixes, hope to find a validating way to move this
1045 ** to a separate stylesheet. This would work but doesn't validate:
1046 ** @import("IEMacFixes.css");
1048 /* tabs: border on the a, not the div */
1049 * > html #p-cactions li
{ border: none
; }
1050 * > html #p-cactions li a
{
1051 border: 1px solid
#aaa;
1052 border-bottom: none
;
1054 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1055 /* footer icons need a fixed width */
1056 * > html #f-poweredbyico
,
1057 * > html #f-copyrightico
{ width: 88px; }
1058 * > html #bodyContent
,
1059 * > html #bodyContent pre
{
1062 padding-bottom: 25px;
1066 /* float/negative margin brokenness */
1067 * html #footer
{margin-top: 0;}
1068 * html #column-content
{
1072 * html div
.editsection
{ font-size: smaller
; }
1073 #pagehistory li
.selected
{ position: relative
; }
1075 /* Mac IE 5.0 fix; floated content turns invisible */
1076 * > html #column-content
{
1079 * > html #column-one
{
1085 margin-left: 13.2em;
1097 background-color: #ffa;
1103 span
.newpage
, span
.minor
, span
.searchmatch
{
1114 .sharedUploadNotice {
1118 span
.updatedmarker
{
1120 background-color: #0f0;
1122 span
.newpageletter
{
1125 background-color: yellow
;
1127 span
.minoreditletter
{
1129 background-color: #c5ffe6;
1133 border: 1px solid
#ccc;
1136 background-color: white
;
1140 vertical-align: top
;
1144 vertical-align: top
;
1145 background-color: #f9f9f9;
1146 border: solid
2px white
;
1154 div
.gallerybox div
.thumb
{
1156 border: 1px solid
#ccc;
1176 border-bottom: 1px solid
#aaa;
1177 padding-bottom: 1em;
1187 border: 1px solid gray
;
1188 background-color: #ffffff;
1195 .editExternallyHelp {
1201 text-decoration: line-through
;
1211 /* Classes for EXIF data display */
1215 margin-bottom: 0.5em;
1218 table
.metadata caption
{
1223 font-weight: normal
;
1232 border-collapse: collapse
;
1235 table
.metadata td
, table
.metadata th
{
1237 border: 1px solid
#aaaaaa;
1238 padding-left: 0.1em;
1239 padding-right: 0.1em;
1243 background-color: #f9f9f9;
1247 background-color: #fcfcfc;
1253 border: 1px solid
#aaaaaa;
1254 background-color: #f9f9f9;
1257 margin-bottom: 0.5em;
1264 list-style-type: none
;
1269 input#wpSave
, input#wpDiff
{
1270 margin-right: 0.33em;
1274 /* Classes for article validation */
1276 table
.revisionform_default
{
1277 border: 1px solid
#000000;
1280 table
.revisionform_focus
{
1281 border: 1px solid
#000000;
1282 background-color:#00BBFF;
1285 tr
.revision_tr_default
{
1286 background-color:#EEEEEE;
1289 tr
.revision_tr_first
{
1290 background-color:#DDDDDD;
1299 border: solid
1px #bbbbff;
1300 background-color: #eeeeff;
1305 /* Allmessages table */
1307 #allmessagestable th
{
1308 background-color: #b2b2ff;
1311 #allmessagestable tr
.orig
{
1312 background-color: #ffe2e2;
1315 #allmessagestable tr
.new
{
1316 background-color: #e2ffe2;
1319 #allmessagestable tr
.def
{
1320 background-color: #f0f0ff;
1326 border: 1px solid
#ccc;