MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Hide frontpage title |
No edit summary |
||
| Line 3: | Line 3: | ||
/* Hide Main Page head title */ | /* Hide Main Page head title */ | ||
body.page-Main_Page h1.firstHeading { display:none; } | body.page-Main_Page h1.firstHeading { display:none; } | ||
/* Infobox */ | |||
.infobox { | |||
background: #eee; | |||
border: 1px solid #aaa; | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
padding: 1em; | |||
width: 400px; | |||
} | |||
.infobox-title { | |||
font-size: 2em; | |||
text-align: center; | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
} | |||
.infobox th { | |||
text-align: right; | |||
vertical-align: top; | |||
width: 120px; | |||
} | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
Revision as of 22:40, 2 September 2022
/* CSS placed here will be applied to all skins */
/* Hide Main Page head title */
body.page-Main_Page h1.firstHeading { display:none; }
/* Infobox */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}