« MediaWiki:Common.css » : différence entre les versions
Aucun résumé des modifications Balise : Révocation manuelle |
Aucun résumé des modifications |
||
Ligne 61 : | Ligne 61 : | ||
font-size: 0.9em; | font-size: 0.9em; | ||
color: #555; | color: #555; | ||
} | |||
/* Style the top navigation bar (personal toolbar + logo) */ | |||
#mw-head-base, #p-personal { | |||
background-color: #000 !important; /* black background */ | |||
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; | |||
} | } |
Version du 29 mai 2025 à 10:16
/* 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; } /* Style the top navigation bar (personal toolbar + logo) */ #mw-head-base, #p-personal { background-color: #000 !important; /* black background */ 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; }