MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
} | } | ||
/* ========================= | /* ========================= | ||
Infoboxes | |||
========================= */ | ========================= */ | ||
| Line 16: | Line 16: | ||
max-width: 320px; | max-width: 320px; | ||
font-size: 14px; | font-size: 14px; | ||
float: right; | |||
margin: 0 0 1rem 1.5rem; /* bottom + space from content */ | |||
} | } | ||
.lt-infobox-title { | .lt-infobox-title { | ||
padding: | padding: 5px; | ||
font-size: | font-size: 35px; | ||
font-weight: 600; | font-weight: 600; | ||
text-align: center; | text-align: center; | ||
| Line 33: | Line 35: | ||
.lt-infobox-section { | .lt-infobox-section { | ||
padding: | padding: 4px 12px; | ||
} | } | ||
| Line 39: | Line 41: | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
padding: | padding: 4px 0; | ||
border-bottom: 1px solid var(--color-border, #2a2f3a); | border-bottom: 1px solid var(--color-border, #2a2f3a); | ||
font-size: 15px; | |||
} | } | ||
Latest revision as of 00:15, 20 February 2026
/* CSS placed here will be applied to all skins */
#skin-client-prefs-skin-theme {
display: none !important;
}
#skin-client-prefs-citizen-feature-pure-black {
display: none !important;
}
/* =========================
Infoboxes
========================= */
.lt-infobox {
border: 1px solid var(--color-border, #2a2f3a);
background: var(--color-surface-1, #111827);
padding: 0;
max-width: 320px;
font-size: 14px;
float: right;
margin: 0 0 1rem 1.5rem; /* bottom + space from content */
}
.lt-infobox-title {
padding: 5px;
font-size: 35px;
font-weight: 600;
text-align: center;
border-bottom: 1px solid var(--color-border, #2a2f3a);
letter-spacing: 2px;
}
.lt-infobox-image img {
width: 100%;
display: block;
}
.lt-infobox-section {
padding: 4px 12px;
}
.lt-infobox-row {
display: flex;
justify-content: space-between;
padding: 4px 0;
border-bottom: 1px solid var(--color-border, #2a2f3a);
font-size: 15px;
}
.lt-infobox-row:last-child {
border-bottom: none;
}
.lt-infobox-label {
font-weight: 500;
}
.lt-infobox-value {
text-align: right;
}