MediaWiki:Common.css

From TestWiki
Revision as of 21:40, 7 June 2015 by HappyDog (Talk | contribs) (Add some bottom margin, to better separate out CHANGELOG toc items when wrapping.)

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/** 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 **/
 
/** NONE AT PRESENT, KEPT FOR FUTURE REFERENCE.
#n-ItemNameCHANGETHIS 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-block;
    border: 1px solid #999999;
    padding: 0.2em 0.5em;
    margin-right: 0.5em;
    margin-bottom: 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;
}
 
body.page-WikiDB_Bugs #content .FixedBugs h3 {
    border: 1px solid #009900;
    color: #006600;
    background-color: #F0FFF0;
}