MediaWiki:Common.css
Note : après avoir publié 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.
/* GENERAL BODY STYLING */
body {
font-family: "Segoe UI", "Helvetica Neue", sans-serif;
background-color: #ffffff;
color: #1a1a1a;
}
/* PAGE WIDTH & CONTENT */
#content {
max-width: 1100px;
margin: auto;
padding: 2em;
background-color: #fff;
border-radius: 4px;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
/* TOP BAR (for vector-2022) */
.vector-header-container {
background-color: #ffffff;
border-bottom: 2px solid #e0e0e0;
}
/* LOGO AREA */
#p-logo a {
background-size: contain !important;
background-position: center center;
background-repeat: no-repeat;
height: 50px;
}
/* LEFT NAVIGATION (SIDEBAR) */
.vector-toc, .mw-portlet {
background: #f7f7f7;
border: 1px solid #ddd;
padding: 10px;
margin-bottom: 1em;
border-radius: 4px;
}
/* LINKS AND BUTTONS */
a, .mw-ui-button {
color: #007a33; /* Sage green */
}
a:hover, .mw-ui-button:hover {
color: #005c25;
text-decoration: underline;
}
/* HEADINGS */
h1, h2, h3, h4 {
color: #003c2c;
font-weight: 600;
}
/* FOOTER */
#footer {
background: #f1f1f1;
padding: 1em 0;
text-align: center;
font-size: 0.9em;
color: #555;
}
/* TOP NAVIGATION BAR */
.vector-header-container {
background-color: #F00 !important;
color: #fff !important;
}
/* Personal tools links (top-right) */
.vector-user-links, .vector-user-links a {
color: #000 !important;
}
/* Logo styling (aligned left) */
.vector-logo {
background-image: url('/images/SageLogoSmall.png') !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: left center !important;
height: 60px;
width: 160px;
}
/* Optional: align logo in container */
.vector-logo-container {
padding: 0;
}
/* Hide the site name (usually next to the logo in Vector 2022) */
.mw-logo-wordmark {
display: none !important;
}
/* Change the color of user tools icon (person icon) in Vector 2022 */
.vector-dropdown-checkbox {
color: #ffffff !important; /* Set your desired color */
fill: #ffffff !important; /* For SVG icons */
}