MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Standingpad (talk | contribs) Created page with "→CSS placed here will be applied to all skins: →Infoboxes: .infobox { border: 1px solid #a2a9b1; color: black; padding: 0.2em; font-size: 88%; line-height: 1.5em; border-spacing: 3px; } @media screen { .infobox { background-color: #f8f9fa; } } @media (max-width: 640px) { .infobox { width: 100%; } .infobox .nowrap { white-space: normal; } } @media (min-width: 640px) { .infobox { →@noflip: margin: 0.5em 0 0.5em 1em; /* @nofl..." |
Standingpad (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.infobox { | .infobox { | ||
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-table th { | |||
text-align: right; | |||
vertical-align: top; | |||
width: 120px; | |||
} | } | ||
.infobox-table td { | |||
vertical-align: top; | |||
.infobox- | |||
} | } |
Latest revision as of 02:34, 5 July 2025
.infobox {
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-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}