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.
/** Minecraft skin **/
/* Minecraft font */
@font-face {
font-family: Minecraft;
src: url("/media/hydra/fonts/minecraft.woff") format('woff'),
url("/media/hydra/fonts/minecraft.ttf") format('truetype');
}
/* Give the background the stone and grass texture: [[Fichier:Mobile-header-background.png]] [[Fichier:Background.png]] */
body {
background-color: #202020;
background-image: url(/media/2/26/Background.png);
background-repeat: repeat-x, repeat;
}
#mw-mf-page-center {
padding: 0;
}
/* 3D search box */
#searchbox {
background-color: #FFF;
}
.search_bar {
position: relative;
border-top: 3px solid #E6E6E6;
border-left: 3px solid #B0B0B0;
background-color: #D0CFCF;
background-image: -webkit-linear-gradient(#C3C3C3, #DCDBDB);
background-image: -o-linear-gradient(#C3C3C3, #DCDBDB);
background-image: linear-gradient(#C3C3C3, #DCDBDB);
color: #3C3B3B;
height: 23px;
}
.search_bar:before {
content: "";
position: absolute;
border-top: 3px solid #B0B0B0;
border-left: 3px solid #FFF;
bottom: 0;
left: -3px;
}
.search_bar:after {
content: "";
position: absolute;
border-top: 3px solid #FFF;
border-left: 3px solid #E6E6E6;
top: -3px;
right: 0;
}
#sq {
border: 0;
}
#search {
background-color: transparent;
padding: 0 0.5em;
}
/* [[Fichier:Search-button.svg]] */
#searchbox #goButton {
background: url(/media/0/0e/Search-button.svg) no-repeat 5px 2px / 18px;
}
/* Let nav go over the top of other things, instead of pushing them down */
#nav {
position: absolute;
z-index: 99;
}
/* Barre avec le menu et la zone de recherche */
.header {
background-image: url(/media/2/29/Mobile-header-background.png);
background-repeat-y: no-repeat;
background-position-y: bottom;
background-color: #8DBDE9;
}
/* [[MediaWiki:Sitenotice]] */
#localNotice {
background-color: #8DBDE9;
text-align: center;
border-bottom: 1px solid #ccc;
padding-bottom: 4px;
}
#localNotice hr {
border-top: none;
border-left: none;
border-right: none;
border-bottom: 1px solid #ccc;
}
/* Give the main content area its healthy blue glow, and a bit of grass: [[Fichier:Mobile-content-background.png]] */
#content {
background: url(/media/1/12/Mobile-content-background.png) repeat-x #E6EFF4;
padding-top: 16px;
margin: 0;
}
#content {
padding: 1em;
}
#firstHeading {
margin-top: 0;
}
#copyright {
color: #FFF;
}
#copyright a {
color: #BFBFBF;
}
#footer {
color: #BFBFBF;
}
#footer a {
color: #36b;
}
#footer h2 {
color: #36b;
}
#footer li {
list-style: none;
}
/* Clear floats */
.visualClear {
clear: both;
}
/* Fix dumb default styling */
table {
padding: 0;
margin-bottom: 0;
}
/* Use black bullet points, instead of blue circles: [[Fichier:List bullet.svg]] */
ul {
list-style-image: url(/media/3/39/List_bullet.svg);
}
/** Template stylings **/
/* [[Modèle:Grille]]: [[Fichier:Grid Unknown.png]] */
.grid {
position: relative;
display: inline-block;
font-size: 16px;
text-align: center !important;
background-color: #8B8B8B;
border: 2px solid #373737;
border-right-color: #FFF;
border-bottom-color: #FFF;
width: 2em;
height: 2em;
vertical-align: bottom;
}
.grid-Crafting_Table .grid.output {
font-size: 24px;
margin-bottom: -42px; /* à améliorer */
}
.grid:before,
.grid:after {
content: "";
position: absolute;
background-color: #8B8B8B;
height: 2px;
width: 2px;
}
.grid:before {
bottom: -2px;
left: -2px;
}
.grid:after {
top: -2px;
right: -2px;
}
.grid img {
padding: 2px;
}
.grid > .item,
.grid > .default-item {
position: absolute;
margin: -18px 0 0 -18px;
top: 1em;
left: 1em;
}
.grid > .item > a.new {
background: url(/media/3/35/Grid_Unknown.png) no-repeat 2px;
display: block;
width: 32px;
height: 32px;
padding: 2px;
text-indent: -9999px;
overflow: hidden;
}
.grid > .item > .number {
position: absolute;
right: 0;
bottom: 0;
font-family: Minecraft;
font-size: 16px;
font-weight: normal;
line-height: 16px;
color: #FFF;
pointer-events: none;
text-shadow: 2px 2px 0 #3F3F3F;
filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
z-index: 6;
}
.grid > .item > .number > a {
color: #FFF;
text-decoration: none;
}
.grid > .item > .number > .selflink {
font-weight: normal;
}
.grid > .item > a.new + .number {
display: none;
}
/* Generic grid layout styling */
.grid-Crafting_Table,
.grid-Furnace,
.grid-Brewing_Stand table,
.grid-generic {
background: #C6C6C6;
border: outset 2px #999;
padding: 6px;
text-align: left !important;
}
.grid-Crafting_Table td,
.grid-Furnace td,
.grid-Brewing_Stand td,
.grid-generic td {
border: none;
padding: 0;
}
/* [[Modèle:Grille/Établi]] */
.grid-Crafting_Table .arrow,
.grid-Crafting_Table .shapeless {
text-align: center;
vertical-align: bottom;
}
.grid-Crafting_Table .arrow {
width: 40px;
padding-bottom: 5px;
}
.grid-Crafting_Table .shapeless span {
cursor: help;
}
/* [[Modèle:Grille/Four]] */
.grid-Furnace {
padding-left: 24px;
padding-right: 24px;
}
.grid-Furnace .arrow,
.grid-Furnace .output {
text-align: center;
vertical-align: middle;
}
.grid-Furnace .arrow {
padding-right: 18px !important;
padding-left: 14px !important;
}
/* [[Modèle:Grille/Stand d'alchimie]] */
.grid-Brewing_Stand {
position: relative;
width: 144px;
}
.grid-Brewing_Stand .bubbles {
text-align: right;
}
.grid-Brewing_Stand .input {
padding: 3px 0 !important;
vertical-align: top;
}
.grid-Brewing_Stand .output1 {
padding: 4px 10px 14px 0 !important;
}
.grid-Brewing_Stand .output2 {
padding-top: 18px !important;
}
.grid-Brewing_Stand .output3 {
padding: 4px 0 14px 10px !important;
}
.grid-Brewing_Stand .paths {
position: absolute;
bottom: 42px;
left: 42px;
z-index: 5;
}
/* [[Modèle:Grille/Barre d'inventaire]] */
.grid-Hotbar {
display: inline-block;
position: relative;
}
.grid-Hotbar > .selector {
position: absolute;
top: -2px;
margin-left: -2px;
}
.grid-Hotbar > .slots {
position: absolute;
top: 0;
left: 0;
margin: 2px;
}
.grid-Hotbar .grid {
margin: 4px;
border: 0;
background-color: transparent;
}
.grid-Hotbar .grid:before,
.grid-Hotbar .grid:after {
content: none;
}
/* [[Modèle:Infobox]], [[Modèle:Infobox row]] */
.notaninfobox {
clear: right;
margin: 0 0 1em 1em;
width: 100%;
max-width: 300px;
font-size: 90%;
background: #FFF;
float: right;
border: 1px solid #CCC;
padding: 2px;
overflow: auto;
}
.infobox-title {
font-weight: bold;
text-align: center;
font-size: 120%;
}
.infobox-imagearea {
text-align: center;
padding: 4px;
}
.infobox-imagearea > div:not(:first-child) {
padding-top: 1em;
}
.infobox-rows {
width: 100%;
border: 0;
border-collapse: separate !important;
border-spacing: 2px !important;
}
.infobox-rows > tbody > tr > th {
text-align: left;
white-space: nowrap;
}
.infobox-rows p {
margin: 0;
}
.infobox-rows * {
border: 0;
}
.infobox-rows audio {
width: 184px;
}
.infobox-footer {
text-align: center;
}
/* [[Modèle:Navbox]] */
.navbox {
background: #FFF;
border: 1px solid #CCC;
margin: 1em auto 0;
clear: both;
width: 100%;
}
.navbox .navbox-top {
white-space: nowrap;
background-color: #CCC;
padding: 0 3px;
text-align: center;
}
.navbox-navbar,
.navbox-navbar-mini {
float: left;
font-size: 80%;
}
.navbox-title {
padding: 0 10px;
font-size: 110%;
}
.navbox th {
background-color: #EEE;
padding: 0 10px !important;
text-align: right;
}
.navbox td {
width: 100%;
padding: 0 0 0 2px !important;
}
.navbox table {
margin: -1px -1px -1px -3px !important;
width: auto;
}
.navbox table td,
.navbox table th {
border: 1px solid #CCC;
}
/* [[Modèle:Sprite]] */
.sprite {
display: inline-block;
vertical-align: text-top;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.sprite + .sprite-text {
padding-left: 0.312em;
}
/* [[Modèle:CommentSprite]] */
.comment-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/9/9c/CommentCSS.png);
}
/* [[Modèle:BlocSprite]] */
.bloc-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/d/de/BlocCSS.png);
}
/* [[Modèle:EntitéSprite]] */
.entité-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/6/6c/EntitéCSS.png);
}
/* [[Modèle:ObjetSprite]] */
.objet-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/b/ba/ObjetCSS.png);
}
/* [[Modèle:Schéma]] */
.schéma-sprite {
background-image: url(//hydra-media.cursecdn.com/minecraft-fr.gamepedia.com/f/fe/SchémaSprite.png);
background-size: 32em auto;
width: 1em;
height: 1em;
}
.thumb .schematic {
margin: auto;
}
table.schematic {
border-collapse: collapse;
font-size: 32px;
width: auto;
}
span.schematic {
display: inline-block;
font-size: 32px;
}
table.schematic td {
vertical-align: top;
}
table.schematic td,
span.schematic {
background-color: #FFF;
border: 1px solid #CCC;
padding: 0;
width: 1em;
height: 1em;
overflow: hidden;
}
table.schematic td > div,
span.schematic {
position: relative;
}
table.schematic td > div > span,
span.schematic > span {
position: absolute;
left: 0;
}
.schematic .text {
line-height: 1.5em;
font-size: 75%;
width: 100%;
color: black;
font-weight: bold;
text-align: center;
text-shadow: 0 0 2px #FFF;
}
/* Alternating table rows, primarily used with [[Modèle:Infobox row]] */
.alternaterows tr:nth-child(even),
.infobox-rows tr:nth-child(even) {
background-color: #F9F9F9;
}
/* The blue header used throughout the wiki */
.mcwiki-header {
background: #729FCF;
border: 1px solid #ccc;
border-bottom: 4px groove #999999;
border-right: 4px groove #999999;
padding: 5px;
}
/* Horizontal list */
.hlist ul {
display: inline;
padding: 0;
}
.hlist li {
display: inline-block;
margin: 0;
white-space: nowrap;
}
.hlist li:not(:last-child) {
padding-right: 0.313em;
}
.hlist li:not(:last-child):after {
content: "";
display: inline-block;
position: relative;
left: 0.313em;
bottom: 0.234em;
background-color: #000;
height: 3px;
width: 3px;
}
.hlist li > ul li:first-child:before {
content: "(";
}
.hlist li > ul li:last-child:after {
content: ")";
margin-right: -0.313em;
}
.hlist li li li {
font-size: x-small;
}
/* Turn a list into a tree view style (See [[.minecraft]]) */
.treeview {
margin-top: 0.3em;
}
.treeview ul,
.treeview li {
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
}
.treeview li li {
position: relative;
padding-left: 13px;
margin-left: 7px;
border-left: 1px solid #636363;
}
.treeview li li:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 11px;
height: 11px;
border-bottom: 1px solid #636363;
}
.treeview li li.first:before {
border-color: #636363;
border-style: solid;
border-width: 1px 0 0 1px;
height: 100%;
margin-top: 11px;
width: 10px;
}
.treeview li li.first,
.treeview li li:last-child {
border: 0;
padding-left: 14px;
}
.treeview li li:last-child:before {
border-left: 1px solid #636363;
width: 10px;
}
/* Generic styling for animation class */
.animated > *:not(.active):not(.skip),
.paused > *:not(.active):not(.skip) {
display: none;
}
/* Generic nowrap class */
.nowrap {
white-space: nowrap;
}
/* Try to use nearest neighbour scaling for pixelated images */
.pixel-image,
.grid,
.sprite {
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: -webkit-optimize-contrast;
-ms-interpolation-mode: nearest-neighbor;
}
/* Remove bullets/numbers from a list */
.list-style-none ul,
.list-style-none ol {
list-style: none;
margin-left: 0;
}
.footer {
clear:both;
}
/* Fix gallery */
ul.gallery li.gallerybox div.thumb {
text-align: center;
}
ul.gallery li.gallerybox {
display: inline-block;
vertical-align: top;
}
ul.gallery {
padding: 2px;
}
/* Set wikitable background to its intended color */
.wikitable {
background: #F9F9F9;
}
/* Hide things on mobile (the extension is meant to do this automatically, but it doesn't work) */
.nomobile {
display: none;
}
#content > h2:first-child {
display: none;
}
/* Make sure the logo fits */
#mcw-logo img {
max-width: 100%;
height: auto;
}