Difference between revisions of "MediaWiki:Common.css"
From TestWiki
(Old colours were too close to <pre> colours - have switched to a red.) |
m (Fix missing semi-colon) |
||
Line 106: | Line 106: | ||
background-color: #FFF0F0; | background-color: #FFF0F0; | ||
padding: 0.3em 0.5em; | padding: 0.3em 0.5em; | ||
− | margin: 1em 0 0.5em -0.4em | + | margin: 1em 0 0.5em -0.4em; |
-moz-border-radius: 5px; | -moz-border-radius: 5px; |
Revision as of 16:23, 23 March 2013
/** General style overrides **/ #n-browse-cvs a, #n-phpdoc a, #n-Mailing-list a { background: url(/testwiki/skins/monobook/external.png) center right no-repeat; padding-right: 13px; color: #36b; } #toc { margin: 1em 0; } /* Hide the numbers (bytes changed) in recent-changes, as not really relevant on this wiki. */ .mw-plusminus-pos, .mw-plusminus-neg { display: none; } /** Sidebar External Links **/ #n-CrudeProtection a { background: url(/testwiki/skins/monobook/external.png) center right no-repeat; padding-right: 13px; color: #36b; } /** General purpose 'pretty' data tables */ /* General purpose "pretty (data) tables" */ table.datatable { background-color: transparent; } table.datatable th, table.datatable td { padding: 4px; } table.datatable th { text-align: left; background-color: #999999; } table.datatable tr { background-color: #cccccc; } table.datatable tr:hover { background-color: #ffffcc; } /** Main page table **/ .HomepageTable { border: 1px solid #CCCCCC; border-collapse: collapse; margin: 0.2em 1em 1em; } .HomepageTable td { border: 1px solid #CCCCCC; } /** Extension Info **/ .ExtensionCheck { padding: 0.4em 1em; margin: 1em 0; border-width: 1px 3px; border-style: solid; border-color: #009900; background-color: #E0FFE0; color: #009900; } .ExtensionNotPresent { border-color: #D96600; background-color: #FFF9F0; color: #D96600; } /** Better TOC for [[WikiDB/CHANGELOG]] page **/ .page-WikiDB_CHANGELOG #toc { margin-top: 0; } .page-WikiDB_CHANGELOG .tocnumber { display: none; } .page-WikiDB_CHANGELOG .toclevel-1 { display: inline; border: 1px solid #999999; padding: 0.2em 0.5em; margin-right: 0.5em; } .page-WikiDB_CHANGELOG .toclevel-1:last-child { margin-right: 0; } .page-WikiDB_CHANGELOG .toclevel-1 > a { font-weight: bold; } .page-WikiDB_CHANGELOG .toclevel-1 > a:after { content: ":"; } .page-WikiDB_CHANGELOG .toclevel-1:last-child > a:after { content: ""; } .page-WikiDB_CHANGELOG .toclevel-1 > ul { display: inline; margin-left: 0.4em !important; } .page-WikiDB_CHANGELOG .toclevel-1 > ul > li { list-style-type: disc; display: inline; } /** Bugs page - make sections easier to see **/ body.page-WikiDB_Bugs #content h3 { border: 1px solid #990000; color: #660000; background-color: #FFF0F0; padding: 0.3em 0.5em; margin: 1em 0 0.5em -0.4em; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; }