Difference between revisions of "MediaWiki:Common.css"

From Stellar Empire
Jump to navigation Jump to search
(Added Infobox styling from https://stackoverflow.com/questions/27801082/how-do-you-make-infoboxes-in-mediawiki/48122703#48122703)
Line 8: Line 8:
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
     padding: 1em;
     padding: 1em;
     width: 400px;
     width: 315px;
}
}
.infobox-title {
.infobox-title {
     font-size: 2em;
     font-size: 1.25em;
     text-align: center;
     text-align: center;
}
}

Revision as of 18:23, 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: 315px;
}
.infobox-title {
    font-size: 1.25em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}