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 |
||
Line 1: | Line 1: | ||
.infobox { | .infobox { | ||
background-color: #ffff00; | |||
border: 2px solid #008600; | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
padding: 1em; | |||
width: 400px; | |||
} | |||
.infobox-title { | |||
border: 1px solid #000000; | |||
font-size: 1.5em; | |||
text-align: center; | |||
background-color: #ff0000; | |||
} | } | ||
.infobox-subtitle { | |||
font-size: 1em; | |||
text-align: center; | |||
background-color: #fff00; | |||
} | } | ||
.infobox-image { | |||
text-align: center; | |||
background-color: #ffff00; | |||
.infobox-image | |||
} | } |
Revision as of 08:28, 4 July 2025
.infobox {
background-color: #ffff00;
border: 2px solid #008600;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
border: 1px solid #000000;
font-size: 1.5em;
text-align: center;
background-color: #ff0000;
}
.infobox-subtitle {
font-size: 1em;
text-align: center;
background-color: #fff00;
}
.infobox-image {
text-align: center;
background-color: #ffff00;
}