MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
.skin-theme-clientpref-night .infobox { | .skin-theme-clientpref-night .infobox { | ||
background: rgb(32, 33, 34); | background: rgb(32, 33, 34); | ||
} | |||
.infobox-marker { | |||
font-weight: bold; | |||
text-align: center; | |||
background: gray; | |||
} | } | ||
.infobox-title { | .infobox-title { | ||
font-size: 2em; | font-size: 2em; | ||
text-align: center; | text-align: center; | ||
/* display: flex; */ | |||
} | } | ||
/* .infobox-title .infobox-flag { | |||
margin-right: 7px; | |||
align-items: center; | |||
} */ | |||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
| Line 26: | Line 36: | ||
.infobox-table td { | .infobox-table td { | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
.infobox-subtitle { | |||
text-align: center; | |||
padding: 5px; | |||
font-weight: bold; | |||
} | } | ||
Latest revision as of 12:10, 20 June 2025
/* 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: 300px;
}
.skin-theme-clientpref-night .infobox {
background: rgb(32, 33, 34);
}
.infobox-marker {
font-weight: bold;
text-align: center;
background: gray;
}
.infobox-title {
font-size: 2em;
text-align: center;
/* display: flex; */
}
/* .infobox-title .infobox-flag {
margin-right: 7px;
align-items: center;
} */
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: left;
vertical-align: top;
// width: 120px;
padding-right: 5px;
}
.infobox-table td {
vertical-align: top;
}
.infobox-subtitle {
text-align: center;
padding: 5px;
font-weight: bold;
}