|
|
| (2 versions intermédiaires par le même utilisateur non affichées) |
| Ligne 2 787 : |
Ligne 2 787 : |
| width: 32px; | | width: 32px; |
| height: 32px; | | height: 32px; |
| | vertical-align: middle; |
| | } |
| | |
| | .mfSign-sprite { |
| | width: 192px; |
| | height: 192px; |
| vertical-align: middle; | | vertical-align: middle; |
| } | | } |
| Ligne 2 906 : |
Ligne 2 912 : |
| } | | } |
|
| |
|
| | | /* Horizontal list */ |
| | | #bodyContent .hlist ul { |
| /*
| | display: inline; |
| * CSS for the Minecraft-style skin can be found at [[MediaWiki:Hydra.css]].
| | margin: 0; |
| * This stylesheet is for desktop only; see [[MediaWiki:Mobile.css]] for mobile styles, and [[MediaWiki:Gadget-site-styles.css]] for global styles.
| | padding: 0; |
| */
| | } |
| | | #bodyContent .hlist li { |
| body {
| | display: inline; |
| font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif; | | } |
| | #bodyContent .hlist li:not(:last-child) { |
| | padding-right: 0.286em; |
| | } |
| | #bodyContent .hlist li:not(:last-child)::after { |
| | content: ""; |
| | display: inline-block; |
| | position: relative; |
| | left: 0.286em; |
| | bottom: 0.214em; |
| | background-color: #000; |
| | height: 3px; |
| | width: 3px; |
| | } |
| | #bodyContent .hlist li li:first-child::before { |
| | content: "("; |
| | font-weight: normal; |
| | } |
| | #bodyContent .hlist li li:last-child::after { |
| | content: ")"; |
| | font-weight: normal; |
| } | | } |
| | | #bodyContent .hlist li li li { |
| /* Replace logo with HiDPI version on HiDPI screens */
| | font-size: x-small; |
| @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
| |
| .mw-wiki-logo { | |
| background-image: url(/media/8/81/Wiki_HiDPI.png);
| |
| background-size: 160px auto;
| |
| }
| |
| } | | } |
|
| |
| /** Main page stylings **/
| |
|
| |
|
| |
|
|
| |
|
| Ligne 3 002 : |
Ligne 3 020 : |
| .loadbox-navbox > .load-page-content > .mw-parser-output > .navbox > tbody > tr:first-child { | | .loadbox-navbox > .load-page-content > .mw-parser-output > .navbox > tbody > tr:first-child { |
| display: none; | | display: none; |
| }
| |
|
| |
| /* [[Template:Dablink]] */
| |
| .dablink {
| |
| padding-left: 2em;
| |
| }
| |
|
| |
| /* [[Template:Layered blueprint]] */
| |
| @-webkit-keyframes layered-blueprint-fade-in {
| |
| 0% {
| |
| opacity: 0;
| |
| visibility: hidden;
| |
| }
| |
| 100% {
| |
| opacity: 1;
| |
| visibility: visible;
| |
| }
| |
| }
| |
| @keyframes layered-blueprint-fade-in {
| |
| 0% {
| |
| opacity: 0;
| |
| visibility: hidden;
| |
| }
| |
| 100% {
| |
| opacity: 1;
| |
| visibility: visible;
| |
| }
| |
| }
| |
| .layered-blueprint-layer {
| |
| -webkit-animation: layered-blueprint-fade-in 200ms;
| |
| animation: layered-blueprint-fade-in 200ms;
| |
| }
| |
|
| |
| @-webkit-keyframes layered-blueprint-fade-out {
| |
| 0% {
| |
| opacity: 1;
| |
| visibility: visible;
| |
| }
| |
| 100% {
| |
| opacity: 0;
| |
| visibility: hidden;
| |
| }
| |
| }
| |
| @keyframes layered-blueprint-fade-out {
| |
| 0% {
| |
| opacity: 1;
| |
| visibility: visible;
| |
| }
| |
| 100% {
| |
| opacity: 0;
| |
| visibility: hidden;
| |
| }
| |
| }
| |
| .layered-blueprint-radio:checked + .layered-blueprint-tab + .layered-blueprint-layer ~ .layered-blueprint-layer {
| |
| -webkit-animation: layered-blueprint-fade-out 200ms;
| |
| animation: layered-blueprint-fade-out 200ms;
| |
| }
| |
|
| |
| /* Prevent page jump from the toolbar loading */
| |
| .client-js #editform {
| |
| /* To disable margin collapsing */
| |
| overflow: hidden;
| |
| }
| |
| .client-js .mw-editform > #wpTextbox1 {
| |
| margin-top: 73px;
| |
| }
| |
| .mw-editform .wikiEditor-ui-top {
| |
| min-height: 72px;
| |
| }
| |
|
| |
| /* Alternating cell background */
| |
| .alternatecells:nth-child(odd) {
| |
| background-color: #F9F9F9;
| |
| }
| |
| /* Alternating table rows, primarily used with [[Template:Infobox row]] */
| |
| .alternaterows tr:nth-child(even),
| |
| .infobox-rows tr:nth-child(even) {
| |
| background-color: #F9F9F9;
| |
| }
| |
|
| |
| /* Scale file page image to the width of the page */
| |
| #file img {
| |
| max-width: 100%;
| |
| height: auto;
| |
| }
| |
|
| |
| /* Highlight clicked reference in blue to help navigation */
| |
| ol.references li:target,
| |
| sup.reference:target,
| |
| span.citation:target {
| |
| background-color: #C1DAF2;
| |
| }
| |
|
| |
| /* Style the sitenotice */
| |
| #siteNotice #localNotice,
| |
| #siteNotice .globalNotice,
| |
| .page-MediaWiki_Sitenotice .mw-content-ltr .mw-parser-output {
| |
| background-color: #FFF;
| |
| border: 1px solid #D3D3D3;
| |
| margin-bottom: 12px;
| |
| text-align: center;
| |
| }
| |
|
| |
| /* Allow parts of toc to be hidden */
| |
| /* Section levels */
| |
| .toc-hidelevel2 .toclevel-1 ul,
| |
| .toc-hidelevel3 .toclevel-2 ul,
| |
| .toc-hidelevel4 .toclevel-3 ul,
| |
| /* Numbers */
| |
| .toc-nonumbers .tocnumber {
| |
| display: none;
| |
| }
| |
|
| |
| /* Turn a list into a tree view style (See [[.minecraft]]) */
| |
| .treeview {
| |
| margin-top: 0.3em;
| |
| }
| |
|
| |
| .treeview .treeview-header {
| |
| padding-left: 3px;
| |
| font-weight: bold;
| |
| }
| |
| .treeview .treeview-header:last-child {
| |
| border-color: #636363 !important;
| |
| border-left-style: dotted;
| |
| }
| |
| .treeview .treeview-header:not(:last-child)::before {
| |
| content: none;
| |
| }
| |
| .treeview .treeview-header:last-child::before {
| |
| border-bottom: 0;
| |
| }
| |
|
| |
| .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: -1px;
| |
| width: 11px;
| |
| height: 11px;
| |
| border-bottom: 1px solid #636363;
| |
| }
| |
|
| |
| .treeview li li:last-child:not(.treeview-continue) {
| |
| border-color: transparent;
| |
| }
| |
| .treeview li li:last-child:not(.treeview-continue)::before {
| |
| border-left: 1px solid #636363;
| |
| width: 10px;
| |
| }
| |
|
| |
| .nbttree-inherited {
| |
| background-color: #E6E6FA;
| |
| }
| |
|
| |
| /* Simulate link styling for JS only links */
| |
| .jslink {
| |
| color: #0645AD;
| |
| -webkit-user-select: none;
| |
| -moz-user-select: none;
| |
| -ms-user-select: none;
| |
| user-select: none;
| |
| }
| |
| .jslink:hover {
| |
| text-decoration: underline;
| |
| cursor: pointer;
| |
| }
| |
| .jslink:active {
| |
| color: #FAA700;
| |
| }
| |
|
| |
| /* Try to use nearest neighbour scaling for pixelated images */
| |
| .pixel-image,
| |
| .invslot-item-image,
| |
| .sprite {
| |
| image-rendering: optimizeSpeed;
| |
| image-rendering: -webkit-optimize-contrast;
| |
| image-rendering: optimize-contrast;
| |
| image-rendering: -moz-crisp-edges;
| |
| image-rendering: -o-crisp-edges;
| |
| image-rendering: crisp-edges;
| |
| image-rendering: pixelated;
| |
| -ms-interpolation-mode: nearest-neighbor;
| |
| }
| |
|
| |
| /* Add [[File:Mojang logo.svg]] to known Mojang employee userlinks */
| |
| .mw-userlink[href="/User:C418bla"],
| |
| .mw-userlink[href="/User:Dinnerbone"],
| |
| .mw-userlink[href="/User:ExcitedZe"],
| |
| .mw-userlink[href="/User:Jeb"],
| |
| .mw-userlink[href="/User:Jeb_mojang"],
| |
| .mw-userlink[href="/User:Jonkagstrom47437"],
| |
| .mw-userlink[href="/User:MarcWatson"],
| |
| .mw-userlink[href="/User:MidnightEnforcer"],
| |
| .mw-userlink[href="/User:Minecraft_Staff"],
| |
| .mw-userlink[href="/User:Mojang_tommo"],
| |
| .mw-userlink[href="/User:Slicedlime"] {
| |
| padding-left: 17px;
| |
| background: url(/media/thumb/a/ad/Mojang_logo.svg/14px-Mojang_logo.svg.png) no-repeat left center;
| |
| }
| |
|
| |
| /* Add [[File:Grass Block.png]] to known Minecraft/Mojang-related contractor employee userlinks */
| |
| .mw-userlink[href="/User:HelenAngel"],
| |
| .mw-userlink[href="/User:Jocopa3"],
| |
| .mw-userlink[href="/User:Tamerjeison"] {
| |
| padding-left: 17px;
| |
| background: url(media/thumb/c/c7/Grass_Block.png/14px-Grass_Block.png) no-repeat left center;
| |
| }
| |
|
| |
| /* Add [[File:Gray Mojang Thing.png]] to known ex-Mojang employee userlinks */
| |
| .mw-userlink[href="/User:EvilSeph"],
| |
| .mw-userlink[href="/User:Neon_Master"],
| |
| .mw-userlink[href="/User:RazzleberryFox"],
| |
| .mw-userlink[href="/User:Tahg"] {
| |
| padding-left: 17px;
| |
| background: url(/media/d/df/Gray_Mojang_Thing.png) no-repeat left center;
| |
| }
| |
|
| |
| /* Add [[File:Gamepedia icon.png]] to Gamepedia staff userlinks */
| |
| .mw-userlink[href="/User:Alianin"],
| |
| .mw-userlink[href="/User:Azgoodaz"],
| |
| .mw-userlink[href="/User:Azxiana"],
| |
| .mw-userlink[href="/User:Brilovely"],
| |
| .mw-userlink[href="/User:Chaud"],
| |
| .mw-userlink[href="/User:CrsBenjamin"],
| |
| .mw-userlink[href="/User:DBTeamWiki"],
| |
| .mw-userlink[href="/User:Doneholmes"],
| |
| .mw-userlink[href="/User:Encredechine"],
| |
| .mw-userlink[href="/User:Equazcion"],
| |
| .mw-userlink[href="/User:Ferretwings"],
| |
| .mw-userlink[href="/User:Ferthi"],
| |
| .mw-userlink[href="/User:Furl"],
| |
| .mw-userlink[href="/User:Gam3rkitteh"],
| |
| .mw-userlink[href="/User:Game_widow"],
| |
| .mw-userlink[href="/User:Hectordonis"],
| |
| .mw-userlink[href="/User:Heytots"],
| |
| .mw-userlink[href="/User:HydraGPEBot"],
| |
| .mw-userlink[href="/User:Kittymmeow"],
| |
| .mw-userlink[href="/User:Majr"],
| |
| .mw-userlink[href="/User:MannedTooth"],
| |
| .mw-userlink[href="/User:MarkusRost"],
| |
| .mw-userlink[href="/User:Misterwoodhouse"],
| |
| .mw-userlink[href="/User:Mr_Pie_5"],
| |
| .mw-userlink[href="/User:Norrissium"],
| |
| .mw-userlink[href="/User:OOeyes"],
| |
| .mw-userlink[href="/User:Pcj"],
| |
| .mw-userlink[href="/User:ReedemtheD3ad"],
| |
| .mw-userlink[href="/User:RheingoldRiver"],
| |
| .mw-userlink[href="/User:SandovalCurse"],
| |
| .mw-userlink[href="/User:Smokie"],
| |
| .mw-userlink[href="/User:Surafbrov"],
| |
| .mw-userlink[href="/User:Tagaziel"],
| |
| .mw-userlink[href="/User:TheSatanicSanta"],
| |
| .mw-userlink[href="/User:Wagnike2"] {
| |
| padding-left: 18px;
| |
| background: url(media/thumb/0/07/Gamepedia_icon.png/15px-Gamepedia_icon.png) no-repeat left center;
| |
| }
| |
|
| |
| /* Make external links the same colour as internal links, the icon is enough to differentiate them */
| |
| .mw-body a.external {
| |
| color: #0645ad;
| |
| }
| |
| .mw-body a.external:visited {
| |
| color: #0b0080;
| |
| }
| |
| .mw-body a.external:active {
| |
| color: #faa700;
| |
| }
| |
|
| |
| /* Make tabs the correct size */
| |
| body {
| |
| -moz-tab-size: 4;
| |
| -o-tab-size: 4;
| |
| tab-size: 4;
| |
| }
| |
|
| |
| /* Classes corresponding to Minecraft formatting codes */
| |
| .format-0 {
| |
| color: #000;
| |
| text-shadow: 0.125em 0.125em 0 #000;
| |
| }
| |
| .format-1 {
| |
| color: #00A;
| |
| text-shadow: 0.125em 0.125em 0 #00002A;
| |
| }
| |
| .format-2 {
| |
| color: #0A0;
| |
| text-shadow: 0.125em 0.125em 0 #002A00;
| |
| }
| |
| .format-3 {
| |
| color: #0AA;
| |
| text-shadow: 0.125em 0.125em 0 #002A2A;
| |
| }
| |
| .format-4 {
| |
| color: #A00;
| |
| text-shadow: 0.125em 0.125em 0 #2A0000;
| |
| }
| |
| .format-5 {
| |
| color: #A0A;
| |
| text-shadow: 0.125em 0.125em 0 #2A002A;
| |
| }
| |
| .format-6 {
| |
| color: #FA0;
| |
| text-shadow: 0.125em 0.125em 0 #2A2A00;
| |
| }
| |
| .format-7 {
| |
| color: #AAA;
| |
| text-shadow: 0.125em 0.125em 0 #2A2A2A;
| |
| }
| |
| .format-8 {
| |
| color: #555;
| |
| text-shadow: 0.125em 0.125em 0 #151515;
| |
| }
| |
| .format-9 {
| |
| color: #55F;
| |
| text-shadow: 0.125em 0.125em 0 #15153F;
| |
| }
| |
| .format-a {
| |
| color: #5F5;
| |
| text-shadow: 0.125em 0.125em 0 #153F15;
| |
| }
| |
| .format-b {
| |
| color: #5FF;
| |
| text-shadow: 0.125em 0.125em 0 #153F3F;
| |
| }
| |
| .format-c {
| |
| color: #F55;
| |
| text-shadow: 0.125em 0.125em 0 #3F1515;
| |
| }
| |
| .format-d {
| |
| color: #F5F;
| |
| text-shadow: 0.125em 0.125em 0 #3F153F;
| |
| }
| |
| .format-e {
| |
| color: #FF5;
| |
| text-shadow: 0.125em 0.125em 0 #3F3F15;
| |
| }
| |
| .format-f,
| |
| #minetip-tooltip {
| |
| color: #FFF;
| |
| text-shadow: 0.125em 0.125em 0 #3F3F3F;
| |
| }
| |
| .format-l {
| |
| font-weight: bold;
| |
| letter-spacing: 0.125em;
| |
| }
| |
| .format-m {
| |
| text-decoration: line-through;
| |
| }
| |
| .format-n {
| |
| text-decoration: underline;
| |
| }
| |
| .format-o {
| |
| font-style: italic;
| |
| }
| |
|
| |
| /* Styling for minecraft style tooltip */
| |
| #minetip-tooltip {
| |
| position: fixed;
| |
| top: 0;
| |
| left: 0;
| |
| background-color: #100010;
| |
| background-color: rgba(16, 0, 16, 0.94);
| |
| padding: 0.375em;
| |
| font-family: Minecraft, sans-serif;
| |
| font-size: 16px;
| |
| word-spacing: 4px;
| |
| white-space: nowrap;
| |
| line-height: 1.25em;
| |
| margin: 0.125em 0.25em;
| |
| pointer-events: none;
| |
| z-index: 9999;
| |
| }
| |
| #minetip-tooltip::before {
| |
| content: "";
| |
| position: absolute;
| |
| top: 0.125em;
| |
| right: -0.125em;
| |
| bottom: 0.125em;
| |
| left: -0.125em;
| |
| border: 0.125em solid #100010;
| |
| border-style: none solid;
| |
| border-color: rgba(16, 0, 16, 0.94);
| |
| }
| |
| #minetip-tooltip::after {
| |
| content: "";
| |
| position: absolute;
| |
| top: 0.125em;
| |
| right: 0;
| |
| bottom: 0.125em;
| |
| left: 0;
| |
| border: 0.125em solid #2D0A63;
| |
| border-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
| |
| border-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)) 1;
| |
| }
| |
|
| |
| #minetip-tooltip > .description,
| |
| #minetip-tooltip > .minetip-description {
| |
| display: block;
| |
| margin-top: 0.25em;
| |
| }
| |
|
| |
| /* prevent sitenotice show/hide toggle from moving page contents down after pageload */
| |
| .globalNotice .globalNoticeDismiss {
| |
| float: right;
| |
| } | | } |