Difference between revisions of "MediaWiki:Common.css"

From Idlescape Wiki
Jump to navigation Jump to search
m
m
Line 37: Line 37:
 
.infobox-stats {
 
.infobox-stats {
 
     text-align: center;
 
     text-align: center;
 +
    padding: .25em;
 
}
 
}
 
.infobox-nested {
 
.infobox-nested {

Revision as of 11:01, 19 May 2020

/* CSS placed here will be applied to all skins */

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0.5em 0 1em 1em;
    padding: 1em;
    width: 300px;
    word-break: break-word;
    font-size: 0.85em;
}
.infobox-header {
    font-size: 1.5em;
    text-align: center;
    line-height: 1.4em;
    padding: 0.5em 0;
    line-height: 2em;
    background-color: #bebebe;
    font-weight: bold;
}
.infobox-title {
    font-size: 1.25em;
    text-align: center;
    line-height: 2em;
    background-color: #bebebe;
    font-weight: bold;
}
.infobox-image {
    text-align: center;
}
.infobox-image img {
    max-width: 300px;
    height: auto;
    padding: 1em;
}
.infobox-stats {
    text-align: center;
    padding: .25em;
}
.infobox-nested {
    text-align: center;
}
.infobox td {
    vertical-align: top;
    padding: 0.25em 0.5em;
    line-height: 1.6em;
}
.fullWidth-table {
    width: 100%;
}