MediaWiki:Common.css: Difference between revisions

From Medalist Wiki
(removed margins on the infobox)
(woops, i meant to remove the padding. sorry)
Line 4: Line 4:
     border: 1px solid #aaa;
     border: 1px solid #aaa;
     float: right;
     float: right;
     margin: 0 0 0 0;
     margin: 0 0 0.5em 0.5em;
     padding: 1em;
     padding: 0.8em 0.8em 0.5em 0.5em;
     width: 270px;
     width: 270px;
}
}

Revision as of 15:00, 11 February 2025

/* CSS placed here will be applied to all skins */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 0.5em 0.5em;
    padding: 0.8em 0.8em 0.5em 0.5em;
    width: 270px;
}
.infobox-title {
    font-size: 1.8em;
    text-align: center;
    vertical-align: top;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: left;
    vertical-align: top;
    width: 40%;
    font-size: 0.80em;
}
.infobox-table td {
    vertical-align: top;
    width: 60%;
    font-size: 0.90em;
}