Difference between revisions of "MediaWiki:Common.css"

From blading.wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
.infobox-image {
 
.infobox-image {
 
     text-align: center;
 
     text-align: center;
 +
}
 +
.infobox table {
 +
    width: 100%;
 
}
 
}
 
.infobox tr {
 
.infobox tr {

Revision as of 08:03, 8 October 2020

/* CSS placed here will be applied to all skins */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox table {
    width: 100%;
}
.infobox tr {
    width: 100%;
}
.infobox th {
    text-align: left;
    vertical-align: top;
}
.infobox td {
    text-align: right;
    vertical-align: top;
}