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 */
/* Hide toolbox */
#p-tb {
display: none;
}
/* Hide Home page heading */
body.page-Home #firstHeading {
display: none;
}
/* ============================= */
/* TREEVERSE FULL BACKGROUND */
/* ============================= */
/* Remove default backgrounds that block body image */
html, body {
height: 100%;
margin: 0;
background: none !important;
}
/* Vector 2022 wrapper */
.vector-page {
background-image: url("https://treeverse.wiki/images/8/84/Treeverse_background.jpg") !important;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
}
/* Older Vector fallback */
#mw-page-base,
#mw-head-base {
background: transparent !important;
}
/* Keep content area readable */
.mw-body,
.vector-body {
background-color: rgba(255, 255, 255, 0.97) !important;
}
/* ============================= */
/* FORCE LINK UNDERLINES */
/* ============================= */
a,
a:visited,
a:active {
text-decoration: underline !important;
}
/* ============================= */
/* DOWNLOAD BUTTON ROW */
/* ============================= */
.download-row {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
margin: 8px 0 16px;
}
.download-row img {
width: clamp(140px, 28vw, 200px);
height: auto;
display: block;
}
/* ============================= */
/* SPOILER BLUR */
/* ============================= */
.spoiler {
filter: blur(6px);
cursor: pointer;
transition: filter 0.3s ease;
}
.spoiler.revealed {
filter: none;
}
/* ============================= */
/* RADIO TABS */
/* ============================= */
.tvrt { margin: 12px 0; }
.tvrt-nav {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 6px;
margin-bottom: 10px;
}
.tvrt-item { display: contents; }
.tvrt-tab {
display: block;
padding: 6px 8px;
border-radius: 8px;
text-decoration: none;
border: 1px solid #eee;
background: #fff;
cursor: pointer;
}
.tvrt-tab:hover { background: #f5f5f5; }
.tvrt-panel {
display: none;
grid-column: 1 / -1;
padding: 12px;
border: 1px solid #e5e5e5;
border-radius: 10px;
background: #fff;
}
.tvrt-item > input:checked + .tvrt-tab + .tvrt-panel {
display: block;
}
.tvrt-item > input:checked + .tvrt-tab {
font-weight: 700;
border-color: #ccc;
background: #fafafa;
}
/* ============================= */
/* LEADERBOARD TABLE FIX */
/* ============================= */
#leaderboardTable > tbody > tr > th,
#leaderboardTable > tbody > tr > td {
vertical-align: middle !important;
}