Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Added CSS styles for Infoboxes) |
m (Made the box narrower and boldened the title.) |
||
| Line 6: | Line 6: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
| − | width: | + | width: 22em; |
} | } | ||
.infobox-title { | .infobox-title { | ||
| − | font-size: | + | font-size: 18pt; |
text-align: center; | text-align: center; | ||
| + | font-weight: bold; | ||
} | } | ||
.infobox-image { | .infobox-image { | ||
Revision as of 15:02, 8 August 2021
/* 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: 22em;
}
.infobox-title {
font-size: 18pt;
text-align: center;
font-weight: bold;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}