« MediaWiki:Common.css » : différence entre les versions

De Wiki1000
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 95 : Ligne 95 :


/* Make the user avatar icon white */
/* Make the user avatar icon white */
.vector-user-menu .mw-ui-icon-userAvatar {
.vector-icon .mw-ui-icon-userAvatar .mw-ui-icon-wikimedia-userAvatar {
     color: #ffffff !important;
     color: #ffffff !important;
     fill: #ffffff !important;
     fill: #ffffff !important;
}
}

Version du 29 mai 2025 à 14:56

/* 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;
}

/* Make the user avatar icon white */
.vector-icon .mw-ui-icon-userAvatar .mw-ui-icon-wikimedia-userAvatar {
    color: #ffffff !important;
    fill: #ffffff !important;
}