MediaWiki:Common.css
Révision datée du 21 octobre 2021 à 10:29 par Kevin.richard (discussion | contributions)
Note : après avoir enregistré vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
- Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
- Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
- Opera : appuyez sur Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
/* Classes pour modèles de sommaires allégés */
.toc_niveau_1 ul ul,
.toc_niveau_2 ul ul ul,
.toc_niveau_3 ul ul ul ul,
.toc_niveau_4 ul ul ul ul ul,
.toc_niveau_5 ul ul ul ul ul ul {
display: none;
}
* {
font-family: 'Poppins'!important;
}
.mw-body {
border: 1px solid #78c72e;
}
.vector-menu-tabs li {
background-image: linear-gradient(to top, #78c72e ,#f1fde56b 1px,#ffffff 100%);
}
.vector-menu-tabs .new a, .vector-menu-dropdown li a, .vector-menu-tabs li a {
color: #78c72e;
}
.vector-menu-tabs, .vector-menu-tabs a {
background-image: linear-gradient(to bottom,#f1fde5 0,#78c72e 100%);
}
.vector-menu-portal .vector-menu-content li a {
color: #006600;
}
/* Change la couleur des liens */
a:link {color: #006600;}
a:visited {color: #006600;}
a:hover {color: red;}
a:active {color: orange;}
/*Mise en forme du titre de l'infobox*/
blockquote {
font:bold 25px Roboto, sans-serif;
color: green;
background: #eee;
margin:0;
}
/*Modification des styles d'écritures*/
h1 {
font-weight: bold;
font-size: 19px;
font-family: Roboto, sans-serif;
color: green;
background: #eee;
border-radius: 4px 4px 0 0;
padding-left: 15px!important;
border: 1px solid green;
}
h2 {
font-weight: bold;
font-size: 19px;
font-family: Roboto, sans-serif;
color: green;
}
h3 {
font-weight: bold;
font-size: 17px;
font-family: Roboto, sans-serif;
text-decoration: underline;
color: green;
padding-left: 3em;
}
h4 {
font-weight: bold;
font-size: 17px;
font-family: Roboto, sans-serif;
color: green;
padding-left: 6em;
}
h5 {
font-size: 17px;
font-family: Roboto, sans-serif;
font-style: italic;
color: green;
padding-left: 9em;
}
h6 {
font-weight: normal;
font-size: 17px;
font-family: Roboto, sans-serif;
color: green;
padding-left: 12em;
}
h2 .editsection {
font-size: 80%;
font-weight: normal;
font-style: normal;
}
h3 .editsection {
font-size: 80%;
font-weight: normal;
font-style: normal;
}
h4 .editsection {
font-size: 80%;
font-weight: normal;
font-style: normal;
}
h5 .editsection {
font-size: 80%;
font-weight: normal;
font-style: normal;
}
h6 .editsection {
font-size: 80%;
font-weight: normal;
font-style: normal;
}
table {
border-collapse: collapse;
}
tbody{
background: #FAFAFA;
border-radius: 4px 4px 0 0;
padding-top: 0px !important;
box-shadow: 0px 0px 5px #0005;
}
tbody tr:first-child > td{
border-radius: 4px 4px 0 0;
padding-left:15px!important;
font-size: 20px;
}
tbody tr td{
border-width: 0 !important;
padding-left:15px!important;
}
tbody pre{
font-size: 16px;
border: solid 1px #78c72e;
border-radius: 4px;
}
tbody tr th {
padding: 5px;
}
tbody tr th blockquote{
border: solid 1px green !important;
}