MediaWiki:Common.css: Difference between revisions
Owner-authorised Wiki branding update |
Footer 18+ notice: badge vertically centred with the text (owner request) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 87: | Line 87: | ||
/* 1xSlots editorial dossier. Mobile article with sourced Wiki facts. */ | /* 1xSlots editorial dossier. Mobile article with sourced Wiki facts. */ | ||
/* Apply the approved heading treatment only when a dossier is present. */ | |||
body:has(.cl-dossier) #firstHeading { display:none; } | |||
body.skin-minerva:has(.cl-dossier) .pre-content { padding-top:0; } | |||
.skin-minerva | |||
.cl-dossier { --cl-ink:#202123; --cl-muted:#62605c; --cl-line:#dedbd5; color:var(--cl-ink); font-family:inherit; font-size:16px; line-height:1.6; max-width:760px; margin:0 auto; } | .cl-dossier { --cl-ink:#202123; --cl-muted:#62605c; --cl-line:#dedbd5; color:var(--cl-ink); font-family:inherit; font-size:16px; line-height:1.6; max-width:760px; margin:0 auto; } | ||
.cl-dossier *, .cl-dossier *::before, .cl-dossier *::after { box-sizing:border-box; } | .cl-dossier *, .cl-dossier *::before, .cl-dossier *::after { box-sizing:border-box; } | ||
| Line 112: | Line 95: | ||
.cl-dossier code { font-size:.92em; overflow-wrap:anywhere; } | .cl-dossier code { font-size:.92em; overflow-wrap:anywhere; } | ||
.cl-header { padding:5px 0 16px; } | .cl-header { padding:5px 0 16px; } | ||
.cl-dossier h1.cl-brand { margin:0 0 8px; padding:0; border:0; font-family: | .cl-dossier h1.cl-brand { margin:0 0 8px; padding:0; border:0; font-family:"Linux Libertine", Georgia, Times, "Source Serif 4", serif; font-weight:400; font-size:32px; line-height:1.2; letter-spacing:normal; color:var(--cl-ink); } | ||
.cl-meta { font-size:12px; line-height:1.5; color:var(--cl-muted); } | .cl-meta { font-size:12px; line-height:1.5; color:var(--cl-muted); } | ||
.cl-standfirst { font-family:inherit; font-size:16px; line-height:1.6; margin:0 0 22px; } | .cl-standfirst { font-family:inherit; font-size:16px; line-height:1.6; margin:0 0 22px; } | ||
| Line 123: | Line 106: | ||
.cl-nav a { color:var(--cl-ink); text-decoration:none; } | .cl-nav a { color:var(--cl-ink); text-decoration:none; } | ||
.cl-nav a:hover { text-decoration:underline; } | .cl-nav a:hover { text-decoration:underline; } | ||
.cl-section-title { font-family: | .cl-section-title { font-family:"Linux Libertine", Georgia, Times, "Source Serif 4", serif; font-size:21px; font-weight:400; line-height:1.25; margin:30px 0 13px; letter-spacing:normal; scroll-margin-top:65px; } | ||
.cl-records { padding-left:0; margin:18px 0; font-size:14px; } | .cl-records { padding-left:0; margin:18px 0; font-size:14px; } | ||
.cl-records>div+div { margin-top:16px; } | .cl-records>div+div { margin-top:16px; } | ||
.cl-records strong { display:block; font-size:15px; } | .cl-records strong { display:block; font-size:15px; } | ||
.cl-records p { margin:4px 0 0; color:var(--cl-muted); } | .cl-records p { margin:4px 0 0; color:var(--cl-muted); } | ||
.cl-subtitle { font-size:16px; line-height:1.4; font-weight: | .cl-subtitle { font-family:"Linux Libertine", Georgia, Times, "Source Serif 4", serif; font-size:16px; line-height:1.4; font-weight:400; margin:20px 0 8px; } | ||
.cl-dossier ul { padding:0; margin:0 0 16px 19px; } | .cl-dossier ul { padding:0; margin:0 0 16px 19px; } | ||
.cl-dossier li { padding-left:2px; margin-bottom:7px; } | .cl-dossier li { padding-left:2px; margin-bottom:7px; } | ||
| Line 148: | Line 131: | ||
} | } | ||
html.skin-theme-clientpref-night .cl-dossier { --cl-ink:#e9e6df; --cl-muted:#bbb7af; --cl-line:#55524d; } | html.skin-theme-clientpref-night .cl-dossier { --cl-ink:#e9e6df; --cl-muted:#bbb7af; --cl-line:#55524d; } | ||
/* CasinoLeaks infobox: floats right on wide screens, full width on phones. | |||
Tables never force horizontal scrolling. */ | |||
.mw-parser-output table.wikitable { overflow-wrap: anywhere; } | |||
@media (max-width: 720px) { | |||
.mw-parser-output .infobox, | |||
.mw-parser-output table.infobox { | |||
float: none !important; | |||
clear: both !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 0 1em 0 !important; | |||
} | |||
} | |||
/* Hide the 'Powered by MediaWiki' badge (owner/client request 2026-11-05) */ | |||
#footer-poweredbyico, | |||
#footer-icons .cdx-icon-powered-by, | |||
.mw-footer-icons li#footer-poweredbyico { display: none !important; } | |||
/* CasinoLeaks footer (CURACAOFIL-6, 2026-11-05): built by MediaWiki:Common.js as .clf. | |||
Default link row is hidden only once .clf is in place, so the footer never ends up empty. */ | |||
.clf { --clf-ink:#202122; --clf-muted:#54595d; --clf-line:#dadde3; --clf-soft:#f8f9fa; color:var(--clf-ink); font-size:14px; line-height:1.5; margin:0 0 8px; text-align:left; } | |||
html.skin-theme-clientpref-night .clf { --clf-ink:#eaecf0; --clf-muted:#a2a9b1; --clf-line:#404244; --clf-soft:#202122; } | |||
@media (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .clf { --clf-ink:#eaecf0; --clf-muted:#a2a9b1; --clf-line:#404244; --clf-soft:#202122; } } | |||
.clf-rg { display:flex; align-items:center; gap:12px; padding:12px 14px; margin:0 0 20px; background:var(--clf-soft); border:1px solid var(--clf-line); border-radius:8px; font-size:13px; color:var(--clf-muted); } | |||
.clf-rg p { margin:0; padding:0; } | |||
.clf-rg strong { color:var(--clf-ink); font-weight:600; } | |||
.clf-age { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; border:2px solid #d73333; color:#d73333; font-size:12px; font-weight:700; line-height:1; } | |||
.clf-nav { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:4px 24px; max-width:520px; } | |||
.clf-head { font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--clf-muted); margin:0 0 6px; } | |||
.clf ul { list-style:none !important; margin:0 !important; padding:0 !important; } | |||
.clf li { display:block !important; margin:0 !important; padding:4px 0 !important; float:none !important; } | |||
.clf li::before, .clf li::after { content:none !important; display:none !important; } | |||
.clf-nav a { color:var(--clf-ink); text-decoration:none; } | |||
.clf-nav li, .clf-nav a { font-size:14px !important; line-height:1.5; } | |||
.clf-head { font-size:11px !important; } | |||
.clf-bottom, .clf-bottom a { font-size:12px !important; } | |||
.skin-vector #footer-info, .skin-vector .mw-footer #footer-info li { font-size:12px; color:#72777d; } | |||
.clf-nav a:hover { text-decoration:underline; } | |||
.clf-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 16px; margin-top:20px; padding-top:12px; border-top:1px solid var(--clf-line); font-size:12px; color:var(--clf-muted); } | |||
.clf-bottom a { color:var(--clf-muted); } | |||
html.clf-ready #footer-places, html.clf-ready .footer-places { display:none !important; } | |||
/* Phones (Minerva): drop the duplicate "last edited" line and the empty Languages block; calm the last-edited bar. */ | |||
.skin-minerva .minerva-footer #footer-info, .skin-minerva .minerva-footer .footer-info { display:none; } | |||
.skin-minerva .minerva-footer #p-lang:has(#p-variants:empty) { display:none; } | |||
.skin-minerva .minerva-footer .minerva-footer-logo { display:none !important; } | |||
.skin-minerva .last-modified-bar, .skin-minerva .last-modified-bar.active { background:transparent !important; color:#54595d !important; border-top:1px solid #eaecf0; font-size:13px; } | |||
.skin-minerva .last-modified-bar .minerva-icon { opacity:.55; } | |||
.skin-minerva .last-modified-bar a, .skin-minerva .last-modified-bar .last-modified-bar__text { color:inherit !important; } | |||
html.skin-theme-clientpref-night .skin-minerva .last-modified-bar { color:#a2a9b1 !important; border-top-color:#404244; } | |||