Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }") |
|||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| + | |||
| + | /* HIDE MAIN PAGE */ | ||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | ||
| + | |||
| + | /* INFOBOXES */ | ||
| + | |||
| + | .infobox { | ||
| + | background: #eee; | ||
| + | border: 1px solid #aaa; | ||
| + | float: right; | ||
| + | margin: 0 0 10px 10px; | ||
| + | padding: 10px; | ||
| + | width: 350px; | ||
| + | } | ||
| + | .infobox-title { | ||
| + | font-size: 14px; | ||
| + | font-weight: bold; | ||
| + | text-align: center; | ||
| + | } | ||
| + | .infobox-image { | ||
| + | text-align: center; | ||
| + | } | ||
| + | .infobox th { | ||
| + | font-size: 12px; | ||
| + | text-align: right; | ||
| + | vertical-align: top; | ||
| + | width: 120px; | ||
| + | } | ||
| + | .infobox td { | ||
| + | font-size: 12px; | ||
| + | vertical-align: top; | ||
| + | } | ||
Latest revision as of 10:15, 27 March 2019
/* CSS placed here will be applied to all skins */
/* HIDE MAIN PAGE */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* INFOBOXES */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 10px 10px;
padding: 10px;
width: 350px;
}
.infobox-title {
font-size: 14px;
font-weight: bold;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
font-size: 12px;
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
font-size: 12px;
vertical-align: top;
}