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
710 padding: .5em .4em .4em .4em;
714 ** the personal toolbar
735 #p-personal .portlet
,
744 /* this is the ul contained in the portlet */
749 padding: 0 2em 0 3em;
752 text-transform: lowercase
;
768 text-decoration: none
;
770 padding-bottom: .2em;
773 #p-personal li
a:hover
{
774 background-color: white
;
775 padding-bottom: .2em;
776 text-decoration: none
;
779 /* the icon in front of the user name, single quotes
780 in bg url to hide it from iemac */
784 background: url
(user.gif) top left no-repeat
;
786 text-transform: none
;
790 ** the page-related actions- page/talk, edit etc
802 border-collapse: collapse
;
807 #p-cactions .hiddenStructure
{
815 border: 1px solid
#aaa;
822 #p-cactions li
.selected
{
823 border-color: #fabd23;
827 background-color: white
;
830 padding: 0 .8em .3em .8em;
831 text-decoration: none
;
832 text-transform: lowercase
;
837 #p-cactions .selected a
{
843 #p-cactions li
a:hover
{
845 text-decoration: none
;
850 #p-cactions li
.istalk
{
853 #p-cactions li
.istalk a
{
856 #p-cactions #ca-addsection a
{
860 /* offsets to distinguish the tab groups */
864 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
869 ** the remaining portlets
884 background-color: white
;
885 border-top: 1px solid
#fabd23;
886 border-bottom: 1px solid
#fabd23;
887 margin: .6em 0 1em 0;
888 padding: .4em 0 1.2em 0;
896 /* hide from incapable browsers */
897 head:first-child
+body #footer li
{ white-space: nowrap
; }
898 #f-poweredbyico, #f-copyrightico
{
901 top: -2px; /* Bump it up just a tad */
920 margin: 1px -2px 1px 2px;
922 padding: 2px 0 3px 0;
923 background-color: #f0f0f0;
925 border: 1px solid
#fff;
926 border-right-color: #716f64;
930 list-style-type: none
;
931 list-style-image: none
;
934 #preftoc li
.selected
{
936 background-color: #f9f9f9;
937 border: 1px solid
#aaa;
944 #preftoc > li
.selected
{
953 text-decoration: none
;
955 #preftoc li
.selected a
{
957 text-decoration: none
;
965 border: 1px solid
#aaa;
968 background-color: #F9F9F9;
975 .prefsection fieldset {
976 border: 1px solid
#aaa;
980 .prefsection legend {
983 .prefsection table, .prefsection legend {
984 background-color: #F9F9F9;
992 background-color: #FFC1C1;
1002 .preferences-save-success {
1003 border: 2px solid green
;
1005 padding: .5em 1.2em;
1006 background-color: #ddffdd;
1011 .preferences-login {
1013 margin-bottom: 1.5em;
1022 ** IE/Mac fixes, hope to find a validating way to move this
1023 ** to a separate stylesheet. This would work but doesn't validate:
1024 ** @import("IEMacFixes.css");
1026 /* tabs: border on the a, not the div */
1027 * > html #p-cactions li
{ border: none
; }
1028 * > html #p-cactions li a
{
1029 border: 1px solid
#aaa;
1030 border-bottom: none
;
1032 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1033 /* footer icons need a fixed width */
1034 * > html #f-poweredbyico
,
1035 * > html #f-copyrightico
{ width: 88px; }
1036 * > html #bodyContent
,
1037 * > html #bodyContent pre
{
1040 padding-bottom: 25px;
1044 /* float/negative margin brokenness */
1045 * html #footer
{margin-top: 0;}
1046 * html #column-content
{
1050 * html div
.editsection
{ font-size: smaller
; }
1051 #pagehistory li
.selected
{ position: relative
; }
1053 /* Mac IE 5.0 fix; floated content turns invisible */
1054 * > html #column-content
{
1057 * > html #column-one
{
1063 margin-left: 13.2em;
1075 background-color: #ffa;
1081 span
.newpage
, span
.minor
, span
.searchmatch
{
1092 .sharedUploadNotice {
1096 span
.updatedmarker
{
1098 background-color: #0f0;
1100 span
.newpageletter
{
1103 background-color: yellow
;
1105 span
.minoreditletter
{
1107 background-color: #c5ffe6;
1111 border: 1px solid
#ccc;
1114 background-color: white
;
1118 vertical-align: top
;
1122 vertical-align: top
;
1123 background-color: #f9f9f9;
1124 border: solid
2px white
;
1132 div
.gallerybox div
.thumb
{
1134 border: 1px solid
#ccc;
1154 border-bottom: 1px solid
#aaa;
1155 padding-bottom: 1em;
1160 border: 1px solid gray
;
1161 background-color: #ffffff;
1168 .editExternallyHelp {
1174 text-decoration: line-through
;
1184 /* Classes for EXIF data display */
1188 margin-bottom: 0.5em;
1191 table
.metadata caption
{
1196 font-weight: normal
;
1205 border-collapse: collapse
;
1208 table
.metadata td
, table
.metadata th
{
1210 border: 1px solid
#aaaaaa;
1211 padding-left: 0.1em;
1212 padding-right: 0.1em;
1216 background-color: #f9f9f9;
1220 background-color: #fcfcfc;
1226 border: 1px solid
#aaaaaa;
1227 background-color: #f9f9f9;
1230 margin-bottom: 0.5em;
1237 list-style-type: none
;
1242 input#wpSave
, input#wpDiff
{
1243 margin-right: 0.33em;
1247 /* Classes for article validation */
1249 table
.revisionform_default
{
1250 border: 1px solid
#000000;
1253 table
.revisionform_focus
{
1254 border: 1px solid
#000000;
1255 background-color:#00BBFF;
1258 tr
.revision_tr_default
{
1259 background-color:#EEEEEE;
1262 tr
.revision_tr_first
{
1263 background-color:#DDDDDD;
1272 border: solid
1px #bbbbff;
1273 background-color: #eeeeff;
1278 /* Allmessages table */
1280 #allmessagestable th
{
1281 background-color: #b2b2ff;
1284 #allmessagestable tr
.orig
{
1285 background-color: #ffe2e2;
1288 #allmessagestable tr
.new
{
1289 background-color: #e2ffe2;
1292 #allmessagestable tr
.def
{
1293 background-color: #f0f0ff;
1299 border: 1px solid
#ccc;