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;
296 vertical-align: bottom;
300 vertical-align: middle;
304 vertical-align: baseline;
315 /* --------------------------------------------------------------- */
318 ** the main content area
332 margin: 0 0 1.4em 1em;
341 /* Some space under the headers in the content area */
342 #bodyContent h1, #bodyContent h2 {
346 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
351 margin-bottom: 0.1em;
354 /* user notification thing */
356 background-color: #ffce7b;
357 border: 1px solid #ffa500;
362 vertical-align: middle;
376 .errorbox, .successbox {
387 background-color: #fff2f2;
392 background-color: #dfd;
395 .errorbox h2, .successbox h2 {
404 border: 1px solid #aaa;
405 background-color: #f9f9f9;
411 /* currently unused, intended to be used by a metadata box
412 in the bottom-right corner of the content area */
413 .documentDescription {
414 /* The summary text describing the document */
440 /* small for tables and similar */
455 border: 1px solid #aaa;
456 background-color: #f9f9f9;
496 list-style-type: square;
497 list-style-image: url("images/bullet.png");
514 border: 1px solid #aaa;
515 background-color: #f9f9f9;
527 div.floatright, table.floatright {
531 margin: 0 0 .5em .5em;
539 div.floatleft, table.floatleft {
542 margin: 0 .5em .5em 0;
559 border: 1px solid #ccc;
560 padding: 3px !important;
561 background-color: #f9f9f9;
567 div.thumb div a img {
568 border: 1px solid #ccc;
571 div.thumb div div.thumbcaption {
575 padding: .3em 0 .1em 0;
580 border-style: none !important;
581 background: none !important;
584 div.magnify a, div.magnify img {
586 border-style: none !important;
587 background: none !important;
593 border-width: .5em 0 .8em 1.4em;
599 border-width: .5em 1.4em .8em 0;
608 vertical-align: middle;
616 ** classes for special content elements like town boxes
617 ** intended to be referenced directly from the wiki src
623 /* table standards */
633 border: 1px solid #aaa;
634 background-color: #f9f9f9;
642 background-color: white;
644 border: 1px solid gray;
658 background-image: none;
663 margin: .1em 0 0 1.1em;
664 background-color: #f3f3f3;
679 .pageinfo-majoredit {
680 font-weight: normal; /*bold;*/
688 /* Page history styling */
689 /* the auto-generated edit comments */
694 #pagehistory span.user {
699 #pagehistory span.minor {
704 border: 1px solid white;
707 #pagehistory li.selected {
708 background-color: #f9f9f9;
709 border: 1px dashed #aaa;
713 ** Diff rendering (unused)
715 table.diff, td.diff-otitle, td.diff-ntitle {
716 background-color: white;
720 background-color: #cfc;
724 td.diff-deletedline {
725 background-color: #ffa;
730 background-color: #eee;
745 margin-bottom: 0.5ex;
746 background-color: white;
748 border-top: 1px solid #494f5d;
749 border-left: 1px solid #494f5d;
750 border-bottom: 1px solid #c6d2de;
751 border-right: 1px solid #c6d2de;
757 background-color: #ddd;
761 /* individual blocks */
763 background-color: white;
767 /* entire difftextblock */
771 background-color: white;
772 border-top: 1px #e8e6df solid;
773 border-left: 1px #e8e6df solid;
774 border-bottom: 1px #d2d2d2 solid;
775 border-right: 1px #b2b2b2 solid;
783 /* + - line prefix */
786 font-family: monospace;
793 .diff del, .diff ins {
795 text-decoration: none;
798 /* blocks containing deleted or added words */
799 .diff .original, .diff .deleted,
800 .diff .final, .diff .added {
801 background-color: white;
804 /* blocks containing deleted words */
805 .diff .original, .diff .deleted {
806 background-color: #fcc;
810 /* blocks containing added words */
811 .diff .final, .diff .added {
812 background-color: #cfc;
818 background-color: #f99;
823 background-color: #9f9;
833 .pageinfo-minoredit, .pageinfo-authorid {
843 background-color: #eeeeee;
844 border: thin dashed #aaaaaa;
853 background-color: #f2f2f2;
862 border-top: thin dashed #aaaaaa;
868 vertical-align: middle;
875 border: 1px outset gray;
876 background-color: white;
885 background-color: white;
889 /* Month-name header */
894 table.cal-header tr, table.cal-header td {
900 text-decoration: none;
903 /* Day-names header */
904 table.cal tbody tr .cal-dayname {
910 text-decoration: underline;
913 /* Individual days */
915 text-decoration: none;
920 table.cal td.cal-today {
922 border: 1px solid gray;
926 table.cal td.cal-today a.cal-hide {
930 ** keep the whitespace in front of the ^=, hides rule from konqueror
931 ** this is css3, the validator doesn't like it when validating as css2
933 #bodyContent a.external,
934 #bodyContent a[href ^="gopher://"] {
935 background: url("images/url.png") center right no-repeat;
939 #bodyContent a[href ^="https://"],
941 background: url("images/lock_icon.png") center right no-repeat;
945 #bodyContent a[href ^="mailto:"],
947 background: url("images/mail_icon.png") center right no-repeat;
951 #bodyContent a[href ^="news://"] {
952 background: url("images/news_icon.png") center right no-repeat;
956 #bodyContent a[href ^="ftp://"],
958 background: url("images/file_icon.png") center right no-repeat;
962 #bodyContent a[href ^="irc://"],
964 background: url("images/discussionitem_icon.png") center right no-repeat;
968 /* disable interwiki styling */
969 #bodyContent a.extiw,
970 #bodyContent a.extiw:active {
972 background-image: none;
976 #bodyContent a.external {
980 /* this can be used in the content area to switch off
981 special external link styling */
982 #bodyContent .plainlinks a {
983 background: none !important;
984 padding: 0 !important;
988 ** Structural Elements
992 ** general portlet styles (elements in the quickbar)
1005 font-weight: normal;
1006 white-space: nowrap;
1010 background-color: transparent;
1011 padding: 0 1em 0 0.5em;
1012 text-transform: lowercase;
1016 font-weight: normal;
1017 white-space: nowrap;
1021 background-color: #ffae2e;
1022 border: 1px #2f6fab;
1023 border-style: solid solid none solid;
1024 padding: 0 1em 0 1em;
1025 text-transform: lowercase;
1029 font-weight: normal;
1030 white-space: nowrap;
1035 background-color: white;
1037 border-collapse: collapse;
1038 border: 1px solid #aaa;
1039 padding: 0 .8em .3em .5em;
1052 list-style-type: square;
1053 list-style-image: url("images/bullet.png");
1064 * Optionally at the right also an image
1068 position: absolute; /*needed to use z-index */
1086 background-repeat: no-repeat;
1087 background-position: 35% 50% !important;
1088 text-decoration: none;
1091 /* At the right we put a small "wiki star" */
1099 background: url("images/wiki_stamp.png") left no-repeat;
1104 ** the navigation portlet
1112 #p-navigation .pBody {
1120 #p-navigation li.active a, #p-navigation li.active a:hover {
1121 text-decoration: none;
1134 input.searchButton {
1136 padding: 0 0.4em !important;
1139 background-color: White;
1140 border: 1px solid #2f6fab;
1145 padding-right: .5em;
1150 #livesearch, #p-search input.dropdown {
1158 padding: .5em .4em .4em .4em;
1163 ** the personal toolbar
1170 white-space: nowrap;
1185 #p-personal .portlet,
1186 #p-personal .pBody {
1192 background-image: none;
1195 /* this is the ul contained in the portlet */
1201 padding: 0 2em 0 3em;
1204 /*text-transform: lowercase;*/
1206 background-image: none;
1218 background-image: none;
1221 #p-personal li.active {
1226 text-decoration: none;
1228 padding-bottom: 0.2em;
1229 background-image: none;
1232 #p-personal li a:hover {
1233 background-color: white;
1234 padding-bottom: .2em;
1235 text-decoration: none;
1238 #p-personal li.active a:hover {
1239 background-color: transparent;
1242 /* the icon in front of the user name, single quotes
1243 in bg url to hide it from iemac */
1247 /*background: url('images/wikiuser.png') top left bottom no-repeat;*/
1248 background: url('images/wikiuser.png') left no-repeat;
1250 text-transform: none;
1258 ** the page-related actions- page/talk, edit etc
1267 white-space: nowrap;
1271 background-image: none;
1272 border-collapse: collapse;
1278 #p-cactions .hiddenStructure {
1288 border: 1px solid #aaa;
1289 border-bottom: none;
1290 padding: 0 0 .1em 0;
1293 background-color: white;
1296 #p-cactions li.selected {
1297 border-color: #fabd23;
1298 padding: 0 0 0.2em 0 !important;
1304 background-color: #fbfbfb;
1307 padding: 0 .8em .3em;
1308 text-decoration: none;
1309 /*text-transform: lowercase;*/
1313 #p-cactions li.selected a {
1315 background-color: #fff;
1316 padding: 0 1em 0.2em;
1319 #p-cactions .new a {
1323 #p-cactions li a:hover {
1325 text-decoration: none;
1326 background-color: #dedede;
1329 /* http://universaleditbutton.org */
1330 #p-cactions li a#btn-edit {
1331 background: url('images/UEB16.png') top left no-repeat;
1332 padding-left: 20px !important;
1333 text-transform: none;
1336 #p-cactions li a#btn-edit:hover {
1338 text-decoration: none;
1339 background-color: #fff;
1340 /*padding-bottom: 0.3em !important;*/
1347 #p-cactions li.istalk {
1351 #p-cactions li.istalk a {
1352 padding-right: .5em;
1355 #p-cactions #ca-addsection a {
1357 padding-right: .4em;
1360 /* offsets to distinguish the tab groups */
1362 margin-right: 1.6em;
1365 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
1370 ** the remaining portlets
1382 background-color: white;
1383 border-top: 1px solid #fabd23;
1384 border-bottom: 1px solid #fabd23;
1385 margin: .6em 0 1em 0;
1386 border-left: 1px solid #fabd23;
1387 margin-left: 13.6em;
1388 padding: .4em 0 1.2em 0;
1394 display: table-cell;
1402 /* hide from incapable browsers */
1403 head:first-child+body #footer li {
1404 white-space: nowrap;
1407 #f-poweredbyico, #f-copyrightico {
1408 display: table-cell;
1412 vertical-align: middle;
1418 margin: 1em 1em 1em 1em;
1423 border: 1px solid White;
1426 #preftoc li.selected {
1427 background-color: #f9f9f9;
1428 border: 1px dashed #aaaaaa;
1443 div.prefsectiontip {
1448 fieldset.operaprefsection {
1453 /* float/negative margin brokenness */
1458 * html #column-content {
1463 * html div.editsection {
1467 #pagehistory li.selected {
1471 * > html #column-one {
1478 margin-left: 13.2em;
1491 background-color: #ffa;
1499 span.newpage, span.minor, span.searchmatch, span.bot {
1512 .sharedUploadNotice {
1516 span.updatedmarker {
1518 background-color: #0f0;
1521 span.newpageletter {
1524 background-color: yellow;
1527 span.minoreditletter {
1529 background-color: #c5ffe6;
1533 border: 1px solid #ccc;
1536 background-color: white;
1540 vertical-align: top;
1544 vertical-align: top;
1545 background-color: #f9f9f9;
1546 border: solid 2px white;
1549 table.gallery td.galleryheader {
1559 div.gallerybox div.thumb {
1561 border: 1px solid #ccc;
1581 border-bottom: 1px solid #aaa;
1582 padding-bottom: 1em;
1592 border: 1px solid gray;
1593 background-color: #ffffff;
1601 .editExternallyHelp {
1606 li span.deleted, span.history-deleted {
1607 text-decoration: line-through;
1617 /* Classes for EXIF data display */
1621 margin-bottom: 0.5em;
1625 table.mw_metadata caption {
1629 table.mw_metadata th {
1630 font-weight: normal;
1633 table.mw_metadata td {
1639 border-collapse: collapse;
1642 table.mw_metadata td, table.mw_metadata th {
1644 border: 1px solid #aaaaaa;
1645 padding-left: 0.1em;
1646 padding-right: 0.1em;
1649 table.mw_metadata th {
1650 background-color: #f9f9f9;
1653 table.mw_metadata td {
1654 background-color: #fcfcfc;
1657 table.collapsed tr.collapsable {
1664 border: 1px solid #aaaaaa;
1665 background-color: #f9f9f9;
1668 margin-bottom: 0.5em;
1675 list-style-type: none;
1680 input#wpSave, input#wpDiff {
1681 margin-right: 0.33em;
1684 #editform .editOptions {
1692 /* Classes for article validation */
1694 table.revisionform_default {
1695 border: 1px solid #000000;
1698 table.revisionform_focus {
1699 border: 1px solid #000000;
1700 background-color: #00BBFF;
1703 tr.revision_tr_default {
1704 background-color: #EEEEEE;
1707 tr.revision_tr_first {
1708 background-color: #DDDDDD;
1717 border: solid 1px #bbbbff;
1718 background-color: #eeeeff;
1722 /* Allmessages table */
1724 #allmessagestable th {
1725 background-color: #b2b2ff;
1728 #allmessagestable tr.orig {
1729 background-color: #ffe2e2;
1732 #allmessagestable tr.new {
1733 background-color: #e2ffe2;
1736 #allmessagestable tr.def {
1737 background-color: #f0f0ff;
1742 border: 1px solid #ccc;
1743 background-color: #fff;
1748 div#searchTargetContainer {
1752 background-color: white;
1758 background-color: #F0F0F0;
1759 border: solid 1px blue;
1762 div#searchTarget ul li {
1766 div#searchTarget ul li:before {
1768 content: "\00BB \0020";
1771 div.multipageimagenavbox {
1772 border: solid 1px silver;
1775 background-color: #f0f0f0;
1778 div.multipageimagenavbox div.thumb {
1784 div.multipageimagenavbox hr {
1788 table.multipageimage td {
1793 Table pager (e.g. Special:Imagelist)
1794 - remove underlines from the navigation link
1796 - set the borders to outsets (similar to Special:Allmessages)
1797 - remove line wrapping for all td and th, set background color
1798 - restore line wrapping for the last two table cells (description and size)
1801 text-decoration: none;
1805 border-collapse: collapse;
1808 .TablePager, .TablePager td, .TablePager th {
1809 border: 0.15em solid #777777;
1810 padding: 0 0.15em 0 0.15em;
1814 background-color: #eeeeff
1818 background-color: #ffffff
1821 .TablePager tr:hover td {
1822 background-color: #eeeeff
1825 .imagelist td, .imagelist th {
1829 .imagelist .TablePager_col_links {
1830 background-color: #eeeeff
1833 .imagelist .TablePager_col_img_description {
1837 .imagelist th.TablePager_sort {
1838 background-color: #ccccff
1848 .pagelist thead td {
1849 background-color: #e8e8e8;
1850 text-decoration: none;
1854 .pagelist thead td u {
1855 text-decoration: none;
1859 vertical-align: top;
1862 .pagelist tr.evenrow {
1863 background-color: #eee;
1866 .pagelist tr.oddrow {
1867 background-color: white;
1871 background-color: ThreeDLightShadow;
1873 font-family: Tahoma, Arial, Helvetica, sans-serif;
1875 font-weight: normal;
1876 white-space: nowrap;
1879 padding: 5px 0 5px 0;
1881 border-style: solid;
1882 border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow ThreeDHighlight;
1885 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
1886 text-decoration: none;
1888 font-weight: normal;
1889 font-family: Tahoma, Arial, Helvetica, sans-serif;
1890 background-color: ThreeDLightShadow;
1898 .wikipaging-disabled {
1902 /* plugin BoxRight */
1904 background-color: #e9fbff;
1909 border: thin solid #888888;
1913 margin-left: 12.2em;
1918 background-color: #eee;
1921 padding-left: 0.8em;
1922 padding-right: 0.8em;
1925 border: medium solid red;
1931 background-color: #eee;
1934 padding-left: 0.8em;
1935 padding-right: 0.8em;
1938 border: thin solid blue;
1945 background-color: white;
1946 font-family: monospace;
1949 padding: 0.5ex 0.5em;
1950 border: medium solid #fff8dc; /* darker ivory */
1956 background-color: #eeeeee;
1957 /* font-size: smaller; */
1960 padding: 0.5ex 0.5em;
1961 border: thin solid #aaaaaa;
1968 /* Disabled Plugins */
1975 .disabled-plugin .title {
1977 background-color: inherit;
1983 .disabled-plugin pre {
1985 background-color: #ddd;
1987 padding: 0.3ex 0.5em;
1990 /* "(Redirected from ...)" message. */
1993 font-style: oblique;
1994 font-weight: normal;
1999 background-color: white;
2000 font-style: oblique;
2004 background-color: yellow;
2005 font-weight: normal;
2010 background-color: yellow;
2020 * The div inside the wikiadmin upload form does not
2021 * have a class yet, so it must be referenced indirectly
2023 /* div.wikiaction { background-color: #eee; } */
2024 /* div.wikiadmin { background-color: #fee; } */
2025 /* form.wikiadmin div { background-color: #fee; } */
2027 background-color: #eee;
2033 .wiki, .named-wiki {
2034 text-decoration: none;
2035 font-weight: normal;
2036 /* font-weight: bold; */
2039 /* Action buttons */
2040 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
2041 input.wikiaction, input.button, input.wikiadmin {
2042 text-decoration: none;
2043 font-family: Arial, Helvetica, sans-serif;
2044 /* don't wrap text buttons */
2045 white-space: nowrap;
2046 /*font-size: inherit; */
2050 a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button {
2051 background-color: #ddd;
2056 background-color: #fcc;
2060 a.wikiadmin, a.wikiadmin:visited, input.wikiadmin {
2061 background-color: #fdd;
2066 .wikiunknown, .named-wikiunknown {
2067 font-weight: normal;
2071 /* QuestionMark #600 */
2072 .wikiunknown a, .named-wikiunknown a {
2074 background-color: #eee;
2075 text-decoration: none;
2076 font-weight: normal;
2082 text-decoration: underline;
2087 text-decoration: underline;
2090 /* Interwiki links */
2091 /* .wikipage { font-weight: bold; } */
2093 font-weight: normal;
2097 text-decoration: none;
2100 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage {
2101 font-style: oblique;
2104 .interwiki .wikipage, i .interwiki, em .interwiki {
2109 * "E-mail" style blockquote
2111 blockquote.mail-style-quote {
2112 border-left: medium #284 solid;
2118 .mail-style-quote blockquote.mail-style-quote {
2119 margin-left: -0.6em;
2122 /* WikicreoleTable, MediawikiTable and RichTable plugins ============== */
2125 * table class="boxed"
2126 * will put a border around the table (but not around the cells)
2128 * table class="bordered"
2129 * will put a border around the table and the cells
2131 * In both cases, the caption will be bold and centered under the table
2133 * In both cases, the headers (th) will have a "#d8d8d8" background
2136 table.boxed, table.bordered, table.bordered th, table.bordered td {
2138 border-style: solid;
2139 border-collapse: collapse;
2140 vertical-align: top;
2143 table.boxed td, table.bordered td,
2144 table.boxed th, table.bordered th {
2151 table.boxed caption, table.bordered caption {
2154 caption-side: bottom;
2158 table.boxed th, table.bordered th {
2160 background-color: #d8d8d8;
2163 /* For RecentChanges plugin */
2164 td.tdselected, td.tdunselected {
2173 background-color: #554295;
2178 background-color: #e9e8de;
2181 /* Style for feedback
2182 * Use this style to tell the user that the operation he
2183 * requested was executed successfully, e.g:
2184 * User was successfully registered
2189 border-style: solid;
2190 background-color: #DFD;
2191 border-color: green;
2195 #edit-public, h1.firstHeading-public, h1.firstHeading-rating-public {
2196 background-color: #ffce7b;
2197 border: 1px solid #ffa500;
2200 /* PageTrail plugin */
2202 background-color: #FFFF99;
2206 /* IncludePage plugin ================================================= */
2208 .transclusion-title {
2210 font-style: oblique;
2212 text-decoration: underline;
2213 margin-bottom: 0.25ex;
2214 margin-right: 0.25em;
2217 .transclusion, .wiki-edithelp {
2222 border: 1px solid gray;
2223 padding-left: 0.8em;
2224 padding-right: 0.8em;
2227 margin-left: 0.25em;
2228 margin-right: 0.25em;
2229 margin-bottom: 0.1ex;
2233 background-color: white;
2234 border: medium solid #fff8dc; /* darker ivory */
2235 padding-left: 0.5em;
2236 padding-right: 0.5em;
2237 padding-top: 0.75ex;
2238 padding-bottom: 0.75ex;
2245 table.sortable th.header {
2246 background-image: url(../default/buttons/sort_none.gif);
2248 background-repeat: no-repeat;
2249 background-position: center right;
2250 padding-right: 20px;
2253 table.sortable th.headerSortUp {
2254 background-image: url(../default/buttons/sort_up.gif);
2256 background-repeat: no-repeat;
2257 background-position: center right;
2258 padding-right: 20px;
2261 table.sortable th.headerSortDown {
2262 background-image: url(../default/buttons/sort_down.gif);
2264 background-repeat: no-repeat;
2265 background-position: center right;
2266 padding-right: 20px;