MediaWiki:Common.css: Difference between revisions

From Medalist Wiki
(made infobox text even smaller (this may break some things))
(0.8 em is fine for infobox text)
Line 23: Line 23:
     vertical-align: top;
     vertical-align: top;
     width: 40%;
     width: 40%;
     font-size: 0.70em;
     font-size: 0.80em;
}
}
.infobox-table td {
.infobox-table td {
     vertical-align: top;
     vertical-align: top;
     width: 60%;
     width: 60%;
     font-size: 0.70em;
     font-size: 0.80em;
}
}

Revision as of 23:15, 28 February 2025

/* CSS placed here will be applied to all skins */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0em 0.5em 1em 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    width: 270px;
}
.infobox-title {
    font-size: 1.8em;
    text-align: center;
    vertical-align: top;
    max-width: 85%
    margin-left: auto;
    margin-right: auto;
}
.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.80em;
}