« 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
 
(3 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/***************************************************************
/* ===============================================================
⚜️ THEME GLOBAL — ALFI ROYAL CSS ⚜️
  ⚜️ STYLE GLOBAL ROYAL ALFI — Version 2026
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 ======================= */
#alfi-index {
:root {
  position: sticky;
   --couleur-texte: #2a1b0a;
  top: 0;
   --couleur-fond: #fffdf8;
   z-index: 100;
   --doré: #d4af37;
  text-align: center;
   --doré-clair: #f6e27f;
  background: #fffdf8e8;
   --brun-foncé: #3b2a0b;
   backdrop-filter: blur(6px);
   --fond-tableau: #f6ecd4;
   border-bottom: 2px solid #d4af37;
   --fond-citation: #fefaf3;
   box-shadow: 0 3px 12px rgba(212,175,55,0.25);
   padding: 25px 15px;
   margin-bottom: 35px;
   font-family: 'EB Garamond','Garamond',serif;
}
}


/* ======================= THEME CLAIR ======================= */
.lettre-alfi {
.alfi-theme-clair {
   background: linear-gradient(180deg,#f8f2d0,#f6e27f);
  --couleur-texte: #2a1b0a;
   border: 1px solid #d4af37;
  --couleur-fond: #fffdf8;
   border-radius: 6px;
  --doré: #d4af37;
   padding: 7px 12px;
  --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;
   font-size: 17px;
   line-height: 1.6;
   font-weight: bold;
   margin: 0;
  color: #3a260b;
   padding: 0;
  box-shadow: 0 0 5px rgba(212,175,55,0.25);
   transition: all 0.3s ease;
  text-decoration: none;
   display: inline-block;
}
}
 
.lettre-alfi:hover {
/* ======================= JUSTIFICATION ======================= */
  background: linear-gradient(180deg,#fff8cc,#f9e27a);
.mw-parser-output p,
   color: #a40000;
.mw-parser-output li,
   box-shadow: 0 0 12px rgba(212,175,55,0.6), 0 0 4px #fff8cc inset;
.mw-parser-output td {
   transform: translateY(-1px);
   text-align: justify;
   text-justify: inter-word;
   hyphens: auto;
}
}


/* ======================= TITRES ======================= */
.bouton-footer {
h1, h2, h3, h4, h5 {
   display: inline-block;
   font-family: "EB Garamond", serif;
   margin: 0 10px;
   text-transform: none;
   padding: 8px 14px;
   line-height: 1.3;
   color: #3a260b;
   color: var(--couleur-texte);
   font-weight: bold;
}
   text-decoration: none;
 
   border: 1px solid #d4af37;
/* ⚜️ Titre royal */
   border-radius: 8px;
h1 {
   background: linear-gradient(180deg,#f9eeb8,#f6e27f);
  font-size: 1.55em;
   transition: all 0.3s ease;
   font-weight: 700;
   box-shadow: 0 0 6px rgba(212,175,55,0.25);
   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;
}
}
 
.bouton-footer:hover {
/* ======================= CITATIONS ======================= */
   background: linear-gradient(180deg,#fff7c6,#fbe88f);
blockquote {
   color: #a40000;
  font-family: "Cormorant Garamond", serif;
   box-shadow: 0 0 12px rgba(212,175,55,0.6);
  font-size: 1.05em;
   transform: translateY(-1px);
  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 ======================= */
#alfi-footer {
table {
   position: fixed;
   border-collapse: collapse;
   bottom: 0;
   background-color: var(--fond-tableau);
   left: 0;
}
   width: 100%;
th, td {
   background: rgba(255,253,248,0.85);
   border: 1px solid var(--doré);
  backdrop-filter: blur(5px);
   padding: 6px 10px;
  border-top: 2px solid #d4af37;
   color: var(--couleur-texte);
   box-shadow: 0 -2px 8px rgba(212,175,55,0.25);
}
 
/* ======================= 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;
   text-align: center;
   color: var(--brun-foncé);
   padding: 10px 0;
   background: var(--fond-citation);
   font-family: 'EB Garamond',serif;
  border: 2px solid var(--doré);
   z-index: 99;
  border-radius: 10px;
   padding: 15px;
  margin: 1.5em auto;
  width: 80%;
  font-size: 1.1em;
}
}


/* ======================= SIGNATURE ======================= */
@media (max-width:600px) {
.signature-alfi {
   #recherche-alfi { width:90%; font-size:16px; }
   text-align: center;
   .lettre-alfi { font-size:18px; padding:9px 13px; }
  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 ======================= */

Dernière version du 25 octobre 2025 à 11:06

/* ===============================================================
   ⚜️ STYLE GLOBAL ROYAL ALFI — Version 2026
   =============================================================== */

#alfi-index {
  position: sticky;
  top: 0;
  z-index: 100;
  text-align: center;
  background: #fffdf8e8;
  backdrop-filter: blur(6px);
  border-bottom: 2px solid #d4af37;
  box-shadow: 0 3px 12px rgba(212,175,55,0.25);
  padding: 25px 15px;
  margin-bottom: 35px;
  font-family: 'EB Garamond','Garamond',serif;
}

.lettre-alfi {
  background: linear-gradient(180deg,#f8f2d0,#f6e27f);
  border: 1px solid #d4af37;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 17px;
  font-weight: bold;
  color: #3a260b;
  box-shadow: 0 0 5px rgba(212,175,55,0.25);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.lettre-alfi:hover {
  background: linear-gradient(180deg,#fff8cc,#f9e27a);
  color: #a40000;
  box-shadow: 0 0 12px rgba(212,175,55,0.6), 0 0 4px #fff8cc inset;
  transform: translateY(-1px);
}

.bouton-footer {
  display: inline-block;
  margin: 0 10px;
  padding: 8px 14px;
  color: #3a260b;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #d4af37;
  border-radius: 8px;
  background: linear-gradient(180deg,#f9eeb8,#f6e27f);
  transition: all 0.3s ease;
  box-shadow: 0 0 6px rgba(212,175,55,0.25);
}
.bouton-footer:hover {
  background: linear-gradient(180deg,#fff7c6,#fbe88f);
  color: #a40000;
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
  transform: translateY(-1px);
}

#alfi-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,253,248,0.85);
  backdrop-filter: blur(5px);
  border-top: 2px solid #d4af37;
  box-shadow: 0 -2px 8px rgba(212,175,55,0.25);
  text-align: center;
  padding: 10px 0;
  font-family: 'EB Garamond',serif;
  z-index: 99;
}

@media (max-width:600px) {
  #recherche-alfi { width:90%; font-size:16px; }
  .lettre-alfi { font-size:18px; padding:9px 13px; }
}