MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Hide frontpage title |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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; | |||
max-width: 250px; | |||
} | |||
.infobox-title { | |||
font-size: 1.5em; | |||
text-align: center; | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
} | |||
.infobox th { | |||
text-align: right; | |||
vertical-align: top; | |||
} | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
td ul.gallery { | |||
margin: 0; | |||
} | |||
Latest revision as of 22:28, 16 January 2023
/* 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;
max-width: 250px;
}
.infobox-title {
font-size: 1.5em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
}
.infobox td {
vertical-align: top;
}
td ul.gallery {
margin: 0;
}