Difference between revisions of "MediaWiki:Common.css"

From Stellar Empire
Jump to navigation Jump to search
(Remove Homepage title)
 
(Added Infobox styling from https://stackoverflow.com/questions/27801082/how-do-you-make-infoboxes-in-mediawiki/48122703#48122703)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
body.page-Main_Page h1 { display: none; }
body.page-Main_Page h1 { display: none; }
.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 17:04, 30 November 2021

/* CSS placed here will be applied to all skins */
body.page-Main_Page h1 { display: none; }

.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;
}