« 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
 
(Une version intermédiaire par le même utilisateur non affichée)
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 3.0 (mars 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);
   --accent-royal: linear-gradient(90deg, #b9962e, #f6e27f, #b9962e);
   padding: 25px 15px;
   margin-bottom: 35px;
   font-family: 'EB Garamond','Garamond',serif;
}
}


/* ======================= THEMES ======================= */
.lettre-alfi {
.alfi-theme-clair,
  background: linear-gradient(180deg,#f8f2d0,#f6e27f);
.alfi-theme-imperial,
  border: 1px solid #d4af37;
.alfi-theme-nocturne {
  border-radius: 6px;
   font-family: "Crimson Pro", serif;
   padding: 7px 12px;
   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 {
/* --- CLAIR --- */
   background: linear-gradient(180deg,#fff8cc,#f9e27a);
.alfi-theme-clair {
  color: #a40000;
   background-color: var(--couleur-fond);
  box-shadow: 0 0 12px rgba(212,175,55,0.6), 0 0 4px #fff8cc inset;
   color: var(--couleur-texte);
   transform: translateY(-1px);
}
}


/* --- IMPÉRIAL --- */
.bouton-footer {
.alfi-theme-imperial {
   display: inline-block;
   background-color: #f8f5eb;
  margin: 0 10px;
  padding: 8px 14px;
   color: #3a260b;
   color: #3a260b;
   --doré: #c9a13d;
   font-weight: bold;
}
   text-decoration: none;
 
   border: 1px solid #d4af37;
/* --- NOCTURNE --- */
   border-radius: 8px;
.alfi-theme-nocturne {
   background: linear-gradient(180deg,#f9eeb8,#f6e27f);
   background-color: #121014;
   transition: all 0.3s ease;
   color: #f6eecf;
   box-shadow: 0 0 6px rgba(212,175,55,0.25);
  --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 {
.bouton-footer:hover {
   content: "❝";
   background: linear-gradient(180deg,#fff7c6,#fbe88f);
  color: var(--doré);
   color: #a40000;
   font-size: 2em;
   box-shadow: 0 0 12px rgba(212,175,55,0.6);
  position: absolute;
   transform: translateY(-1px);
   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 ======================= */
#alfi-footer {
table {
  position: fixed;
   border-collapse: collapse;
   bottom: 0;
   background-color: var(--fond-tableau);
   left: 0;
   width: 100%;
   width: 100%;
  margin: 1em 0;
   background: rgba(255,253,248,0.85);
}
   backdrop-filter: blur(5px);
th, td {
   border-top: 2px solid #d4af37;
  border: 1px solid var(--doré);
   box-shadow: 0 -2px 8px rgba(212,175,55,0.25);
  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;
   text-align: center;
   font-family: "Cinzel", serif;
   padding: 10px 0;
  font-size: 1em;
   font-family: 'EB Garamond',serif;
  margin-top: 2em;
   z-index: 99;
  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; }
}
}


/***************************************************************
@media (max-width:600px) {
⚜️ THEME D’IMPRESSION — ALFI IMPRIMATUR v1.1 ⚜️
   #recherche-alfi { width:90%; font-size:16px; }
Format : A4 — Usage : Chartes, Statuts, Actes, Dossiers royaux
   .lettre-alfi { font-size:18px; padding:9px 13px; }
****************************************************************/
@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%);
  }
}
}

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; }
}