MediaWiki:Common.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* ====== Universal Infobox Styles ====== */
.infobox {
border: 1px solid #aaa;
background-color: var(--infobox-bg, #f9f9f9);
color: var(--infobox-text, #000);
padding: 10px;
margin: 1em 0;
width: 280px;
font-size: 90%;
line-height: 1.6em;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Header styling */
.infobox-header {
font-weight: bold;
font-size: 120%;
text-align: center;
margin-bottom: 8px;
padding: 4px;
border-bottom: 1px solid #ccc;
}
/* Image block */
.infobox-image {
text-align: center;
margin: 10px 0;
}
.infobox-image img {
max-width: 250px;
height: auto;
border: 1px solid #ddd;
border-radius: 4px;
background: #fff;
padding: 2px;
}
/* Row styling */
.infobox-row {
margin: 6px 0;
}
/* ====== Specific Classes (all inherit base .infobox) ====== */
.mod-infobox { background-color: var(--infobox-bg, #f9f9f9); }
.enemy-infobox { background-color: var(--infobox-bg, #f9f9f9); }
.utility-infobox { background-color: var(--infobox-bg, #f9f9f9); }
.modder-infobox { background-color: var(--infobox-bg, #f9f9f9); }
/* ====== Dark mode overrides (if skin supports CSS variables) ====== */
html[data-theme='dark'] {
--infobox-bg: #1e1e1e;
--infobox-text: #e0e0e0;
}
.cs-comment-wrapper {
background-color: #f7f7f7;
border: 1px solid #ccc;
padding: 10px;
border-radius: 6px;
margin-top: 20px;
}
/* Verberg de parser statistieken voor iedereen */
.mw-newpp-report {
display: none;
}