MediaWiki:Common.css: Difference between revisions

From Medalist Wiki
(decreased font size for infobox tables, might ruin some things, let's see)
No edit summary
Line 6: Line 6:
     margin: 0 0 0.5em 0.5em;
     margin: 0 0 0.5em 0.5em;
     padding: 1em;
     padding: 1em;
     width: 300px;
     width: 280px;
}
}
.infobox-title {
.infobox-title {
     font-size: 1.25em;
     font-size: 1.5em;
     text-align: center;
     text-align: center;
}
}
Line 19: Line 19:
     vertical-align: top;
     vertical-align: top;
     width: 40%;
     width: 40%;
     font-size: 0.625em;
     font-size: 0.80em;
}
}
.infobox-table td {
.infobox-table td {
     vertical-align: top;
     vertical-align: top;
     width: 60%;
     width: 60%;
     font-size: 0.75em;
     font-size: 0.90em;
}
}

Revision as of 16:30, 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: 280px;
}
.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%;
    font-size: 0.80em;
}
.infobox-table td {
    vertical-align: top;
    width: 60%;
    font-size: 0.90em;
}