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 — FEUILLE DE STYLE GLOBALE (ACCUEIL & PERSONNALITÉS)
Fichier : MediaWiki:Common.css
============================================================ */
/* ------------------------------------------------------------
CONTENEUR PRINCIPAL & BASE
------------------------------------------------------------ */
.wk-home {
max-width: 1500px;
margin: 0 auto;
color: #27384a;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wk-home * {
box-sizing: border-box;
}
.wk-home a {
text-decoration: none;
color: #0757a6;
transition: color 0.15s ease;
}
.wk-home a:hover {
text-decoration: underline;
}
.wk-home h1,
.wk-home h2,
.wk-home h3 {
color: #112a46;
font-family: Georgia, "Times New Roman", serif;
}
/* ------------------------------------------------------------
HERO ACCUEIL
------------------------------------------------------------ */
.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: 0 8px 28px rgba(17, 42, 70, 0.08);
}
.wk-hero-content {
position: relative;
z-index: 2;
max-width: 650px;
padding: 68px 70px 100px;
}
.wk-eyebrow {
margin-bottom: 13px;
color: #16834b;
font-size: 12px;
font-weight: 800;
letter-spacing: 2px;
}
.wk-hero h1 {
margin: 0 0 8px;
color: #073763;
font-size: 24px;
}
.wk-hero-title {
color: #112a46;
font-family: Georgia, "Times New Roman", serif;
font-size: 52px;
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: #ffffff;
background-color: #0757a6;
}
.wk-btn-primary:hover {
background-color: #073763;
}
.wk-btn-secondary {
color: #0757a6;
border: 1px solid rgba(7, 87, 166, 0.22);
background-color: rgba(255, 255, 255, 0.80);
}
/* ------------------------------------------------------------
HERO STATS ACCUEIL
------------------------------------------------------------ */
.wk-hero-facts {
position: absolute;
z-index: 3;
bottom: 0;
left: 0;
display: flex;
overflow: hidden;
border-radius: 0 15px 0 0;
background-color: rgba(255, 255, 255, 0.94);
}
.wk-hero-facts div {
min-width: 130px;
padding: 15px 24px;
border-right: 1px solid #e4e9ed;
}
.wk-hero-facts strong {
display: block;
color: #112a46;
font-size: 21px;
}
.wk-hero-facts span {
color: #647487;
font-size: 12px;
}
/* ------------------------------------------------------------
HEADINGS & SECTIONS
------------------------------------------------------------ */
.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: #647487;
line-height: 1.65;
}
.wk-section-kicker {
color: #16834b;
font-size: 11px;
font-weight: 800;
letter-spacing: 1.8px;
}
.wk-section-more,
.wk-intro-actions {
white-space: nowrap;
font-weight: 700;
}
/* ------------------------------------------------------------
GRILLES ET CARTES
------------------------------------------------------------ */
.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 #e4e9ed;
border-radius: 18px;
background-color: #ffffff;
transition: transform .2s ease, box-shadow .2s ease;
}
.wk-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 28px rgba(17, 42, 70, 0.08);
}
.wk-card::after {
position: absolute;
right: -30px;
bottom: -30px;
width: 100px;
height: 100px;
border-radius: 50%;
content: "";
opacity: .15;
}
.wk-card-blue::after { background-color: #0757a6; }
.wk-card-green::after { background-color: #16834b; }
.wk-card-gold::after { background-color: #e7a617; }
.wk-card-red::after { background-color: #c95532; }
.wk-card-icon {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
margin-bottom: 22px;
border-radius: 13px;
background-color: #f7f9fb;
font-size: 25px;
}
.wk-card h3 {
margin: 0 0 10px;
font-size: 21px;
}
.wk-card p {
min-height: 66px;
margin: 0;
color: #647487;
font-size: 14px;
line-height: 1.55;
}
.wk-card-link {
margin-top: 18px;
font-size: 13px;
font-weight: 800;
}
/* ------------------------------------------------------------
BLOCS EN VEDETTE (FEATURE)
------------------------------------------------------------ */
.wk-feature-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 20px;
}
.wk-feature-main,
.wk-feature-side {
border: 1px solid #e4e9ed;
border-radius: 18px;
background-color: #ffffff;
}
.wk-feature-main {
display: grid;
grid-template-columns: 1.2fr 1fr;
overflow: hidden;
}
.wk-feature-image {
min-height: 390px;
overflow: hidden;
background-color: #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: #647487;
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 #e4e9ed;
}
.wk-mini-feature:last-child {
border-bottom: 0;
}
.wk-mini-feature h3 {
margin: 12px 0 6px;
}
.wk-mini-feature p {
color: #647487;
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: #0757a6; background-color: #eaf4fc; }
.wk-badge-green { color: #16834b; background-color: #eaf7ef; }
.wk-badge-gold { color: #926500; background-color: #fff7df; }
.wk-badge-red { color: #c95532; background-color: #fff0eb; }
/* ------------------------------------------------------------
PANNEAUX SÉPARÉS
------------------------------------------------------------ */
.wk-split-section {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-top: 20px;
}
.wk-panel {
overflow: hidden;
border: 1px solid #e4e9ed;
border-radius: 18px;
background-color: #ffffff;
}
.wk-panel-title {
display: flex;
align-items: center;
gap: 16px;
padding: 28px;
border-bottom: 1px solid #e4e9ed;
}
.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-color: #eaf4fc; }
.wk-panel-icon.green { background-color: #eaf7ef; }
.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: #647487;
font-size: 12px;
}
.wk-panel-footer {
padding: 18px 25px;
background-color: #f7f9fb;
font-weight: 800;
}
/* ------------------------------------------------------------
SECTION POLITIQUE
------------------------------------------------------------ */
.wk-politics {
margin-top: 65px;
padding: 48px;
border-radius: 26px;
color: rgba(255, 255, 255, 0.85);
background: radial-gradient(
circle at 90% 10%,
rgba(32, 142, 91, 0.28),
transparent 28%
),
linear-gradient(
135deg,
#102c47,
#071d31
);
}
.wk-politics h2,
.wk-politics h3 {
color: #ffffff;
}
.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, 0.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, 0.13);
border-radius: 15px;
background-color: rgba(255, 255, 255, 0.055);
}
.wk-dark-card:hover {
background-color: rgba(255, 255, 255, 0.09);
}
.wk-dark-card h3 {
margin: 15px 0 8px;
font-size: 20px;
}
.wk-dark-card p {
min-height: 75px;
color: rgba(255, 255, 255, 0.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 #e7a617;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.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 #ffffff;
border-radius: 50%;
background-color: #16834b;
box-shadow: 0 0 0 2px #16834b;
content: "";
}
.wk-timeline-item > span {
color: #16834b;
font-weight: 800;
}
.wk-timeline-item h3 {
margin: 0 0 6px;
}
.wk-timeline-item p {
margin: 0;
color: #647487;
}
/* ------------------------------------------------------------
ÉCONOMIE, VILLAGES, CULTURE & OUTILS
------------------------------------------------------------ */
.wk-economy-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}
.wk-economy-card {
padding: 26px;
border: 1px solid #e4e9ed;
border-radius: 12px;
background: linear-gradient(145deg, #ffffff, #f8fbf9);
}
.wk-economy-card > span {
font-size: 28px;
}
.wk-economy-card h3 {
margin: 13px 0 5px;
}
.wk-economy-card p {
margin: 0;
color: #647487;
font-size: 13px;
}
.wk-villages {
display: grid;
grid-template-columns: 1fr 1.6fr;
gap: 40px;
margin-top: 65px;
padding: 45px;
border-radius: 24px;
background-color: #eaf7ef;
}
.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, 0.13);
border-radius: 10px;
background-color: rgba(255, 255, 255, 0.80);
}
.wk-village-list strong,
.wk-village-list span {
display: block;
}
.wk-village-list span {
margin-top: 3px;
color: #647487;
font-size: 11px;
}
.wk-culture-grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 10px;
}
.wk-culture-card {
padding: 20px 10px;
border: 1px solid #e4e9ed;
border-radius: 12px;
background-color: #ffffff;
text-align: center;
}
.wk-culture-card:hover {
box-shadow: 0 8px 28px rgba(17, 42, 70, 0.08);
}
.wk-culture-symbol {
margin-bottom: 10px;
font-size: 28px;
}
.wk-culture-card h3 {
margin: 0;
font-size: 14px;
}
.wk-contribute {
position: relative;
display: flex;
align-items: center;
gap: 45px;
margin-top: 65px;
padding: 50px;
overflow: hidden;
border-radius: 25px;
color: #ffffff;
background: linear-gradient(125deg, #073763, #0757a6);
}
.wk-contribute h2 {
max-width: 700px;
margin: 7px 0 12px;
color: #ffffff;
font-size: 33px;
}
.wk-contribute p {
max-width: 750px;
color: rgba(255, 255, 255, 0.80);
line-height: 1.6;
}
.wk-contribute-symbol {
color: rgba(255, 255, 255, 0.16);
font-size: 120px;
font-weight: bold;
}
.wk-btn-white {
color: #0757a6 !important;
background-color: #ffffff;
}
.wk-btn-transparent {
color: #ffffff !important;
border: 1px solid rgba(255, 255, 255, 0.4);
}
.wk-tools {
display: grid;
grid-template-columns: repeat(4, 1fr);
margin-top: 30px;
overflow: hidden;
border: 1px solid #e4e9ed;
border-radius: 15px;
background-color: #ffffff;
}
.wk-tools > div {
padding: 22px;
border-right: 1px solid #e4e9ed;
}
.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: #647487;
}
/* ------------------------------------------------------------
SECTION PERSONNALITÉS (WIKIKABYLIE)
------------------------------------------------------------ */
.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 #e4e9ed;
border-radius: 12px;
background-color: #ffffff;
}
.wk-person-icon {
font-size: 27px;
}
.wk-person-cat h3 {
margin: 0 0 6px;
}
.wk-person-cat p {
margin: 0;
color: #647487;
font-size: 13px;
line-height: 1.5;
}
.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, #ffffff);
}
.wk-people-hero::before {
position: absolute;
top: -100px;
right: -80px;
width: 360px;
height: 360px;
border: 1px solid rgba(11, 95, 168, 0.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: 58px;
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 #e4e9ed;
border-radius: 18px;
background-color: #ffffff;
}
.wk-people-stats > div {
padding: 22px 24px;
border-right: 1px solid #e4e9ed;
}
.wk-people-stats > div:last-child {
border-right: 0;
}
.wk-people-stats strong,
.wk-people-stats span {
display: block;
}
.wk-people-stats strong {
color: #112a46;
font-family: Georgia, "Times New Roman", serif;
font-size: 24px;
}
.wk-people-stats span {
margin-top: 4px;
color: #647487;
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: 25px;
background: radial-gradient(circle at 15% 20%, rgba(212, 154, 31, .11), transparent 28%),
linear-gradient(145deg, #fffaf0, #ffffff);
}
.wk-people-highlight-copy h2 {
margin: 8px 0 12px;
font-size: 38px;
}
.wk-people-highlight-copy p {
color: #647487;
}
.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: 12px;
background-color: 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: #647487;
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 #e4e9ed;
border-radius: 18px;
background-color: #ffffff;
}
.wk-people-list-head {
padding: 24px;
border-bottom: 1px solid #e4e9ed;
background-color: #fafbfc;
}
.wk-people-list-head span {
color: #16834b;
font-size: 9px;
font-weight: 800;
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: #647487;
font-size: 10px;
}
.wk-people-list-footer {
padding: 16px 22px;
border-top: 1px solid #e4e9ed;
background-color: #f7f9fb;
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 #e4e9ed;
border-radius: 9px;
background-color: #ffffff;
color: #112a46 !important;
font-weight: 800;
transition: transform 0.18s ease, border-color 0.18s ease;
}
.wk-people-alpha > a:hover {
transform: translateY(-2px);
border-color: rgba(11, 95, 168, .35);
background-color: #f4f9fd;
color: #0757a6 !important;
}
/* ------------------------------------------------------------
FOOTER
------------------------------------------------------------ */
.wk-home-footer {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 50px;
margin-top: 70px;
padding: 40px 10px;
border-top: 1px solid #e4e9ed;
color: #647487;
font-size: 13px;
line-height: 1.8;
}
.wk-home-footer strong {
display: block;
margin-bottom: 8px;
color: #112a46;
font-size: 16px;
}
/* ============================================================
RESPONSIVE DESIGN (TABLETTES ET MOBILES)
============================================================ */
@media (max-width: 1100px) {
.wk-grid-4,
.wk-person-categories,
.wk-politics-grid,
.wk-people-columns {
grid-template-columns: repeat(2, 1fr);
}
.wk-culture-grid {
grid-template-columns: repeat(4, 1fr);
}
.wk-feature-main,
.wk-people-highlight {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
.wk-home {
margin: 0;
}
.wk-hero {
min-height: 600px;
border-radius: 0 0 20px 20px;
background: linear-gradient(
rgba(240, 248, 255, 0.94),
rgba(240, 248, 255, 0.86)
),
url("/images/Kabylie-paysage.jpg") center / cover;
}
.wk-hero-content {
padding: 45px 24px 130px;
}
.wk-hero-title {
font-size: 36px;
}
.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,
.wk-people-columns,
.wk-people-highlight,
.wk-people-highlight-list {
grid-template-columns: 1fr;
}
.wk-politics {
padding: 28px 20px;
border-radius: 18px;
}
.wk-politics-symbol,
.wk-contribute-symbol,
.wk-people-hero-mark {
display: none;
}
.wk-culture-grid {
grid-template-columns: repeat(2, 1fr);
}
.wk-villages,
.wk-contribute,
.wk-people-highlight {
padding: 28px 20px;
}
.wk-village-list {
grid-template-columns: 1fr;
}
.wk-tools {
grid-template-columns: 1fr 1fr;
}
.wk-tools > div {
border-bottom: 1px solid #e4e9ed;
}
.wk-intro,
.wk-section-header {
align-items: flex-start;
flex-direction: column;
padding-top: 45px;
}
.wk-timeline-item {
grid-template-columns: 1fr;
gap: 4px;
}
.wk-people-hero {
min-height: 0;
padding: 46px 22px;
border-radius: 0 0 20px 20px;
}
.wk-people-hero h1 {
font-size: 42px;
}
.wk-people-lead {
font-size: 15px;
}
.wk-people-stats {
grid-template-columns: repeat(2, 1fr);
}
.wk-people-stats > div {
border-bottom: 1px solid #e4e9ed;
}
.wk-people-alpha > a {
width: 36px;
height: 36px;
}
}