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

De Wiki1000
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 63 : Ligne 63 :
}
}


/* Style the top navigation bar (personal toolbar + logo) */
/* TOP NAVIGATION BAR */
#mw-head-base, #p-personal {
.vector-header-container {
     background-color: #000 !important; /* black background */
     background-color: #000 !important;
     color: #fff !important;             /* white text */
     color: #fff !important;
}
}


/* Make sure links in the top navigation bar are white */
/* Personal tools links (top-right) */
#p-personal a, #p-personal a:visited {
.vector-user-links, .vector-user-links a {
     color: #fff !important;
     color: #fff !important;
}
}


/* Optional: Style hover state for links */
/* Logo styling (aligned left) */
#p-personal a:hover {
.vector-logo {
     color: #00a4e4 !important; /* Sage brand blue or your choice */
    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;
}
}


/* Move the logo into the top bar */
/* Optional: align logo in container */
#p-logo {
.vector-logo-container {
    position: absolute;
     padding: 0;
    top: 0;
    left: 0;
    z-index: 999;
    height: 60px; /* adjust as needed */
    width: 160px; /* adjust as needed */
    background-color: transparent;
}
 
/* Shrink and align logo inside the top bar */
#p-logo a {
     background-size: contain !important;
    height: 100% !important;
    width: 100% !important;
    display: block;
}
}

Version du 29 mai 2025 à 12:45

/* 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: #000 !important;
    color: #fff !important;
}

/* Personal tools links (top-right) */
.vector-user-links, .vector-user-links a {
    color: #fff !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;
}