Différences entre les versions de « MediaWiki:Common.css »
Aller à la navigation
Aller à la recherche
(16 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
/* Le CSS placé ici sera appliqué à tous les habillages. */ | /* 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 */ | /* Classes pour modèles de sommaires allégés */ | ||
.toc_niveau_1 ul ul, | .toc_niveau_1 ul ul, | ||
Ligne 10 : | Ligne 11 : | ||
} | } | ||
* { | |||
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 */ | /* Change la couleur des liens */ | ||
a:link {color: #006600;} | a:link {color: #006600;} | ||
Ligne 18 : | Ligne 44 : | ||
/*Mise en forme du titre de l'infobox*/ | /*Mise en forme du titre de l'infobox*/ | ||
blockquote { | blockquote { | ||
font:bold 25px | font:bold 25px Roboto, sans-serif; | ||
color: | color: green; | ||
background | background: #eee; | ||
margin:0; | margin:0; | ||
} | } | ||
/*Modification des styles d'écritures | /*Modification des styles d'écritures*/ | ||
h1 { | h1 { | ||
font:bold | 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; | |||
font-size: 19px | border: 1px solid green; | ||
font-family: | |||
padding-left:15px; | |||
} | } | ||
h2 { | h2 { | ||
font:bold | font-weight: bold; | ||
font-size: 19px; | |||
font-family: Roboto, sans-serif; | |||
color: green; | color: green; | ||
} | } | ||
h3 { | h3 { | ||
font:17px | font-weight: bold; | ||
font-size: 17px; | |||
font-family: Roboto, sans-serif; | |||
text-decoration: underline; | text-decoration: underline; | ||
color: green; | color: green; | ||
padding-left: | padding-left: 3em; | ||
} | } | ||
h4 { | h4 { | ||
font: | font-weight: bold; | ||
font- | font-size: 17px; | ||
font-family: Roboto, sans-serif; | |||
color: green; | color: green; | ||
padding-left: | padding-left: 6em; | ||
} | } | ||
h5 { | h5 { | ||
font: | font-size: 17px; | ||
font-family: Roboto, sans-serif; | |||
font-style: italic; | |||
color: green; | color: green; | ||
padding-left: | padding-left: 9em; | ||
} | } | ||
h6 { | h6 { | ||
font: | font-weight: normal; | ||
font-size: 17px; | |||
font-family: Roboto, sans-serif; | |||
color: green; | color: green; | ||
padding-left: | 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; | |||
} | } |
Version actuelle datée du 21 octobre 2021 à 10:29
/* 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;
}