MediaWiki:Common.css

De Wiki Kabylie
Version datée du 8 août 2026 à 22:10 par Wikikab (discussion | contributions) (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;... »)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

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.
/* 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;
    --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;
    }

}us les habillages. */