MediaWiki:Common.css: Difference between revisions

From TF2 Classified Wiki
Jump to navigation Jump to search
Re-add margin
m Trying to add margin to wikitable-style infoboxes
Tag: Reverted
Line 20: Line 20:
.infobox td {
.infobox td {
     vertical-align: top;
     vertical-align: top;
}
.table.wikitable {
margin: 0 0 1em 1em;
}
}

Revision as of 09:14, 12 April 2022

/* CSS placed here will be applied to all skins */
.infobox {
    border: 0.1em solid #7a7a7a;
    float: right;
    width: 21em;
    margin: 0 0 1em 1em;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}

.table.wikitable {
	margin: 0 0 1em 1em;
}