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

Aucun résumé des modifications
Aucun résumé des modifications
 
(36 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
/* Le CSS placé ici affectera les utilisateurs de l’habillage Vector. */
/* ---------------------------------------------------------
html {
* AtlasMuseum styling layered on top of Vector (MediaWiki 1.39)
     margin: auto;
* --------------------------------------------------------- */
     width: 1050px;
 
/* 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
* ========================================================= */
 
/* 1) Reset legacy AtlasMuseum rule that pushed all header links out of place */
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;
}
}
body {
 
     position: relative;
/* 2) Position the personal tools neatly in the top-right corner */
     width: 1050px;
#p-personal {
     background-color: #E6E6E4;  
     position: absolute !important;
     background-image: url("/w/skins/atlasmuseum/images/bg_body.png");
     top: 10px !important;       /* tweak if needed */
     background-position: center top;
     right: 40px !important;     /* tweak if needed */
     background-repeat: repeat-y;
     background: none;
     font-family: "FranklinGothicW01-Extra 692515";
     padding: 0;
     margin: 0;
     z-index: 5;
}
}


#mw-navigation{
#p-personal ul {
    font-family:"ITCFranklinGothicW02-Dm 812945";
}
h1,h2,h3,h4,h5,h6{
    color: #505b61;
}
div#content{
    color: #505b61;
    float: right;
     margin: 0;
     margin: 0;
     padding: 0;
     padding: 0;
    width: 895px;
}
}
#firstHeading {
 
     font-size: 48px;
#p-personal li {
     display: inline-block;
    border-right: 1px solid #505B61;
    margin: 0 6px 0 0;
    padding: 0 6px 0 0;
    background: transparent;
}
}
div.vectorTabs{
 
  padding-left: 2px;
#p-personal li:last-child {
    border-right: none;
}
}
div.vectorTabs ul li {
 
     background: none no-repeat scroll 0 0 #FFFFFF;
#p-personal a,
#p-personal a:visited {
     background: none !important;
    color: #ffffff;
    font-family: "ITCFranklinGothicW02-Bk 812924";
    font-size: 11px;
    text-decoration: none;
}
}
div.vectorTabs span > a {
 
    background-color: #FFFFFF;
#p-personal a:hover {
     border-right: 2px solid #E4E7E9;
     text-decoration: underline;
}
}
a, a:visited {
 
     color: #505b61;
/* 3) Position the search bar below the personal tools */
#p-search {
    position: absolute !important;
    top: 40px !important;      /* tweak if needed */
    right: 40px !important;
    margin: 0;
     padding: 0;
}
}
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a  {
 
     color: #fbe023;
#simpleSearch {
     background: none;
}
}


#mw-page-base {
 
    background: url("/w/skins/atlasmuseum/images/bg_pattern.png") repeat-x scroll 0 0 #FBE023;
/* =========================================================
     min-height: 198px;
* ATLASMUSEUM LOGO (TEXT VERSION)
* ========================================================= */
 
/* Hide the default Vector logo image */
#p-logo a > img {
     display: none !important;
}
}
#left-navigation, #right-navigation{
 
top: 150px;
/* Allow positioning inside the logo container */
}
#p-logo {
#right-navigation {
    float: right;
    margin-top: 0;
     position: relative;
     position: relative;
}
}


div.vectorTabs, div.vectorTabs ul, div.vectorTabs span {
/* Add the textual AtlasMuseum logo */
     background-color: #E4E7E9;
#p-logo::after {
     background-image: none;
     content: "AtlasMuseum";
    font-family: "FranklinGothicW01-Extra 692515";
    font-size: 58px;
    text-transform: lowercase;
    color: #ffffff;
    position: absolute;
    top: 0px;      /* tweak if needed */
    left: 30px;   /* tweak if needed */
     pointer-events: none; /* link underneath remains clickable */
}
}


a.new, #p-personal a.new ,
/* Make the whole area clickable (link to homepage) */
a.new:visited, #p-personal a.new:visited {
#p-logo a {
     color: #FFFFFF;
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 80px;
    z-index: 5;
     background: none !important;
}
}


#pt-userpage, #pt-anonuserpage, #pt-login {
 
     background: url("/w/skins/atlasmuseum/images/user_icon.png") no-repeat scroll left top rgba(0, 0, 0, 0);
/* =========================================================
* SPECIAL PAGES (Login, Preferences, Account Creation)
* ========================================================= */
 
/* General font fix for all special pages */
body.mw-specialpage {
     font-family: "ITCFranklinGothicW02-Bk 812924";
}
}


#p-personal li {
/* Main container for Special:UserLogin */
     border-right: 1px solid #505B61;
body.mw-special-Userlogin #content,
     font-size: 11px;
body.mw-special-Userlogin .mw-body,
     margin-left: 7px;
body.mw-special-Userlogin .mw-body-content {
     padding-right: 7px;
     max-width: 1050px;
     margin: 0 auto;
     border-left: 1px solid #e4e8ea;
     padding: 40px 55px;
    background: #ffffff;
}
}


div.topCtnr{
/* Login page heading */
     float: left;
body.mw-special-Userlogin #firstHeading {
     padding: 22px;
     font-size: 32px;
     width: 851px;
    font-family: "FranklinGothicW01-Extra 692515";
     border: none;
     margin-bottom: 24px;
}
}
div.topCtnr div.topImgCtnr{
 
     float: left;
body.mw-special-Userlogin #firstHeading > span {
    margin-right: 11px;
     border-bottom: 8px solid #fbe023;
    width: 400px;
}
}
div.ibCtnr div.ibSite,
 
div.ibCtnr div.ibOeuvre{
/* Login form layout */
    float: left;
body.mw-special-Userlogin .mw-htmlform,
    padding: 24px;
body.mw-special-Userlogin .mw-htmlform-ooui-wrapper {
    width: 258px;
     border: 1px solid #e4e8ea;
     border-right: 1px solid #e4e8ea;
     padding: 24px 32px;
}
     background: #ffffff;
div.ibCtnr div.ibArtiste {
    float: right;
     padding: 24px;
    width: 224px;
}
div.ibCtnr h2 {
     background-color: #FBE023;
    border: medium none;
    color: #FFFFFF;
    font-size: 28px;
    padding: 8px;
}
}


div.topCtnr div.topImgCtnr div.tright {
body.mw-special-Userlogin .mw-htmlform fieldset {
    margin: 0;
    float: left;
}
div.topCtnr div.topImgCtnr div.tright div.thumbinner {
    background-color: none;
     border: none;
     border: none;
     font-size: 94%;
     margin: 0 0 16px 0;
    overflow: hidden;
    padding: 0px !important;
    text-align: center;
}
}
div.topCtnr div.topImgCtnr div.tright div.thumbinner img.thumbimage {
 
     border: none;
body.mw-special-Userlogin .mw-htmlform label,
body.mw-special-Userlogin .mw-htmlform .mw-label {
     font-size: 13px;
    margin-bottom: 4px;
}
}


/* Input fields */
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 button in AtlasMuseum yellow */
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;
}


@import url("http://fast.fonts.net/lt/1.css?apiType=css&c=76254d46-8508-4c2f-96ec-a35f36e5d8fc&fontids=692515");
body.mw-special-Userlogin .mw-htmlform input[type="submit"]:hover,
@font-face{
body.mw-special-Userlogin .oo-ui-buttonElement-button:hover {
font-family:"FranklinGothicW01-Extra 692515";
    background: #ffe94b;
src:url("/w/skins/atlasmuseum/Fonts/692515/87046844-4305-4689-aa18-f740e1dd4ac3.eot?#iefix");
src:url("/w/skins/atlasmuseum/Fonts/692515/87046844-4305-4689-aa18-f740e1dd4ac3.eot?#iefix") format("eot"),url("/w/skins/atlasmuseum/Fonts/692515/b683d7c1-e42e-4419-846b-c0ca0b33c31e.woff") format("woff"),url("/w/skins/atlasmuseum/Fonts/692515/99009de2-f29b-451a-aada-6a8125460dc3.ttf") format("truetype"),url("/w/skins/atlasmuseum/Fonts/692515/b4f8ffc3-8a37-4a98-9696-554ed3577517.svg#b4f8ffc3-8a37-4a98-9696-554ed3577517") format("svg");
}
}


 
/* Login page links */
@import url("http://fast.fonts.net/lt/1.css?apiType=css&c=76254d46-8508-4c2f-96ec-a35f36e5d8fc&fontids=692512,812924,812945");
body.mw-special-Userlogin .mw-htmlform a {
@font-face{
    color: #00B9EE;
font-family:"FranklinGothicW01-Cond";
src:url("/w/skins/atlasmuseum/Fonts/692512/d534f828-e70e-44ad-9256-0063bfd76f53.eot?#iefix");
src:url("/w/skins/atlasmuseum/Fonts/692512/d534f828-e70e-44ad-9256-0063bfd76f53.eot?#iefix") format("eot"),url("/w/skins/atlasmuseum/Fonts/692512/54b4b724-8acf-4931-ac8c-1df0c3fd7f2c.woff") format("woff"),url("/w/skins/atlasmuseum/Fonts/692512/273eb8b2-62ff-40b0-aff6-46376431eae1.ttf") format("truetype"),url("/w/skins/atlasmuseum/Fonts/692512/45a74047-2fa0-4ddf-be6b-0cdbd7645f60.svg#45a74047-2fa0-4ddf-be6b-0cdbd7645f60") format("svg");
}
@font-face{
font-family:"ITCFranklinGothicW02-Bk 812924";
src:url("/w/skins/atlasmuseum/Fonts/812924/ea409d88-af4e-4996-a959-8ad79279d5d6.eot?#iefix");
src:url("/w/skins/atlasmuseum/Fonts/812924/ea409d88-af4e-4996-a959-8ad79279d5d6.eot?#iefix") format("eot"),url("/w/skins/atlasmuseum/Fonts/812924/be9d644e-881d-442f-930f-59c088a86753.woff") format("woff"),url("/w/skins/atlasmuseum/Fonts/812924/6b33705f-de45-4c7d-a41e-cdc7d4d818e0.ttf") format("truetype"),url("/w/skins/atlasmuseum/Fonts/812924/bc52e040-0508-4d95-bbfd-261dd943ba62.svg#bc52e040-0508-4d95-bbfd-261dd943ba62") format("svg");
}
@font-face{
font-family:"ITCFranklinGothicW02-Dm 812945";
src:url("/w/skins/atlasmuseum/Fonts/812945/af06afae-bf17-467b-908f-f3ab275e8f0b.eot?#iefix");
src:url("/w/skins/atlasmuseum/Fonts/812945/af06afae-bf17-467b-908f-f3ab275e8f0b.eot?#iefix") format("eot"),url("/w/skins/atlasmuseum/Fonts/812945/fa57f000-5f6b-487b-9d4a-6bcbbc9f4ed3.woff") format("woff"),url("/w/skins/atlasmuseum/Fonts/812945/76d9d36e-c1c1-427a-9cb5-029e48ec89b2.ttf") format("truetype"),url("/w/skins/atlasmuseum/Fonts/812945/915fd7dc-0f62-4912-9e07-2a2e7bc8a6c7.svg#915fd7dc-0f62-4912-9e07-2a2e7bc8a6c7") format("svg");
}
}

Dernière version du 9 décembre 2025 à 04:43

/* ---------------------------------------------------------
 * 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
 * ========================================================= */

/* 1) Reset legacy AtlasMuseum rule that pushed all header links out of place */
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;
}

/* 2) Position the personal tools neatly in the top-right corner */
#p-personal {
    position: absolute !important;
    top: 10px !important;        /* tweak if needed */
    right: 40px !important;      /* tweak if needed */
    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;
}

/* 3) Position the search bar below the personal tools */
#p-search {
    position: absolute !important;
    top: 40px !important;      /* tweak if needed */
    right: 40px !important;
    margin: 0;
    padding: 0;
}

#simpleSearch {
    background: none;
}


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

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

/* Allow positioning inside the logo container */
#p-logo {
    position: relative;
}

/* Add the textual AtlasMuseum logo */
#p-logo::after {
    content: "AtlasMuseum";
    font-family: "FranklinGothicW01-Extra 692515";
    font-size: 58px;
    text-transform: lowercase;
    color: #ffffff;
    position: absolute;
    top: 0px;      /* tweak if needed */
    left: 30px;    /* tweak if needed */
    pointer-events: none; /* link underneath remains clickable */
}

/* Make the whole area clickable (link to homepage) */
#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)
 * ========================================================= */

/* General font fix for all special pages */
body.mw-specialpage {
    font-family: "ITCFranklinGothicW02-Bk 812924";
}

/* Main container for Special:UserLogin */
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 page 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 layout */
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;
}

/* Input fields */
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 button in AtlasMuseum yellow */
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;
}

/* Login page links */
body.mw-special-Userlogin .mw-htmlform a {
    color: #00B9EE;
}