Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→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;...") |
|||
| Line 23: | Line 23: | ||
.infobox td { | .infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
| + | } | ||
| + | |||
| + | |||
| + | #mp-topbanner { | ||
| + | clear: both; | ||
| + | position: relative; | ||
| + | box-sizing: border-box; | ||
| + | width: 100%; | ||
| + | margin-top: 1.2em; | ||
| + | min-width: 47em; | ||
| + | border-color: #ddd; | ||
| + | background-color: #f9f9f9; | ||
| + | white-space: nowrap; | ||
} | } | ||
Revision as of 08:28, 12 August 2020
/* 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: 400px;
}
.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;
}
#mp-topbanner {
clear: both;
position: relative;
box-sizing: border-box;
width: 100%;
margin-top: 1.2em;
min-width: 47em;
border-color: #ddd;
background-color: #f9f9f9;
white-space: nowrap;
}