« MediaWiki:Common.css » : différence entre les versions

De Association Linéage de France et d'International
Aller à la navigationAller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 3 : Ligne 3 :
Association des Lignages de France et de l’International
Association des Lignages de France et de l’International
Style graphique : Monarchie spirituelle – Élégance française
Style graphique : Monarchie spirituelle – Élégance française
Version 2.0 (avril 2026) – Trois thèmes : Clair / Impérial / Nocturne
Version 3.0 (mars 2026) – Trois thèmes : Clair / Impérial / Nocturne
****************************************************************/
****************************************************************/


Ligne 15 : Ligne 15 :
   --fond-tableau: #f6ecd4;
   --fond-tableau: #f6ecd4;
   --fond-citation: #fefaf3;
   --fond-citation: #fefaf3;
  --accent-royal: linear-gradient(90deg, #b9962e, #f6e27f, #b9962e);
}
}


/* ======================= THEME CLAIR ======================= */
/* ======================= THEMES ======================= */
.alfi-theme-clair,
.alfi-theme-imperial,
.alfi-theme-nocturne {
  font-family: "Crimson Pro", serif;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
 
/* --- CLAIR --- */
.alfi-theme-clair {
.alfi-theme-clair {
  --couleur-texte: #2a1b0a;
  --couleur-fond: #fffdf8;
  --doré: #d4af37;
  --doré-clair: #f6e27f;
  --brun-foncé: #3b2a0b;
  --fond-tableau: #f6ecd4;
  --fond-citation: #fefaf3;
   background-color: var(--couleur-fond);
   background-color: var(--couleur-fond);
   color: var(--couleur-texte);
   color: var(--couleur-texte);
}
}


/* ======================= THEME IMPERIAL ======================= */
/* --- IMPÉRIAL --- */
.alfi-theme-imperial {
.alfi-theme-imperial {
   --couleur-texte: #3a260b;
   background-color: #f8f5eb;
   --couleur-fond: #f8f5eb;
   color: #3a260b;
   --doré: #c9a13d;
   --doré: #c9a13d;
  --doré-clair: #f5e6a0;
  --brun-foncé: #31200a;
  --fond-tableau: #f2e8cf;
  --fond-citation: #fdf9ef;
  background-color: var(--couleur-fond);
  color: var(--couleur-texte);
}
}


/* ======================= THEME NOCTURNE ======================= */
/* --- NOCTURNE --- */
.alfi-theme-nocturne {
.alfi-theme-nocturne {
   --couleur-texte: #f6eecf;
   background-color: #121014;
   --couleur-fond: #121014;
   color: #f6eecf;
   --doré: #d4af37;
   --doré: #d4af37;
   --doré-clair: #ffecb3;
   --doré-clair: #ffecb3;
  --brun-foncé: #f9f5dc;
  --fond-tableau: #1e1a22;
  --fond-citation: #1a1620;
  background-color: var(--couleur-fond);
  color: var(--couleur-texte);
}
/* ======================= BASE TYPOGRAPHIQUE ======================= */
body, .alfi-theme-clair, .alfi-theme-imperial, .alfi-theme-nocturne {
  font-family: "Crimson Pro", serif;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
}


Ligne 77 : Ligne 62 :
h1, h2, h3, h4, h5 {
h1, h2, h3, h4, h5 {
   font-family: "EB Garamond", serif;
   font-family: "EB Garamond", serif;
  color: var(--couleur-texte);
   text-transform: none;
   text-transform: none;
  line-height: 1.3;
  color: var(--couleur-texte);
}
}


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


/* H2 — Chapitre principal */
h2 {
h2 {
   font-size: 1.35em;
   font-size: 1.35em;
Ligne 109 : Ligne 98 :
   border-left: 4px solid var(--doré);
   border-left: 4px solid var(--doré);
   padding-left: 8px;
   padding-left: 8px;
   margin-top: 1.2em;
   margin-top: 1.4em;
}
}


/* H3 — Section secondaire */
h3 {
h3 {
   font-size: 1.18em;
   font-size: 1.18em;
Ligne 122 : Ligne 112 :
blockquote {
blockquote {
   font-family: "Cormorant Garamond", serif;
   font-family: "Cormorant Garamond", serif;
  font-size: 1.05em;
   font-style: italic;
   font-style: italic;
   background-color: var(--fond-citation);
   background-color: var(--fond-citation);
   border-left: 4px solid var(--doré);
   border-left: 4px solid var(--doré);
   margin: 1em 2em;
   margin: 1.2em 2em;
   padding: 0.8em 1.2em;
   padding: 0.9em 1.4em;
   color: var(--brun-foncé);
   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;
}
}


Ligne 135 : Ligne 143 :
   border-collapse: collapse;
   border-collapse: collapse;
   background-color: var(--fond-tableau);
   background-color: var(--fond-tableau);
  width: 100%;
  margin: 1em 0;
}
}
th, td {
th, td {
Ligne 140 : Ligne 150 :
   padding: 6px 10px;
   padding: 6px 10px;
   color: var(--couleur-texte);
   color: var(--couleur-texte);
}
th {
  background: var(--accent-royal);
  color: #2a1b0a;
  font-weight: 600;
}
}


/* ======================= LIENS ======================= */
/* ======================= LIENS ======================= */
a, a:visited { color: var(--brun-foncé); text-decoration: none; }
a, a:visited {
a:hover { color: var(--doré); text-decoration: underline; }
  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") ======================= */
/* ======================= CITATION ROYALE (ORDO) ======================= */
.ordo {
.ordo {
   font-family: "Cinzel", serif;
   font-family: "Cinzel", serif;
Ligne 154 : Ligne 177 :
   border: 2px solid var(--doré);
   border: 2px solid var(--doré);
   border-radius: 10px;
   border-radius: 10px;
   padding: 15px;
   padding: 18px;
   margin: 1.5em auto;
   margin: 1.8em auto;
   width: 80%;
   width: 80%;
   font-size: 1.1em;
   font-size: 1.1em;
  box-shadow: 0 0 10px rgba(212,175,55,0.15);
}
}


Ligne 180 : Ligne 204 :
   margin: 1em auto;
   margin: 1em auto;
   width: 80%;
   width: 80%;
  box-shadow: 0 0 5px rgba(212,175,55,0.15);
}
}
#toc h2 {
#toc h2 {
Ligne 188 : Ligne 213 :
   font-size: 1.15em;
   font-size: 1.15em;
}
}
.toc a:hover { color: var(--doré); }
/* ======================= ELEMENTS SPECIAUX ======================= */
hr {
  border: none;
  border-top: 1px solid var(--doré);
  margin: 1.5em auto;
  width: 80%;
  opacity: 0.7;
}
em { color: var(--brun-foncé); font-style: italic; }


/* ======================= RESPONSIVE ======================= */
/* ======================= RESPONSIVE ======================= */
Ligne 198 : Ligne 234 :


/***************************************************************
/***************************************************************
⚜️ THEME D’IMPRESSION — ALFI IMPRIMATUR v1.0 ⚜️
⚜️ THEME D’IMPRESSION — ALFI IMPRIMATUR v1.1 ⚜️
Format : A4 — Usage : Chartes, Statuts, Actes, Dossiers royaux
Format : A4 — Usage : Chartes, Statuts, Actes, Dossiers royaux
****************************************************************/
****************************************************************/
Ligne 226 : Ligne 262 :
     padding-left: 8pt;
     padding-left: 8pt;
     margin-top: 18pt;
     margin-top: 18pt;
  }
  p, li {
    text-align: justify;
    orphans: 3;
    widows: 3;
   }
   }
   blockquote {
   blockquote {
Ligne 252 : Ligne 283 :
     top: 50%;
     top: 50%;
     left: 50%;
     left: 50%;
     width: 50%;
     width: 55%;
     height: 50%;
     height: 55%;
     background: url("https://wiki.alfinternational.eu/images/logo_alfi_gold.png") no-repeat center;
     background: url("https://wiki.alfinternational.eu/images/logo_alfi_gold.png") no-repeat center;
     background-size: contain;
     background-size: contain;

Version du 25 octobre 2025 à 10:33

/***************************************************************
⚜️ THEME GLOBAL — ALFI ROYAL CSS ⚜️
Association des Lignages de France et de l’International
Style graphique : Monarchie spirituelle – Élégance française
Version 3.0 (mars 2026) – Trois thèmes : Clair / Impérial / Nocturne
****************************************************************/

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

/* ======================= THEMES ======================= */
.alfi-theme-clair,
.alfi-theme-imperial,
.alfi-theme-nocturne {
  font-family: "Crimson Pro", serif;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* --- CLAIR --- */
.alfi-theme-clair {
  background-color: var(--couleur-fond);
  color: var(--couleur-texte);
}

/* --- IMPÉRIAL --- */
.alfi-theme-imperial {
  background-color: #f8f5eb;
  color: #3a260b;
  --doré: #c9a13d;
}

/* --- NOCTURNE --- */
.alfi-theme-nocturne {
  background-color: #121014;
  color: #f6eecf;
  --doré: #d4af37;
  --doré-clair: #ffecb3;
}

/* ======================= 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 — Chapitre principal */
h2 {
  font-size: 1.35em;
  font-weight: 600;
  border-left: 4px solid var(--doré);
  padding-left: 8px;
  margin-top: 1.4em;
}

/* H3 — Section secondaire */
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) ======================= */
.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 ======================= */
.signature-alfi {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1em;
  margin-top: 2em;
  color: var(--couleur-texte);
}
.signature-alfi::before { content: "⚜️ "; color: var(--doré); }
.signature-alfi::after { content: " ⚜️"; color: var(--doré); }

/* ======================= TABLE DES SOMMAIRES ======================= */
#toc, .toc {
  background: var(--fond-citation);
  border: 1px solid var(--doré);
  border-radius: 8px;
  font-family: "EB Garamond", serif;
  padding: 10px 15px;
  margin: 1em auto;
  width: 80%;
  box-shadow: 0 0 5px rgba(212,175,55,0.15);
}
#toc h2 {
  text-align: center;
  color: var(--couleur-texte);
  border: none;
  font-weight: 700;
  font-size: 1.15em;
}
.toc a:hover { color: var(--doré); }

/* ======================= ELEMENTS SPECIAUX ======================= */
hr {
  border: none;
  border-top: 1px solid var(--doré);
  margin: 1.5em auto;
  width: 80%;
  opacity: 0.7;
}
em { color: var(--brun-foncé); font-style: italic; }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 600px) {
  h1 { font-size: 1.3em; line-height: 1.2; }
  h2 { font-size: 1.1em; }
  h3 { font-size: 1em; }
  .mw-parser-output p { text-align: left; }
}

/***************************************************************
⚜️ THEME D’IMPRESSION — ALFI IMPRIMATUR v1.1 ⚜️
Format : A4 — Usage : Chartes, Statuts, Actes, Dossiers royaux
****************************************************************/
@media print {
  body {
    font-family: "Crimson Pro", serif;
    font-size: 12.5pt;
    line-height: 1.55;
    color: #2a1b0a;
    background: #fffdf8;
    margin: 2.5cm;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }
  h1 {
    font-family: "EB Garamond", serif;
    font-size: 16pt;
    text-align: center;
    font-weight: 700;
    border-bottom: 1.5pt solid #d4af37;
    padding-bottom: 6pt;
  }
  h2 {
    font-size: 14pt;
    border-left: 4pt solid #d4af37;
    padding-left: 8pt;
    margin-top: 18pt;
  }
  blockquote {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    border-left: 3pt solid #d4af37;
    margin: 10pt 20pt;
    padding: 6pt 12pt;
  }
  table {
    border-collapse: collapse;
    width: 100%;
  }
  th, td {
    border: 0.5pt solid #d4af37;
    padding: 6pt;
  }
  body::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 55%;
    height: 55%;
    background: url("https://wiki.alfinternational.eu/images/logo_alfi_gold.png") no-repeat center;
    background-size: contain;
    opacity: 0.06;
    transform: translate(-50%, -50%);
  }
}