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 :)
10 ** Added phpwiki integration: Reini Urban, based on the phpwiki.css
17 margin: 0 0 .6em -12.2em;
25 margin: 2.8em 0 0 12.2em;
26 padding: 0 1em 1.5em 1em;
27 background-color: white;
29 border: 1px solid #aaa;
42 /* the left column width is specified in class .portlet */
45 ** We take advantage of keyword scaling- browsers won't go below 9px
46 ** More at http://www.w3.org/2003/07/30-font-size
47 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
51 font: small sans-serif;
52 background: #f9f9f9 url("images/headbg.jpg") 0 0 no-repeat;
58 /* scale back up to a sane default */
78 text-decoration: none;
80 background-image: none;
92 text-decoration: underline;
101 vertical-align: middle;
105 margin: .4em 0 .5em 0;
116 background-color: #aaa;
118 margin: .2em 0 .2em 0;
121 h1, h2, h3, h4, h5, h6 {
123 background-image: none;
125 font-family: Tahoma, sans-serif;
128 padding-bottom: 0.17em;
129 border-bottom: 1px solid #aaa;
161 /* Because in some cases there is a <p> in nested lists */
168 list-style-type: square;
169 margin: 0.3em 0 0 1.5em;
171 list-style-image: url("images/bullet.png");
176 margin: 0.3em 0 0 3.2em;
178 list-style-image: none;
182 margin-bottom: 0.1em;
202 border: 1px solid #2f6fab;
204 padding: 0 1em 1em 1em;
209 /*background: white;*/
224 input.historysubmit {
225 padding: 0 0.3em 0.3em 0.3em !important;
228 height: 1.7em !important;
236 abbr, acronym, .explain {
237 border-bottom: 1px dotted black;
239 background-image: none;
244 font-family: Times, "Times New Roman", serif;
250 font-family: Times, "Times New Roman", serif;
254 background-color: #f9f9f9;
259 border: 1px dashed #2f6fab;
261 background-color: #f9f9f9;
265 /* generic classes ----------------------------------------------- */
268 font-family: monospace;
272 text-decoration: line-through;
299 /* --------------------------------------------------------------- */
302 ** the main content area
316 margin: 0 0 1.4em 1em;
325 /* Some space under the headers in the content area */
326 #bodyContent h1, #bodyContent h2 {
330 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
335 margin-bottom: 0.1em;
338 /* user notification thing */
340 background-color: #ffce7b;
341 border: 1px solid #ffa500;
346 vertical-align: middle;
360 .errorbox, .successbox {
371 background-color: #fff2f2;
376 background-color: #dfd;
379 .errorbox h2, .successbox h2 {
388 border: 1px solid #aaa;
389 background-color: #f9f9f9;
395 /* currently unused, intended to be used by a metadata box
396 in the bottom-right corner of the content area */
397 .documentDescription {
398 /* The summary text describing the document */
424 /* small for tables and similar */
439 border: 1px solid #aaa;
440 background-color: #f9f9f9;
480 list-style-type: square;
481 list-style-image: url("images/bullet.png");
498 border: 1px solid #aaa;
499 background-color: #f9f9f9;
511 div.floatright, table.floatright {
515 margin: 0 0 .5em .5em;
523 div.floatleft, table.floatleft {
526 margin: 0 .5em .5em 0;
543 border: 1px solid #ccc;
544 padding: 3px !important;
545 background-color: #f9f9f9;
551 div.thumb div a img {
552 border: 1px solid #ccc;
555 div.thumb div div.thumbcaption {
559 padding: .3em 0 .1em 0;
564 border-style: none !important;
565 background: none !important;
568 div.magnify a, div.magnify img {
570 border-style: none !important;
571 background: none !important;
577 border-width: .5em 0 .8em 1.4em;
583 border-width: .5em 1.4em .8em 0;
592 vertical-align: middle;
600 ** classes for special content elements like town boxes
601 ** intended to be referenced directly from the wiki src
607 /* table standards */
617 border: 1px solid #aaa;
618 background-color: #f9f9f9;
626 background-color: white;
628 border: 1px solid gray;
642 background-image: none;
647 margin: .1em 0 0 1.1em;
648 background-color: #f3f3f3;
663 .pageinfo-majoredit {
664 font-weight: normal; /*bold;*/
672 /* Page history styling */
673 /* the auto-generated edit comments */
678 #pagehistory span.user {
683 #pagehistory span.minor {
688 border: 1px solid white;
691 #pagehistory li.selected {
692 background-color: #f9f9f9;
693 border: 1px dashed #aaa;
697 ** Diff rendering (unused)
699 table.diff, td.diff-otitle, td.diff-ntitle {
700 background-color: white;
704 background-color: #cfc;
708 td.diff-deletedline {
709 background-color: #ffa;
714 background-color: #eee;
729 margin-bottom: 0.5ex;
730 background-color: white;
732 border-top: 1px solid #494f5d;
733 border-left: 1px solid #494f5d;
734 border-bottom: 1px solid #c6d2de;
735 border-right: 1px solid #c6d2de;
738 padding-left: .125em;
739 padding-right: .125em;
745 background-color: #ddd;
749 /* individual blocks */
751 background-color: white;
755 /* entire difftextblock */
759 background-color: white;
760 border-top: 1px #e8e6df solid;
761 border-left: 1px #e8e6df solid;
762 border-bottom: 1px #d2d2d2 solid;
763 border-right: 1px #b2b2b2 solid;
771 /* + - line prefix */
774 font-family: monospace;
781 .diff del, .diff ins {
783 text-decoration: none;
786 /* blocks containing deleted or added words */
787 .diff .original, .diff .deleted,
788 .diff .final, .diff .added {
789 background-color: white;
792 /* blocks containing deleted words */
793 .diff .original, .diff .deleted {
794 background-color: #fcc;
798 /* blocks containing added words */
799 .diff .final, .diff .added {
800 background-color: #cfc;
806 background-color: #f99;
811 background-color: #9f9;
821 .pageinfo-minoredit, .pageinfo-authorid {
831 background-color: #eeeeee;
832 border: thin dashed #aaaaaa;
841 background-color: #f2f2f2;
850 border-top: thin dashed #aaaaaa;
856 vertical-align: middle;
863 border: 1px outset gray;
864 background-color: white;
873 background-color: white;
877 /* Month-name header */
882 table.cal-header tr, table.cal-header td {
888 text-decoration: none;
891 /* Day-names header */
892 table.cal tbody tr .cal-dayname {
898 text-decoration: underline;
901 /* Individual days */
903 text-decoration: none;
908 table.cal td.cal-today {
910 border: 1px solid gray;
914 table.cal td.cal-today a.cal-hide {
918 ** keep the whitespace in front of the ^=, hides rule from konqueror
919 ** this is css3, the validator doesn't like it when validating as css2
921 #bodyContent a.external,
922 #bodyContent a[href ^="gopher://"] {
923 background: url("images/url.png") center right no-repeat;
927 #bodyContent a[href ^="https://"],
929 background: url("images/lock_icon.png") center right no-repeat;
933 #bodyContent a[href ^="mailto:"],
935 background: url("images/mail_icon.png") center right no-repeat;
939 #bodyContent a[href ^="news://"] {
940 background: url("images/news_icon.png") center right no-repeat;
944 #bodyContent a[href ^="ftp://"],
946 background: url("images/file_icon.png") center right no-repeat;
950 #bodyContent a[href ^="irc://"],
952 background: url("images/discussionitem_icon.png") center right no-repeat;
956 /* disable interwiki styling */
957 #bodyContent a.extiw,
958 #bodyContent a.extiw:active {
960 background-image: none;
964 #bodyContent a.external {
968 /* this can be used in the content area to switch off
969 special external link styling */
970 #bodyContent .plainlinks a {
971 background: none !important;
972 padding: 0 !important;
976 ** Structural Elements
980 ** general portlet styles (elements in the quickbar)
998 background-color: transparent;
999 padding: 0 1em 0 0.5em;
1000 text-transform: lowercase;
1004 font-weight: normal;
1005 white-space: nowrap;
1009 background-color: #ffae2e;
1010 border: 1px solid #2f6fab;
1011 border-style: solid solid none solid;
1012 padding: 0 1em 0 1em;
1013 text-transform: lowercase;
1017 font-weight: normal;
1018 white-space: nowrap;
1023 background-color: white;
1025 border-collapse: collapse;
1026 border: 1px solid #aaa;
1027 padding: 0 .8em .3em .5em;
1040 list-style-type: square;
1041 list-style-image: url("images/bullet.png");
1053 * Optionally at the right also an image
1057 position: absolute; /*needed to use z-index */
1075 background-repeat: no-repeat;
1076 background-position: 35% 50% !important;
1077 text-decoration: none;
1080 /* At the right we put a small "wiki star" */
1088 background: url("images/wiki_stamp.png") left no-repeat;
1089 background-repeat: no-repeat;
1094 ** the navigation portlet
1102 #p-navigation .pBody {
1110 #p-navigation li.active a, #p-navigation li.active a:hover {
1111 text-decoration: none;
1124 input.searchButton {
1126 padding: 0 0.4em !important;
1129 background-color: White;
1130 border: 1px solid #2f6fab;
1135 padding-right: .5em;
1140 #livesearch, #p-search input.dropdown {
1148 padding: .5em .4em .4em .4em;
1153 ** the personal toolbar
1160 white-space: nowrap;
1175 #p-personal .portlet,
1176 #p-personal .pBody {
1182 background-image: none;
1185 /* this is the ul contained in the portlet */
1191 padding: 0 2em 0 3em;
1194 /*text-transform: lowercase;*/
1196 background-image: none;
1208 background-image: none;
1211 #p-personal li.active {
1216 text-decoration: none;
1218 padding-bottom: 0.2em;
1219 background-image: none;
1222 #p-personal li a:hover {
1223 background-color: white;
1224 padding-bottom: .2em;
1225 text-decoration: none;
1228 #p-personal li.active a:hover {
1229 background-color: transparent;
1232 /* the icon in front of the user name, single quotes
1233 in bg url to hide it from iemac */
1237 /*background: url('images/wikiuser.png') top left bottom no-repeat;*/
1238 background: url('images/wikiuser.png') left no-repeat;
1239 background-repeat: no-repeat;
1241 text-transform: none;
1249 ** the page-related actions- page/talk, edit etc
1258 white-space: nowrap;
1262 background-image: none;
1263 border-collapse: collapse;
1269 #p-cactions .hiddenStructure {
1279 border: 1px solid #aaa;
1280 border-bottom: none;
1281 padding: 0 0 .1em 0;
1284 background-color: white;
1287 #p-cactions li.selected {
1288 border-color: #fabd23;
1289 padding: 0 0 0.2em 0 !important;
1295 background-color: #fbfbfb;
1298 padding: 0 .8em .3em;
1299 text-decoration: none;
1300 /*text-transform: lowercase;*/
1304 #p-cactions li.selected a {
1306 background-color: #fff;
1307 padding: 0 1em 0.2em;
1310 #p-cactions .new a {
1314 #p-cactions li a:hover {
1316 text-decoration: none;
1317 background-color: #dedede;
1320 /* http://universaleditbutton.org */
1321 #p-cactions li a#btn-edit {
1322 background: url('images/UEB16.png') top left no-repeat;
1323 background-repeat: no-repeat;
1324 padding-left: 20px !important;
1325 text-transform: none;
1328 #p-cactions li a#btn-edit:hover {
1330 text-decoration: none;
1331 background-color: #fff;
1332 /*padding-bottom: 0.3em !important;*/
1339 #p-cactions li.istalk {
1343 #p-cactions li.istalk a {
1344 padding-right: .5em;
1347 #p-cactions #ca-addsection a {
1349 padding-right: .4em;
1352 /* offsets to distinguish the tab groups */
1354 margin-right: 1.6em;
1357 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
1362 ** the remaining portlets
1374 background-color: white;
1375 border-top: 1px solid #fabd23;
1376 border-bottom: 1px solid #fabd23;
1377 margin: .6em 0 1em 0;
1378 border-left: 1px solid #fabd23;
1379 margin-left: 13.6em;
1380 padding: .4em 0 1.2em 0;
1390 /* hide from incapable browsers */
1391 head:first-child+body #footer li {
1392 white-space: nowrap;
1395 #f-poweredbyico, #f-copyrightico {
1397 /*vertical-align: middle;*/
1400 top: -31px; /* Bump it up just a tad */
1414 margin: 1em 1em 1em 1em;
1419 border: 1px solid White;
1422 #preftoc li.selected {
1423 background-color: #f9f9f9;
1424 border: 1px dashed #aaaaaa;
1439 div.prefsectiontip {
1444 fieldset.operaprefsection {
1449 /* float/negative margin brokenness */
1454 * html #column-content {
1459 * html div.editsection {
1463 #pagehistory li.selected {
1467 * > html #column-one {
1474 margin-left: 13.2em;
1487 background-color: #ffa;
1495 span.newpage, span.minor, span.searchmatch, span.bot {
1508 .sharedUploadNotice {
1512 span.updatedmarker {
1514 background-color: #0f0;
1517 span.newpageletter {
1520 background-color: yellow;
1523 span.minoreditletter {
1525 background-color: #c5ffe6;
1529 border: 1px solid #ccc;
1532 background-color: white;
1536 vertical-align: top;
1540 vertical-align: top;
1541 background-color: #f9f9f9;
1542 border: solid 2px white;
1545 table.gallery td.galleryheader {
1555 div.gallerybox div.thumb {
1557 border: 1px solid #ccc;
1577 border-bottom: 1px solid #aaa;
1578 padding-bottom: 1em;
1588 border: 1px solid gray;
1589 background-color: #ffffff;
1597 .editExternallyHelp {
1602 li span.deleted, span.history-deleted {
1603 text-decoration: line-through;
1613 /* Classes for EXIF data display */
1617 margin-bottom: 0.5em;
1621 table.mw_metadata caption {
1625 table.mw_metadata th {
1626 font-weight: normal;
1629 table.mw_metadata td {
1635 border-collapse: collapse;
1638 table.mw_metadata td, table.mw_metadata th {
1640 border: 1px solid #aaaaaa;
1641 padding-left: 0.1em;
1642 padding-right: 0.1em;
1645 table.mw_metadata th {
1646 background-color: #f9f9f9;
1649 table.mw_metadata td {
1650 background-color: #fcfcfc;
1653 table.collapsed tr.collapsable {
1660 border: 1px solid #aaaaaa;
1661 background-color: #f9f9f9;
1664 margin-bottom: 0.5em;
1671 list-style-type: none;
1676 input#wpSave, input#wpDiff {
1677 margin-right: 0.33em;
1680 #editform .editOptions {
1688 /* Classes for article validation */
1690 table.revisionform_default {
1691 border: 1px solid #000000;
1694 table.revisionform_focus {
1695 border: 1px solid #000000;
1696 background-color: #00BBFF;
1699 tr.revision_tr_default {
1700 background-color: #EEEEEE;
1703 tr.revision_tr_first {
1704 background-color: #DDDDDD;
1713 border: solid 1px #bbbbff;
1714 background-color: #eeeeff;
1718 /* Allmessages table */
1720 #allmessagestable th {
1721 background-color: #b2b2ff;
1724 #allmessagestable tr.orig {
1725 background-color: #ffe2e2;
1728 #allmessagestable tr.new {
1729 background-color: #e2ffe2;
1732 #allmessagestable tr.def {
1733 background-color: #f0f0ff;
1738 border: 1px solid #ccc;
1739 background-color: #fff;
1744 div#searchTargetContainer {
1748 background-color: white;
1754 background-color: #F0F0F0;
1755 border: solid 1px blue;
1758 div#searchTarget ul li {
1762 div#searchTarget ul li:before {
1764 content: "\00BB \0020";
1767 div.multipageimagenavbox {
1768 border: solid 1px silver;
1771 background-color: #f0f0f0;
1774 div.multipageimagenavbox div.thumb {
1780 div.multipageimagenavbox hr {
1784 table.multipageimage td {
1789 Table pager (e.g. Special:Imagelist)
1790 - remove underlines from the navigation link
1792 - set the borders to outsets (similar to Special:Allmessages)
1793 - remove line wrapping for all td and th, set background color
1794 - restore line wrapping for the last two table cells (description and size)
1797 text-decoration: none;
1801 border-collapse: collapse;
1804 .TablePager, .TablePager td, .TablePager th {
1805 border: 0.15em solid #777777;
1806 padding: 0 0.15em 0 0.15em;
1810 background-color: #eeeeff
1814 background-color: #ffffff
1817 .TablePager tr:hover td {
1818 background-color: #eeeeff
1821 .imagelist td, .imagelist th {
1825 .imagelist .TablePager_col_links {
1826 background-color: #eeeeff
1829 .imagelist .TablePager_col_img_description {
1833 .imagelist th.TablePager_sort {
1834 background-color: #ccccff
1844 .pagelist thead td {
1845 background-color: #e8e8e8;
1846 text-decoration: none;
1850 .pagelist thead td u {
1851 text-decoration: none;
1855 vertical-align: top;
1858 .pagelist tr.evenrow {
1859 background-color: #eee;
1862 .pagelist tr.oddrow {
1863 background-color: white;
1867 background-color: ThreeDLightShadow;
1869 font-family: Tahoma, Arial, Helvetica, sans-serif;
1871 font-weight: normal;
1872 white-space: nowrap;
1875 padding: 5px 0 5px 0;
1877 border-style: solid;
1878 border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow ThreeDHighlight;
1881 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
1882 text-decoration: none;
1884 font-weight: normal;
1885 font-family: Tahoma, Arial, Helvetica, sans-serif;
1886 background-color: ThreeDLightShadow;
1894 .wikipaging-disabled {
1898 /* plugin BoxRight */
1900 background-color: #e9fbff;
1905 border: thin solid #888888;
1910 margin-left: 12.2em;
1915 background-color: #eee;
1918 padding-left: 0.8em;
1919 padding-right: 0.8em;
1922 border: medium solid red;
1928 background-color: #eee;
1931 padding-left: 0.8em;
1932 padding-right: 0.8em;
1935 border: thin solid blue;
1942 background-color: white;
1943 font-family: monospace;
1946 padding: 0.5ex 0.5em;
1947 border: medium solid #fff8dc; /* darker ivory */
1953 background-color: #eeeeee;
1954 /* font-size: smaller; */
1957 padding: 0.5ex 0.5em;
1958 border: thin solid #aaaaaa;
1965 /* Disabled Plugins */
1972 .disabled-plugin .title {
1974 background-color: inherit;
1980 .disabled-plugin pre {
1982 background-color: #ddd;
1984 padding: 0.3ex 0.5em;
1987 /* "(Redirected from ...)" message. */
1990 font-style: oblique;
1991 font-weight: normal;
1996 background-color: white;
1997 font-style: oblique;
2001 background-color: yellow;
2002 font-weight: normal;
2007 background-color: yellow;
2017 * The div inside the wikiadmin upload form does not
2018 * have a class yet, so it must be referenced indirectly
2020 /* div.wikiaction { background-color: #eee; } */
2021 /* div.wikiadmin { background-color: #fee; } */
2022 /* form.wikiadmin div { background-color: #fee; } */
2024 background-color: #eee;
2030 .wiki, .named-wiki {
2031 text-decoration: none;
2032 font-weight: normal;
2033 /* font-weight: bold; */
2036 .wiki relation, .named-wiki relation, .wiki attribute, .named-wiki attribute {
2037 font-style: oblique;
2038 /* font-weight: normal; */
2042 span.relation-symbol {
2044 font-family: monospace;
2045 letter-spacing: 0.1em;
2048 /* Action buttons */
2049 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
2050 input.wikiaction, input.button, input.wikiadmin {
2051 text-decoration: none;
2052 font-family: Arial, Helvetica, sans-serif;
2053 /* don't wrap text buttons */
2054 white-space: nowrap;
2055 /*font-size: inherit; */
2059 a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button {
2060 background-color: #ddd;
2065 background-color: #fcc;
2069 a.wikiadmin, a.wikiadmin:visited, input.wikiadmin {
2070 background-color: #fdd;
2075 .wikiunknown, .named-wikiunknown {
2076 font-weight: normal;
2080 /* QuestionMark #600 */
2081 .wikiunknown a, .named-wikiunknown a {
2083 background-color: #eee;
2084 text-decoration: none;
2085 font-weight: normal;
2091 text-decoration: underline;
2096 text-decoration: underline;
2099 /* Interwiki links */
2100 /* .wikipage { font-weight: bold; } */
2102 font-weight: normal;
2106 text-decoration: none;
2109 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage {
2110 font-style: oblique;
2113 .interwiki .wikipage, i .interwiki, em .interwiki {
2118 * "E-mail" style blockquote
2120 blockquote.mail-style-quote {
2121 border-left: medium #284 solid;
2127 .mail-style-quote blockquote.mail-style-quote {
2128 margin-left: -0.6em;
2131 /* WikicreoleTable, MediawikiTable and RichTable plugins ============== */
2134 * table class="boxed"
2135 * will put a border around the table (but not around the cells)
2137 * table class="bordered"
2138 * will put a border around the table and the cells
2140 * In both cases, the caption will be bold and centered under the table
2142 * In both cases, the headers (th) will have a "#d8d8d8" background
2145 table.boxed, table.bordered, table.bordered th, table.bordered td {
2147 border-style: solid;
2148 border-collapse: collapse;
2149 vertical-align: top;
2152 table.boxed td, table.bordered td,
2153 table.boxed th, table.bordered th {
2160 table.boxed caption, table.bordered caption {
2163 caption-side: bottom;
2167 table.boxed th, table.bordered th {
2169 background-color: #d8d8d8;
2172 /* For RecentChanges plugin */
2173 td.tdselected, td.tdunselected {
2182 background-color: #554295;
2187 background-color: #e9e8de;
2190 /* Style for feedback
2191 * Use this style to tell the user that the operation he
2192 * requested was executed successfully, e.g:
2193 * User was successfully registered
2198 border-style: solid;
2199 background-color: #DFD;
2200 border-color: green;
2204 #edit-public, h1.firstHeading-public, h1.firstHeading-rating-public {
2205 background-color: #ffce7b;
2206 border: 1px solid #ffa500;
2209 /* PageTrail plugin */
2211 background-color: #FFFF99;
2215 /* IncludePage plugin ================================================= */
2217 .transclusion-title {
2219 font-style: oblique;
2221 text-decoration: underline;
2222 margin-bottom: 0.25ex;
2223 margin-right: 0.25em;
2226 .transclusion, .wiki-edithelp {
2231 border: 1px solid gray;
2232 padding-left: 0.8em;
2233 padding-right: 0.8em;
2236 margin-left: 0.25em;
2237 margin-right: 0.25em;
2238 margin-bottom: 0.1ex;
2242 background-color: white;
2243 border: medium solid #fff8dc; /* darker ivory */
2244 padding-left: 0.5em;
2245 padding-right: 0.5em;
2246 padding-top: 0.75ex;
2247 padding-bottom: 0.75ex;