Aller au contenu

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

aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 2 807 : Ligne 2 807 :
     box-shadow: none;
     box-shadow: none;
   }
   }
}
/* ============================================================
  STYLE DES TITRES H2 À H5
  À AJOUTER à la fin de MediaWiki:Common.css
  (après le bloc "Style des articles standards")
 
  H2 : Cinzel (majuscules naturelles) + dégradé pourpre→doré
  H3/H4/H5 : Lora (casse mixte)
 
  NOTE : le titre H1 de l'article n'est PAS modifié.
  NOTE : la page d'accueil est exclue.
  ============================================================ */
/* --- H2 : Sections principales (== Titre ==) --- */
body:not(.page-Accueil) .mw-body-content h2 {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.45em;
  color: #574B6B;
  letter-spacing: 0.03em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #574B6B 0%, #C49A2A 40%, transparent 100%) 1;
  line-height: 1.3;
}
/* --- H3 : Sous-sections (=== Titre ===) --- */
body:not(.page-Accueil) .mw-body-content h3 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 500;
  font-size: 1.15em;
  color: #6B5A80;
  letter-spacing: 0.02em;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, #D0C4DC 0%, transparent 70%) 1;
  line-height: 1.3;
}
/* --- H4 : Sous-sous-sections (==== Titre ====) --- */
body:not(.page-Accueil) .mw-body-content h4 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 500;
  font-size: 1.02em;
  color: #7A6D8E;
  margin-top: 1em;
  margin-bottom: 0.35em;
  padding-left: 0.6em;
  border-left: 3px solid #C49A2A;
  border-bottom: none;
  line-height: 1.3;
}
/* --- H5 : Niveau rare (===== Titre =====) --- */
body:not(.page-Accueil) .mw-body-content h5 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 500;
  font-size: 0.92em;
  color: #8A7FA0;
  margin-top: 0.9em;
  margin-bottom: 0.3em;
  border-bottom: none;
  line-height: 1.3;
}
/* --- Lien [modifier] : discret --- */
body:not(.page-Accueil) .mw-body-content .mw-editsection {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: baseline;
}
}