MediaWiki:Citizen.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.
/* All CSS here will be loaded for users of the Citizen skin */
/* Full width content */
.mw-body,
#content,
.citizen-page-container,
.citizen-page__main {
max-width: 100% !important;
width: 100% !important;
}
/* Main container ko wide karo */
.citizen-body-container {
max-width: 100% !important;
padding-left: 32px !important;
padding-right: 32px !important;
}
/* Hero section ko full width allow karo */
.citizen-page-header {
max-width: 100% !important;
}
/* Agar koi inner container width limit kar raha ho */
.mw-parser-output {
max-width: 100% !important;
}
.citizen-main-menu{
display:flex;
align-items:center;
}
.citizen-main-menu .citizen-menu{
display:flex;
margin:0 20px 0 0;
}
.citizen-main-menu .citizen-menu__heading{
display:none;
}
.citizen-main-menu .citizen-menu ul{
display:flex;
flex-direction:row;
list-style:none;
margin:0;
padding:0;
gap:18px;
}
.citizen-main-menu .citizen-menu li{
margin:0;
}
.citizen-main-menu .citizen-menu a{
display:flex;
align-items:center;
gap:8px;
padding:8px 12px;
border-radius:8px;
}
/* ============================================================
WIKIVERSA — PREMIUM EDITORIAL THEME
Full-bleed layout, works inside Citizen skin's centered column
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');
:root{
--wv-ink:#0c1220;
--wv-ink-2:#141d31;
--wv-cream:#f7f4ec;
--wv-paper:#fffdf9;
--wv-gold:#b8923f;
--wv-gold-light:#e4c983;
--wv-line:rgba(184,146,63,.35);
--wv-slate:#5b6472;
--wv-slate-dark:#1c2333;
}
.wv-root{
font-family:'Inter',Arial,sans-serif;
color:var(--wv-slate-dark);
background:var(--wv-cream);
}
.wv-root h1,.wv-root h2,.wv-root h3{
font-family:'Fraunces',Georgia,serif;
}
/* ---- full-bleed breakout, independent of skin container ---- */
.wv-bleed{
width:100vw;
position:relative;
left:50%;
right:50%;
margin-left:-50vw;
margin-right:-50vw;
}
.wv-inner{
max-width:1440px;
margin:0 auto;
padding:0 60px;
box-sizing:border-box;
}
/* ---- eyebrow / masthead label ---- */
.wv-eyebrow{
font-family:'IBM Plex Mono',monospace;
font-size:12.5px;
letter-spacing:3px;
text-transform:uppercase;
color:var(--wv-gold-light);
font-weight:600;
}
.wv-eyebrow.dark{
color:var(--wv-gold);
}
/* ============================================================
HERO
============================================================ */
.wv-hero-wrap{
background:
radial-gradient(circle at 15% 15%, rgba(184,146,63,.10), transparent 45%),
radial-gradient(circle at 85% 85%, rgba(184,146,63,.08), transparent 45%),
linear-gradient(180deg,var(--wv-ink),var(--wv-ink-2));
border-top:1px solid var(--wv-line);
border-bottom:1px solid var(--wv-line);
}
.wv-hero{
padding:110px 0 130px;
text-align:center;
color:#f4efe4;
}
.wv-hero .wv-eyebrow{
margin-bottom:22px;
}
.wv-hero h1{
font-size:76px;
line-height:1.02;
margin:0;
font-weight:600;
letter-spacing:-1px;
}
.wv-hero-rule{
width:64px;
height:2px;
background:var(--wv-gold);
margin:28px auto;
}
.wv-tagline{
font-family:'Fraunces',Georgia,serif;
font-style:italic;
font-size:24px;
font-weight:400;
color:var(--wv-gold-light);
margin-top:6px;
}
.wv-sub{
max-width:680px;
margin:26px auto 0;
font-size:17px;
line-height:1.85;
color:#c9cedb;
}
.wv-btns{
margin-top:48px;
}
.wv-btn{
display:inline-block;
margin:6px 8px;
padding:16px 36px;
border-radius:2px;
text-decoration:none;
font-size:14px;
font-weight:600;
letter-spacing:.5px;
text-transform:uppercase;
transition:.25s ease;
}
.wv-btn-primary{
background:var(--wv-gold);
color:var(--wv-ink);
}
.wv-btn-primary:hover{
background:var(--wv-gold-light);
transform:translateY(-2px);
}
.wv-btn-outline{
border:1px solid rgba(244,239,228,.35);
color:#f4efe4;
}
.wv-btn-outline:hover{
border-color:var(--wv-gold);
color:var(--wv-gold-light);
}
/* ---- search, overlapping the hero ---- */
.wv-search{
max-width:820px;
margin:-34px auto 0;
position:relative;
z-index:10;
padding:0 20px;
}
.wv-search-box{
background:var(--wv-paper);
border:1px solid #e7e0cf;
border-radius:3px;
padding:8px;
box-shadow:0 25px 60px rgba(12,18,32,.18);
}
.wv-search-box input{
width:100%;
box-sizing:border-box;
padding:18px 22px;
border:none;
background:transparent;
font-size:16px;
font-family:'Inter',sans-serif;
color:var(--wv-slate-dark);
}
.wv-search-box input:focus{
outline:none;
}
/* ============================================================
STATS — ledger style
============================================================ */
.wv-stats-section{
padding:70px 0 20px;
}
.wv-stats{
display:grid;
grid-template-columns:repeat(4,1fr);
border-top:1px solid #e2dac2;
border-bottom:1px solid #e2dac2;
}
.wv-stat{
text-align:center;
padding:36px 20px;
border-left:1px solid #e2dac2;
}
.wv-stat:first-child{
border-left:none;
}
.wv-stat-number{
font-family:'IBM Plex Mono',monospace;
font-size:36px;
font-weight:600;
color:var(--wv-ink);
}
.wv-stat-title{
margin-top:10px;
font-size:12px;
letter-spacing:1.5px;
text-transform:uppercase;
color:var(--wv-slate);
}
/* ============================================================
SECTION HEADERS (shared)
============================================================ */
.wv-section{
padding:80px 0;
}
.wv-head{
text-align:center;
margin-bottom:56px;
}
.wv-head h2{
font-size:38px;
font-weight:600;
margin:12px 0 14px;
color:var(--wv-ink);
}
.wv-head p{
color:var(--wv-slate);
max-width:640px;
margin:auto;
line-height:1.8;
font-size:16px;
}
/* ============================================================
FEATURES
============================================================ */
.wv-features{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:1px;
background:#e2dac2;
border:1px solid #e2dac2;
}
.wv-feature{
background:var(--wv-paper);
padding:40px 34px;
transition:.25s ease;
}
.wv-feature:hover{
background:#fffcf5;
}
.wv-feature-icon{
font-size:28px;
}
.wv-feature h3{
margin:20px 0 10px;
font-size:20px;
font-weight:600;
color:var(--wv-ink);
}
.wv-feature p{
color:var(--wv-slate);
line-height:1.8;
font-size:15px;
}
.wv-feature-line{
width:32px;
height:2px;
background:var(--wv-gold);
margin-top:18px;
opacity:0;
transition:.25s ease;
}
.wv-feature:hover .wv-feature-line{
opacity:1;
}
/* ============================================================
LATEST ARTICLES
============================================================ */
.wv-articles-head{
display:flex;
justify-content:space-between;
align-items:flex-end;
flex-wrap:wrap;
gap:14px;
margin-bottom:34px;
border-bottom:1px solid #e2dac2;
padding-bottom:24px;
}
.wv-articles-head h2{
margin:8px 0 0;
font-size:34px;
color:var(--wv-ink);
font-weight:600;
}
.wv-articles-head .wv-meta{
color:var(--wv-slate);
font-size:14px;
}
.wv-article-cols{
display:grid;
grid-template-columns:1fr 1fr;
gap:0;
border:1px solid #e2dac2;
}
.wv-article-col{
background:var(--wv-paper);
padding:8px 30px;
}
.wv-article-col:first-child{
border-right:1px solid #e2dac2;
}
.wv-article-col-title{
font-family:'IBM Plex Mono',monospace;
font-size:12px;
letter-spacing:1.5px;
text-transform:uppercase;
color:var(--wv-gold);
padding:22px 0 14px;
border-bottom:1px solid #eee3c8;
}
.wv-article-row{
padding:16px 0;
border-bottom:1px solid #f0ead6;
font-size:16px;
}
.wv-article-row a{
color:var(--wv-slate-dark);
font-weight:500;
text-decoration:none;
}
.wv-article-row a:hover{
color:var(--wv-gold);
}
/* ============================================================
CATEGORIES
============================================================ */
.wv-cats{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:16px;
}
.wv-cat{
text-align:center;
background:var(--wv-paper);
border:1px solid #e2dac2;
padding:28px 20px;
transition:.25s ease;
}
.wv-cat:hover{
border-color:var(--wv-gold);
transform:translateY(-3px);
}
.wv-cat h3{
font-size:17px;
font-weight:600;
margin:0 0 8px;
color:var(--wv-ink);
}
.wv-cat p a{
color:var(--wv-gold);
font-family:'IBM Plex Mono',monospace;
font-size:12.5px;
letter-spacing:.5px;
text-transform:uppercase;
text-decoration:none;
}
.wv-cat p a:hover{
text-decoration:underline;
}
/* ============================================================
VISION — dark editorial pull quote
============================================================ */
.wv-vision-wrap{
background:linear-gradient(180deg,var(--wv-ink),var(--wv-ink-2));
border-top:1px solid var(--wv-line);
border-bottom:1px solid var(--wv-line);
}
.wv-vision{
padding:100px 0;
text-align:center;
color:#f4efe4;
}
.wv-vision h2{
font-size:20px;
letter-spacing:.5px;
text-transform:none;
max-width:900px;
margin:0 auto 32px;
font-weight:400;
font-style:italic;
line-height:1.7;
color:#e7e0cf;
}
.wv-vision .wv-big-quote{
font-size:34px;
font-weight:600;
line-height:1.35;
max-width:820px;
margin:0 auto 30px;
color:#f4efe4;
}
/* ============================================================
FOOTER CTA
============================================================ */
.wv-cta{
text-align:center;
padding:90px 0;
}
.wv-cta h2{
font-size:36px;
margin:14px 0 18px;
color:var(--wv-ink);
font-weight:600;
}
.wv-cta p{
font-size:17px;
color:var(--wv-slate);
max-width:680px;
margin:auto;
line-height:1.9;
}
.wv-cta-sign{
margin-top:34px;
font-family:'Fraunces',Georgia,serif;
font-style:italic;
font-size:19px;
color:var(--wv-ink);
}
/* ---- responsive ---- */
@media (max-width:900px){
.wv-inner{padding:0 24px;}
.wv-hero h1{font-size:44px;}
.wv-stats{grid-template-columns:repeat(2,1fr);}
.wv-stat:nth-child(3){border-left:none;}
.wv-features{grid-template-columns:1fr;}
.wv-article-cols{grid-template-columns:1fr;}
.wv-article-col:first-child{border-right:none;border-bottom:1px solid #e2dac2;}
.wv-cats{grid-template-columns:1fr;}
}