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.
/** Re-styles the vector skin to look similar to the http://www.minecraftforum.net skin **/
/* Give the background the initial stone texture: [[Fichier:Background.png]] */
body {
background-color: #202020;
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/2/26/Background.png);
}
/* Add the grass block background: [[Fichier:Header-background-altsearch.png]] [[Fichier:Clouds-distance2.png]] */
#mw-page-base {
background-color: #8DBDE9;
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/2/2c/Header-background-altsearch.png);
height: 146px;
margin-bottom: -142px;
}
div#mw-head {
background: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/a/ad/Clouds-distance2.png) right 6px repeat-x;
margin-right: 10px;
z-index: 1;
}
#p-logo {
z-index: 100;
}
/* Set the outer content link colours to light gray and white */
#mw-panel *:not(h3) > a:not(:hover):not(:focus),
#footer a:not(:hover):not(:focus),
.mw-notification a:not(:hover):not(:focus) {
color: #BFBFBF !important;
}
#mw-panel h3,
#mw-panel a,
#footer li,
#footer a,
.mw-notification a {
color: #FFF !important;
}
#mw-panel h3 {
text-decoration: none !important;
}
/* Set the tab link colours to black and bold */
#p-namespaces a,
#p-views a,
div#mw-head div.vectorMenu h4,
div#p-variants.vectorMenu #mw-vector-current-variant {
font-weight: bold;
text-decoration: none;
}
/* Use black links */
#p-namespaces a,
#p-views a,
div#mw-head div.vectorMenu h4 {
color: #000;
}
#p-namespaces .new a,
#p-views .new a {
color: #BA0000;
}
/* Position the tabs */
#left-navigation {
margin-left: 170px;
}
#left-navigation,
#right-navigation {
margin-top: 53px;
}
/* Give the tabs the grass block styling: [[Fichier:Vector-tabs.png]] [[Fichier:Vector-tabs-first.png]] */
div.vectorTabs,
div.vectorMenu {
background: none;
padding: 0;
height: 36px;
}
div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorTabs ul li.selected {
background: none;
}
div.vectorTabs span {
position: relative;
background: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/1/1a/Vector-tabs.png) no-repeat right top;
margin-right: 8px;
}
div.vectorTabs span:before {
content: "";
position: absolute;
left: 0;
background: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/1/1a/Vector-tabs.png) no-repeat left top;
width: 6px;
height: 100%;
pointer-events: none;
}
#left-navigation div.vectorTabs li:first-child span:before {
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/4/49/Vector-tabs-first.png);
height: 93px;
}
div.vectorTabs li.selected span,
div.vectorTabs li span:hover,
div.vectorTabs li span:focus {
background-position: right bottom;
}
div.vectorTabs li a {
padding: 15px 14px 0 20px;
height: 21px;
}
#ca-watch.icon a,
#ca-unwatch.icon a {
padding-top: 36px;
width: 45px;
background-position: 17px 15px !important;
transform-origin: 25px 23.5px !important;
}
div.vectorMenu {
padding-left: 6px;
margin-right: 8px;
transition: initial;
}
div #mw-head div.vectorMenu > h3,
div #mw-head div.vectorMenu > h4,
div#p-variants.vectorMenu #mw-vector-current-variant {
background: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/1/1a/Vector-tabs.png) no-repeat right top;
margin: 0;
}
div #mw-head div.vectorMenu > h3:first-child,
div #mw-head div.vectorMenu > h4:first-child,
div#p-variants.vectorMenu #mw-vector-current-variant {
position: relative;
background-position: right -29px top;
padding: 15px 0 0 14px;
height: 21px;
overflow: visible;
}
div #mw-head div.vectorMenu > h3:first-child:before,
div #mw-head div.vectorMenu > h4:first-child:before,
div#p-variants.vectorMenu #mw-vector-current-variant:before {
content: "";
position: absolute;
top: 0;
left: -6px;
background: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/1/1a/Vector-tabs.png) no-repeat left top;
width: 6px;
height: 100%;
}
div #mw-head div.vectorMenu > h3:nth-child(2) {
padding-right: 5px;
}
div #mw-head div.vectorMenu:hover > h3,
div #mw-head div.vectorMenu:focus > h3,
div #mw-head div.vectorMenu.menuForceShow > h3 {
background-position: right bottom;
}
div #mw-head div.vectorMenu:hover > h3:first-child,
div #mw-head div.vectorMenu:hover > h4:first-child,
div #mw-head div.vectorMenu:focus > h3:first-child,
div #mw-head div.vectorMenu:focus > h4:first-child,
div #mw-head div.vectorMenu.menuForceShow > h3:first-child,
div #mw-head div.vectorMenu.menuForceShow > h4:first-child,
div#p-variants.vectorMenu:hover #mw-vector-current-variant,
div#p-variants.vectorMenu:focus #mw-vector-current-variant,
div#p-variants.vectorMenu.menuForceShow #mw-vector-current-variant {
background-position: right -29px bottom;
}
div.vectorMenu h3 a {
background-image: linear-gradient(transparent, transparent), url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjIyIiBoZWlnaHQ9IjE2Ij48cGF0aCBkPSJNMTUuNTAyIDYuMDAxbC01IDUuMDAxLTUtNS4wMDF6IiBmaWxsPSIjNzk3OTc5Ii8+PC9zdmc+);
background-repeat: no-repeat;
background-position: left 14px;
height: 36px;
transition: background-position 250ms;
}
div.vectorMenu.menuForceShow h3 a {
background-position: left 100%;
}
#p-cactions #p-cactions-label {
background-position: right top;
height: 100%;
padding: 0 6px 0 9px;
}
#p-cactions:hover #p-cactions-label,
#p-cactions.menuForceShow #p-cactions-label {
background-position: right bottom;
}
/* Style the simple search */
#p-search form,
#searchInput {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#p-search form {
position: relative;
background-color: rgba(0, 0, 0, 0.365);
border-right: 4px solid #538631;
border-bottom: 4px solid #382314;
margin-top: -14px;
padding: 0 4px 0 5px;
height: 31px;
}
#p-search form:before {
content: "";
position: absolute;
top: 0;
left: -4px;
border-top: 4px solid rgba(0, 0, 0, 0.365);
border-left: 4px solid transparent;
}
#p-search form:after {
content: "";
position: absolute;
top: 0;
right: -4px;
border-top: 4px solid #80BA5A;
border-left: 4px solid #538631;
}
div#simpleSearch {
top: -3px;
background: none;
border: none;
height: auto;
}
#simpleSearch:before {
content: "";
position: absolute;
bottom: 0;
left: 0;
border-top: 3px solid #B0B0B0;
border-left: 3px solid #79553A;
z-index: 1;
}
#simpleSearch:after {
content: "";
position: absolute;
top: 0;
right: 0;
border-top: 3px solid #80BA5A;
border-left: 3px solid #E6E6E6;
}
div#simpleSearch input#searchInput {
position: relative;
border-top: 3px solid #E6E6E6;
border-left: 3px solid #B0B0B0;
background-color: #D0CFCF;
background-image: -webkit-linear-gradient(#C3C3C3, #DCDBDB);
background-image: linear-gradient(#C3C3C3, #DCDBDB);
padding: 0 1.65em 0 3px;
width: 100%;
height: 26px;
}
/* Fix placeholder text being too light in chrome */
::-webkit-input-placeholder {
color: inherit;
opacity: 0.54;
}
div#simpleSearch #searchButton,
div#simpleSearch #mw-searchButton {
background-position: center 8px;
width: 1.65em;
}
/* The suggestions shown under the search bar */
.suggestions.searchbar {
margin-top: -28px;
margin-right: -1px;
}
.suggestions.searchbar > .suggestions-results,
.suggestions.searchbar > .mw-searchSuggest-link {
display: block;
margin-left: 1px;
}
.suggestions.searchbar .suggestions-results,
.suggestions.searchbar .suggestions-special {
background-color: #DBDADA;
border-color: #3C3B3B;
}
.suggestions.searchbar .suggestions-result-current {
background-color: highlight;
}
/* Correct position of sidebar */
div#mw-panel {
margin-top: -25px;
}
/* Replace divider with a similar image that has proper transparency: [[Fichier:Panel-divider.png]] */
#mw-panel.collapsible-nav div.portal {
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/b/bf/Panel-divider.png);
}
/* Give the main content area its healthy blue glow and add a border and some margin to help with the 3D effect */
div#content {
position: relative;
background-color: #E6EFF4;
border-top: 6px solid #B4BEC3;
border-bottom: 0;
border-left: 6px solid #171717;
margin-right: 10px;
}
/* Add the 3D corners to the main content */
div#content:before {
content: "";
position: absolute;
border-top: 6px solid #B9855C;
border-left: 6px solid #B4BEC3;
top: -6px;
right: 0;
}
/* Have to use the footer as #content:after is already used to clear the content float */
#footer {
position: relative;
}
#footer:before {
content: "";
position: absolute;
border-top: 6px solid #171717;
border-left: 6px solid #202020;
top: -6px;
left: 0;
}
/* Use black bullet points, instead of blue circles: [[Fichier:List bullet.svg]] */
ul {
list-style-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/3/39/List_bullet.svg);
}
/* Various styling for message boxes, based on colours/styling from [[Modèle:Msgbox]] */
div.mw-warning-with-logexcerpt,
.errorbox {
background-color: #FCC;
border: 2px solid #FAA;
}
.warningbox {
background-color: #FFC;
border: 2px solid #FFA;
}
.successbox {
background-color: #CFC;
border: 2px solid #AFA;
}
.successbox strong p {
margin: 0;
}
div.mw-warning-with-logexcerpt,
.errorbox,
.warningbox,
.successbox {
padding: 3px 12px;
}
/* Add white background to some areas */
#asirra_ChallengeTableDiv {
background-color: #FFF;
}
/* Fix diff area styling */
table.diff {
background-color: transparent;
}
td.diff-addedline,
td.diff-deletedline {
background-color: #F9F9F9;
}
td.diff-context {
background-color: #F3F3F3;
}
td.diff-addedline,
td.diff-deletedline,
td.diff-context,
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
border-radius: 0;
}
/* Get rid of stupid white borders on page history */
#pagehistory li {
border-color: transparent;
}
/* Same as the default preference tab images, but with the blue background colour instead of white
[[Fichier:Pref-tab-border.png]] [[Fichier:Pref-tab-bg.png]] */
#preftoc,
#preftoc li {
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/f/f9/Pref-tab-border.png);
}
#preftoc li.selected a {
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/5/57/Pref-tab-bg.png);
}
/* Fix side-by-side editor background colour */
.wikiEditor-ui-controls {
background-color: #E6EFF4;
border-right: 1px solid #E6EFF4;
}
/* Style notifications to look like achievements: [[Fichier:Achievement background.png]] */
.mw-notification {
border: 8px solid #555;
-webkit-border-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/a/ae/Achievement_background.png) 8 repeat;
-moz-border-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/a/ae/Achievement_background.png) 8 repeat;
-o-border-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/a/ae/Achievement_background.png) 8 repeat;
border-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/a/ae/Achievement_background.png) 8 fill repeat;
background-color: #212121;
background-clip: padding-box;
color: #FFF;
padding: 0.2em 0.4em;
}
/* HiDPI images */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
body {
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/d/de/Background_HiDPI.png);
background-size: 48px auto;
}
#mw-page-base {
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/e/ea/Header_background_HiDPI.png);
background-size: 48px auto;
}
div.vectorTabs span,
div.vectorTabs span:before,
div #mw-head div.vectorMenu > h3,
div #mw-head div.vectorMenu > h4,
div#p-variants.vectorMenu #mw-vector-current-variant,
div #mw-head div.vectorMenu > h3:first-child:before,
div #mw-head div.vectorMenu > h4:first-child:before,
div#p-variants.vectorMenu #mw-vector-current-variant:before {
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/0/00/Vector_tab_HiDPI.png);
background-size: 262px auto;
}
#left-navigation div.vectorTabs li:first-child span:before {
background-image: url(http://hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/7/71/Vector_tab_first_HiDPI.png);
background-size: 6px auto;
}
}