MediaWiki:Common.css: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
tr:nth-child(even) {background-color: #f8f9fa;} | tr:nth-child(even) {background-color: #f8f9fa;} | ||
tr:nth-child(odd) {background-color: white;} | tr:nth-child(odd) {background-color: white;} | ||
/*Format Portal Heading*/ | |||
.portalMainBox{ | |||
padding: 10px; | |||
font-size: 20pt; | |||
font-weight: bold; | |||
border-radius: 5px; | |||
} |
Revision as of 21:48, 21 June 2020
/* CSS placed here will be applied to all skins */
/*remove main page title from the main page*/
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/*left hand navigation*/
#mw-navigation {
background-color: #f8f9fa;
}
/*modify table header*/
.wikitable > tr > th, .wikitable > * > tr > th {
padding-top: 5px;
padding-bottom: 5px;
padding-left:0.5em;
text-align: left;
background-color: #3498DB;
color: white;
}
/*Add table striping*/
tr:nth-child(even) {background-color: #f8f9fa;}
tr:nth-child(odd) {background-color: white;}
/*Format Portal Heading*/
.portalMainBox{
padding: 10px;
font-size: 20pt;
font-weight: bold;
border-radius: 5px;
}