Difference between revisions of "MediaWiki:Common.css"

From Shadowlack
Jump to navigationJump to search
Line 8: Line 8:
 
/* Infobox template style */
 
/* Infobox template style */
 
.infobox {
 
.infobox {
 +
    width:400px;
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
 
     background-color: #f9f9f9;
 
     background-color: #f9f9f9;

Revision as of 15:21, 7 August 2012

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

.rounded {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
/* Infobox template style */
.infobox {
    width:400px;
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox caption {
    font-size: larger;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}