Difference between revisions of "MediaWiki:Common.css"

From Idlescape Wiki
Jump to navigation Jump to search
m
m
Line 33: Line 33:
 
     max-width: 300px;
 
     max-width: 300px;
 
     height: auto;
 
     height: auto;
 +
    padding: 1em;
 
}
 
}
 
.infobox-stats {
 
.infobox-stats {

Revision as of 10:50, 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;
}
.infobox-nested {
    text-align: center;
}
.infobox th {
    vertical-align: top;
}
.infobox td {
    vertical-align: top;
    padding: 0.25em 0.5em;
    line-height: 1.6em;
}