Difference between revisions of "MediaWiki:Common.css"

From Archive | Chen Chen & Kai Williams
Jump to navigation Jump to search
Line 10: Line 10:
}
}
.infobox-title {
.infobox-title {
     font-size: 1.5em;
     font-size: 1em;
     text-align: center;
     text-align: center;
     font-weight: bold;
     font-weight: bold;
}
}
.infobox-image {
.infobox-image {
    display:block; width:100%; height:auto;
     text-align: center;
     text-align: center;
     width: 200px;
      
}
}
.infobox th {
.infobox th {

Revision as of 17:00, 8 June 2018

/* 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: 250px;
}
.infobox-title {
    font-size: 1em;
    text-align: center;
    font-weight: bold;
}
.infobox-image {
    display:block; width:100%; height:auto;
    text-align: center;
    
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}