« MediaWiki:Common.css » : différence entre les versions
Aller à la navigation
Aller à la recherche
Page créée avec « →Le CSS placé ici sera appliqué à to/* ============================================================ WIKIKABYLIE — PAGE D'ACCUEIL ============================================================ : :root { --wk-blue: #0757a6; --wk-blue-dark: #073763; --wk-blue-light: #eaf4fc; --wk-green: #16834b; --wk-green-dark: #0e6338; --wk-green-light: #eaf7ef; --wk-gold: #e7a617; --wk-gold-light: #fff7df; --wk-red: #c95532;... » |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
/* ============================================================ | |||
WikiKabylie — Homepage UI | |||
Modern editorial design / Vector 2022 friendly | |||
============================================================ */ | ============================================================ */ | ||
:root { | :root { | ||
--wk-blue: #0b5fa8; | |||
--wk-blue-deep: #083b68; | |||
--wk-green: #258052; | |||
--wk-green-deep: #195e3c; | |||
--wk-gold: #d49a1f; | |||
--wk-red: #c95b3c; | |||
--wk-ink: #13283d; | |||
--wk-text: #33495d; | |||
--wk-muted: #718091; | |||
--wk-line: #e5e9ee; | |||
--wk-soft: #f6f8fa; | |||
--wk-white: #fff; | |||
--wk-radius-xl: 28px; | |||
--wk-radius-lg: 20px; | |||
--wk-radius-md: 14px; | |||
--wk-shadow: 0 16px 50px rgba(25, 47, 71, .08); | |||
} | } | ||
/* ---- Base -------------------------------------------------- */ | |||
/* ---- | |||
.wk-home { | .wk-home { | ||
width: min(100%, 1480px); | |||
margin: 0 auto; | |||
color: var(--wk-text); | |||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | |||
font-size: 16px; | |||
line-height: 1.58; | |||
} | } | ||
.wk-home, | |||
.wk-home * { | .wk-home * { | ||
box-sizing: border-box; | |||
} | } | ||
.wk-home a { | .wk-home a { | ||
text-decoration: none; | |||
} | } | ||
| Ligne 63 : | Ligne 47 : | ||
.wk-home h2, | .wk-home h2, | ||
.wk-home h3 { | .wk-home h3 { | ||
margin-top: 0; | |||
color: var(--wk-ink); | |||
font-family: Georgia, "Times New Roman", serif; | |||
letter-spacing: -.02em; | |||
} | } | ||
.wk-home p { | |||
margin-top: 0; | |||
} | |||
.wk-section { | |||
padding: 72px 20px 0; | |||
.wk- | |||
} | } | ||
.wk- | .wk-section-tight { | ||
padding-top: 58px; | |||
} | } | ||
.wk- | .wk-soft-section { | ||
margin-top: 72px; | |||
padding: 68px 28px 32px; | |||
border: 1px solid #edf0f3; | |||
border-radius: var(--wk-radius-xl); | |||
background: linear-gradient(180deg, #fbfcfd, #f6f8fa); | |||
} | } | ||
.wk-hero | /* ---- Hero -------------------------------------------------- */ | ||
.wk-hero { | |||
position: relative; | |||
min-height: 590px; | |||
overflow: hidden; | |||
border-radius: 0 0 var(--wk-radius-xl) var(--wk-radius-xl); | |||
background: | |||
linear-gradient(90deg, | |||
rgba(246, 250, 253, .99) 0%, | |||
rgba(246, 250, 253, .96) 35%, | |||
rgba(246, 250, 253, .70) 51%, | |||
rgba(8, 39, 64, .10) 73%, | |||
rgba(8, 39, 64, .26) 100%), | |||
url("/images/Kabylie-paysage.jpg") center 43% / cover no-repeat; | |||
box-shadow: 0 18px 55px rgba(17, 44, 70, .10); | |||
} | } | ||
.wk-hero | .wk-hero::after { | ||
position: absolute; | |||
inset: 0; | |||
pointer-events: none; | |||
content: ""; | |||
background: | |||
linear-gradient(120deg, rgba(11,95,168,.025), transparent 38%), | |||
radial-gradient(circle at 82% 20%, rgba(212,154,31,.14), transparent 24%); | |||
} | } | ||
.wk-hero- | .wk-hero-inner { | ||
position: relative; | |||
z-index: 1; | |||
display: flex; | |||
min-height: 590px; | |||
flex-direction: column; | |||
justify-content: space-between; | |||
} | } | ||
.wk- | .wk-hero-copy { | ||
width: min(670px, 70%); | |||
padding: 82px 72px 40px; | |||
} | } | ||
.wk- | .wk-eyebrow, | ||
.wk-kicker { | |||
display: inline-block; | |||
color: var(--wk-green); | |||
font-size: 11px; | |||
font-weight: 800; | |||
letter-spacing: .18em; | |||
text-transform: uppercase; | |||
} | } | ||
.wk- | .wk-hero h1 { | ||
margin: 17px 0 8px; | |||
color: var(--wk-blue-deep); | |||
font-family: inherit; | |||
font-size: 20px; | |||
font-weight: 800; | |||
letter-spacing: -.015em; | |||
} | } | ||
.wk- | .wk-hero-title { | ||
max-width: 630px; | |||
color: #102840; | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: clamp(42px, 5.6vw, 72px); | |||
font-weight: 700; | |||
line-height: 1.03; | |||
letter-spacing: -.045em; | |||
} | } | ||
.wk- | .wk-hero-lead { | ||
max-width: 610px; | |||
margin: 24px 0 0; | |||
color: #3d5062; | |||
font-size: 17px; | |||
line-height: 1.7; | |||
} | } | ||
.wk- | .wk-actions { | ||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 10px; | |||
margin-top: 28px; | |||
} | } | ||
.wk-btn { | |||
display: inline-flex; | |||
min-height: 46px; | |||
align-items: center; | |||
justify-content: center; | |||
.wk- | padding: 0 21px; | ||
border-radius: 10px; | |||
font-size: 14px; | |||
font-weight: 750; | |||
transition: transform .18s ease, box-shadow .18s ease, background .18s ease; | |||
} | } | ||
.wk- | .wk-btn a { | ||
color: inherit !important; | |||
} | } | ||
.wk- | .wk-btn:hover { | ||
transform: translateY(-2px); | |||
} | } | ||
.wk- | .wk-btn-primary { | ||
color: #fff; | |||
background: var(--wk-blue); | |||
box-shadow: 0 8px 24px rgba(11,95,168,.20); | |||
} | } | ||
.wk-btn-soft { | |||
color: var(--wk-blue-deep); | |||
border: 1px solid rgba(11,95,168,.16); | |||
background: rgba(255,255,255,.82); | |||
backdrop-filter: blur(10px); | |||
.wk- | |||
} | } | ||
.wk- | .wk-btn-white { | ||
color: var(--wk-blue-deep); | |||
background: #fff; | |||
} | } | ||
.wk- | .wk-btn-outline-white { | ||
color: #fff; | |||
border: 1px solid rgba(255,255,255,.38); | |||
background: rgba(255,255,255,.05); | |||
} | } | ||
.wk- | .wk-hero-meta { | ||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px 18px; | |||
margin-top: 24px; | |||
color: #617182; | |||
font-size: 12px; | |||
font-weight: 650; | |||
} | } | ||
.wk- | .wk-hero-meta span::before { | ||
display: inline-block; | |||
width: 6px; | |||
height: 6px; | |||
margin: 0 8px 1px 0; | |||
border-radius: 50%; | |||
background: var(--wk-green); | |||
content: ""; | |||
} | } | ||
.wk-hero-stats { | |||
display: grid; | |||
width: min(780px, 72%); | |||
-- | grid-template-columns: repeat(4, 1fr); | ||
margin: 0 0 0 48px; | |||
overflow: hidden; | |||
border: 1px solid rgba(255,255,255,.74); | |||
border-bottom: 0; | |||
border-radius: 18px 18px 0 0; | |||
background: rgba(255,255,255,.92); | |||
box-shadow: 0 -8px 35px rgba(21,45,66,.08); | |||
backdrop-filter: blur(14px); | |||
} | } | ||
.wk- | .wk-stat { | ||
padding: 18px 24px; | |||
border-right: 1px solid var(--wk-line); | |||
} | } | ||
.wk- | .wk-stat:last-child { | ||
border-right: 0; | |||
} | } | ||
.wk- | .wk-stat strong, | ||
.wk-stat span { | |||
display: block; | |||
} | } | ||
.wk- | .wk-stat strong { | ||
color: var(--wk-ink); | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 22px; | |||
} | } | ||
.wk- | .wk-stat span { | ||
margin-top: 2px; | |||
color: var(--wk-muted); | |||
font-size: 11px; | |||
font-weight: 700; | |||
letter-spacing: .05em; | |||
text-transform: uppercase; | |||
} | } | ||
.wk- | /* ---- Section headings ------------------------------------- */ | ||
.wk-section-heading { | |||
display: flex; | |||
align-items: end; | |||
justify-content: space-between; | |||
gap: 30px; | |||
margin-bottom: 26px; | |||
} | } | ||
.wk- | .wk-section-heading h2 { | ||
margin: 7px 0 7px; | |||
font-size: clamp(28px, 3.3vw, 42px); | |||
line-height: 1.1; | |||
} | } | ||
.wk- | .wk-section-heading p { | ||
max-width: 760px; | |||
margin-bottom: 0; | |||
color: var(--wk-muted); | |||
} | } | ||
.wk- | .wk-heading-action { | ||
padding-bottom: 5px; | |||
white-space: nowrap; | |||
font-size: 13px; | |||
font-weight: 750; | |||
} | } | ||
.wk- | /* ---- Topic cards ------------------------------------------ */ | ||
.wk-topic-grid { | |||
display: grid; | |||
grid-template-columns: repeat(4, 1fr); | |||
gap: 14px; | |||
} | } | ||
.wk-card | .wk-topic-card { | ||
position: relative; | |||
display: grid; | |||
min-height: 215px; | |||
grid-template-columns: auto 1fr; | |||
gap: 16px; | |||
padding: 24px 24px 20px; | |||
overflow: hidden; | |||
border: 1px solid var(--wk-line); | |||
border-radius: var(--wk-radius-lg); | |||
background: #fff; | |||
box-shadow: 0 6px 20px rgba(15,41,66,.025); | |||
transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; | |||
} | } | ||
.wk-card | .wk-topic-card:hover { | ||
transform: translateY(-4px); | |||
border-color: #d5dce3; | |||
box-shadow: var(--wk-shadow); | |||
} | } | ||
.wk-topic-card::after { | |||
position: absolute; | |||
right: -42px; | |||
-- | bottom: -42px; | ||
width: 120px; | |||
height: 120px; | |||
border-radius: 50%; | |||
content: ""; | |||
opacity: .055; | |||
} | } | ||
.wk- | .wk-accent-blue::after { background: var(--wk-blue); } | ||
.wk- | .wk-accent-green::after { background: var(--wk-green); } | ||
.wk-accent-gold::after { background: var(--wk-gold); } | |||
.wk-accent-red::after { background: var(--wk-red); } | |||
} | |||
.wk- | .wk-topic-icon { | ||
display: flex; | |||
width: 44px; | |||
height: 44px; | |||
align-items: center; | |||
justify-content: center; | |||
border: 1px solid var(--wk-line); | |||
border-radius: 12px; | |||
background: var(--wk-soft); | |||
color: var(--wk-ink); | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-weight: 800; | |||
} | } | ||
.wk- | .wk-topic-label { | ||
display: block; | |||
margin-bottom: 5px; | |||
color: var(--wk-muted); | |||
font-size: 10px; | |||
font-weight: 800; | |||
letter-spacing: .12em; | |||
text-transform: uppercase; | |||
} | } | ||
.wk- | .wk-topic-card h3 { | ||
margin-bottom: 9px; | |||
font-size: 19px; | |||
line-height: 1.18; | |||
} | } | ||
.wk- | .wk-topic-card p { | ||
margin-bottom: 0; | |||
color: var(--wk-muted); | |||
font-size: 13px; | |||
line-height: 1.55; | |||
} | } | ||
.wk- | .wk-topic-arrow { | ||
position: absolute; | |||
right: 20px; | |||
bottom: 17px; | |||
font-weight: 800; | |||
} | } | ||
.wk- | /* ---- Editorial / feature --------------------------------- */ | ||
.wk-editorial-grid { | |||
display: grid; | |||
grid-template-columns: minmax(0, 1.75fr) minmax(310px, .75fr); | |||
gap: 16px; | |||
} | } | ||
.wk-feature- | .wk-feature { | ||
display: grid; | |||
min-height: 510px; | |||
grid-template-rows: 1.18fr .82fr; | |||
overflow: hidden; | |||
border: 1px solid var(--wk-line); | |||
border-radius: var(--wk-radius-xl); | |||
background: #fff; | |||
} | } | ||
.wk-feature- | .wk-feature-media { | ||
min-height: 300px; | |||
overflow: hidden; | |||
background: #e9eef2; | |||
} | } | ||
.wk- | .wk-feature-media .mw-file-element, | ||
.wk-feature-media img { | |||
width: 100% !important; | |||
height: 100% !important; | |||
object-fit: cover; | |||
} | } | ||
.wk | .wk-feature-copy { | ||
padding: 30px 34px 34px; | |||
} | } | ||
.wk- | .wk-feature-copy h2 { | ||
margin: 12px 0 10px; | |||
font-size: 34px; | |||
} | } | ||
.wk- | .wk-feature-copy p { | ||
max-width: 760px; | |||
color: var(--wk-muted); | |||
} | } | ||
.wk- | .wk-pill { | ||
display: inline-block; | |||
padding: 5px 8px; | |||
border-radius: 6px; | |||
font-size: 9px; | |||
font-weight: 850; | |||
letter-spacing: .11em; | |||
} | } | ||
.wk- | .wk-pill-blue { color: var(--wk-blue); background: #eaf4fb; } | ||
.wk-pill-green { color: var(--wk-green-deep); background: #ebf6ef; } | |||
.wk-pill-gold { color: #8a6111; background: #fff5d8; } | |||
} | .wk-pill-red { color: #9b432d; background: #fff0eb; } | ||
.wk- | .wk-text-link { | ||
margin-top: 16px; | |||
font-size: 13px; | |||
font-weight: 800; | |||
} | } | ||
.wk- | .wk-news-stack { | ||
display: grid; | |||
gap: 14px; | |||
} | } | ||
.wk- | .wk-news-card { | ||
padding: 24px; | |||
border: 1px solid var(--wk-line); | |||
border-radius: var(--wk-radius-lg); | |||
background: #fff; | |||
} | } | ||
.wk-news-card h3 { | |||
margin: 12px 0 8px; | |||
font-size: 20px; | |||
.wk- | |||
} | } | ||
.wk- | .wk-news-card p { | ||
margin-bottom: 10px; | |||
color: var(--wk-muted); | |||
font-size: 13px; | |||
} | } | ||
.wk- | /* ---- Portraits ------------------------------------------- */ | ||
.wk-portrait-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 12px; | |||
} | } | ||
.wk- | .wk-portrait-card { | ||
display: flex; | |||
min-height: 145px; | |||
gap: 15px; | |||
align-items: center; | |||
padding: 20px; | |||
border: 1px solid var(--wk-line); | |||
border-radius: var(--wk-radius-lg); | |||
background: #fff; | |||
} | } | ||
.wk- | .wk-avatar { | ||
display: flex; | |||
width: 52px; | |||
height: 52px; | |||
flex: 0 0 52px; | |||
align-items: center; | |||
justify-content: center; | |||
border-radius: 50%; | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 20px; | |||
font-weight: 800; | |||
} | } | ||
.wk-avatar-blue { color: var(--wk-blue); background: #eaf4fb; } | |||
.wk-avatar-green { color: var(--wk-green-deep); background: #ebf6ef; } | |||
.wk-avatar-gold { color: #8a6111; background: #fff5d8; } | |||
.wk-avatar-red { color: #9b432d; background: #fff0eb; } | |||
.wk-portrait-role { | |||
display: block; | |||
---- | margin-bottom: 4px; | ||
color: var(--wk-muted); | |||
font-size: 9px; | |||
font-weight: 850; | |||
letter-spacing: .1em; | |||
text-transform: uppercase; | |||
} | } | ||
.wk- | .wk-portrait-card h3 { | ||
margin-bottom: 4px; | |||
font-size: 19px; | |||
} | } | ||
.wk- | .wk-portrait-card p { | ||
margin-bottom: 0; | |||
color: var(--wk-muted); | |||
font-size: 12px; | |||
} | } | ||
.wk- | .wk-category-strip { | ||
display: grid; | |||
grid-template-columns: repeat(5, 1fr); | |||
margin-top: 12px; | |||
overflow: hidden; | |||
border: 1px solid var(--wk-line); | |||
border-radius: var(--wk-radius-md); | |||
background: var(--wk-soft); | |||
} | } | ||
.wk- | .wk-category-strip div { | ||
padding: 14px 12px; | |||
border-right: 1px solid var(--wk-line); | |||
text-align: center; | |||
font-size: 12px; | |||
font-weight: 750; | |||
} | } | ||
.wk- | .wk-category-strip div:last-child { | ||
border-right: 0; | |||
} | } | ||
.wk- | /* ---- Dark politics --------------------------------------- */ | ||
.wk-dark-section { | |||
position: relative; | |||
margin: 76px 20px 0; | |||
padding: 54px 48px 34px; | |||
overflow: hidden; | |||
border-radius: var(--wk-radius-xl); | |||
color: rgba(255,255,255,.82); | |||
background: | |||
radial-gradient(circle at 90% 0%, rgba(39,130,84,.28), transparent 25%), | |||
radial-gradient(circle at 15% 100%, rgba(11,95,168,.20), transparent 30%), | |||
linear-gradient(135deg, #102b45, #071a2a); | |||
} | } | ||
.wk- | .wk-dark-section h2, | ||
.wk-dark-section h3 { | |||
color: #fff; | |||
} | } | ||
.wk- | .wk-kicker-light { | ||
color: #8bd7ad; | |||
} | } | ||
.wk- | .wk-dark-head { | ||
display: flex; | |||
justify-content: space-between; | |||
gap: 40px; | |||
margin-bottom: 28px; | |||
} | } | ||
.wk- | .wk-dark-head h2 { | ||
max-width: 820px; | |||
margin: 7px 0 10px; | |||
font-size: clamp(30px, 4vw, 44px); | |||
} | } | ||
.wk- | .wk-dark-head p { | ||
max-width: 820px; | |||
color: rgba(255,255,255,.68); | |||
} | } | ||
.wk- | .wk-dark-symbol { | ||
color: rgba(255,255,255,.08); | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 120px; | |||
font-weight: 800; | |||
line-height: .8; | |||
} | } | ||
.wk- | .wk-dark-grid { | ||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 12px; | |||
} | } | ||
.wk- | .wk-dark-card { | ||
position: relative; | |||
min-height: 245px; | |||
padding: 25px; | |||
border: 1px solid rgba(255,255,255,.10); | |||
border-radius: 16px; | |||
background: rgba(255,255,255,.045); | |||
transition: background .18s ease, transform .18s ease; | |||
} | } | ||
.wk- | .wk-dark-card:hover { | ||
transform: translateY(-3px); | |||
background: rgba(255,255,255,.075); | |||
} | } | ||
.wk-dark- | .wk-dark-index { | ||
position: absolute; | |||
right: 18px; | |||
top: 14px; | |||
color: rgba(255,255,255,.12); | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 34px; | |||
font-weight: 700; | |||
} | } | ||
.wk-dark- | .wk-dark-type { | ||
display: block; | |||
margin-bottom: 18px; | |||
color: #8bd7ad; | |||
font-size: 9px; | |||
font-weight: 850; | |||
letter-spacing: .12em; | |||
} | } | ||
.wk-dark-card h3 { | .wk-dark-card h3 { | ||
max-width: 85%; | |||
margin-bottom: 10px; | |||
font-size: 21px; | |||
} | } | ||
.wk-dark-card p { | .wk-dark-card p { | ||
min-height: 72px; | |||
color: rgba(255,255,255,.64); | |||
font-size: 13px; | |||
} | } | ||
.wk-dark-card a { | .wk-dark-card a { | ||
color: #9fd3ff !important; | |||
font-weight: 750; | |||
} | } | ||
.wk- | .wk-editorial-note { | ||
margin-top: 18px; | |||
padding: 14px 16px; | |||
border-left: 3px solid var(--wk-gold); | |||
border-radius: 8px; | |||
background: rgba(255,255,255,.045); | |||
color: rgba(255,255,255,.66); | |||
font-size: 12px; | |||
} | } | ||
.wk- | /* ---- History --------------------------------------------- */ | ||
.wk-history { | |||
border-top: 1px solid var(--wk-line); | |||
} | |||
.wk-history-item { | |||
display: grid; | |||
grid-template-columns: 115px 22px 1fr; | |||
gap: 16px; | |||
align-items: stretch; | |||
min-height: 115px; | |||
padding: 22px 0; | |||
border-bottom: 1px solid var(--wk-line); | |||
} | |||
.wk-history-date { | |||
color: var(--wk-green); | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 18px; | |||
font-weight: 700; | |||
} | } | ||
.wk-history-line { | |||
position: relative; | |||
.wk- | |||
} | } | ||
.wk- | .wk-history-line::before { | ||
position: absolute; | |||
top: 5px; | |||
left: 7px; | |||
width: 8px; | |||
height: 8px; | |||
border-radius: 50%; | |||
background: var(--wk-green); | |||
box-shadow: 0 0 0 5px #eaf5ef; | |||
content: ""; | |||
} | } | ||
.wk- | .wk-history-line::after { | ||
position: absolute; | |||
top: 20px; | |||
bottom: -28px; | |||
left: 10px; | |||
width: 1px; | |||
background: #dfe6e1; | |||
content: ""; | |||
} | } | ||
.wk- | .wk-history-item:last-child .wk-history-line::after { | ||
display: none; | |||
} | } | ||
.wk- | .wk-history-copy h3 { | ||
margin-bottom: 6px; | |||
font-size: 21px; | |||
} | } | ||
.wk- | .wk-history-copy p { | ||
margin-bottom: 0; | |||
color: var(--wk-muted); | |||
font-size: 13px; | |||
} | } | ||
/* ---- Economy --------------------------------------------- */ | |||
/* ---- | |||
.wk-economy-grid { | .wk-economy-grid { | ||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 12px; | |||
} | } | ||
.wk-economy-card { | .wk-economy-card { | ||
min-height: 185px; | |||
padding: 24px; | |||
border: 1px solid var(--wk-line); | |||
border-radius: var(--wk-radius-lg); | |||
background: #fff; | |||
} | } | ||
.wk-economy- | .wk-economy-num { | ||
display: block; | |||
margin-bottom: 24px; | |||
color: #a8b4bf; | |||
font-size: 10px; | |||
font-weight: 850; | |||
letter-spacing: .1em; | |||
} | } | ||
.wk-economy-card h3 { | .wk-economy-card h3 { | ||
margin-bottom: 8px; | |||
font-size: 20px; | |||
} | } | ||
.wk-economy-card p { | .wk-economy-card p { | ||
margin-bottom: 0; | |||
color: var(--wk-muted); | |||
font-size: 13px; | |||
} | } | ||
/* ---- Villages -------------------------------------------- */ | |||
.wk-village-shell { | |||
display: grid; | |||
grid-template-columns: .9fr 1.1fr; | |||
gap: 38px; | |||
padding: 42px; | |||
border: 1px solid #dcebe2; | |||
border-radius: var(--wk-radius-xl); | |||
background: | |||
linear-gradient(145deg, #f2f8f4, #f8fbf9 58%, #fff 100%); | |||
} | |||
.wk-village-intro h2 { | |||
margin: 8px 0 12px; | |||
font-size: 38px; | |||
.wk- | |||
} | } | ||
.wk- | .wk-village-intro p { | ||
color: #65776d; | |||
} | } | ||
.wk- | .wk-village-grid { | ||
display: grid; | |||
grid-template-columns: repeat(2, 1fr); | |||
gap: 10px; | |||
} | } | ||
.wk- | .wk-place-card { | ||
padding: 18px; | |||
border: 1px solid rgba(37,128,82,.13); | |||
border-radius: var(--wk-radius-md); | |||
background: rgba(255,255,255,.86); | |||
} | } | ||
.wk- | .wk-place-card span, | ||
.wk-place-card strong { | |||
display: block; | |||
} | } | ||
.wk- | .wk-place-card span { | ||
margin-bottom: 6px; | |||
color: var(--wk-muted); | |||
font-size: 10px; | |||
font-weight: 800; | |||
letter-spacing: .08em; | |||
text-transform: uppercase; | |||
} | } | ||
.wk- | .wk-place-card strong { | ||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 18px; | |||
} | } | ||
/* ---- Culture --------------------------------------------- */ | |||
/* ---- | |||
.wk-culture-grid { | .wk-culture-grid { | ||
display: grid; | |||
grid-template-columns: repeat(4, 1fr); | |||
gap: 12px; | |||
} | } | ||
.wk-culture-card { | .wk-culture-card { | ||
min-height: 180px; | |||
padding: 22px; | |||
border: 1px solid var(--wk-line); | |||
border-radius: var(--wk-radius-lg); | |||
background: #fff; | |||
} | } | ||
.wk-culture-card: | .wk-culture-card > span { | ||
display: inline-flex; | |||
min-width: 34px; | |||
min-height: 26px; | |||
align-items: center; | |||
justify-content: center; | |||
padding: 4px 8px; | |||
border-radius: 999px; | |||
font-size: 9px; | |||
font-weight: 850; | |||
} | } | ||
.wk-culture- | .wk-culture-blue > span { color: var(--wk-blue); background: #eaf4fb; } | ||
.wk-culture-green > span { color: var(--wk-green-deep); background: #ebf6ef; } | |||
.wk-culture-gold > span { color: #8a6111; background: #fff5d8; } | |||
} | .wk-culture-red > span { color: #9b432d; background: #fff0eb; } | ||
.wk-culture-card h3 { | .wk-culture-card h3 { | ||
margin: 21px 0 8px; | |||
font-size: 21px; | |||
} | } | ||
.wk-culture-card p { | |||
margin-bottom: 0; | |||
color: var(--wk-muted); | |||
font-size: 12px; | |||
} | |||
/* ---- | /* ---- Contribute ------------------------------------------ */ | ||
.wk-contribute { | .wk-contribute { | ||
position: relative; | |||
display: flex; | |||
gap: 36px; | |||
align-items: center; | |||
margin: 78px 20px 0; | |||
padding: 52px; | |||
overflow: hidden; | |||
border-radius: var(--wk-radius-xl); | |||
background: | |||
radial-gradient(circle at 10% 10%, rgba(255,255,255,.10), transparent 25%), | |||
linear-gradient(115deg, var(--wk-blue-deep), var(--wk-blue)); | |||
color: rgba(255,255,255,.84); | |||
} | |||
.wk-contribute-mark { | |||
color: rgba(255,255,255,.13); | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 120px; | |||
font-weight: 800; | |||
} | |||
.wk-contribute-copy h2 { | |||
max-width: 760px; | |||
margin: 8px 0 12px; | |||
color: #fff; | |||
font-size: clamp(30px, 4vw, 44px); | |||
} | |||
.wk-contribute-copy p { | |||
max-width: 760px; | |||
} | |||
/* ---- Tools ----------------------------------------------- */ | |||
.wk-tools { | |||
display: grid; | |||
grid-template-columns: repeat(4, 1fr); | |||
margin: 22px 20px 0; | |||
overflow: hidden; | |||
border: 1px solid var(--wk-line); | |||
border-radius: var(--wk-radius-lg); | |||
background: #fff; | |||
} | |||
.wk-tool-card { | |||
min-height: 112px; | |||
padding: 20px; | |||
border-right: 1px solid var(--wk-line); | |||
} | } | ||
.wk- | .wk-tool-card:last-child { | ||
border-right: 0; | |||
} | } | ||
.wk- | .wk-tool-index, | ||
.wk-tool-card strong, | |||
.wk-tool-card small { | |||
display: block; | |||
} | } | ||
.wk- | .wk-tool-index { | ||
margin-bottom: 14px; | |||
color: #a3aeb8; | |||
font-size: 9px; | |||
font-weight: 850; | |||
letter-spacing: .1em; | |||
} | } | ||
.wk- | .wk-tool-card strong { | ||
color: var(--wk-ink); | |||
font-size: 13px; | |||
} | } | ||
.wk- | .wk-tool-card small { | ||
margin-top: 3px; | |||
color: var(--wk-muted); | |||
font-size: 11px; | |||
} | } | ||
/* ---- Footer ---------------------------------------------- */ | |||
.wk-home-footer { | |||
display: grid; | |||
grid-template-columns: 2fr 1fr 1fr; | |||
gap: 54px; | |||
margin: 70px 20px 0; | |||
padding: 38px 0 50px; | |||
border-top: 1px solid var(--wk-line); | |||
color: var(--wk-muted); | |||
font-size: 12px; | |||
line-height: 1.8; | |||
} | |||
.wk-home-footer strong { | |||
display: block; | |||
margin-bottom: 8px; | |||
color: var(--wk-ink); | |||
.wk- | font-size: 14px; | ||
} | |||
.wk-footer-brand strong { | |||
color: var(--wk-blue-deep); | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 22px; | |||
} | } | ||
. | /* ---- MediaWiki / Vector 2022 polish ---------------------- */ | ||
.skin-vector-2022 .mw-page-container { | |||
max-width: 100%; | |||
} | } | ||
. | .skin-vector-2022 .mw-content-container { | ||
max-width: none; | |||
} | } | ||
. | .skin-vector-2022 .mw-body { | ||
max-width: none; | |||
. | |||
} | } | ||
. | .skin-vector-2022 .mw-body-content { | ||
max-width: none; | |||
} | } | ||
. | body.page-Accueil .firstHeading, | ||
body.page-Accueil #firstHeading { | |||
display: none; | |||
} | } | ||
body.page-Accueil .mw-body-content > .mw-parser-output { | |||
margin-top: 0; | |||
. | |||
} | } | ||
.wk- | /* ---- Tablet ---------------------------------------------- */ | ||
@media (max-width: 1180px) { | |||
.wk-topic-grid { grid-template-columns: repeat(2, 1fr); } | |||
.wk-portrait-grid { grid-template-columns: repeat(2, 1fr); } | |||
.wk-dark-grid { grid-template-columns: repeat(2, 1fr); } | |||
.wk-culture-grid { grid-template-columns: repeat(2, 1fr); } | |||
.wk-hero-copy { width: 74%; padding-left: 46px; } | |||
.wk-hero-stats { width: calc(100% - 70px); margin-left: 35px; } | |||
.wk-editorial-grid { grid-template-columns: 1fr; } | |||
.wk-news-stack { grid-template-columns: repeat(3, 1fr); } | |||
} | } | ||
/* ---- Mobile ---------------------------------------------- */ | |||
@media (max-width: 720px) { | |||
.wk-home { font-size: 15px; } | |||
.wk-section, | |||
.wk-section-tight { | |||
padding: 52px 12px 0; | |||
} | |||
.wk-soft-section { | |||
margin-top: 52px; | |||
padding: 45px 16px 20px; | |||
border-radius: 20px; | |||
} | |||
.wk-hero { | |||
min-height: 690px; | |||
border-radius: 0 0 20px 20px; | |||
background: | |||
linear-gradient(rgba(246,250,253,.94), rgba(246,250,253,.86)), | |||
url("/images/Kabylie-paysage.jpg") center / cover no-repeat; | |||
} | |||
.wk-hero-inner { min-height: 690px; } | |||
.wk-hero-copy { | |||
width: 100%; | |||
} | padding: 48px 22px 30px; | ||
} | |||
.wk-hero-title { | |||
font-size: 43px; | |||
line-height: 1.02; | |||
} | |||
.wk-hero-lead { font-size: 15px; } | |||
} | .wk-hero-meta { | ||
display: grid; | |||
grid-template-columns: 1fr; | |||
} | |||
.wk-hero-stats { | |||
width: calc(100% - 24px); | |||
grid-template-columns: repeat(2, 1fr); | |||
margin-left: 12px; | |||
border-radius: 16px 16px 0 0; | |||
} | |||
.wk-stat { | |||
padding: 14px 12px; | |||
border-bottom: 1px solid var(--wk-line); | |||
} | |||
.wk-section-heading { | |||
align-items: flex-start; | |||
} | flex-direction: column; | ||
gap: 10px; | |||
} | |||
.wk-topic-grid, | |||
.wk-portrait-grid, | |||
.wk-dark-grid, | |||
.wk-economy-grid, | |||
.wk-culture-grid, | |||
.wk-village-shell, | |||
.wk-home-footer { | |||
grid-template-columns: 1fr; | |||
} | |||
.wk-topic-card { | |||
min-height: 190px; | |||
} | |||
.wk-feature { | |||
min-height: 0; | |||
} | |||
.wk-news-stack { | |||
grid-template-columns: 1fr; | |||
} | |||
.wk-category-strip { | |||
grid-template-columns: 1fr; | |||
} | |||
.wk-category-strip div { | |||
border-right: 0; | |||
border-bottom: 1px solid var(--wk-line); | |||
} | |||
.wk-category-strip div:last-child { | |||
border-bottom: 0; | |||
} | |||
.wk-dark-section { | |||
margin: 52px 12px 0; | |||
padding: 38px 18px 24px; | |||
border-radius: 20px; | |||
} | |||
.wk-dark-symbol { display: none; } | |||
.wk-dark-card { min-height: 220px; } | |||
.wk-history-item { | |||
grid-template-columns: 88px 18px 1fr; | |||
} | gap: 10px; | ||
} | |||
.wk-village-shell { | |||
gap: 28px; | |||
padding: 28px 18px; | |||
border-radius: 20px; | |||
} | |||
.wk-village-grid { grid-template-columns: 1fr; } | |||
.wk-contribute { | |||
margin: 54px 12px 0; | |||
} | padding: 38px 22px; | ||
border-radius: 20px; | |||
} | |||
.wk-contribute-mark { display: none; } | |||
.wk-tools { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | margin: 18px 12px 0; | ||
} | |||
.wk-tool-card { | |||
border-bottom: 1px solid var(--wk-line); | |||
} | |||
.wk-home-footer { | |||
margin: 52px 12px 0; | |||
gap: 26px; | |||
} | |||
} | |||
} | |||
Version du 8 août 2026 à 22:18
/* ============================================================
WikiKabylie — Homepage UI
Modern editorial design / Vector 2022 friendly
============================================================ */
:root {
--wk-blue: #0b5fa8;
--wk-blue-deep: #083b68;
--wk-green: #258052;
--wk-green-deep: #195e3c;
--wk-gold: #d49a1f;
--wk-red: #c95b3c;
--wk-ink: #13283d;
--wk-text: #33495d;
--wk-muted: #718091;
--wk-line: #e5e9ee;
--wk-soft: #f6f8fa;
--wk-white: #fff;
--wk-radius-xl: 28px;
--wk-radius-lg: 20px;
--wk-radius-md: 14px;
--wk-shadow: 0 16px 50px rgba(25, 47, 71, .08);
}
/* ---- Base -------------------------------------------------- */
.wk-home {
width: min(100%, 1480px);
margin: 0 auto;
color: var(--wk-text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 1.58;
}
.wk-home,
.wk-home * {
box-sizing: border-box;
}
.wk-home a {
text-decoration: none;
}
.wk-home h1,
.wk-home h2,
.wk-home h3 {
margin-top: 0;
color: var(--wk-ink);
font-family: Georgia, "Times New Roman", serif;
letter-spacing: -.02em;
}
.wk-home p {
margin-top: 0;
}
.wk-section {
padding: 72px 20px 0;
}
.wk-section-tight {
padding-top: 58px;
}
.wk-soft-section {
margin-top: 72px;
padding: 68px 28px 32px;
border: 1px solid #edf0f3;
border-radius: var(--wk-radius-xl);
background: linear-gradient(180deg, #fbfcfd, #f6f8fa);
}
/* ---- Hero -------------------------------------------------- */
.wk-hero {
position: relative;
min-height: 590px;
overflow: hidden;
border-radius: 0 0 var(--wk-radius-xl) var(--wk-radius-xl);
background:
linear-gradient(90deg,
rgba(246, 250, 253, .99) 0%,
rgba(246, 250, 253, .96) 35%,
rgba(246, 250, 253, .70) 51%,
rgba(8, 39, 64, .10) 73%,
rgba(8, 39, 64, .26) 100%),
url("/images/Kabylie-paysage.jpg") center 43% / cover no-repeat;
box-shadow: 0 18px 55px rgba(17, 44, 70, .10);
}
.wk-hero::after {
position: absolute;
inset: 0;
pointer-events: none;
content: "";
background:
linear-gradient(120deg, rgba(11,95,168,.025), transparent 38%),
radial-gradient(circle at 82% 20%, rgba(212,154,31,.14), transparent 24%);
}
.wk-hero-inner {
position: relative;
z-index: 1;
display: flex;
min-height: 590px;
flex-direction: column;
justify-content: space-between;
}
.wk-hero-copy {
width: min(670px, 70%);
padding: 82px 72px 40px;
}
.wk-eyebrow,
.wk-kicker {
display: inline-block;
color: var(--wk-green);
font-size: 11px;
font-weight: 800;
letter-spacing: .18em;
text-transform: uppercase;
}
.wk-hero h1 {
margin: 17px 0 8px;
color: var(--wk-blue-deep);
font-family: inherit;
font-size: 20px;
font-weight: 800;
letter-spacing: -.015em;
}
.wk-hero-title {
max-width: 630px;
color: #102840;
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(42px, 5.6vw, 72px);
font-weight: 700;
line-height: 1.03;
letter-spacing: -.045em;
}
.wk-hero-lead {
max-width: 610px;
margin: 24px 0 0;
color: #3d5062;
font-size: 17px;
line-height: 1.7;
}
.wk-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 28px;
}
.wk-btn {
display: inline-flex;
min-height: 46px;
align-items: center;
justify-content: center;
padding: 0 21px;
border-radius: 10px;
font-size: 14px;
font-weight: 750;
transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.wk-btn a {
color: inherit !important;
}
.wk-btn:hover {
transform: translateY(-2px);
}
.wk-btn-primary {
color: #fff;
background: var(--wk-blue);
box-shadow: 0 8px 24px rgba(11,95,168,.20);
}
.wk-btn-soft {
color: var(--wk-blue-deep);
border: 1px solid rgba(11,95,168,.16);
background: rgba(255,255,255,.82);
backdrop-filter: blur(10px);
}
.wk-btn-white {
color: var(--wk-blue-deep);
background: #fff;
}
.wk-btn-outline-white {
color: #fff;
border: 1px solid rgba(255,255,255,.38);
background: rgba(255,255,255,.05);
}
.wk-hero-meta {
display: flex;
flex-wrap: wrap;
gap: 8px 18px;
margin-top: 24px;
color: #617182;
font-size: 12px;
font-weight: 650;
}
.wk-hero-meta span::before {
display: inline-block;
width: 6px;
height: 6px;
margin: 0 8px 1px 0;
border-radius: 50%;
background: var(--wk-green);
content: "";
}
.wk-hero-stats {
display: grid;
width: min(780px, 72%);
grid-template-columns: repeat(4, 1fr);
margin: 0 0 0 48px;
overflow: hidden;
border: 1px solid rgba(255,255,255,.74);
border-bottom: 0;
border-radius: 18px 18px 0 0;
background: rgba(255,255,255,.92);
box-shadow: 0 -8px 35px rgba(21,45,66,.08);
backdrop-filter: blur(14px);
}
.wk-stat {
padding: 18px 24px;
border-right: 1px solid var(--wk-line);
}
.wk-stat:last-child {
border-right: 0;
}
.wk-stat strong,
.wk-stat span {
display: block;
}
.wk-stat strong {
color: var(--wk-ink);
font-family: Georgia, "Times New Roman", serif;
font-size: 22px;
}
.wk-stat span {
margin-top: 2px;
color: var(--wk-muted);
font-size: 11px;
font-weight: 700;
letter-spacing: .05em;
text-transform: uppercase;
}
/* ---- Section headings ------------------------------------- */
.wk-section-heading {
display: flex;
align-items: end;
justify-content: space-between;
gap: 30px;
margin-bottom: 26px;
}
.wk-section-heading h2 {
margin: 7px 0 7px;
font-size: clamp(28px, 3.3vw, 42px);
line-height: 1.1;
}
.wk-section-heading p {
max-width: 760px;
margin-bottom: 0;
color: var(--wk-muted);
}
.wk-heading-action {
padding-bottom: 5px;
white-space: nowrap;
font-size: 13px;
font-weight: 750;
}
/* ---- Topic cards ------------------------------------------ */
.wk-topic-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 14px;
}
.wk-topic-card {
position: relative;
display: grid;
min-height: 215px;
grid-template-columns: auto 1fr;
gap: 16px;
padding: 24px 24px 20px;
overflow: hidden;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-lg);
background: #fff;
box-shadow: 0 6px 20px rgba(15,41,66,.025);
transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.wk-topic-card:hover {
transform: translateY(-4px);
border-color: #d5dce3;
box-shadow: var(--wk-shadow);
}
.wk-topic-card::after {
position: absolute;
right: -42px;
bottom: -42px;
width: 120px;
height: 120px;
border-radius: 50%;
content: "";
opacity: .055;
}
.wk-accent-blue::after { background: var(--wk-blue); }
.wk-accent-green::after { background: var(--wk-green); }
.wk-accent-gold::after { background: var(--wk-gold); }
.wk-accent-red::after { background: var(--wk-red); }
.wk-topic-icon {
display: flex;
width: 44px;
height: 44px;
align-items: center;
justify-content: center;
border: 1px solid var(--wk-line);
border-radius: 12px;
background: var(--wk-soft);
color: var(--wk-ink);
font-family: Georgia, "Times New Roman", serif;
font-weight: 800;
}
.wk-topic-label {
display: block;
margin-bottom: 5px;
color: var(--wk-muted);
font-size: 10px;
font-weight: 800;
letter-spacing: .12em;
text-transform: uppercase;
}
.wk-topic-card h3 {
margin-bottom: 9px;
font-size: 19px;
line-height: 1.18;
}
.wk-topic-card p {
margin-bottom: 0;
color: var(--wk-muted);
font-size: 13px;
line-height: 1.55;
}
.wk-topic-arrow {
position: absolute;
right: 20px;
bottom: 17px;
font-weight: 800;
}
/* ---- Editorial / feature --------------------------------- */
.wk-editorial-grid {
display: grid;
grid-template-columns: minmax(0, 1.75fr) minmax(310px, .75fr);
gap: 16px;
}
.wk-feature {
display: grid;
min-height: 510px;
grid-template-rows: 1.18fr .82fr;
overflow: hidden;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-xl);
background: #fff;
}
.wk-feature-media {
min-height: 300px;
overflow: hidden;
background: #e9eef2;
}
.wk-feature-media .mw-file-element,
.wk-feature-media img {
width: 100% !important;
height: 100% !important;
object-fit: cover;
}
.wk-feature-copy {
padding: 30px 34px 34px;
}
.wk-feature-copy h2 {
margin: 12px 0 10px;
font-size: 34px;
}
.wk-feature-copy p {
max-width: 760px;
color: var(--wk-muted);
}
.wk-pill {
display: inline-block;
padding: 5px 8px;
border-radius: 6px;
font-size: 9px;
font-weight: 850;
letter-spacing: .11em;
}
.wk-pill-blue { color: var(--wk-blue); background: #eaf4fb; }
.wk-pill-green { color: var(--wk-green-deep); background: #ebf6ef; }
.wk-pill-gold { color: #8a6111; background: #fff5d8; }
.wk-pill-red { color: #9b432d; background: #fff0eb; }
.wk-text-link {
margin-top: 16px;
font-size: 13px;
font-weight: 800;
}
.wk-news-stack {
display: grid;
gap: 14px;
}
.wk-news-card {
padding: 24px;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-lg);
background: #fff;
}
.wk-news-card h3 {
margin: 12px 0 8px;
font-size: 20px;
}
.wk-news-card p {
margin-bottom: 10px;
color: var(--wk-muted);
font-size: 13px;
}
/* ---- Portraits ------------------------------------------- */
.wk-portrait-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
}
.wk-portrait-card {
display: flex;
min-height: 145px;
gap: 15px;
align-items: center;
padding: 20px;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-lg);
background: #fff;
}
.wk-avatar {
display: flex;
width: 52px;
height: 52px;
flex: 0 0 52px;
align-items: center;
justify-content: center;
border-radius: 50%;
font-family: Georgia, "Times New Roman", serif;
font-size: 20px;
font-weight: 800;
}
.wk-avatar-blue { color: var(--wk-blue); background: #eaf4fb; }
.wk-avatar-green { color: var(--wk-green-deep); background: #ebf6ef; }
.wk-avatar-gold { color: #8a6111; background: #fff5d8; }
.wk-avatar-red { color: #9b432d; background: #fff0eb; }
.wk-portrait-role {
display: block;
margin-bottom: 4px;
color: var(--wk-muted);
font-size: 9px;
font-weight: 850;
letter-spacing: .1em;
text-transform: uppercase;
}
.wk-portrait-card h3 {
margin-bottom: 4px;
font-size: 19px;
}
.wk-portrait-card p {
margin-bottom: 0;
color: var(--wk-muted);
font-size: 12px;
}
.wk-category-strip {
display: grid;
grid-template-columns: repeat(5, 1fr);
margin-top: 12px;
overflow: hidden;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-md);
background: var(--wk-soft);
}
.wk-category-strip div {
padding: 14px 12px;
border-right: 1px solid var(--wk-line);
text-align: center;
font-size: 12px;
font-weight: 750;
}
.wk-category-strip div:last-child {
border-right: 0;
}
/* ---- Dark politics --------------------------------------- */
.wk-dark-section {
position: relative;
margin: 76px 20px 0;
padding: 54px 48px 34px;
overflow: hidden;
border-radius: var(--wk-radius-xl);
color: rgba(255,255,255,.82);
background:
radial-gradient(circle at 90% 0%, rgba(39,130,84,.28), transparent 25%),
radial-gradient(circle at 15% 100%, rgba(11,95,168,.20), transparent 30%),
linear-gradient(135deg, #102b45, #071a2a);
}
.wk-dark-section h2,
.wk-dark-section h3 {
color: #fff;
}
.wk-kicker-light {
color: #8bd7ad;
}
.wk-dark-head {
display: flex;
justify-content: space-between;
gap: 40px;
margin-bottom: 28px;
}
.wk-dark-head h2 {
max-width: 820px;
margin: 7px 0 10px;
font-size: clamp(30px, 4vw, 44px);
}
.wk-dark-head p {
max-width: 820px;
color: rgba(255,255,255,.68);
}
.wk-dark-symbol {
color: rgba(255,255,255,.08);
font-family: Georgia, "Times New Roman", serif;
font-size: 120px;
font-weight: 800;
line-height: .8;
}
.wk-dark-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
}
.wk-dark-card {
position: relative;
min-height: 245px;
padding: 25px;
border: 1px solid rgba(255,255,255,.10);
border-radius: 16px;
background: rgba(255,255,255,.045);
transition: background .18s ease, transform .18s ease;
}
.wk-dark-card:hover {
transform: translateY(-3px);
background: rgba(255,255,255,.075);
}
.wk-dark-index {
position: absolute;
right: 18px;
top: 14px;
color: rgba(255,255,255,.12);
font-family: Georgia, "Times New Roman", serif;
font-size: 34px;
font-weight: 700;
}
.wk-dark-type {
display: block;
margin-bottom: 18px;
color: #8bd7ad;
font-size: 9px;
font-weight: 850;
letter-spacing: .12em;
}
.wk-dark-card h3 {
max-width: 85%;
margin-bottom: 10px;
font-size: 21px;
}
.wk-dark-card p {
min-height: 72px;
color: rgba(255,255,255,.64);
font-size: 13px;
}
.wk-dark-card a {
color: #9fd3ff !important;
font-weight: 750;
}
.wk-editorial-note {
margin-top: 18px;
padding: 14px 16px;
border-left: 3px solid var(--wk-gold);
border-radius: 8px;
background: rgba(255,255,255,.045);
color: rgba(255,255,255,.66);
font-size: 12px;
}
/* ---- History --------------------------------------------- */
.wk-history {
border-top: 1px solid var(--wk-line);
}
.wk-history-item {
display: grid;
grid-template-columns: 115px 22px 1fr;
gap: 16px;
align-items: stretch;
min-height: 115px;
padding: 22px 0;
border-bottom: 1px solid var(--wk-line);
}
.wk-history-date {
color: var(--wk-green);
font-family: Georgia, "Times New Roman", serif;
font-size: 18px;
font-weight: 700;
}
.wk-history-line {
position: relative;
}
.wk-history-line::before {
position: absolute;
top: 5px;
left: 7px;
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--wk-green);
box-shadow: 0 0 0 5px #eaf5ef;
content: "";
}
.wk-history-line::after {
position: absolute;
top: 20px;
bottom: -28px;
left: 10px;
width: 1px;
background: #dfe6e1;
content: "";
}
.wk-history-item:last-child .wk-history-line::after {
display: none;
}
.wk-history-copy h3 {
margin-bottom: 6px;
font-size: 21px;
}
.wk-history-copy p {
margin-bottom: 0;
color: var(--wk-muted);
font-size: 13px;
}
/* ---- Economy --------------------------------------------- */
.wk-economy-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
}
.wk-economy-card {
min-height: 185px;
padding: 24px;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-lg);
background: #fff;
}
.wk-economy-num {
display: block;
margin-bottom: 24px;
color: #a8b4bf;
font-size: 10px;
font-weight: 850;
letter-spacing: .1em;
}
.wk-economy-card h3 {
margin-bottom: 8px;
font-size: 20px;
}
.wk-economy-card p {
margin-bottom: 0;
color: var(--wk-muted);
font-size: 13px;
}
/* ---- Villages -------------------------------------------- */
.wk-village-shell {
display: grid;
grid-template-columns: .9fr 1.1fr;
gap: 38px;
padding: 42px;
border: 1px solid #dcebe2;
border-radius: var(--wk-radius-xl);
background:
linear-gradient(145deg, #f2f8f4, #f8fbf9 58%, #fff 100%);
}
.wk-village-intro h2 {
margin: 8px 0 12px;
font-size: 38px;
}
.wk-village-intro p {
color: #65776d;
}
.wk-village-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.wk-place-card {
padding: 18px;
border: 1px solid rgba(37,128,82,.13);
border-radius: var(--wk-radius-md);
background: rgba(255,255,255,.86);
}
.wk-place-card span,
.wk-place-card strong {
display: block;
}
.wk-place-card span {
margin-bottom: 6px;
color: var(--wk-muted);
font-size: 10px;
font-weight: 800;
letter-spacing: .08em;
text-transform: uppercase;
}
.wk-place-card strong {
font-family: Georgia, "Times New Roman", serif;
font-size: 18px;
}
/* ---- Culture --------------------------------------------- */
.wk-culture-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}
.wk-culture-card {
min-height: 180px;
padding: 22px;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-lg);
background: #fff;
}
.wk-culture-card > span {
display: inline-flex;
min-width: 34px;
min-height: 26px;
align-items: center;
justify-content: center;
padding: 4px 8px;
border-radius: 999px;
font-size: 9px;
font-weight: 850;
}
.wk-culture-blue > span { color: var(--wk-blue); background: #eaf4fb; }
.wk-culture-green > span { color: var(--wk-green-deep); background: #ebf6ef; }
.wk-culture-gold > span { color: #8a6111; background: #fff5d8; }
.wk-culture-red > span { color: #9b432d; background: #fff0eb; }
.wk-culture-card h3 {
margin: 21px 0 8px;
font-size: 21px;
}
.wk-culture-card p {
margin-bottom: 0;
color: var(--wk-muted);
font-size: 12px;
}
/* ---- Contribute ------------------------------------------ */
.wk-contribute {
position: relative;
display: flex;
gap: 36px;
align-items: center;
margin: 78px 20px 0;
padding: 52px;
overflow: hidden;
border-radius: var(--wk-radius-xl);
background:
radial-gradient(circle at 10% 10%, rgba(255,255,255,.10), transparent 25%),
linear-gradient(115deg, var(--wk-blue-deep), var(--wk-blue));
color: rgba(255,255,255,.84);
}
.wk-contribute-mark {
color: rgba(255,255,255,.13);
font-family: Georgia, "Times New Roman", serif;
font-size: 120px;
font-weight: 800;
}
.wk-contribute-copy h2 {
max-width: 760px;
margin: 8px 0 12px;
color: #fff;
font-size: clamp(30px, 4vw, 44px);
}
.wk-contribute-copy p {
max-width: 760px;
}
/* ---- Tools ----------------------------------------------- */
.wk-tools {
display: grid;
grid-template-columns: repeat(4, 1fr);
margin: 22px 20px 0;
overflow: hidden;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-lg);
background: #fff;
}
.wk-tool-card {
min-height: 112px;
padding: 20px;
border-right: 1px solid var(--wk-line);
}
.wk-tool-card:last-child {
border-right: 0;
}
.wk-tool-index,
.wk-tool-card strong,
.wk-tool-card small {
display: block;
}
.wk-tool-index {
margin-bottom: 14px;
color: #a3aeb8;
font-size: 9px;
font-weight: 850;
letter-spacing: .1em;
}
.wk-tool-card strong {
color: var(--wk-ink);
font-size: 13px;
}
.wk-tool-card small {
margin-top: 3px;
color: var(--wk-muted);
font-size: 11px;
}
/* ---- Footer ---------------------------------------------- */
.wk-home-footer {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 54px;
margin: 70px 20px 0;
padding: 38px 0 50px;
border-top: 1px solid var(--wk-line);
color: var(--wk-muted);
font-size: 12px;
line-height: 1.8;
}
.wk-home-footer strong {
display: block;
margin-bottom: 8px;
color: var(--wk-ink);
font-size: 14px;
}
.wk-footer-brand strong {
color: var(--wk-blue-deep);
font-family: Georgia, "Times New Roman", serif;
font-size: 22px;
}
/* ---- MediaWiki / Vector 2022 polish ---------------------- */
.skin-vector-2022 .mw-page-container {
max-width: 100%;
}
.skin-vector-2022 .mw-content-container {
max-width: none;
}
.skin-vector-2022 .mw-body {
max-width: none;
}
.skin-vector-2022 .mw-body-content {
max-width: none;
}
body.page-Accueil .firstHeading,
body.page-Accueil #firstHeading {
display: none;
}
body.page-Accueil .mw-body-content > .mw-parser-output {
margin-top: 0;
}
/* ---- Tablet ---------------------------------------------- */
@media (max-width: 1180px) {
.wk-topic-grid { grid-template-columns: repeat(2, 1fr); }
.wk-portrait-grid { grid-template-columns: repeat(2, 1fr); }
.wk-dark-grid { grid-template-columns: repeat(2, 1fr); }
.wk-culture-grid { grid-template-columns: repeat(2, 1fr); }
.wk-hero-copy { width: 74%; padding-left: 46px; }
.wk-hero-stats { width: calc(100% - 70px); margin-left: 35px; }
.wk-editorial-grid { grid-template-columns: 1fr; }
.wk-news-stack { grid-template-columns: repeat(3, 1fr); }
}
/* ---- Mobile ---------------------------------------------- */
@media (max-width: 720px) {
.wk-home { font-size: 15px; }
.wk-section,
.wk-section-tight {
padding: 52px 12px 0;
}
.wk-soft-section {
margin-top: 52px;
padding: 45px 16px 20px;
border-radius: 20px;
}
.wk-hero {
min-height: 690px;
border-radius: 0 0 20px 20px;
background:
linear-gradient(rgba(246,250,253,.94), rgba(246,250,253,.86)),
url("/images/Kabylie-paysage.jpg") center / cover no-repeat;
}
.wk-hero-inner { min-height: 690px; }
.wk-hero-copy {
width: 100%;
padding: 48px 22px 30px;
}
.wk-hero-title {
font-size: 43px;
line-height: 1.02;
}
.wk-hero-lead { font-size: 15px; }
.wk-hero-meta {
display: grid;
grid-template-columns: 1fr;
}
.wk-hero-stats {
width: calc(100% - 24px);
grid-template-columns: repeat(2, 1fr);
margin-left: 12px;
border-radius: 16px 16px 0 0;
}
.wk-stat {
padding: 14px 12px;
border-bottom: 1px solid var(--wk-line);
}
.wk-section-heading {
align-items: flex-start;
flex-direction: column;
gap: 10px;
}
.wk-topic-grid,
.wk-portrait-grid,
.wk-dark-grid,
.wk-economy-grid,
.wk-culture-grid,
.wk-village-shell,
.wk-home-footer {
grid-template-columns: 1fr;
}
.wk-topic-card {
min-height: 190px;
}
.wk-feature {
min-height: 0;
}
.wk-news-stack {
grid-template-columns: 1fr;
}
.wk-category-strip {
grid-template-columns: 1fr;
}
.wk-category-strip div {
border-right: 0;
border-bottom: 1px solid var(--wk-line);
}
.wk-category-strip div:last-child {
border-bottom: 0;
}
.wk-dark-section {
margin: 52px 12px 0;
padding: 38px 18px 24px;
border-radius: 20px;
}
.wk-dark-symbol { display: none; }
.wk-dark-card { min-height: 220px; }
.wk-history-item {
grid-template-columns: 88px 18px 1fr;
gap: 10px;
}
.wk-village-shell {
gap: 28px;
padding: 28px 18px;
border-radius: 20px;
}
.wk-village-grid { grid-template-columns: 1fr; }
.wk-contribute {
margin: 54px 12px 0;
padding: 38px 22px;
border-radius: 20px;
}
.wk-contribute-mark { display: none; }
.wk-tools {
grid-template-columns: repeat(2, 1fr);
margin: 18px 12px 0;
}
.wk-tool-card {
border-bottom: 1px solid var(--wk-line);
}
.wk-home-footer {
margin: 52px 12px 0;
gap: 26px;
}
}