« MediaWiki:Common.css » : différence entre les versions
De gahan
Aller à la navigationAller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 3 : | Ligne 3 : | ||
/*====================*/ | /*====================*/ | ||
body { | body { | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | ||
font-size: 11px; | font-size: 11px; | ||
| Ligne 11 : | Ligne 10 : | ||
a, a:visited { | a, a:visited { | ||
color: #0645AD; /* Couleur bleue classique des liens */ | color: #0645AD !important; /* Couleur bleue classique des liens */ | ||
} | } | ||
| Ligne 18 : | Ligne 17 : | ||
/*====================*/ | /*====================*/ | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
font-family: 'Linux Libertine', 'Georgia', 'Times', serif; | font-family: 'Linux Libertine', 'Georgia', 'Times', serif; | ||
} | } | ||
Version du 1 mai 2024 à 14:50
/*====================*/
/* BODY et BASE */
/*====================*/
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 11px;
background-image: none;
background-color: #DEDEDE; /*Fond du wiki
}
a, a:visited {
color: #0645AD !important; /* Couleur bleue classique des liens */
}
/*====================*/
/* HEADER */
/*====================*/
h1, h2, h3, h4, h5, h6 {
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
}
h1 {
font-size: 200%;
font-weight: bold;
font-variant-caps: small-caps;
color: #661810;
}
h2 {
font-size: 160%;
font-weight: bold;
font-variant-caps: small-caps;
color: #112A78;
}
h3 {
font-size: 140%;
font-weight: bold;
font-variant-caps: small-caps;
color: #661810;
}
h4 {
font-size: 120%;
font-weight: bold;
font-variant-caps: small-caps;
}
h5 {
font-size: 110%;
font-weight: bold;
}
h6 {
font-size: 105%;
font-weight: bold;
}
/*====================*/
/* SOMMAIRE (TOC) */
/*====================*/
#toc {
font-size: 90%;
border: none; /* Supprime le bord */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Ajoute une ombre */
position: fixed;
top: 10%; /* Position à 10% de la hauteur de la fenêtre */
right: -1px;
max-height: calc(90vh - 150px); /* Ajustez cette valeur selon vos besoins */
overflow-y: auto;
background-color: #E5E5E5;
}
/*====================*/
/* Main du site ? */
/*====================*/
#mw-content-text { /* Fond du bloc général de texte */
margin-right: 200px;
}
.mw-content-padding {
padding: 20px;
}
/*====================*/
/* INFOBOX */
/*====================*/
.infobox {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Ajoute une ombre */
float: right;
background-color :#EEEEEE;
margin-left: 10px;
font-size: 11px;
float: right;
}
.infoboxtitle {
text-align: center;
font-weight: bold;
background-color: #4C7B52;
color: white;
font-size: 14px;
}