« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (31 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 18 : | Ligne 18 : | ||
--environ-theme-color1: #0e2e96; | --environ-theme-color1: #0e2e96; | ||
--environ-theme-color2: #f6a723; | |||
--environ-theme-colorback1: #fffbf6; | |||
--global-font-family: system-ui, -apple-system, BlinkMacSystemFont, | |||
"Segoe UI", Roboto, Helvetica, Arial, | |||
sans-serif; | |||
} | } | ||
body { | body { | ||
font-family: | font-family: var(--global-font-family); | ||
--font-size-medium: 1rem; | |||
max-width: 1400px; | |||
--font-size-medium: 1rem; | position: relative; | ||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
} | } | ||
| Ligne 34 : | Ligne 43 : | ||
font-size: 1.4rem; | font-size: 1.4rem; | ||
color: #333333; | color: #333333; | ||
font-family: var(--global-font-family); | |||
} | |||
.mw-body .mw-heading2 { | |||
background-color: var(--environ-theme-color1); | |||
padding: 2px 10px; | |||
} | } | ||
.mw-body-content h2 { | |||
font-size: 1.5rem; | |||
font-family: var(--global-font-family); | |||
font-weight: bold; | font-weight: bold; | ||
color: #f4f4f4; | |||
color: # | |||
} | } | ||
.mw-body .mw-heading3 { | |||
background-color: | background-color: var(--environ-theme-color2); | ||
padding: 2px 10px; | padding: 2px 10px; | ||
} | } | ||
.mw-body-content h3 { | |||
font-size: 1.3rem; | font-size: 1.3rem; | ||
font-family: var(--global-font-family); | |||
color: var(--environ-theme-color1); | |||
} | } | ||
h4 span.mw-headline{ | h4 span.mw-headline{ | ||
| Ligne 68 : | Ligne 79 : | ||
} | } | ||
.vector-column-end, .vector-column-start { | |||
display:none; | |||
} | |||
.mw-page-container-inner { | |||
. | display:block; | ||
display: | |||
} | } | ||
| Ligne 81 : | Ligne 94 : | ||
.buttonlink1 { | .buttonlink1 { | ||
display: flex; | display: flex; | ||
border: solid 1px var(--environ-theme-color1); | |||
box-shadow: 3px 3px 0px var(--environ-theme-color1); | box-shadow: 3px 3px 0px var(--environ-theme-color1); | ||
background: var(--environ-theme-colorback1); | |||
margin: 20px; | margin: 20px; | ||
vertical-align: top; | vertical-align: top; | ||
| Ligne 88 : | Ligne 102 : | ||
width:250px; | width:250px; | ||
height: 80px; | height: 80px; | ||
border-radius: 10pt; | border-radius: 10pt; | ||
overflow: hidden; | overflow: hidden; | ||
| Ligne 94 : | Ligne 107 : | ||
.buttonlink1 a:visited{ | .buttonlink1 a:visited{ | ||
color: | color:var(--environ-theme-color1); | ||
} | } | ||
.buttonlink1 a{ | .buttonlink1 a{ | ||
color: | color:var(--environ-theme-color1); | ||
} | } | ||
| Ligne 124 : | Ligne 137 : | ||
padding-left:25px; | padding-left:25px; | ||
padding-right:25px; | padding-right:25px; | ||
} | } | ||
Dernière version du 20 avril 2026 à 16:04
/* Le CSS placé ici sera appliqué à tous les habillages. */
:root {
--line-height-medium:1.6;
--navibutton-color-hover: #63a37559;
--navibutton-height: 250px;
--navibutton-width: 200px;
--navibutton-fontsize: 1rem;
--navibutton-margin: 7px;
--navibutton-align: center;
--environ-main-theme-color: #0e2e96;
--environ-main-theme-lightcolor: #0d62a159;
--environ-main-theme-darkcolor: #073155;
--environ-main-theme-shadowcolor: #0e2e96;
--environ-main-theme-panelcolor: #1180cb;
--environ-theme-color1: #0e2e96;
--environ-theme-color2: #f6a723;
--environ-theme-colorback1: #fffbf6;
--global-font-family: system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, Helvetica, Arial,
sans-serif;
}
body {
font-family: var(--global-font-family);
--font-size-medium: 1rem;
max-width: 1400px;
position: relative;
margin-left: auto !important;
margin-right: auto !important;
}
h1 span.mw-page-title-main{
font-weight: bold;
font-size: 1.4rem;
color: #333333;
font-family: var(--global-font-family);
}
.mw-body .mw-heading2 {
background-color: var(--environ-theme-color1);
padding: 2px 10px;
}
.mw-body-content h2 {
font-size: 1.5rem;
font-family: var(--global-font-family);
font-weight: bold;
color: #f4f4f4;
}
.mw-body .mw-heading3 {
background-color: var(--environ-theme-color2);
padding: 2px 10px;
}
.mw-body-content h3 {
font-size: 1.3rem;
font-family: var(--global-font-family);
color: var(--environ-theme-color1);
}
h4 span.mw-headline{
font-size: 1.1rem;
background-color: #d9cbb0;
color: #333333;
padding: 2px 10px;
}
.vector-column-end, .vector-column-start {
display:none;
}
.mw-page-container-inner {
display:block;
}
.mw-body {
grid-template-columns: minmax(0,1fr) min-content;
}
/* ------------ BUTTONLINK1 ---------------------- */
.buttonlink1 {
display: flex;
border: solid 1px var(--environ-theme-color1);
box-shadow: 3px 3px 0px var(--environ-theme-color1);
background: var(--environ-theme-colorback1);
margin: 20px;
vertical-align: top;
text-align: center;
width:250px;
height: 80px;
border-radius: 10pt;
overflow: hidden;
}
.buttonlink1 a:visited{
color:var(--environ-theme-color1);
}
.buttonlink1 a{
color:var(--environ-theme-color1);
}
/* ------------ Search bar page Accueil ------------------ */
.searchbar-accueil .searchboxInput {
border-radius: 25px;
background:var(--environ-theme-color1);
color: white !important;
border:0px;
font-size: 1.1rem;
padding:25px;
}
.searchbar-accueil .searchboxInput::placeholder {
color: #cccccc !important;
}
.searchbar-accueil .cdx-button {
border:0px;
border-radius: 25px;
right: 45px;
position: relative;
background:var(--environ-theme-color1);
padding-left:25px;
padding-right:25px;
}