« 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 1 : Ligne 1 :
/***************************************************************
/***************************************************************
⚜️ THEME OFFICIEL — ALFI ROYAL CSS ⚜️
⚜️ THEME GLOBAL — ALFI ROYAL CSS ⚜️
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 : 1.4 (mars 2026, justification + harmonisation visuelle)
Version 2.0 (avril 2026) – Trois thèmes : Clair / Impérial / Nocturne
****************************************************************/
****************************************************************/


/* ======================= BASE GÉNÉRALE ======================= */
/* ======================= VARIABLES DE BASE ======================= */
body {
:root {
  --couleur-texte: #2a1b0a;
  --couleur-fond: #fffdf8;
  --doré: #d4af37;
  --doré-clair: #f6e27f;
  --brun-foncé: #3b2a0b;
  --fond-tableau: #f6ecd4;
  --fond-citation: #fefaf3;
}
 
/* ======================= 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);
  color: var(--couleur-texte);
}
 
/* ======================= THEME IMPERIAL ======================= */
.alfi-theme-imperial {
  --couleur-texte: #3a260b;
  --couleur-fond: #f8f5eb;
  --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 ======================= */
.alfi-theme-nocturne {
  --couleur-texte: #f6eecf;
  --couleur-fond: #121014;
  --doré: #d4af37;
  --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-family: "Crimson Pro", serif;
   font-size: 17px;
   font-size: 17px;
   line-height: 1.6;
   line-height: 1.6;
  color: #2a1b0a; /* Brun noble */
  background-color: #fffdf8; /* Blanc parchemin */
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
}
}


/* ======================= JUSTIFICATION TYPOGRAPHIQUE ======================= */
/* ======================= JUSTIFICATION ======================= */
.mw-parser-output p,
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output li,
.mw-parser-output .thumbcaption,
.mw-parser-output .gallerytext,
.mw-parser-output td {
.mw-parser-output td {
   text-align: justify;
   text-align: justify;
   text-justify: inter-word;
   text-justify: inter-word;
   hyphens: auto;
   hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
/* Exceptions pour les éléments courts ou centrés */
.mw-parser-output blockquote,
.mw-parser-output .ordo,
.mw-parser-output .signature-alfi,
.mw-parser-output .toc,
#toc h2 {
  text-align: left;
  hyphens: manual;
}
/* Sur petit écran, éviter la justification rigide */
@media (max-width: 480px) {
  .mw-parser-output p,
  .mw-parser-output li,
  .mw-parser-output .thumbcaption {
    text-align: left;
  }
}
}


/* Classes utilitaires */
/* ======================= TITRES ======================= */
.justify { text-align: justify !important; hyphens: auto; }
.no-justify { text-align: left !important; }
 
/* ======================= TITRES PRINCIPAUX ======================= */
h1, h2, h3, h4, h5 {
h1, h2, h3, h4, h5 {
   font-family: "EB Garamond", serif;
   font-family: "EB Garamond", serif;
  color: #2a1b0a;
   text-transform: none;
   text-transform: none;
   line-height: 1.3;
   line-height: 1.3;
   word-wrap: break-word;
   color: var(--couleur-texte);
}
}


/* ⚜️ Titre royal — équilibré + filet doré */
/* ⚜️ Titre royal */
h1 {
h1 {
   font-size: 1.55em;
   font-size: 1.55em;
Ligne 73 : Ligne 93 :
}
}


/* Filet doré lumineux sous le titre */
h1::after {
h1::after {
   content: "";
   content: "";
Ligne 79 : Ligne 98 :
   width: 100px;
   width: 100px;
   height: 2px;
   height: 2px;
   background: linear-gradient(to right, #d4af37, #f6e27f, #d4af37);
   background: linear-gradient(to right, var(--doré), var(--doré-clair), var(--doré));
   margin: 10px auto 0 auto;
   margin: 10px auto 0 auto;
   border-radius: 2px;
   border-radius: 2px;
Ligne 85 : Ligne 104 :
}
}


/* Sous-titres harmonieux */
h2 {
h2 {
   font-size: 1.35em;
   font-size: 1.35em;
   font-weight: 600;
   font-weight: 600;
   border-left: 4px solid #d4af37;
   border-left: 4px solid var(--doré);
   padding-left: 8px;
   padding-left: 8px;
   margin-top: 1.2em;
   margin-top: 1.2em;
Ligne 97 : Ligne 115 :
   font-size: 1.18em;
   font-size: 1.18em;
   font-weight: 600;
   font-weight: 600;
   color: #3b2a0b;
   color: var(--brun-foncé);
   margin-top: 1em;
   margin-top: 1em;
}
}


/* ✅ Responsive */
/* ======================= CITATIONS ======================= */
@media (max-width: 600px) {
  h1 { font-size: 1.3em; line-height: 1.2; }
  h2 { font-size: 1.1em; }
  h3 { font-size: 1em; }
}
 
/* ======================= 🎇 TITRES ALFI SECONDAIRES — Doré lumineux ======================= */
.titre-alfi {
  font-family: "EB Garamond", serif;
  font-size: 1.25em;
  font-weight: 600;
  color: #2a1b0a;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 16px;
  border-left: 3px solid transparent;
}
 
/* Filet doré lumineux à gauche */
.titre-alfi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.1em;
  width: 4px;
  background: linear-gradient(to bottom, #f6e27f, #d4af37, #f6e27f);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}
 
/* Première lettre dorée */
.titre-alfi::first-letter {
  color: #d4af37;
  font-size: 1.35em;
  font-weight: 700;
}
 
/* Effet lumineux au survol */
.titre-alfi:hover {
  text-shadow: 0 0 6px rgba(246, 226, 127, 0.6);
  transition: text-shadow 0.3s ease;
}
 
/* ======================= CITATIONS & ÉPIGRAPHES ======================= */
blockquote {
blockquote {
   font-family: "Cormorant Garamond", serif;
   font-family: "Cormorant Garamond", serif;
   font-size: 1.05em;
   font-size: 1.05em;
   font-style: italic;
   font-style: italic;
  color: #4b3621;
   background-color: var(--fond-citation);
   background-color: #fefaf3;
   border-left: 4px solid var(--doré);
   border-left: 4px solid #d4af37;
   margin: 1em 2em;
   margin: 1em 2em;
   padding: 0.8em 1.2em;
   padding: 0.8em 1.2em;
  color: var(--brun-foncé);
}
}


/* ======================= TABLE DES SOMMAIRES ======================= */
/* ======================= TABLES ======================= */
#toc, .toc {
table {
  background: #f9f6ef;
   border-collapse: collapse;
   border: 1px solid #d4af37;
   background-color: var(--fond-tableau);
   border-radius: 8px;
  font-family: "EB Garamond", serif;
  padding: 10px 15px;
  margin: 1em auto;
  width: 80%;
}
}
 
th, td {
#toc h2 {
   border: 1px solid var(--doré);
   text-align: center;
   padding: 6px 10px;
   color: #2a1b0a;
   color: var(--couleur-texte);
   border: none;
  font-weight: 700;
  font-size: 1.15em;
}
}


/* ======================= LIENS ======================= */
/* ======================= LIENS ======================= */
a, a:visited { color: #7a4e00; text-decoration: none; }
a, a:visited { color: var(--brun-foncé); text-decoration: none; }
a:hover { color: #d4af37; text-decoration: underline; }
a:hover { color: var(--doré); text-decoration: underline; }
 
/* ======================= TABLEAUX ======================= */
table { border-collapse: collapse; background-color: #fffefb; }
 
th {
  background-color: #f6ecd4;
  color: #2a1b0a;
  font-family: "EB Garamond", serif;
  font-weight: 600;
  border-bottom: 2px solid #d4af37;
}
 
td, th {
  border: 1px solid #e2c885;
  padding: 6px 10px;
}


/* ======================= CITATION ROYALE (“ordo”) ======================= */
/* ======================= CITATION ROYALE ("ordo") ======================= */
.ordo {
.ordo {
   font-family: "Cinzel", serif;
   font-family: "Cinzel", serif;
   text-align: center;
   text-align: center;
   color: #3b2a0b;
   color: var(--brun-foncé);
   background: #fdf8ee;
   background: var(--fond-citation);
   border: 2px solid #d4af37;
   border: 2px solid var(--doré);
   border-radius: 10px;
   border-radius: 10px;
   padding: 15px;
   padding: 15px;
Ligne 214 : Ligne 160 :
}
}


/* ======================= HEADER / BANNIÈRE ======================= */
/* ======================= SIGNATURE ======================= */
#mw-head, .mw-header {
.signature-alfi {
   background-color: #f8f5e8;
   text-align: center;
   border-bottom: 3px solid #d4af37;
  font-family: "Cinzel", serif;
  font-size: 1em;
   margin-top: 2em;
  color: var(--couleur-texte);
}
}


#p-logo a {
.signature-alfi::before { content: "⚜️ "; color: var(--doré); }
  background-image: url("https://wiki.alfinternational.eu/images/logo_alfi_gold.png");
.signature-alfi::after { content: " ⚜️"; color: var(--doré); }
   background-size: contain;
 
   background-repeat: no-repeat;
/* ======================= 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%;
}
}


/* ======================= MENUS & INTERFACE ======================= */
#toc h2 {
.vector-menu-content,
  text-align: center;
#p-navigation,
  color: var(--couleur-texte);
#p-personal {
  border: none;
   font-family: "Lato", sans-serif;
   font-weight: 700;
   font-size: 14px;
   font-size: 1.15em;
}
}


.vector-menu-content a { color: #3b2a0b; }
/* ======================= RESPONSIVE ======================= */
.vector-menu-content a:hover { color: #d4af37; }
@media (max-width: 600px) {
 
   h1 { font-size: 1.3em; line-height: 1.2; }
/* ======================= SIGNATURE FINALE ======================= */
   h2 { font-size: 1.1em; }
.signature-alfi {
   h3 { font-size: 1em; }
   text-align: center;
   .mw-parser-output p { text-align: left; }
  font-family: "Cinzel", serif;
   font-size: 1em;
   margin-top: 2em;
   color: #2a1b0a;
}
}


.signature-alfi::before { content: "⚜️ "; color: #d4af37; }
/* ======================= FIN DU THEME ======================= */
.signature-alfi::after { content: " ⚜️"; color: #d4af37; }

Version du 25 octobre 2025 à 08:20

/***************************************************************
⚜️ THEME GLOBAL — ALFI ROYAL CSS ⚜️
Association des Lignages de France et de l’International
Style graphique : Monarchie spirituelle – Élégance française
Version 2.0 (avril 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;
}

/* ======================= 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);
  color: var(--couleur-texte);
}

/* ======================= THEME IMPERIAL ======================= */
.alfi-theme-imperial {
  --couleur-texte: #3a260b;
  --couleur-fond: #f8f5eb;
  --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 ======================= */
.alfi-theme-nocturne {
  --couleur-texte: #f6eecf;
  --couleur-fond: #121014;
  --doré: #d4af37;
  --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;
}

/* ======================= 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;
  text-transform: none;
  line-height: 1.3;
  color: var(--couleur-texte);
}

/* ⚜️ Titre royal */
h1 {
  font-size: 1.55em;
  font-weight: 700;
  text-align: center;
  margin: 0.8em auto 0.4em;
  padding-bottom: 0.4em;
  position: relative;
  max-width: 90%;
}

h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, var(--doré), var(--doré-clair), var(--doré));
  margin: 10px auto 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

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

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

/* ======================= CITATIONS ======================= */
blockquote {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05em;
  font-style: italic;
  background-color: var(--fond-citation);
  border-left: 4px solid var(--doré);
  margin: 1em 2em;
  padding: 0.8em 1.2em;
  color: var(--brun-foncé);
}

/* ======================= TABLES ======================= */
table {
  border-collapse: collapse;
  background-color: var(--fond-tableau);
}
th, td {
  border: 1px solid var(--doré);
  padding: 6px 10px;
  color: var(--couleur-texte);
}

/* ======================= LIENS ======================= */
a, a:visited { color: var(--brun-foncé); text-decoration: none; }
a:hover { color: var(--doré); text-decoration: underline; }

/* ======================= 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: 15px;
  margin: 1.5em auto;
  width: 80%;
  font-size: 1.1em;
}

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

#toc h2 {
  text-align: center;
  color: var(--couleur-texte);
  border: none;
  font-weight: 700;
  font-size: 1.15em;
}

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

/* ======================= FIN DU THEME ======================= */