MediaWiki:Common.css: Difference between revisions

From Medalist Wiki
No edit summary
(forgive me, i'm trying to tweak this with very limited knowledge of css)
Line 18: Line 18:
     text-align: left;
     text-align: left;
     vertical-align: top;
     vertical-align: top;
     width: 120px;
     width: 40%;
}
}
.infobox-table td {
.infobox-table td {
     vertical-align: top;
     vertical-align: top;
    width: 60%;
}
}

Revision as of 16:09, 7 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: 1em;
    width: 300px;
}
.infobox-title {
    font-size: 1.5em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: left;
    vertical-align: top;
    width: 40%;
}
.infobox-table td {
    vertical-align: top;
    width: 60%;
}