MediaWiki:Common.css: Difference between revisions

From Medalist Wiki
(made title section text wrap before bounding box of infobox (this shouldnt break anything?))
(made infobox text even smaller (this may break some things))
Line 23: Line 23:
     vertical-align: top;
     vertical-align: top;
     width: 40%;
     width: 40%;
     font-size: 0.80em;
     font-size: 0.70em;
}
}
.infobox-table td {
.infobox-table td {
     vertical-align: top;
     vertical-align: top;
     width: 60%;
     width: 60%;
     font-size: 0.90em;
     font-size: 0.70em;
}
}

Revision as of 23:14, 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.70em;
}
.infobox-table td {
    vertical-align: top;
    width: 60%;
    font-size: 0.70em;
}