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

De Wiki1000
Aucun résumé des modifications
Aucun résumé des modifications
 
(25 versions intermédiaires par le même utilisateur non affichées)
Ligne 63 : Ligne 63 :
}
}


/* Style the top navigation bar (personal toolbar + logo) */
/* Hide the site name (usually next to the logo in Vector 2022) */
#mw-head-base, #p-personal {
.mw-logo-wordmark {
    background-color: #000 !important;  /* black background */
     display: none !important;
    color: #fff !important;            /* white text */
}
 
/* Make sure links in the top navigation bar are white */
#p-personal a, #p-personal a:visited {
    color: #fff !important;
}
 
/* Optional: Style hover state for links */
#p-personal a:hover {
    color: #00a4e4 !important; /* Sage brand blue or your choice */
}
 
/* Move the logo into the top bar */
#p-logo {
     position: absolute;
    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;
}
}

Dernière version du 29 mai 2025 à 15:08

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

/* Hide the site name (usually next to the logo in Vector 2022) */
.mw-logo-wordmark {
    display: none !important;
}