MediaWiki:Common.css: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
.infobox tr.title th, .navbar tr.title th, .infobox th.title, .navbar th.title { | .infobox tr.title th, .navbar tr.title th, .infobox th.title, .navbar th.title { | ||
background-color: #3498DB; | background-color: #3498DB; | ||
} | } |
Revision as of 13:53, 27 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 Section*/
.portalMainBox{
padding: 18px;
font-size: 20px;
font-weight: bold;
border-radius: 5px;
}
.otherHeadBox {
padding: 4px;
font-size: 110%;
font-weight: bold;
border-radius: 5px 5px 0 0;
background-color: #BCD8D8;
}
.portalSection{
border:solid 1px #BCD8D8;
border-radius:5px 5px 0 0;
max-width:500px;
}
.citebox{
color:#006600;
padding:0px 0px 15px 0px;
font-size:16px;
}
.infobox tr.title th, .navbar tr.title th, .infobox th.title, .navbar th.title {
background-color: #3498DB;
}