MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m Trying to add margin to wikitable-style infoboxes Tag: Reverted |
m attempt fix Tag: Reverted |
||
| Line 22: | Line 22: | ||
} | } | ||
.table.wikitable { | .table.wikitable tr td { | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
} | } | ||
Revision as of 09:16, 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 tr td {
margin: 0 0 1em 1em;
}