MediaWiki:Vector.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.
/* ---------------------------------------------------------
 * AtlasMuseum styling layered on top of Vector (MediaWiki 1.39)
 * --------------------------------------------------------- */

/* Load original AtlasMuseum CSS files from the skin directory */
@import url("/skins/AtlasMuseum/resources/screen.css");
@import url("/skins/AtlasMuseum/resources/atlasmuseum.css");
@import url("/skins/AtlasMuseum/resources/artwork.css");
@import url("/skins/AtlasMuseum/resources/edit.css");


/* =========================================================
 * HEADER FIXES & LAYOUT CORRECTIONS
 * ========================================================= */

/* Reset legacy AtlasMuseum rule that pushed header links away */
div#mw-head-base a {
    position: static !important;
    left: auto !important;
    top: auto !important;
    display: inline !important;
    height: auto !important;
    line-height: normal !important;
    background: none !important;
}

/* Personal links (top-right) */
#p-personal {
    position: absolute !important;
    top: 10px !important;
    right: 40px !important;
    background: none;
    padding: 0;
    margin: 0;
    z-index: 5;
}

#p-personal ul {
    margin: 0;
    padding: 0;
}

#p-personal li {
    display: inline-block;
    border-right: 1px solid #505B61;
    margin: 0 6px 0 0;
    padding: 0 6px 0 0;
    background: transparent;
}

#p-personal li:last-child {
    border-right: none;
}

#p-personal a,
#p-personal a:visited {
    background: none !important;
    color: #ffffff;
    font-family: "ITCFranklinGothicW02-Bk 812924";
    font-size: 11px;
    text-decoration: none;
}

#p-personal a:hover {
    text-decoration: underline;
}

/* Search bar position */
#p-search {
    position: absolute !important;
    top: 40px !important;
    right: 40px !important;
    margin: 0;
    padding: 0;
}

#simpleSearch {
    background: none !important;
}


/* =========================================================
 * ATLASMUSEUM LOGO (TEXT VERSION)
 * ========================================================= */

/* Hide default Vector logo image */
#p-logo a > img {
    display: none !important;
}

/* Logo container */
#p-logo {
    position: relative;
}

/* Text-based AtlasMuseum logo */
#p-logo::after {
    content: "AtlasMuseum";
    font-family: "FranklinGothicW01-Extra 692515";
    font-size: 58px;
    text-transform: lowercase;
    color: #ffffff;
    position: absolute;
    top: 0px;
    left: 30px;
    pointer-events: none;
}

/* Make the area clickable */
#p-logo a {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 80px;
    z-index: 5;
    background: none !important;
}


/* =========================================================
 * SPECIAL PAGES (Login, Preferences, Account Creation)
 * ========================================================= */

body.mw-specialpage {
    font-family: "ITCFranklinGothicW02-Bk 812924";
}

/* Login page main container */
body.mw-special-Userlogin #content,
body.mw-special-Userlogin .mw-body,
body.mw-special-Userlogin .mw-body-content {
    max-width: 1050px;
    margin: 0 auto;
    border-left: 1px solid #e4e8ea;
    padding: 40px 55px;
    background: #ffffff;
}

/* Login heading */
body.mw-special-Userlogin #firstHeading {
    font-size: 32px;
    font-family: "FranklinGothicW01-Extra 692515";
    border: none;
    margin-bottom: 24px;
}

body.mw-special-Userlogin #firstHeading > span {
    border-bottom: 8px solid #fbe023;
}

/* Login form */
body.mw-special-Userlogin .mw-htmlform,
body.mw-special-Userlogin .mw-htmlform-ooui-wrapper {
    border: 1px solid #e4e8ea;
    padding: 24px 32px;
    background: #ffffff;
}

body.mw-special-Userlogin .mw-htmlform fieldset {
    border: none;
    margin: 0 0 16px 0;
}

body.mw-special-Userlogin .mw-htmlform label,
body.mw-special-Userlogin .mw-htmlform .mw-label {
    font-size: 13px;
    margin-bottom: 4px;
}

/* Inputs */
body.mw-special-Userlogin .mw-htmlform input[type="text"],
body.mw-special-Userlogin .mw-htmlform input[type="password"] {
    border: 1px solid #d5dbdb;
    padding: 6px 8px;
    width: 260px;
    font-size: 13px;
}

/* Submit */
body.mw-special-Userlogin .mw-htmlform input[type="submit"],
body.mw-special-Userlogin .oo-ui-buttonElement-button {
    background: #fbe023;
    border: 1px solid #e0d200;
    color: #505b61;
    padding: 6px 18px;
    font-size: 13px;
    cursor: pointer;
}

body.mw-special-Userlogin .mw-htmlform input[type="submit"]:hover,
body.mw-special-Userlogin .oo-ui-buttonElement-button:hover {
    background: #ffe94b;
}

body.mw-special-Userlogin .mw-htmlform a {
    color: #00B9EE;
}


/* =========================================================
 * SECTION HEADERS (yellow blocks) – FIX OVERLAP
 * ========================================================= */

.h2,
.h2-bg,
.h-title,
.section-header,
.page-header {
    position: relative !important;
    margin: 30px 0 10px 0 !important;
    padding: 10px 0 !important;
    height: auto !important;
    overflow: visible !important;
    z-index: 1 !important;
}

/* Remove long yellow tail under headers */
.h2::after,
.h2-bg::after,
.h-title::after,
.section-header::after,
.page-header::after {
    content: none !important;
    display: none !important;
}

/* Remove yellow left border if present */
.h2-bg {
    border-left: none !important;
}