Difference between revisions of "MediaWiki:Common.css"

From Idlescape Wiki
Jump to navigation Jump to search
m
m
Line 26: Line 26:
 
}
 
}
 
.infobox th {
 
.infobox th {
    text-align: right;
 
 
     vertical-align: top;
 
     vertical-align: top;
    width: 120px;
 
 
}
 
}
 
.infobox td {
 
.infobox td {
 
     vertical-align: top;
 
     vertical-align: top;
 
}
 
}

Revision as of 09:43, 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 {
    vertical-align: top;
}
.infobox td {
    vertical-align: top;
}