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

De gahan
Aller à la navigationAller à la recherche
Aucun résumé des modifications
Balise : Révocation manuelle
Aucun résumé des modifications
Ligne 37 : Ligne 37 :
   font-size: 105%;
   font-size: 105%;
   font-weight: bold;
   font-weight: bold;
}
/* Positionnement fixe du sommaire */
#toc {
    position: fixed;
    top: 50%; /* Ajustez cette valeur selon vos besoins */
    right: 20px; /* Ajustez cette valeur selon vos besoins */
    transform: translateY(-50%);
    max-height: 80%; /* Ajustez cette valeur selon vos besoins */
    overflow-y: auto;
}
}

Version du 29 avril 2024 à 19:26

/* Le CSS placé ici sera appliqué à tous les habillages. */

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  background-color: #D5C58A
}

h1 {
  font-size: 200%;
  font-weight: bold;
  font-variant-caps: small-caps;
}

h2 {
  font-size: 160%;
  font-weight: bold;
  font-variant-caps: small-caps;
}

h3 {
  font-size: 140%;
  font-weight: bold;
  font-variant-caps: small-caps;
}

h4 {
  font-size: 120%;
  font-weight: bold;
}

h5 {
  font-size: 110%;
  font-weight: bold;
}

h6 {
  font-size: 105%;
  font-weight: bold;
}

/* Positionnement fixe du sommaire */
#toc {
    position: fixed;
    top: 50%; /* Ajustez cette valeur selon vos besoins */
    right: 20px; /* Ajustez cette valeur selon vos besoins */
    transform: translateY(-50%);
    max-height: 80%; /* Ajustez cette valeur selon vos besoins */
    overflow-y: auto;
}