« 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 :
/* ===============================================================
/* FORCE ABSOLUE SUR TOUT LE SITE */
  ⚜️ STYLE GLOBAL ROYAL ALFI — Version FINE (Plus petit)
* {
  =============================================================== */
    font-size: 16px !important;  
 
    line-height: 1.5 !important;
/* --- 1. STRUCTURE DE L'ARTICLE (Texte réduit) --- */
 
#mw-content-text {
  max-width: 900px !important; /* On réduit la largeur totale */
  margin: 10px auto !important;
  line-height: 1.6;            /* Interlignage plus serré */
  color: #2c2c2c;
  padding: 25px !important;    /* Moins de vide sur les côtés */
  background: #ffffff;
  font-family: 'EB Garamond', 'Garamond', serif;
  font-size: 0.95em !important; /* TEXTE PLUS PETIT (0.95 au lieu de 1.15) */
}
}


/* Harmonisation des Titres (BEAUCOUP PLUS PETITS) */
/* REDUCTION SPECIFIQUE DES TITRES */
h1 { font-size: 1.8em !important; }
h1, h2, h3, .mw-headline, #firstHeading {
h2 { font-size: 1.5em !important; }
    font-size: 24px !important;
h3 { font-size: 1.2em !important; }
    margin: 10px 0 !important;
 
    padding: 5px !important;
h1, h2, h3 {
    display: block !important;
  font-family: 'EB Garamond', serif;
    width: auto !important;
  color: #3a260b;
  border-bottom: 1px solid #d4af37;
  padding-bottom: 5px;
  margin-top: 1em;
  font-weight: bold;
  text-align: left;
}
}


/* Images et Infobox */
/* CENTRAGE DE L'ARTICLE */
.thumb, .infobox {
#content, #mw-content-text {
  margin: 10px 0 15px 15px !important;
    max-width: 900px !important;
  border: 1px solid #d4af37 !important;
    margin: 0 auto !important;
  max-width: 250px !important; /* Empêche les images d'être trop grosses */
    padding: 20px !important;
    float: none !important;
}
}


/* --- 2. ÉLÉMENTS ALFI (Menu réduit) --- */
/* CACHER LE SURPLUS SI BESOIN */
 
.visualClear { display: none !important; }
#alfi-index {
  position: sticky;
  top: 0;
  z-index: 1000;
  text-align: center;
  background: rgba(255, 253, 248, 0.98);
  border-bottom: 2px solid #d4af37;
  padding: 10px; /* Menu moins haut */
  margin-bottom: 20px;
}
 
.lettre-alfi {
  padding: 4px 8px !important; /* Boutons plus petits */
  font-size: 14px !important;
  margin: 2px;
}
 
/* --- 3. FIX POUR LES GRANDS TITRES (Comme votre capture) --- */
.mw-headline {
    font-size: inherit !important;
    word-break: break-word;
}

Version du 25 mars 2026 à 09:59

/* FORCE ABSOLUE SUR TOUT LE SITE */
* {
    font-size: 16px !important; 
    line-height: 1.5 !important;
}

/* REDUCTION SPECIFIQUE DES TITRES */
h1, h2, h3, .mw-headline, #firstHeading {
    font-size: 24px !important;
    margin: 10px 0 !important;
    padding: 5px !important;
    display: block !important;
    width: auto !important;
}

/* CENTRAGE DE L'ARTICLE */
#content, #mw-content-text {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    float: none !important;
}

/* CACHER LE SURPLUS SI BESOIN */
.visualClear { display: none !important; }