« MediaWiki:Vector.css » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (12 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 24 : | Ligne 24 : | ||
background: none; | background: none; | ||
} | } | ||
/* 2) Position the personal tools neatly in the top-right corner */ | /* 2) Position the personal tools neatly in the top-right corner */ | ||
#p-personal { | #p-personal { | ||
position: absolute !important; | position: absolute !important; | ||
top: 10px !important; /* | top: 10px !important; /* tweak if needed */ | ||
right: 40px !important; /* | right: 40px !important; /* tweak if needed */ | ||
background: none; | background: none; | ||
padding: 0; | padding: 0; | ||
| Ligne 66 : | Ligne 65 : | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
/* 3) Position the search bar below the personal tools */ | /* 3) Position the search bar below the personal tools */ | ||
#p-search { | #p-search { | ||
position: absolute !important; | position: absolute !important; | ||
top: 40px !important; /* | top: 40px !important; /* tweak if needed */ | ||
right: 40px !important; | right: 40px !important; | ||
margin: 0; | margin: 0; | ||
| Ligne 80 : | Ligne 78 : | ||
background: none; | background: none; | ||
} | } | ||
| Ligne 99 : | Ligne 96 : | ||
/* Add the textual AtlasMuseum logo */ | /* Add the textual AtlasMuseum logo */ | ||
#p-logo::after { | #p-logo::after { | ||
content: " | content: "AtlasMuseum"; | ||
font-family: "FranklinGothicW01-Extra 692515"; | font-family: "FranklinGothicW01-Extra 692515"; | ||
font-size: 58px; | font-size: 58px; | ||
| Ligne 105 : | Ligne 102 : | ||
color: #ffffff; | color: #ffffff; | ||
position: absolute; | position: absolute; | ||
top: | top: 0px; /* tweak if needed */ | ||
left: 30px; | left: 30px; /* tweak if needed */ | ||
pointer-events: none; /* | pointer-events: none; /* link underneath remains clickable */ | ||
} | } | ||
| Ligne 120 : | Ligne 117 : | ||
background: none !important; | background: none !important; | ||
} | } | ||
| Ligne 128 : | Ligne 124 : | ||
/* General font fix for all special pages */ | /* General font fix for all special pages */ | ||
.mw-specialpage { | body.mw-specialpage { | ||
font-family: "ITCFranklinGothicW02-Bk 812924"; | font-family: "ITCFranklinGothicW02-Bk 812924"; | ||
} | } | ||
/* Main container for Special:UserLogin */ | /* Main container for Special:UserLogin */ | ||
.mw-special-Userlogin #content, | body.mw-special-Userlogin #content, | ||
.mw-special-Userlogin .mw-body { | body.mw-special-Userlogin .mw-body, | ||
body.mw-special-Userlogin .mw-body-content { | |||
max-width: 1050px; | max-width: 1050px; | ||
margin: 0 auto; | margin: 0 auto; | ||
| Ligne 143 : | Ligne 140 : | ||
/* Login page heading */ | /* Login page heading */ | ||
.mw-special-Userlogin #firstHeading { | body.mw-special-Userlogin #firstHeading { | ||
font-size: 32px; | font-size: 32px; | ||
font-family: "FranklinGothicW01-Extra 692515"; | font-family: "FranklinGothicW01-Extra 692515"; | ||
| Ligne 150 : | Ligne 147 : | ||
} | } | ||
.mw-special-Userlogin #firstHeading > span { | body.mw-special-Userlogin #firstHeading > span { | ||
border-bottom: 8px solid #fbe023; | border-bottom: 8px solid #fbe023; | ||
} | } | ||
/* Login form layout */ | /* Login form layout */ | ||
.mw-special-Userlogin .mw-htmlform, | body.mw-special-Userlogin .mw-htmlform, | ||
.mw-special-Userlogin .mw-htmlform-ooui-wrapper { | body.mw-special-Userlogin .mw-htmlform-ooui-wrapper { | ||
border: 1px solid #e4e8ea; | border: 1px solid #e4e8ea; | ||
padding: 24px 32px; | padding: 24px 32px; | ||
| Ligne 162 : | Ligne 159 : | ||
} | } | ||
.mw-special-Userlogin .mw-htmlform fieldset { | body.mw-special-Userlogin .mw-htmlform fieldset { | ||
border: none; | border: none; | ||
margin: 0 0 16px 0; | margin: 0 0 16px 0; | ||
} | } | ||
.mw-special-Userlogin .mw-htmlform label, | body.mw-special-Userlogin .mw-htmlform label, | ||
.mw-special-Userlogin .mw-htmlform .mw-label { | body.mw-special-Userlogin .mw-htmlform .mw-label { | ||
font-size: 13px; | font-size: 13px; | ||
margin-bottom: 4px; | margin-bottom: 4px; | ||
| Ligne 174 : | Ligne 171 : | ||
/* Input fields */ | /* Input fields */ | ||
.mw-special-Userlogin .mw-htmlform input[type="text"], | body.mw-special-Userlogin .mw-htmlform input[type="text"], | ||
.mw-special-Userlogin .mw-htmlform input[type="password"] { | body.mw-special-Userlogin .mw-htmlform input[type="password"] { | ||
border: 1px solid #d5dbdb; | border: 1px solid #d5dbdb; | ||
padding: 6px 8px; | padding: 6px 8px; | ||
| Ligne 183 : | Ligne 180 : | ||
/* Submit button in AtlasMuseum yellow */ | /* Submit button in AtlasMuseum yellow */ | ||
.mw-special-Userlogin .mw-htmlform input[type="submit"], | body.mw-special-Userlogin .mw-htmlform input[type="submit"], | ||
.mw-special-Userlogin .oo-ui-buttonElement-button { | body.mw-special-Userlogin .oo-ui-buttonElement-button { | ||
background: #fbe023; | background: #fbe023; | ||
border: 1px solid #e0d200; | border: 1px solid #e0d200; | ||
| Ligne 193 : | Ligne 190 : | ||
} | } | ||
.mw-special-Userlogin .mw-htmlform input[type="submit"]:hover, | body.mw-special-Userlogin .mw-htmlform input[type="submit"]:hover, | ||
.mw-special-Userlogin .oo-ui-buttonElement-button:hover { | body.mw-special-Userlogin .oo-ui-buttonElement-button:hover { | ||
background: #ffe94b; | background: #ffe94b; | ||
} | } | ||
/* Login page links */ | /* Login page links */ | ||
.mw-special-Userlogin .mw-htmlform a { | body.mw-special-Userlogin .mw-htmlform a { | ||
color: #00B9EE; | color: #00B9EE; | ||
} | } | ||
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;
}