Difference between revisions of "MediaWiki:Common.css"

From Idlescape Wiki
Jump to navigation Jump to search
(Added infobox styles)
 
m
Line 18: Line 18:
 
}
 
}
 
.infobox-image {
 
.infobox-image {
 +
    text-align: center;
 +
    width: 250px;
 +
    height: auto;
 +
}
 +
.infobox-stats {
 
     text-align: center;
 
     text-align: center;
 
}
 
}

Revision as of 09:40, 19 May 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-header {
    font-size: 2.5em;
    text-align: center;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
    width: 250px;
    height: auto;
}
.infobox-stats {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}