MediaWiki:Common.css

De Association Linéage de France et d'International
Aller à la navigationAller à 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.
/***************************************************************
⚜️ ALFI ROYAL CSS v3.4 — “Cadre Royal Pur”
Association des Lignages de France et de l’International
Style : Monarchie spirituelle — Pureté, équilibre, élégance
Fond ivoire — Cadre doré 2px sur tout le body
****************************************************************/

/* ======================= VARIABLES DE BASE ======================= */
:root {
  --couleur-texte: #2a1b0a;
  --couleur-fond: #fffdf8;
  --doré: #d4af37;
  --doré-clair: #f6e27f;
  --brun-foncé: #3b2a0b;
  --fond-tableau: #f6ecd4;
  --fond-citation: #fefaf3;
  --accent-royal: linear-gradient(90deg, #b9962e, #f6e27f, #b9962e);
}

/* ======================= BODY GÉNÉRAL AVEC CADRE ======================= */
body {
  background-color: var(--couleur-fond);
  color: var(--couleur-texte);
  font-family: "Crimson Pro", serif;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  padding: 2em;
  border: 2px solid var(--doré);
  box-sizing: border-box;
}

/* ======================= JUSTIFICATION ======================= */
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output td {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* ======================= TITRES ======================= */
h1, h2, h3, h4, h5 {
  font-family: "EB Garamond", serif;
  color: var(--couleur-texte);
  text-transform: none;
}

/* ⚜️ TITRE ROYAL H1 */
h1 {
  font-size: 1.6em;
  text-align: center;
  margin: 0.8em auto 0.4em;
  position: relative;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1::before {
  content: "⚜️";
  color: var(--doré);
  font-size: 1.3em;
  margin-right: 0.3em;
}
h1::after {
  content: "";
  display: block;
  height: 2px;
  width: 100px;
  background: var(--accent-royal);
  margin: 8px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(212,175,55,0.4);
}

h2 {
  font-size: 1.35em;
  font-weight: 600;
  border-left: 4px solid var(--doré);
  padding-left: 8px;
  margin-top: 1.4em;
}

h3 {
  font-size: 1.18em;
  font-weight: 600;
  color: var(--brun-foncé);
  margin-top: 1em;
}

/* ======================= CITATIONS ======================= */
blockquote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  background-color: var(--fond-citation);
  border-left: 4px solid var(--doré);
  margin: 1.2em 2em;
  padding: 0.9em 1.4em;
  color: var(--brun-foncé);
  position: relative;
}
blockquote::before {
  content: "❝";
  color: var(--doré);
  font-size: 2em;
  position: absolute;
  top: -10px;
  left: 10px;
  opacity: 0.4;
}
blockquote::after {
  content: "❞";
  color: var(--doré);
  font-size: 2em;
  position: absolute;
  bottom: -15px;
  right: 12px;
  opacity: 0.4;
}

/* ======================= TABLES ======================= */
table {
  border-collapse: collapse;
  background-color: var(--fond-tableau);
  width: 100%;
  margin: 1em 0;
}
th, td {
  border: 1px solid var(--doré);
  padding: 6px 10px;
  color: var(--couleur-texte);
}
th {
  background: var(--accent-royal);
  color: #2a1b0a;
  font-weight: 600;
}

/* ======================= LIENS ======================= */
a, a:visited {
  color: var(--brun-foncé);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
  color: var(--doré);
  text-decoration: underline;
  text-shadow: 0 0 5px rgba(212,175,55,0.6);
}

/* ======================= CITATION ROYALE ======================= */
.ordo {
  font-family: "Cinzel", serif;
  text-align: center;
  color: var(--brun-foncé);
  background: var(--fond-citation);
  border: 2px solid var(--doré);
  border-radius: 10px;
  padding: 18px;
  margin: 1.8em auto;
  width: 80%;
  font-size: 1.1em;
  box-shadow: 0 0 10px rgba(212,175,55,0.15);
}

/* ======================= SIGNATURE ALFI ======================= */
.signature-alfi {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.9em;
  color: var(--couleur-texte);
  margin-top: 3em;
  letter-spacing: 0.05em;
}
.signature-alfi::before { content: "⚜️ "; color: var(--doré); }
.signature-alfi::after { content: " ⚜️"; color: var(--doré); }

/* ======================= SIGNATURE FIXE BAS DE PAGE ======================= */
body::after {
  content: "Association des Lignages de France et de l’International — A.L.F.I.";
  display: block;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.8em;
  color: var(--doré);
  margin-top: 3em;
  letter-spacing: 0.05em;
}

/* ======================= IMPRESSION ======================= */
@media print {
  body {
    border: 1.5pt solid #d4af37;
    margin: 2cm;
    padding: 1.5cm;
  }
}