MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 51: | Line 51: | ||
/* ============================= */ | /* ============================= */ | ||
/* MODERN GLASS CONTENT PANEL */ | /* MODERN GLASS CONTENT PANEL */ | ||
/* (Sharp edges version) */ | |||
/* ============================= */ | /* ============================= */ | ||
| Line 59: | Line 60: | ||
#bodyContent { | #bodyContent { | ||
background: rgba(255, 255, 255, 0. | background: rgba(255, 255, 255, 0.84); | ||
backdrop-filter: blur( | backdrop-filter: blur(8px); | ||
-webkit-backdrop-filter: blur( | -webkit-backdrop-filter: blur(8px); | ||
padding: 32px; | padding: 32px; | ||
border-radius: | border-radius: 0; /* removed rounding */ | ||
box-shadow: | box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); | ||
} | } | ||
| Line 133: | Line 132: | ||
display: block; | display: block; | ||
padding: 6px 8px; | padding: 6px 8px; | ||
text-decoration: none; | text-decoration: none; | ||
border: 1px solid #eee; | border: 1px solid #eee; | ||
| Line 147: | Line 145: | ||
padding: 12px; | padding: 12px; | ||
border: 1px solid #e5e5e5; | border: 1px solid #e5e5e5; | ||
background: #fff; | background: #fff; | ||
} | } | ||
Revision as of 00:24, 3 March 2026
/* 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 CINEMATIC BACKGROUND */
/* ============================= */
html, body {
height: 100%;
margin: 0;
}
/* Full-page forest background */
body {
background-image: url("https://treeverse.wiki/images/8/84/Treeverse_background.jpg");
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
}
/* Subtle cinematic dark overlay */
body::before {
content: "";
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.20);
z-index: -1;
}
/* Remove default white wrappers */
#mw-page-base,
#mw-head-base,
#content {
background: transparent !important;
}
/* ============================= */
/* MODERN GLASS CONTENT PANEL */
/* (Sharp edges version) */
/* ============================= */
#content {
max-width: 1200px;
margin: 50px auto;
}
#bodyContent {
background: rgba(255, 255, 255, 0.84);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
padding: 32px;
border-radius: 0; /* removed rounding */
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
/* ============================= */
/* 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;
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;
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;
}