MediaWiki:Common.css
Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
- Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
- Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* ============================================================
WIKIKABYLIE — HEADER GLOBAL MEDIAWIKI
Compatible Vector / Vector 2022
============================================================ */
/* ------------------------------------------------------------
1. CONTENEUR GLOBAL DU HEADER
------------------------------------------------------------ */
#mw-head,
.vector-header-container,
.vector-header {
background: rgba(255, 255, 255, 0.97) !important;
border-bottom: 1px solid #dbe5ee !important;
box-shadow:
0 2px 8px rgba(15, 23, 42, 0.04),
0 1px 2px rgba(15, 23, 42, 0.03);
position: sticky;
top: 0;
z-index: 1000;
}
/* Petit accent WikiKabylie sous le header */
.vector-header-container::after {
content: "";
position: absolute;
right: 0;
bottom: -1px;
left: 0;
height: 2px;
background: linear-gradient(
90deg,
#0757a6 0%,
#0757a6 60%,
#16834b 60%,
#16834b 82%,
#c8922e 82%,
#c8922e 100%
);
pointer-events: none;
}
/* ------------------------------------------------------------
2. LOGO
------------------------------------------------------------ */
.mw-wiki-logo,
.mw-logo,
.vector-header-start .mw-logo {
transition:
transform 0.2s ease,
opacity 0.2s ease;
}
.mw-wiki-logo:hover,
.mw-logo:hover,
.vector-header-start .mw-logo:hover {
transform: scale(1.025);
}
.mw-logo-wordmark {
transition: opacity 0.2s ease;
}
.mw-logo:hover .mw-logo-wordmark {
opacity: 0.88;
}
/* ------------------------------------------------------------
3. BARRE DE RECHERCHE
------------------------------------------------------------ */
#p-search,
.vector-search-box,
.vector-search-box-vue {
margin-right: 12px;
}
.cdx-text-input__input,
.vector-search-box-input,
#searchInput {
min-height: 38px !important;
padding-right: 14px !important;
padding-left: 15px !important;
border: 1px solid #ccd8e3 !important;
border-radius: 10px !important;
outline: none !important;
background: #f7f9fb !important;
color: #172b3d !important;
font-size: 14px !important;
transition:
border-color 0.18s ease,
background-color 0.18s ease,
box-shadow 0.18s ease !important;
}
.cdx-text-input__input:hover,
.vector-search-box-input:hover,
#searchInput:hover {
border-color: #9eb5ca !important;
background: #ffffff !important;
}
.cdx-text-input__input:focus,
.vector-search-box-input:focus,
#searchInput:focus {
border-color: #0757a6 !important;
background: #ffffff !important;
box-shadow:
0 0 0 3px rgba(7, 87, 166, 0.11) !important;
}
/* Placeholder */
.cdx-text-input__input::placeholder,
.vector-search-box-input::placeholder,
#searchInput::placeholder {
color: #8494a3 !important;
}
/* ------------------------------------------------------------
4. BOUTON DE RECHERCHE
------------------------------------------------------------ */
.cdx-search-input__end-button,
.searchButton {
border-radius: 0 10px 10px 0 !important;
border-color: #0757a6 !important;
background: #0757a6 !important;
color: #ffffff !important;
font-weight: 700 !important;
transition:
background-color 0.18s ease,
border-color 0.18s ease !important;
}
.cdx-search-input__end-button:hover,
.searchButton:hover {
border-color: #064a8d !important;
background: #064a8d !important;
}
/* ------------------------------------------------------------
5. NAVIGATION / ONGLETS ARTICLE
Lire — Modifier — Voir l'historique
------------------------------------------------------------ */
.vector-menu-tabs,
#p-views,
#p-cactions {
border-bottom: 0 !important;
}
.vector-menu-tabs ul {
align-items: center;
}
.vector-menu-tabs li {
background: transparent !important;
}
.vector-menu-tabs li a,
.mw-article-toolbar a {
position: relative;
padding-right: 10px;
padding-left: 10px;
color: #526170 !important;
font-size: 13px !important;
font-weight: 600 !important;
text-decoration: none !important;
transition:
color 0.16s ease,
background-color 0.16s ease;
}
/* Hover */
.vector-menu-tabs li a:hover,
.mw-article-toolbar a:hover {
color: #0757a6 !important;
}
/* Onglet sélectionné */
.vector-menu-tabs li.selected a {
color: #0757a6 !important;
font-weight: 700 !important;
}
/* Barre active */
.vector-menu-tabs li.selected a::after {
content: "";
position: absolute;
right: 10px;
bottom: -7px;
left: 10px;
height: 2px;
border-radius: 2px;
background: #16834b;
}
/* ------------------------------------------------------------
6. MENUS DÉROULANTS
------------------------------------------------------------ */
.vector-dropdown-content,
.vector-menu-content {
border: 1px solid #dce5ed !important;
border-radius: 10px !important;
background: #ffffff !important;
box-shadow:
0 10px 30px rgba(15, 23, 42, 0.08),
0 2px 6px rgba(15, 23, 42, 0.05) !important;
}
/* Liens dans les menus */
.vector-dropdown-content a,
.vector-menu-content a {
color: #31485b !important;
font-weight: 500;
transition:
color 0.15s ease,
background-color 0.15s ease;
}
.vector-dropdown-content a:hover,
.vector-menu-content a:hover {
background: #f3f8fc !important;
color: #0757a6 !important;
}
/* ------------------------------------------------------------
7. ZONE UTILISATEUR
------------------------------------------------------------ */
#p-personal,
.vector-user-links {
font-size: 13px;
}
#p-personal a,
.vector-user-links a {
color: #263b4d !important;
font-weight: 600;
text-decoration: none;
transition: color 0.15s ease;
}
#p-personal a:hover,
.vector-user-links a:hover {
color: #0757a6 !important;
}
/* ------------------------------------------------------------
8. BOUTON CONNEXION / COMPTE
------------------------------------------------------------ */
#pt-login a,
.vector-user-links-main .cdx-button,
.vector-user-links .mw-ui-button {
min-height: 34px;
padding: 6px 14px !important;
border: 1px solid #cfe2f2 !important;
border-radius: 9px !important;
background: #edf6fc !important;
color: #0757a6 !important;
font-size: 13px !important;
font-weight: 700 !important;
text-decoration: none !important;
transition:
color 0.18s ease,
background-color 0.18s ease,
border-color 0.18s ease,
box-shadow 0.18s ease !important;
}
#pt-login a:hover,
.vector-user-links-main .cdx-button:hover,
.vector-user-links .mw-ui-button:hover {
border-color: #0757a6 !important;
background: #0757a6 !important;
color: #ffffff !important;
box-shadow: 0 4px 12px rgba(7, 87, 166, 0.18);
}
/* ------------------------------------------------------------
9. BOUTONS ET ICÔNES DU HEADER
------------------------------------------------------------ */
.vector-header .cdx-button,
.vector-header-container .cdx-button {
border-radius: 8px;
transition:
background-color 0.15s ease,
color 0.15s ease;
}
.vector-header .cdx-button:hover,
.vector-header-container .cdx-button:hover {
background-color: #f0f6fa;
}
/* ------------------------------------------------------------
10. MENU HAMBURGER
------------------------------------------------------------ */
.vector-main-menu-trigger {
border-radius: 8px;
transition: background-color 0.15s ease;
}
.vector-main-menu-trigger:hover {
background: #f0f6fa !important;
}
/* ------------------------------------------------------------
11. ACCESSIBILITÉ — FOCUS CLAVIER
------------------------------------------------------------ */
.vector-header a:focus-visible,
.vector-header button:focus-visible,
.vector-header input:focus-visible {
outline: 2px solid #0757a6 !important;
outline-offset: 2px !important;
}
/* ------------------------------------------------------------
12. ADAPTATION TABLETTE
------------------------------------------------------------ */
@media (max-width: 1000px) {
#p-search,
.vector-search-box,
.vector-search-box-vue {
margin-right: 6px;
}
.vector-menu-tabs li a {
padding-right: 7px;
padding-left: 7px;
font-size: 12px !important;
}
}
/* ------------------------------------------------------------
13. MOBILE
------------------------------------------------------------ */
@media (max-width: 720px) {
#mw-head,
.vector-header-container,
.vector-header {
box-shadow: 0 1px 6px rgba(15, 23, 42, 0.06);
}
.vector-header-container::after {
height: 2px;
}
.mw-logo,
.vector-header-start .mw-logo {
max-width: 180px;
}
#p-search,
.vector-search-box,
.vector-search-box-vue {
margin-right: 0;
}
.cdx-text-input__input,
.vector-search-box-input,
#searchInput {
min-height: 36px !important;
border-radius: 8px !important;
font-size: 13px !important;
}
#pt-login a,
.vector-user-links-main .cdx-button {
padding: 5px 10px !important;
}
}
/* ------------------------------------------------------------
14. TRÈS PETITS ÉCRANS
------------------------------------------------------------ */
@media (max-width: 480px) {
.mw-logo,
.vector-header-start .mw-logo {
max-width: 145px;
}
.vector-header-container {
padding-right: 6px;
padding-left: 6px;
}
}
/* ------------------------------------------------------------
15. RESPECT DES PRÉFÉRENCES D'ANIMATION
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
.mw-wiki-logo,
.mw-logo,
.vector-header-start .mw-logo,
.cdx-text-input__input,
.vector-search-box-input,
#searchInput,
.vector-menu-tabs li a,
#p-personal a,
.vector-user-links a,
.cdx-button {
transition: none !important;
}
}
<header class="wk-hero">
<div class="wk-hero-content">
<div class="wk-eyebrow">ⵣ • SAVOIR • MÉMOIRE • TRANSMISSION</div>
<h1>WikiKabylie</h1>
<div class="wk-hero-title">
L'encyclopédie libre<br>de la Kabylie
</div>
<p>
Découvrir, documenter et transmettre l'histoire, la langue,
la culture, les territoires et les figures qui façonnent la Kabylie.
</p>
<div class="wk-actions">
<span class="wk-btn wk-btn-primary">[[Kabylie|Explorer la Kabylie →]]</span>
<span class="wk-btn wk-btn-secondary">[[Aide:Contribuer|Devenir contributeur]]</span>
</div>
</div>
<div class="wk-hero-facts">
<div>
<strong>{{NUMBEROFARTICLES}}</strong>
<span>articles</span>
</div>
<div>
<strong>{{NUMBEROFFILES}}</strong>
<span>fichiers</span>
</div>
<div>
<strong>{{NUMBEROFUSERS}}</strong>
<span>contributeurs</span>
</div>
</div>
</header>
/* ============================================================
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;
--wk-red-light: #fff0eb;
--wk-navy: #112a46;
--wk-text: #27384a;
--wk-muted: #647487;
--wk-border: #e4e9ed;
--wk-bg: #ffffff;
--wk-bg-soft: #f7f9fb;
--wk-radius: 18px;
--wk-radius-small: 12px;
--wk-shadow:
0 8px 28px rgba(17, 42, 70, 0.08);
}
/* ------------------------------------------------------------
Largeur accueil
------------------------------------------------------------ */
.wk-home {
max-width: 1500px;
margin: 0 auto;
color: var(--wk-text);
font-family:
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Helvetica,
Arial,
sans-serif;
}
.wk-home * {
box-sizing: border-box;
}
.wk-home a {
text-decoration: none;
}
.wk-home h1,
.wk-home h2,
.wk-home h3 {
color: var(--wk-navy);
font-family: Georgia, "Times New Roman", serif;
}
/* ------------------------------------------------------------
HERO
------------------------------------------------------------ */
.wk-hero {
position: relative;
min-height: 490px;
overflow: hidden;
border-radius: 0 0 28px 28px;
background:
linear-gradient(
90deg,
rgba(239, 248, 255, 0.98) 0%,
rgba(239, 248, 255, 0.90) 31%,
rgba(239, 248, 255, 0.22) 62%,
rgba(0,0,0,0.05) 100%
),
url("/images/Kabylie-paysage.jpg") center 45% / cover no-repeat;
box-shadow: var(--wk-shadow);
}
.wk-hero-content {
position: relative;
z-index: 2;
max-width: 650px;
padding: 68px 70px 100px;
}
.wk-eyebrow {
margin-bottom: 13px;
color: var(--wk-green);
font-size: 12px;
font-weight: 800;
letter-spacing: 2px;
}
.wk-hero h1 {
margin: 0 0 8px;
color: var(--wk-blue-dark);
font-size: 24px;
}
.wk-hero-title {
color: var(--wk-navy);
font-family: Georgia, serif;
font-size: clamp(38px, 5vw, 64px);
font-weight: 700;
line-height: 1.04;
letter-spacing: -1.5px;
}
.wk-hero-content p {
max-width: 550px;
margin: 24px 0;
color: #34485d;
font-size: 17px;
line-height: 1.65;
}
.wk-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 28px;
}
.wk-btn {
display: inline-flex;
align-items: center;
min-height: 46px;
padding: 0 22px;
border-radius: 10px;
font-weight: 700;
}
.wk-btn a {
color: inherit !important;
}
.wk-btn-primary {
color: #fff;
background: var(--wk-blue);
}
.wk-btn-primary:hover {
background: var(--wk-blue-dark);
transform: translateY(-1px);
}
.wk-btn-secondary {
color: var(--wk-blue);
border: 1px solid rgba(7,87,166,.22);
background: rgba(255,255,255,.80);
backdrop-filter: blur(10px);
}
/* ------------------------------------------------------------
HERO STATS
------------------------------------------------------------ */
.wk-hero-facts {
position: absolute;
z-index: 3;
bottom: 0;
left: 0;
display: flex;
gap: 0;
overflow: hidden;
border-radius: 0 15px 0 0;
background: rgba(255,255,255,.94);
backdrop-filter: blur(14px);
}
.wk-hero-facts div {
min-width: 130px;
padding: 15px 24px;
border-right: 1px solid var(--wk-border);
}
.wk-hero-facts strong {
display: block;
color: var(--wk-navy);
font-size: 21px;
}
.wk-hero-facts span {
color: var(--wk-muted);
font-size: 12px;
}
/* ------------------------------------------------------------
INTRO / HEADINGS
------------------------------------------------------------ */
.wk-intro,
.wk-section-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 30px;
padding: 60px 12px 24px;
}
.wk-intro h2,
.wk-section-header h2 {
margin: 5px 0 7px;
font-size: 31px;
}
.wk-intro p,
.wk-section-header p {
max-width: 750px;
margin: 0;
color: var(--wk-muted);
line-height: 1.65;
}
.wk-section-kicker {
color: var(--wk-green);
font-size: 11px;
font-weight: 800;
letter-spacing: 1.8px;
}
.wk-section-more,
.wk-intro-actions {
white-space: nowrap;
font-weight: 700;
}
/* ------------------------------------------------------------
CARDS
------------------------------------------------------------ */
.wk-grid {
display: grid;
gap: 16px;
}
.wk-grid-4 {
grid-template-columns: repeat(4, 1fr);
}
.wk-card {
position: relative;
min-height: 225px;
padding: 26px;
overflow: hidden;
border: 1px solid var(--wk-border);
border-radius: var(--wk-radius);
background: #fff;
transition:
transform .2s ease,
box-shadow .2s ease,
border-color .2s ease;
}
.wk-card:hover {
transform: translateY(-4px);
box-shadow: var(--wk-shadow);
}
.wk-card::after {
position: absolute;
right: -30px;
bottom: -30px;
width: 100px;
height: 100px;
border-radius: 50%;
content: "";
opacity: .15;
}
.wk-card-blue::after {
background: var(--wk-blue);
}
.wk-card-green::after {
background: var(--wk-green);
}
.wk-card-gold::after {
background: var(--wk-gold);
}
.wk-card-red::after {
background: var(--wk-red);
}
.wk-card-icon {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
margin-bottom: 22px;
border-radius: 13px;
background: var(--wk-bg-soft);
font-size: 25px;
}
.wk-card h3 {
margin: 0 0 10px;
font-size: 21px;
}
.wk-card p {
min-height: 66px;
margin: 0;
color: var(--wk-muted);
font-size: 14px;
line-height: 1.55;
}
.wk-card-link {
margin-top: 18px;
font-size: 13px;
font-weight: 800;
}
/* ------------------------------------------------------------
FEATURE
------------------------------------------------------------ */
.wk-feature-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 20px;
}
.wk-feature-main,
.wk-feature-side {
border: 1px solid var(--wk-border);
border-radius: var(--wk-radius);
background: #fff;
}
.wk-feature-main {
display: grid;
grid-template-columns: 1.2fr 1fr;
overflow: hidden;
}
.wk-feature-image {
min-height: 390px;
overflow: hidden;
background: #e7eef5;
}
.wk-feature-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.wk-feature-content {
padding: 38px;
}
.wk-feature-content h2 {
margin: 15px 0;
font-size: 30px;
}
.wk-feature-content p {
color: var(--wk-muted);
line-height: 1.7;
}
.wk-feature-link {
margin-top: 28px;
font-weight: 800;
}
.wk-feature-side {
display: flex;
flex-direction: column;
}
.wk-mini-feature {
flex: 1;
padding: 27px;
border-bottom: 1px solid var(--wk-border);
}
.wk-mini-feature:last-child {
border-bottom: 0;
}
.wk-mini-feature h3 {
margin: 12px 0 6px;
}
.wk-mini-feature p {
color: var(--wk-muted);
font-size: 13px;
line-height: 1.5;
}
.wk-badge {
display: inline-block;
padding: 5px 9px;
border-radius: 6px;
font-size: 10px;
font-weight: 800;
letter-spacing: 1px;
}
.wk-badge-blue {
color: var(--wk-blue);
background: var(--wk-blue-light);
}
.wk-badge-green {
color: var(--wk-green);
background: var(--wk-green-light);
}
.wk-badge-gold {
color: #926500;
background: var(--wk-gold-light);
}
.wk-badge-red {
color: var(--wk-red);
background: var(--wk-red-light);
}
/* ------------------------------------------------------------
PERSONNALITÉS
------------------------------------------------------------ */
.wk-person-categories {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 15px;
}
.wk-person-cat {
display: flex;
gap: 15px;
align-items: flex-start;
padding: 22px;
border: 1px solid var(--wk-border);
border-radius: var(--wk-radius-small);
background: white;
}
.wk-person-icon {
font-size: 27px;
}
.wk-person-cat h3 {
margin: 0 0 6px;
}
.wk-person-cat p {
margin: 0;
color: var(--wk-muted);
font-size: 13px;
line-height: 1.5;
}
/* ------------------------------------------------------------
PANELS
------------------------------------------------------------ */
.wk-split-section {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-top: 20px;
}
.wk-panel {
overflow: hidden;
border: 1px solid var(--wk-border);
border-radius: var(--wk-radius);
background: #fff;
}
.wk-panel-title {
display: flex;
align-items: center;
gap: 16px;
padding: 28px;
border-bottom: 1px solid var(--wk-border);
}
.wk-panel-title h2 {
margin: 3px 0 0;
}
.wk-panel-icon {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
border-radius: 50%;
font-size: 22px;
}
.wk-panel-icon.blue {
background: var(--wk-blue-light);
}
.wk-panel-icon.green {
background: var(--wk-green-light);
}
.wk-link-list > a {
display: block;
padding: 17px 25px 2px;
font-weight: 800;
}
.wk-link-list > span {
display: block;
padding: 0 25px 15px;
border-bottom: 1px solid #f0f2f4;
color: var(--wk-muted);
font-size: 12px;
}
.wk-panel-footer {
padding: 18px 25px;
background: var(--wk-bg-soft);
font-weight: 800;
}
/* ------------------------------------------------------------
POLITIQUE
------------------------------------------------------------ */
.wk-politics {
margin-top: 65px;
padding: 48px;
border-radius: 26px;
color: rgba(255,255,255,.85);
background:
radial-gradient(
circle at 90% 10%,
rgba(32,142,91,.28),
transparent 28%
),
linear-gradient(
135deg,
#102c47,
#071d31
);
}
.wk-politics h2,
.wk-politics h3 {
color: #fff;
}
.wk-politics-header {
display: flex;
justify-content: space-between;
gap: 50px;
}
.wk-politics-header p {
max-width: 750px;
line-height: 1.7;
}
.wk-politics-symbol {
color: rgba(255,255,255,.12);
font-size: 100px;
font-weight: bold;
}
.wk-light {
color: #86d5ad;
}
.wk-politics-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
margin-top: 35px;
}
.wk-dark-card {
min-height: 225px;
padding: 24px;
border: 1px solid rgba(255,255,255,.13);
border-radius: 15px;
background: rgba(255,255,255,.055);
}
.wk-dark-card:hover {
background: rgba(255,255,255,.09);
}
.wk-dark-card h3 {
margin: 15px 0 8px;
font-size: 20px;
}
.wk-dark-card p {
min-height: 75px;
color: rgba(255,255,255,.68);
font-size: 13px;
line-height: 1.55;
}
.wk-dark-card a {
color: #96ceff !important;
}
.wk-dark-icon {
font-size: 26px;
}
.wk-neutrality-note {
margin-top: 25px;
padding: 15px 20px;
border-left: 3px solid var(--wk-gold);
border-radius: 5px;
background: rgba(255,255,255,.06);
color: rgba(255,255,255,.72);
font-size: 12px;
line-height: 1.6;
}
/* ------------------------------------------------------------
TIMELINE
------------------------------------------------------------ */
.wk-timeline {
border-left: 2px solid #dfe5e9;
margin-left: 28px;
padding-left: 35px;
}
.wk-timeline-item {
position: relative;
display: grid;
grid-template-columns: 100px 1fr;
gap: 20px;
padding: 0 0 27px;
}
.wk-timeline-item::before {
position: absolute;
top: 8px;
left: -43px;
width: 14px;
height: 14px;
border: 3px solid #fff;
border-radius: 50%;
background: var(--wk-green);
box-shadow: 0 0 0 2px var(--wk-green);
content: "";
}
.wk-timeline-item > span {
color: var(--wk-green);
font-weight: 800;
}
.wk-timeline-item h3 {
margin: 0 0 6px;
}
.wk-timeline-item p {
margin: 0;
color: var(--wk-muted);
}
/* ------------------------------------------------------------
ECONOMIE
------------------------------------------------------------ */
.wk-economy-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}
.wk-economy-card {
padding: 26px;
border: 1px solid var(--wk-border);
border-radius: var(--wk-radius-small);
background:
linear-gradient(145deg, #fff, #f8fbf9);
}
.wk-economy-card > span {
font-size: 28px;
}
.wk-economy-card h3 {
margin: 13px 0 5px;
}
.wk-economy-card p {
margin: 0;
color: var(--wk-muted);
font-size: 13px;
}
/* ------------------------------------------------------------
VILLAGES
------------------------------------------------------------ */
.wk-villages {
display: grid;
grid-template-columns: 1fr 1.6fr;
gap: 40px;
margin-top: 65px;
padding: 45px;
border-radius: 24px;
background: var(--wk-green-light);
}
.wk-villages-heading h2 {
margin: 5px 0 10px;
}
.wk-villages-heading p {
color: #526c5e;
line-height: 1.6;
}
.wk-village-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.wk-village-list div {
padding: 16px;
border: 1px solid rgba(22,131,75,.13);
border-radius: 10px;
background: rgba(255,255,255,.80);
}
.wk-village-list strong,
.wk-village-list span {
display: block;
}
.wk-village-list span {
margin-top: 3px;
color: var(--wk-muted);
font-size: 11px;
}
/* ------------------------------------------------------------
CULTURE
------------------------------------------------------------ */
.wk-culture-grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 10px;
}
.wk-culture-card {
padding: 20px 10px;
border: 1px solid var(--wk-border);
border-radius: var(--wk-radius-small);
background: #fff;
text-align: center;
}
.wk-culture-card:hover {
box-shadow: var(--wk-shadow);
}
.wk-culture-symbol {
margin-bottom: 10px;
font-size: 28px;
}
.wk-culture-card h3 {
margin: 0;
font-size: 14px;
}
/* ------------------------------------------------------------
CONTRIBUTE
------------------------------------------------------------ */
.wk-contribute {
position: relative;
display: flex;
align-items: center;
gap: 45px;
margin-top: 65px;
padding: 50px;
overflow: hidden;
border-radius: 25px;
color: white;
background:
linear-gradient(
125deg,
var(--wk-blue-dark),
var(--wk-blue)
);
}
.wk-contribute h2 {
max-width: 700px;
margin: 7px 0 12px;
color: #fff;
font-size: 33px;
}
.wk-contribute p {
max-width: 750px;
color: rgba(255,255,255,.80);
line-height: 1.6;
}
.wk-contribute-symbol {
color: rgba(255,255,255,.16);
font-size: 120px;
font-weight: bold;
}
.wk-btn-white {
color: var(--wk-blue) !important;
background: #fff;
}
.wk-btn-transparent {
color: #fff !important;
border: 1px solid rgba(255,255,255,.4);
}
/* ------------------------------------------------------------
TOOLS
------------------------------------------------------------ */
.wk-tools {
display: grid;
grid-template-columns: repeat(4, 1fr);
margin-top: 30px;
overflow: hidden;
border: 1px solid var(--wk-border);
border-radius: 15px;
background: white;
}
.wk-tools > div {
padding: 22px;
border-right: 1px solid var(--wk-border);
}
.wk-tools > div:last-child {
border-right: 0;
}
.wk-tools span,
.wk-tools strong,
.wk-tools small {
display: block;
}
.wk-tools span {
margin-bottom: 8px;
font-size: 23px;
}
.wk-tools small {
margin-top: 4px;
color: var(--wk-muted);
}
/* ------------------------------------------------------------
FOOTER
------------------------------------------------------------ */
.wk-home-footer {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 50px;
margin-top: 70px;
padding: 40px 10px;
border-top: 1px solid var(--wk-border);
color: var(--wk-muted);
font-size: 13px;
line-height: 1.8;
}
.wk-home-footer strong {
display: block;
margin-bottom: 8px;
color: var(--wk-navy);
font-size: 16px;
}
/* ============================================================
TABLET
============================================================ */
@media (max-width: 1100px) {
.wk-grid-4 {
grid-template-columns: repeat(2, 1fr);
}
.wk-person-categories {
grid-template-columns: repeat(2, 1fr);
}
.wk-politics-grid {
grid-template-columns: repeat(2, 1fr);
}
.wk-culture-grid {
grid-template-columns: repeat(4, 1fr);
}
.wk-feature-main {
grid-template-columns: 1fr;
}
}
/* ============================================================
MOBILE
============================================================ */
@media (max-width: 700px) {
.wk-home {
margin: 0;
}
.wk-hero {
min-height: 600px;
border-radius: 0 0 20px 20px;
background:
linear-gradient(
rgba(240,248,255,.94),
rgba(240,248,255,.86)
),
url("/images/Kabylie-paysage.jpg")
center / cover;
}
.wk-hero-content {
padding: 45px 24px 130px;
}
.wk-hero-title {
font-size: 39px;
}
.wk-hero-facts {
width: 100%;
}
.wk-hero-facts div {
flex: 1;
min-width: 0;
padding: 13px 8px;
text-align: center;
}
.wk-grid-4,
.wk-person-categories,
.wk-split-section,
.wk-feature-grid,
.wk-politics-grid,
.wk-economy-grid,
.wk-villages,
.wk-home-footer {
grid-template-columns: 1fr;
}
.wk-feature-main {
grid-template-columns: 1fr;
}
.wk-politics {
padding: 28px 20px;
border-radius: 18px;
}
.wk-politics-symbol {
display: none;
}
.wk-culture-grid {
grid-template-columns: repeat(2, 1fr);
}
.wk-villages {
padding: 28px 20px;
}
.wk-village-list {
grid-template-columns: 1fr;
}
.wk-contribute {
padding: 35px 24px;
}
.wk-contribute-symbol {
display: none;
}
.wk-tools {
grid-template-columns: 1fr 1fr;
}
.wk-tools > div {
border-bottom: 1px solid var(--wk-border);
}
.wk-intro,
.wk-section-header {
align-items: flex-start;
flex-direction: column;
padding-top: 45px;
}
.wk-timeline-item {
grid-template-columns: 1fr;
gap: 4px;
}
}
/* ============================================================
WikiKabylie — Section Personnalités
À ajouter à MediaWiki:Common.css
============================================================ */
.wk-people-hero {
position: relative;
display: flex;
min-height: 410px;
align-items: center;
justify-content: space-between;
gap: 40px;
overflow: hidden;
padding: 62px 68px;
border: 1px solid #e4e9ee;
border-radius: 0 0 28px 28px;
background:
radial-gradient(circle at 90% 20%, rgba(212,154,31,.14), transparent 24%),
radial-gradient(circle at 75% 90%, rgba(37,128,82,.10), transparent 28%),
linear-gradient(135deg, #f8fbfd, #fff);
}
.wk-people-hero::before {
position: absolute;
top: -100px;
right: -80px;
width: 360px;
height: 360px;
border: 1px solid rgba(11,95,168,.08);
border-radius: 50%;
content: "";
}
.wk-people-hero-copy {
position: relative;
z-index: 2;
max-width: 760px;
}
.wk-people-hero h1 {
margin: 10px 0 14px;
font-size: clamp(46px, 6vw, 76px);
line-height: 1;
letter-spacing: -.05em;
}
.wk-people-lead {
max-width: 680px;
color: #617181;
font-size: 17px;
line-height: 1.7;
}
.wk-people-hero-mark {
position: relative;
z-index: 1;
color: rgba(11,95,168,.08);
font-family: Georgia, "Times New Roman", serif;
font-size: 190px;
font-weight: 800;
line-height: 1;
}
.wk-people-stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
overflow: hidden;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-lg);
background: #fff;
}
.wk-people-stats > div {
padding: 22px 24px;
border-right: 1px solid var(--wk-line);
}
.wk-people-stats > div:last-child {
border-right: 0;
}
.wk-people-stats strong,
.wk-people-stats span {
display: block;
}
.wk-people-stats strong {
color: var(--wk-ink);
font-family: Georgia, "Times New Roman", serif;
font-size: 24px;
}
.wk-people-stats span {
margin-top: 4px;
color: var(--wk-muted);
font-size: 10px;
font-weight: 800;
letter-spacing: .08em;
text-transform: uppercase;
}
.wk-people-highlight {
display: grid;
grid-template-columns: .9fr 1.1fr;
gap: 36px;
padding: 42px;
border: 1px solid #e8e4da;
border-radius: var(--wk-radius-xl);
background:
radial-gradient(circle at 15% 20%, rgba(212,154,31,.11), transparent 28%),
linear-gradient(145deg, #fffaf0, #fff);
}
.wk-people-highlight-copy h2 {
margin: 8px 0 12px;
font-size: 38px;
}
.wk-people-highlight-copy p {
color: var(--wk-muted);
}
.wk-people-highlight-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.wk-people-highlight-list > div {
padding: 20px;
border: 1px solid rgba(212,154,31,.16);
border-radius: var(--wk-radius-md);
background: rgba(255,255,255,.88);
}
.wk-people-highlight-list span,
.wk-people-highlight-list strong {
display: block;
}
.wk-people-highlight-list span {
margin-bottom: 6px;
color: var(--wk-muted);
font-size: 9px;
font-weight: 800;
letter-spacing: .08em;
text-transform: uppercase;
}
.wk-people-highlight-list strong {
font-family: Georgia, "Times New Roman", serif;
font-size: 17px;
}
.wk-people-columns {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14px;
}
.wk-people-list-card {
overflow: hidden;
border: 1px solid var(--wk-line);
border-radius: var(--wk-radius-lg);
background: #fff;
}
.wk-people-list-head {
padding: 24px;
border-bottom: 1px solid var(--wk-line);
background: #fafbfc;
}
.wk-people-list-head span {
color: var(--wk-green);
font-size: 9px;
font-weight: 850;
letter-spacing: .12em;
}
.wk-people-list-head h3 {
margin: 6px 0 0;
font-size: 22px;
}
.wk-people-list > div {
padding: 15px 22px;
border-bottom: 1px solid #f0f2f4;
}
.wk-people-list > div:last-child {
border-bottom: 0;
}
.wk-people-list strong,
.wk-people-list span {
display: block;
}
.wk-people-list strong {
font-size: 13px;
}
.wk-people-list span {
margin-top: 2px;
color: var(--wk-muted);
font-size: 10px;
}
.wk-people-list-footer {
padding: 16px 22px;
border-top: 1px solid var(--wk-line);
background: var(--wk-soft);
font-size: 12px;
font-weight: 800;
}
.wk-people-alpha {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.wk-people-alpha > a {
display: inline-flex;
width: 40px;
height: 40px;
align-items: center;
justify-content: center;
border: 1px solid var(--wk-line);
border-radius: 9px;
background: #fff;
color: var(--wk-ink) !important;
font-weight: 800;
transition: .18s ease;
}
.wk-people-alpha > a:hover {
transform: translateY(-2px);
border-color: rgba(11,95,168,.35);
background: #f4f9fd;
color: var(--wk-blue) !important;
}
@media (max-width: 1000px) {
.wk-people-columns {
grid-template-columns: 1fr 1fr;
}
.wk-people-highlight {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
.wk-people-hero {
min-height: 0;
padding: 46px 22px;
border-radius: 0 0 20px 20px;
}
.wk-people-hero-mark {
display: none;
}
.wk-people-lead {
font-size: 15px;
}
.wk-people-stats {
grid-template-columns: repeat(2, 1fr);
}
.wk-people-stats > div {
border-bottom: 1px solid var(--wk-line);
}
.wk-people-highlight,
.wk-people-columns {
grid-template-columns: 1fr;
}
.wk-people-highlight {
padding: 28px 20px;
}
.wk-people-highlight-list {
grid-template-columns: 1fr;
}
.wk-people-alpha > a {
width: 36px;
height: 36px;
}
}