|
|
| Línea 1: |
Línea 1: |
| /* El CSS colocado en esta página será aplicado a todas las apariencias */ | | /* Try to keep font style and width consistent across platforms */ |
| /**
| | body { |
| * Wikidata - MediaWiki:Common.css
| | font-family: "Liberation Sans", Arial, Helvetica, FreeSans, sans-serif; |
| *
| | } |
| * Stylesheets placed here will be applied to all skins.
| |
| */
| |
|
| |
|
| | /** Template stylings **/ |
| | /* [[Template:Grid]]: [[File: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.output { |
| | font-size: 24px; |
| | } |
|
| |
|
| /******************************
| | .grid:before, |
| * Global styles
| | .grid:after { |
| ******************************/
| | content: ""; |
| /* Default fonts like locale wikipedia*/
| | position: absolute; |
| html[lang=fa] body, [lang=fa], html[lang=ckb] body, [lang=ckb] {
| | background-color: #8B8B8B; |
| font-family: Tahoma, 'Iranian Sans', 'DejaVu Sans', sans-serif;
| | height: 2px; |
| | width: 2px; |
| | pointer-events: none; |
| | } |
| | .grid:before { |
| | bottom: -2px; |
| | left: -2px; |
| } | | } |
| body{
| | .grid:after { |
| background-color: #FFFFFF;
| | top: -2px; |
| | right: -2px; |
| } | | } |
|
| |
|
| /****************************** | | .grid img { |
| * Styles for templates | | padding: 2px; |
| ******************************/
| | } |
| | |
| | .grid > .item, |
| | .grid > .default-item { |
| | position: absolute; |
| | margin: -18px 0 0 -18px; |
| | top: 1em; |
| | left: 1em; |
| | } |
| | .grid > .item > a.new { |
| | background: url(http://www.mundo-minecraft.com/wp-content/uploads/2014/04/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; |
| | } |
|
| |
|
| /** | | /* Plain grid with no border or background */ |
| * [[Template:Welcome]]
| | .grid.plain { |
| *
| | background-color: transparent; |
| * @author [[User:Hydriz]], [[User:Danny B.]]
| | border: 0; |
| * @maintainer [[User:Danny B.]]
| | } |
| */
| | .grid.plain:before, |
| | .grid.plain:after { |
| | content: none; |
| | } |
|
| |
|
| div.welcome {
| | /* Generic grid layout styling */ |
| border: medium solid #CCC; | | .grid-Crafting_Table, |
| padding: .3em .6em; | | .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; |
| } | | } |
|
| |
|
| div.welcome strong {
| | /* [[Template:Grid/Crafting Table]] */ |
| background-color: #fff; | | .grid-Crafting_Table .arrow, |
| color: #285;
| | .grid-Crafting_Table .shapeless { |
| font-size: large; | | text-align: center; |
| | vertical-align: bottom; |
| } | | } |
|
| |
|
| | .grid-Crafting_Table .arrow { |
| | width: 40px; |
| | padding-bottom: 5px; |
| | } |
|
| |
|
| /******************************
| | .grid-Crafting_Table .shapeless span { |
| * Styles for certain pages
| | cursor: help; |
| ******************************/
| | } |
|
| |
|
| /** | | /* [[Template:Grid/Furnace]] */ |
| * Hide title on main pages, village pumps and project chats
| | .grid-Furnace { |
| *
| | padding-left: 24px; |
| * @author
| | padding-right: 24px; |
| * @maintainer
| | } |
| */
| |
|
| |
|
| .page-Wikidata_Accueil_principal.action-view .firstHeading, | | .grid-Furnace .arrow, |
| .page-Wikidata_Bar.action-view .firstHeading, | | .grid-Furnace .output { |
| .page-Wikidata_Bosh_sahifa.action-view .firstHeading,
| | text-align: center; |
| .page-Wikidata_Café.action-view .firstHeading,
| | vertical-align: middle; |
| .page-Wikidata_Etusivu.action-view .firstHeading,
| |
| .page-Wikidata_Forside.action-view .firstHeading,
| |
| .page-Wikidata_Forsíða_is.action-view .firstHeading,
| |
| .page-Wikidata_Forsíða_fo.action-view .firstHeading,
| |
| .page-Wikidata_Halaman_Utama.action-view .firstHeading,
| |
| .page-Wikidata_Hauptseite.action-view .firstHeading,
| |
| .page-Wikidata_Hoofdpagina.action-view .firstHeading,
| |
| .page-Wikidata_Huvudsida.action-view .firstHeading,
| |
| .page-Wikidata_Main_Page.action-view .firstHeading,
| |
| .page-Wikidata_Main_Page_Simple_English.action-view .firstHeading,
| |
| .page-Wikidata_Pagina_principale.action-view .firstHeading,
| |
| .page-Wikidata_Pera_Seri.action-view .firstHeading,
| |
| .page-Wikidata_Portada.action-view .firstHeading,
| |
| .page-Wikidata_Página_principal.action-view .firstHeading,
| |
| .page-Wikidata_Strona_główna.action-view .firstHeading,
| |
| .page-Wikidata_Κύρια_Σελίδα.action-view .firstHeading,
| |
| .page-Wikidata_Главна_страница.action-view .firstHeading,
| |
| .page-Wikidata_Главьна_страница.action-view .firstHeading,
| |
| .page-Wikidata_Заглавная_страница.action-view .firstHeading,
| |
| .page-Wikidata_قهوهخانه.action-view .firstHeading,
| |
| .page-Wikidata_دیوەخان.action-view .firstHeading,
| |
| .page-Wikidata_मुखपृष्ठ_mr.action-view .firstHeading,
| |
| .page-Wikidata_मुखपृष्ठ_hi.action-view .firstHeading,
| |
| .page-Wikidata_メインページ.action-view .firstHeading,
| |
| .page-Wikidata_首頁.action-view .firstHeading,
| |
| .page-Wikidata_首页.action-view .firstHeading,
| |
| .page-Wikidata_گت_صفحه.action-view .firstHeading,
| |
| .page-Wikidata_പ്രധാന_താൾ.action-view .firstHeading,
| |
| .page-Wikidata_Umuna_a_Panid.action-view .firstHeading,
| |
| .page-Wikidata_الصفحة_الرئيسية.action-view .firstHeading,
| |
| .page-Wikidata_Pàgina_principal.action-view .firstHeading,
| |
| .page-Wikidata_Hlavní_strana.action-view .firstHeading,
| |
| .page-Wikidata_Ĉefpaĝo.action-view .firstHeading,
| |
| .page-Wikidata_صفحهٔ_اصلی.action-view .firstHeading,
| |
| .page-Wikidata_دەستپێک.action-view .firstHeading,
| |
| .page-Wikidata_Glavna_stranica.action-view .firstHeading,
| |
| .page-Wikidata_Kezdőlap.action-view .firstHeading,
| |
| .page-Wikidata_대문.action-view .firstHeading,
| |
| .page-Wikidata_Pagina_prima.action-view .firstHeading,
| |
| .page-Wikidata_Fandraisana.action-view .firstHeading,
| |
| .page-Wikidata_Laman_Utama.action-view .firstHeading,
| |
| .page-Wikidata_Veurblad.action-view .firstHeading,
| |
| .page-Wikidata_Hlavná_stránka.action-view .firstHeading,
| |
| .page-Wikidata_Glavna_stran.action-view .firstHeading,
| |
| .page-Wikidata_మొదటి_పేజీ.action-view .firstHeading,
| |
| .page-Wikidata_Ana_Sayfa.action-view .firstHeading,
| |
| .page-Wikidata_Головна_сторінка.action-view .firstHeading,
| |
| .page-Wikidata_Trang_Chính.action-view .firstHeading,
| |
| .page-Wikidata_Strumenti.action-view .firstHeading,
| |
| .page-Wikidata_Degemer.action-view .firstHeading,
| |
| .page-Wikidata_முதற்_பக்கம்.action-view .firstHeading,
| |
| .page-Wikidata_עמוד_ראשי.action-view .firstHeading,
| |
| .page-Wikidata_મુખપૃષ્ઠ.action-view .firstHeading,
| |
| .page-Wikidata_Hovedside.action-view .firstHeading,
| |
| .page-Wikidata_Hovudside.action-view .firstHeading,
| |
| .page-Wikidata_Početna_strana.action-view .firstHeading,
| |
| .page-Wikidata_ପ୍ରଧାନ_ପୃଷ୍ଠା.action-view .firstHeading,
| |
| .page-Wikidata_Faqja_kryesore.action-view .firstHeading,
| |
| .page-Wikidata_Houptsyte.action-view .firstHeading,
| |
| .page-Wikidata_صفحہ_اول.action-view .firstHeading,
| |
| .page-Wikidata_Главна_страна.action-view .firstHeading,
| |
| .page-Wikidata_Pagrindinis_puslapis.action-view .firstHeading,
| |
| .page-Wikidata_Portada_galega.action-view .firstHeading,
| |
| .page-Wikidata_Głowny_bok.action-view .firstHeading,
| |
| .page-Wikidata_Hłowna_strona.action-view .firstHeading,
| |
| .page-Wikidata_Palanta.action-view .firstHeading,
| |
| .page-Wikidata_მთავარი_გვერდი.action-view .firstHeading,
| |
| .page-Wikidata_Sākumlapa.action-view .firstHeading,
| |
| .page-Wikidata_প্রধান_পাতা.action-view .firstHeading,
| |
| .page-Wikidata_Unang_Pahina.action-view .firstHeading,
| |
| .page-Wikidata_Pagina_principală.action-view .firstHeading,
| |
| .page-Wikidata_Váldosiidu.action-view .firstHeading,
| |
| .page-Wikidata_Destpêk.action-view .firstHeading,
| |
| .page-Wikidata_Pagina_principal.action-view .firstHeading,
| |
| .page-Wikidata_Esileht.action-view .firstHeading,
| |
| .page-Wikidata_Tuisblad.action-view .firstHeading,
| |
| .page-Wikidata_Acuèlh.action-view .firstHeading,
| |
| .page-Wikidata_頭版.action-view .firstHeading,
| |
| .page-Wikidata_Glavna_strana.action-view .firstHeading,
| |
| .page-Wikidata_Qhapaq_p_anqa.action-view .firstHeading,
| |
| .page-Wikidata_मुख्य_पृष्ठ.action-view .firstHeading,
| |
| .page-Wikidata_ಮುಖ್ಯ_ಪುಟष्ठ.action-view .firstHeading,
| |
| .page-Wikidata_Ojúewé_Àkọ́kọ́.action-view .firstHeading,
| |
| .page-Wikidata_Галоўная_старонка_be.action-view .firstHeading,
| |
| .page-Wikidata_Галоўная_старонка_be-tarask.action-view .firstHeading,
| |
| .page-Wikidata_Գլխավոր_էջ.action-view .firstHeading,
| |
| .page-Wikidata_หน้าหลัก.action-view .firstHeading,
| |
| .page-Wikidata_මුල්_පිටුව.action-view .firstHeading,
| |
| .page-Wikidata_دیوان_عام.action-view .firstHeading,
| |
| .page-Wikidata_Tungkaran_Tatambaian.action-view .firstHeading {
| |
| display:none;
| |
| } | | } |
|
| |
|
| /**
| | .grid-Furnace .arrow { |
| ** Messagebox templates
| | padding-right: 18px !important; |
| ** Imported from [[en: MediaWiki:Common.css]] on 2012-11-24
| | padding-left: 14px !important; |
| **/
| |
| .messagebox { | |
| border: 1px solid #aaa;
| |
| background-color: #f9f9f9;
| |
| width: 80%;
| |
| margin: 0 auto 1em auto;
| |
| padding: .2em;
| |
| } | | } |
| .messagebox.merge {
| | |
| border: 1px solid #c0b8cc;
| | /* [[Template:Grid/Brewing Stand]] */ |
| background-color: #f0e5ff;
| | .grid-Brewing_Stand { |
| text-align: center;
| | position: relative; |
| | width: 144px; |
| } | | } |
| .messagebox.cleanup { | | |
| border: 1px solid #9f9fff;
| | .grid-Brewing_Stand .bubbles { |
| background-color: #efefff;
| | text-align: right; |
| text-align: center;
| |
| } | | } |
| .messagebox.standard-talk { | | |
| border: 1px solid #c0c090;
| | .grid-Brewing_Stand .input { |
| background-color: #f8eaba;
| | padding: 3px 0 !important; |
| margin: 4px auto;
| | vertical-align: top; |
| } | | } |
| /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
| | .grid-Brewing_Stand .output1 { |
| th.mbox-text, td.mbox-text { /* The message body cell(s) */
| | padding: 4px 10px 14px 0 !important; |
| border: none;
| |
| /* @noflip */
| |
| padding: 0.25em 0.9em; /* 0.9em left/right */
| |
| width: 100%; /* Make all mboxes the same width regardless of text length */
| |
| } | | } |
| td.mbox-image { /* The left image cell */
| | .grid-Brewing_Stand .output2 { |
| border: none;
| | padding-top: 18px !important; |
| /* @noflip */
| |
| padding: 2px 3px 2px 0.9em; /* 0.9em left, 0px right */
| |
| text-align: center;
| |
| } | | } |
| td.mbox-imageright { /* The right image cell */
| | .grid-Brewing_Stand .output3 { |
| border: none;
| | padding: 4px 0 14px 10px !important; |
| /* @noflip */
| |
| padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
| |
| text-align: center;
| |
| } | | } |
| td.mbox-empty-cell { /* An empty narrow cell */
| | |
| border: none;
| | .grid-Brewing_Stand .paths { |
| padding: 0px;
| | position: absolute; |
| width: 1px;
| | bottom: 42px; |
| | left: 42px; |
| | z-index: 5; |
| } | | } |
|
| |
|
| /* Article message box styles */ | | /* [[Template:Grid/Hotbar]] */ |
| table.ambox {
| | .grid-Hotbar { |
| margin: 0px 10%; /* 10% = Will not overlap with other elements */
| | display: inline-block; |
| border: 1px solid #aaa;
| | position: relative; |
| /* @noflip */
| | border: 0; |
| border-left: 10px solid #1e90ff; /* Default "notice" blue */
| | padding: 0; |
| background: #fbfbfb;
| | background-color: transparent; |
| } | | } |
| table.ambox + table.ambox { /* Single border between stacked boxes. */
| | .grid-Hotbar > .selector { |
| margin-top: -1px;
| | position: absolute; |
| | top: -2px; |
| | margin-left: -2px; |
| } | | } |
| .ambox th.mbox-text, | | .grid-Hotbar > .slots { |
| .ambox td.mbox-text { /* The message body cell(s) */ | | position: absolute; |
| padding: 0.25em 0.5em; /* 0.5em left/right */
| | top: 0; |
| | left: 0; |
| | margin: 2px; |
| } | | } |
| .ambox td.mbox-image { /* The left image cell */ | | .grid-Hotbar .grid { |
| /* @noflip */
| | margin: 4px; |
| padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
| |
| } | | } |
| .ambox td.mbox-imageright { /* The right image cell */
| | |
| /* @noflip */
| | /* [[Template:Infobox]], [[Template:Infobox row]] */ |
| padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
| | .notaninfobox { |
| | clear: right; |
| | margin: 0 0 1em 1em; |
| | width: 300px; |
| | font-size: 90%; |
| | background: #FFF; |
| | float: right; |
| | border: 1px solid #CCC; |
| | padding: 2px; |
| | overflow: auto; |
| } | | } |
|
| |
|
| table.ambox-notice {
| | .infobox-title { |
| /* @noflip */
| | font-weight: bold; |
| border-left: 10px solid #1e90ff; /* Blue */
| | text-align: center; |
| | font-size: 120%; |
| } | | } |
| table.ambox-speedy {
| | |
| /* @noflip */
| | .infobox-imagearea { |
| border-left: 10px solid #b22222; /* Red */
| | text-align: center; |
| background: #fee; /* Pink */
| | padding: 4px; |
| } | | } |
| table.ambox-delete {
| | .infobox-imagearea > div:not(:first-child) { |
| /* @noflip */
| | padding-top: 1em; |
| border-left: 10px solid #b22222; /* Red */
| |
| } | | } |
| table.ambox-content {
| | |
| /* @noflip */
| | .infobox-rows { |
| border-left: 10px solid #f28500; /* Orange */
| | width: 100%; |
| } | | } |
| table.ambox-style {
| | .infobox-rows > tbody > tr > th { |
| /* @noflip */
| | text-align: left; |
| border-left: 10px solid #f4c430; /* Yellow */
| | white-space: nowrap; |
| } | | } |
| table.ambox-move {
| | .infobox-rows p { |
| /* @noflip */
| | margin: 0; |
| border-left: 10px solid #9932cc; /* Purple */
| |
| } | | } |
| table.ambox-protection {
| | .infobox-rows audio { |
| /* @noflip */
| | width: 184px; |
| border-left: 10px solid #bba; /* Gray-gold */
| |
| } | | } |
| | | /* Merge adjacent dls in the infobox (since they're usually supposed to be one, but the wiki screws up sometimes) */ |
| /* Image message box styles */ | | .infobox-rows dl + dl { |
| table.imbox {
| | margin-top: -0.4em; |
| margin: 4px 10%;
| |
| border-collapse: collapse;
| |
| border: 3px solid #1e90ff; /* Default "notice" blue */
| |
| background: #fbfbfb;
| |
| } | | } |
| .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ | | .infobox-rows dl:last-child { |
| margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
| | margin-bottom: 0.2em; |
| display: block; /* Fix for webkit to force 100% width. */
| |
| } | | } |
| .mbox-inside .imbox { /* For imboxes inside other templates. */ | | |
| margin: 4px;
| | .infobox-footer { |
| | text-align: center; |
| } | | } |
|
| |
|
| table.imbox-notice {
| | /* [[Template:Navbox]] */ |
| border: 3px solid #1e90ff; /* Blue */
| | .navbox { |
| | background: #FFF; |
| | border: 1px solid #CCC; |
| | margin: 1em auto 0; |
| | clear: both; |
| | width: 100%; |
| } | | } |
| table.imbox-speedy { | | |
| border: 3px solid #b22222; /* Red */
| | .navbox table { |
| background: #fee; /* Pink */
| | background: #FFF; |
| | margin-left: -4px; |
| | margin-right: -2px; |
| } | | } |
| table.imbox-delete { | | .navbox table:first-child { |
| border: 3px solid #b22222; /* Red */
| | margin-top: -2px; |
| } | | } |
| table.imbox-content { | | .navbox table:last-child { |
| border: 3px solid #f28500; /* Orange */
| | margin-bottom: -2px; |
| } | | } |
| table.imbox-style {
| | |
| border: 3px solid #f4c430; /* Yellow */
| | .navbox .navbox-top { |
| | white-space: nowrap; |
| | background-color: #CCC; |
| | padding: 0 3px; |
| | text-align: center; |
| } | | } |
| table.imbox-move {
| | |
| border: 3px solid #9932cc; /* Purple */
| | .navbox-navbar, |
| | .navbox-navbar-mini { |
| | float: left; |
| | font-size: 80%; |
| } | | } |
| table.imbox-protection {
| | |
| border: 3px solid #bba; /* Gray-gold */
| | .navbox-title { |
| | padding: 0 10px; |
| | font-size: 110%; |
| } | | } |
| table.imbox-license {
| | |
| border: 3px solid #88a; /* Dark gray */
| | .navbox th { |
| background: #f7f8ff; /* Light gray */
| | background-color: #EEE; |
| }
| | padding: 0 10px; |
| table.imbox-featured {
| | white-space: nowrap; |
| border: 3px solid #cba135; /* Brown-gold */
| | text-align: right; |
| } | | } |
|
| |
|
| /* Category message box styles */
| | .navbox td { |
| table.cmbox {
| | width: 100%; |
| margin: 3px 10%;
| | padding: 0 0 0 2px; |
| border-collapse: collapse;
| |
| border: 1px solid #aaa;
| |
| background: #DFE8FF; /* Default "notice" blue */
| |
| } | | } |
|
| |
|
| table.cmbox-notice {
| | /* [[Template:LoadBox]] with navbox */ |
| background: #D8E8FF; /* Blue */
| | .loadbox-navbox { |
| | padding: 2px !important; |
| | margin: 1em 0 0 !important; |
| | clear: both; |
| } | | } |
| table.cmbox-speedy {
| | .loadbox-navbox > p { |
| margin-top: 4px;
| | background-color: #CCC; |
| margin-bottom: 4px;
| | text-align: center; |
| border: 4px solid #b22222; /* Red */
| | margin: 0; |
| background: #FFDBDB; /* Pink */
| | padding: 0 3px; |
| } | | } |
| table.cmbox-delete {
| | .loadbox-navbox > p > b { |
| background: #FFDBDB; /* Red */
| | font-size: 110%; |
| } | | } |
| table.cmbox-content {
| | |
| background: #FFE7CE; /* Orange */
| | .loadbox-navbox .navbox { |
| | margin: 0 -2px -2px; |
| | border: 0; |
| } | | } |
| table.cmbox-style {
| | .loadbox-navbox .navbox > tbody > tr:first-child { |
| background: #FFF9DB; /* Yellow */
| | display: none; |
| } | | } |
| table.cmbox-move {
| | |
| background: #E4D8FF; /* Purple */
| | /* [[Template:History2]] */ |
| | /*.history2 td > pre, |
| | .history2 td > ol { |
| | display: none; |
| } | | } |
| table.cmbox-protection {
| | |
| background: #EFEFE1; /* Gray-gold */
| | .history2 ul { |
| | margin-top: 0; |
| } | | } |
|
| |
|
| /* Other pages message box styles */
| | .history2 .toggleHistDetails { |
| table.ombox {
| | float: right; |
| margin: 4px 10%;
| | text-align: right; |
| border-collapse: collapse;
| | width: 150px; |
| border: 1px solid #aaa; /* Default "notice" gray */
| |
| background: #f9f9f9;
| |
| } | | } |
| | .history2 > tbody > tr:first-child > th { |
| | padding-left: 152px; |
| | }*/ |
|
| |
|
| table.ombox-notice {
| | /* [[Template:Sprite]] */ |
| border: 1px solid #aaa; /* Gray */
| | .sprite { |
| | display: inline-block; |
| | vertical-align: text-top; |
| | height: 16px; |
| | width: 16px; |
| | background-repeat: no-repeat; |
| } | | } |
| table.ombox-speedy {
| | .sprite + .sprite-text { |
| border: 2px solid #b22222; /* Red */
| | padding-left: 0.312em; |
| background: #fee; /* Pink */
| |
| } | | } |
| table.ombox-delete {
| | |
| border: 2px solid #b22222; /* Red */
| | /* [[Template:CommentSprite]] */ |
| | .comment-sprite { |
| | background-image: url(http://www.mundo-minecraft.com/wp-content/uploads/2014/04/CommentCSS.png); |
| } | | } |
| table.ombox-content {
| | |
| border: 1px solid #f28500; /* Orange */
| | /* [[Template:BlockSprite]] */ |
| | .block-sprite { |
| | background-image: url(http://www.mundo-minecraft.com/wp-content/uploads/2014/04/BlockCSS.png); |
| } | | } |
| table.ombox-style {
| | |
| border: 1px solid #f4c430; /* Yellow */
| | /* [[Template:EntitySprite]] */ |
| | .entity-sprite { |
| | background-image: url(http://www.mundo-minecraft.com/wp-content/uploads/2014/04/EntityCSS.png); |
| } | | } |
| table.ombox-move {
| | |
| border: 1px solid #9932cc; /* Purple */
| | /* [[Template:ItemSprite]] */ |
| | .item-sprite { |
| | background-image: url(http://www.mundo-minecraft.com/wp-content/uploads/2014/04/ItemCSS.png); |
| } | | } |
| table.ombox-protection {
| | |
| border: 2px solid #bba; /* Gray-gold */
| | /* [[Template:Schematic]] */ |
| | .schematic-sprite { |
| | background-image: url(http://www.mundo-minecraft.com/wp-content/uploads/2014/04/SchematicSprite.png); |
| | background-size: 32em auto; |
| | width: 1em; |
| | height: 1em; |
| } | | } |
|
| |
|
| /* Talk page message box styles */ | | /* [[Template:Sprite/Preview]] */ |
| table.tmbox {
| | .sprite-preview:hover div { |
| margin: 4px 10%;
| | opacity: 0.7 !important; |
| border-collapse: collapse;
| |
| border: 1px solid #c0c090; /* Default "notice" gray-brown */
| |
| background: #f8eaba;
| |
| }
| |
| .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */ | |
| margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */
| |
| width: 100%; /* For Safari and Opera */
| |
| }
| |
| .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
| |
| line-height: 1.5em; /* also "nested", so reset styles that are */
| |
| font-size: 100%; /* set in "mbox-small" above. */
| |
| } | | } |
|
| |
|
| table.tmbox-speedy {
| | |
| border: 2px solid #b22222; /* Red */
| | /* [[Template:Schematic]] */ |
| background: #fee; /* Pink */
| | .thumb .schematic { |
| | margin: auto; |
| } | | } |
| table.tmbox-delete { | | table.schematic { |
| border: 2px solid #b22222; /* Red */
| | border-collapse: collapse; |
| | font-size: 32px; |
| } | | } |
| table.tmbox-content {
| | span.schematic { |
| border: 2px solid #f28500; /* Orange */
| | display: inline-block; |
| }
| | font-size: 32px; |
| table.tmbox-style {
| |
| border: 2px solid #f4c430; /* Yellow */
| |
| }
| |
| table.tmbox-move {
| |
| border: 2px solid #9932cc; /* Purple */
| |
| }
| |
| table.tmbox-protection,
| |
| table.tmbox-notice {
| |
| border: 1px solid #c0c090; /* Gray-brown */
| |
| } | | } |
|
| |
|
| /* Footer and header message box styles */
| | table.schematic td { |
| table.fmbox { | | vertical-align: top; |
| clear: both;
| |
| margin: 0.2em 0;
| |
| width: 100%;
| |
| border: 1px solid #aaa;
| |
| background: #f9f9f9; /* Default "system" gray */
| |
| } | | } |
| table.fmbox-system { | | table.schematic td, |
| background: #f9f9f9;
| | span.schematic { |
| | background-color: #FFF; |
| | border: 1px solid #CCC; |
| | padding: 0; |
| | width: 1em; |
| | height: 1em; |
| | overflow: hidden; |
| } | | } |
| table.fmbox-warning { | | table.schematic td > div, |
| border: 1px solid #bb7070; /* Dark pink */
| | span.schematic { |
| background: #ffdbdb; /* Pink */
| | position: relative; |
| } | | } |
| table.fmbox-editnotice { | | table.schematic td > div > span, |
| background: transparent;
| | span.schematic > span { |
| | position: absolute; |
| | left: 0; |
| } | | } |
|
| |
|
| /* Div based "warning" style fmbox messages. */
| | .schematic .text { |
| div.mw-warning-with-logexcerpt,
| | line-height: 1.5em; |
| div.mw-lag-warn-high,
| | font-size: 75%; |
| div.mw-cascadeprotectedwarning,
| | width: 100%; |
| div#mw-protect-cascadeon {
| | color: black; |
| clear: both;
| | font-weight: bold; |
| margin: 0.2em 0;
| | text-align: center; |
| border: 1px solid #bb7070;
| | text-shadow: 0 0 2px #FFF; |
| background: #ffdbdb;
| |
| padding: 0.25em 0.9em;
| |
| } | | } |
| /* Div based "system" style fmbox messages. | | |
| Used in [[MediaWiki:Readonly lag]]. */
| | /** Misc stuff **/ |
| div.mw-lag-warn-normal,
| | /* Prevent page jump from the toolbar loading, doesn't affect people with the toolbar disabled */ |
| div.fmbox-system {
| | #toolbar { |
| clear: both;
| | height: 22px; |
| margin: 0.2em 0;
| |
| border: 1px solid #aaa;
| |
| background: #f9f9f9;
| |
| padding: 0.25em 0.9em;
| |
| } | | } |
|
| |
|
| .mbox-image img { | | /* Remove the header from the main page */ |
| max-width: none;
| | body.page-Minecraft_Wiki.action-view h1.firstHeading, |
| | body.page-Minecraft_Wiki.action-view #contentSub { |
| | display: none; |
| } | | } |
|
| |
|
| | /* Fix floating bodyContent getting caught on something, and displaying too low */ |
| | #bodyWrapper { |
| | display: inline-block; |
| | width: 100%; |
| | } |
|
| |
|
| /* Default style for navigation boxes */ | | /* Remove sidead from main page editcopy since it |
| /* Revision of import is //en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=588108879 */
| | breaks the page and isn't on the real main page */ |
| .navbox { /* Navbox container style */ | | body.page-Minecraft_Wiki_editcopy .atfmrec { |
| border: 1px solid #fdfdfd;
| | display: none; |
| width: 100%;
| |
| margin: auto;
| |
| clear: both;
| |
| font-size: 88%;
| |
| padding: 1px;
| |
| } | | } |
| .navbox-inner, | | |
| .navbox-subgroup { | | /* Collapsible Tables ([[MediaWiki:Common.js]]) */ |
| width: 100%;
| | table.collapsed tr.collapsible { |
| | display: none; |
| } | | } |
| .navbox-group,
| | |
| .navbox-title,
| | .collapsible-button { |
| .navbox-abovebelow { | | float: right; |
| padding: 0.25em 1em; /* Title, group and above/below styles */
| | font-weight: normal; |
| line-height: 1.5em;
| | margin-left: 0.8em; |
| text-align: left;
| |
| } | | } |
| th.navbox-group { /* Group style */ | | |
| white-space: nowrap;
| | .collapsible.collapse-button-left > tr > th .collapsible-button, |
| /* @noflip */
| | .collapsible.collapse-button-left > * > tr > th .collapsible-button { |
| text-align: left;
| | float: left; |
| | margin-right: 0.8em; |
| | margin-left: 0; |
| } | | } |
| .navbox, | | |
| .navbox-subgroup { | | .collapsible.collapse-button-none > tr > th .collapsible-button, |
| background: #fdfdfd; /* Background color */
| | .collapsible.collapse-button-none > * > tr > th .collapsible-button { |
| | float: none; |
| } | | } |
| .navbox-list { | | |
| line-height: 1.8em;
| | /* Alternating cell background */ |
| border-color: transparent; /* Must match background color */
| | .alternatecells:nth-child(odd) { |
| | background-color: #F9F9F9; |
| } | | } |
| .navbox th, | | /* Alternating table rows, primarily used with [[Template:Infobox row]] */ |
| .navbox-title { | | .alternaterows tr:nth-child(even), |
| background: #cadda6; /* Level 1 color */
| | .infobox-rows tr:nth-child(even) { |
| | background-color: #F9F9F9; |
| } | | } |
| .navbox-abovebelow, | | |
| th.navbox-group,
| | /* The blue header used throughout the wiki */ |
| .navbox-subgroup .navbox-title {
| | .mcwiki-header { |
| background: transparent; /* Level 2 color */
| | background: #729FCF; |
| | border: 1px solid #CCC; |
| | border-bottom: 4px groove #999; |
| | border-right: 4px groove #999; |
| | padding: 5px; |
| } | | } |
| .navbox-subgroup .navbox-group,
| | |
| .navbox-subgroup .navbox-abovebelow {
| | /* Scale file page image to the width of the page */ |
| background: #ddddff; /* Level 3 color */
| | #file img { |
| | max-width: 100%; |
| | height: auto; |
| } | | } |
| .navbox-even { | | |
| background: #f7f7f7; /* Even row striping */
| | /* Remove margin from file page table */ |
| | #mw-imagepage-section-filehistory .filehistory { |
| | margin-right: 0; |
| } | | } |
| .navbox-odd { | | |
| background: transparent; /* Odd row striping */
| | /* Highlight clicked reference in blue to help navigation */ |
| | ol.references li:target, |
| | sup.reference:target, |
| | span.citation:target { |
| | background-color: #C1DAF2; |
| } | | } |
| table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
| | |
| margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
| | /* Style the sitenotice */ |
| | #siteNotice #localNotice, |
| | .page-MediaWiki_Sitenotice .mw-content-ltr > div { |
| | background-color: #FFF; |
| | border: 1px solid #D3D3D3; |
| | margin-bottom: 12px; |
| | text-align: center; |
| } | | } |
| .navbox .hlist td dl,
| | |
| .navbox .hlist td ol,
| | /* Minecraft font */ |
| .navbox .hlist td ul,
| | @font-face { |
| .navbox td.hlist dl, | | font-family: Minecraft; |
| .navbox td.hlist ol, | | src: url("http://www.mundo-minecraft.com/wp-content/uploads/minecraft.eot"), |
| .navbox td.hlist ul { | | url("http://www.mundo-minecraft.com/wp-content/uploads/minecraft.woff") format('woff'), |
| padding: 0.125em 0; /* Adjust hlist padding in navboxes */
| | url("http://www.mundo-minecraft.com/wp-content/uploads/minecraft.ttf") format('truetype'); |
| }
| |
| ol + table.navbox,
| |
| ul + table.navbox {
| |
| margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
| |
| } | | } |
|
| |
|
| /* Default styling for Navbar template */ | | /* Pre-style sidebar portlets before JS loads, so sidebar is less jumpy (reset in [[MediaWiki:Noscript.css]] when JS is off) |
| .navbar { | | [[File:Panel-divider.png]] */ |
| display: inline;
| | div#mw-panel div.portal { |
| font-size: 88%;
| | margin: -11px 9px 10px 11px; |
| font-weight: normal;
| | padding: 0.25em 0; |
| | background-image: url(http://www.mundo-minecraft.com/wp-content/uploads/2014/04/Panel-divider.png); |
| | background-position: left top; |
| | background-repeat: no-repeat; |
| } | | } |
| .navbar ul { | | div#mw-panel div.portal div.body { |
| display: inline;
| | background-image: none; |
| white-space: nowrap;
| | padding: 0; |
| | margin: 0 0 0 1.25em; |
| } | | } |
| .navbar li { | | div#mw-panel div.portal h5 { |
| word-spacing: -0.125em;
| | padding: 4px 0 3px 1.5em; |
| | margin-bottom: 0; |
| } | | } |
| .navbar.mini li span { | | div#mw-panel div.portal div.body ul li { |
| font-variant: small-caps;
| | padding: 0.25em 0; |
| } | | } |
| /* Navbar styling when nested in infobox and navbox */
| | |
| .infobox .navbar {
| | #mw-panel #p-Minecraft_Wiki { |
| font-size: 100%;
| | background-image: none; |
| | margin-top: 0; |
| } | | } |
| .navbox .navbar {
| | #p-Minecraft_Wiki h5 { |
| display: block;
| | display: none; |
| font-size: 100%;
| |
| } | | } |
| .navbox-title .navbar {
| | #mw-panel #p-Minecraft_Wiki div.body { |
| /* @noflip */
| | margin-left: 0.5em; |
| float: left;
| |
| /* @noflip */
| |
| text-align: left;
| |
| /* @noflip */
| |
| margin-right: 0.5em;
| |
| width: 6em;
| |
| } | | } |
|
| |
|
| /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
| | #p-Useful_pages div.body, |
| in [[MediaWiki:Common.js]] are styled here so they can be customised. */
| | #p-tb div.body { |
| .collapseButton { | | display: none; |
| /* @noflip */
| |
| float: right;
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| margin-left: 0.5em;
| |
| /* @noflip */
| |
| text-align: right;
| |
| width: auto;
| |
| } | | } |
| /* In navboxes, the show/hide button balances the v·d·e links | | |
| from [[Template:Navbar]], so they need to be the same width. */
| | /* Allow parts of toc to be hidden */ |
| .navbox .collapseButton { | | /* Section levels */ |
| width: 6em;
| | .toc-hidelevel2 .toclevel-1 ul, |
| | .toc-hidelevel3 .toclevel-2 ul, |
| | .toc-hidelevel4 .toclevel-2 ul, |
| | /* Numbers */ |
| | .toc-nonumbers .tocnumber { |
| | display: none; |
| } | | } |
|
| |
|
| /* Styling for JQuery makeCollapsible, matching that of collapseButton */ | | /* Pre-collapse collapsed tables, so there is no page jump when JS kicks in */ |
| .mw-collapsible-toggle { | | .collapsible.collapsed > tr, |
| font-weight: normal;
| | .collapsible.collapsed > tbody > tr { |
| /* @noflip */
| | display: none; |
| text-align: right;
| |
| } | | } |
| .navbox .mw-collapsible-toggle { | | .collapsible.collapsed > tr:first-child, |
| width: 6em;
| | .collapsible.collapsed > tbody > tr:first-child { |
| | display: table-row; |
| } | | } |
| | | .collapsible.collapsed > thead + tbody > tr:first-child { |
| /* [[Template:Collapsible list]] */
| | display: none; |
| div.NavFrame {
| |
| margin: 0;
| |
| padding: 4px;
| |
| border: 1px solid #aaa;
| |
| text-align: center;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| } | | } |
|
| |
|
| div.NavFrame + div.NavFrame {
| | /* Improve ASIRRA styling */ |
| border-top-style: none;
| | #asirra_InstructionsTextId { |
| border-top-style: hidden;
| | display: none; |
| } | | } |
| | | #AsirraDiv { |
| div.NavPic {
| | margin-bottom: 10px; |
| background-color: #fff;
| |
| margin: 0;
| |
| padding: 2px;
| |
| /* @noflip */
| |
| float: left;
| |
| } | | } |
|
| |
|
| div.NavFrame div.NavHead {
| | /* Turn a list into a tree view style (See [[.minecraft]]) */ |
| height: 1.6em;
| | .treeview { |
| font-weight: bold;
| | margin-top: 0.3em; |
| background-color: #ccf;
| |
| position: relative;
| |
| } | | } |
|
| |
|
| div.NavFrame p,
| | .treeview ul, |
| div.NavFrame div.NavContent,
| | .treeview li { |
| div.NavFrame div.NavContent p {
| | margin: 0; |
| font-size: 100%;
| | padding: 0; |
| | list-style-type: none; |
| | list-style-image: none; |
| } | | } |
|
| |
|
| div.NavEnd {
| | .treeview li { |
| margin: 0;
| | display: table; |
| padding: 0;
| |
| line-height: 1px;
| |
| clear: both;
| |
| } | | } |
|
| |
|
| a.NavToggle {
| | .treeview li li { |
| position: absolute;
| | position: relative; |
| top: 0;
| | padding-left: 13px; |
| /* @noflip */
| | margin-left: 7px; |
| right: 3px;
| | border-left: 1px solid #636363; |
| font-weight: normal;
| |
| font-size: 90%;
| |
| } | | } |
| | | .treeview li li:before { |
| /* Highlight the mention "updated since my last visit" in pages' history */
| | content: ""; |
| span.updatedmarker {
| | position: absolute; |
| font-weight: bold;
| | top: 0; |
| color: #080;
| | left: 0; |
| | width: 11px; |
| | height: 11px; |
| | border-bottom: 1px solid #636363; |
| } | | } |
|
| |
|
| /**
| | .treeview li li.first:before { |
| * Style for horizontal lists (separator following item).
| | border-color: #636363; |
| * @source mediawiki.org/wiki/Snippets/Horizontal_lists
| | border-style: solid; |
| * @revision 3.1 (2013-01-16)
| | border-width: 1px 0 0 1px; |
| * @author [[User:Edokter]]
| | height: 100%; |
| * imported by [[User:Billinghurst]] 2013-01-27
| | margin-top: 11px; |
| */
| | width: 10px; |
| .skin-monobook .hlist dl,
| |
| .skin-modern .hlist dl,
| |
| .skin-vector .hlist dl {
| |
| line-height: 1.5em;
| |
| } | | } |
| .hlist dl, | | .treeview li li.first, |
| .hlist ol, | | .treeview li li:last-child { |
| .hlist ul { | | border: 0; |
| margin: 0;
| | padding-left: 14px; |
| padding: 0;
| |
| } | | } |
| /* Display list items inline and make them nowrap */
| | .treeview li li:last-child:before { |
| .hlist dd, | | border-left: 1px solid #636363; |
| .hlist dt,
| | width: 10px; |
| .hlist li {
| |
| margin: 0;
| |
| display: inline;
| |
| white-space: nowrap;
| |
| } | | } |
| /* Allow wrapping for list items (in tight spaces) */ | | |
| .hlist.hwrap dd, | | /* Simulate link styling for JS only links */ |
| .hlist.hwrap dt,
| | .jslink { |
| .hlist.hwrap li {
| | color: #0645AD; |
| white-space: normal;
| | -webkit-user-select: none; |
| | -moz-user-select: none; |
| | -ms-user-select: none; |
| } | | } |
| /* Display nested lists inline and allow them to wrap */
| | .jslink:hover { |
| .hlist dl dl, .hlist dl ol, .hlist dl ul, | | text-decoration: underline; |
| .hlist ol dl, .hlist ol ol, .hlist ol ul,
| | cursor: pointer; |
| .hlist ul dl, .hlist ul ol, .hlist ul ul {
| |
| display: inline;
| |
| white-space: normal;
| |
| } | | } |
| /* Generate interpuncts */
| | .jslink:active { |
| .hlist dt:after { | | color: #FAA700; |
| content: ":";
| |
| } | | } |
| .hlist dd:after,
| | |
| .hlist li:after {
| | /* Improve styling of sub-categories */ |
| content: " ·";
| | #mw-subcategories ul { |
| font-weight: bold;
| | list-style-type: none; |
| | margin-left: 10px; |
| } | | } |
| .hlist dd:last-child:after, | | |
| .hlist dt:last-child:after, | | /* Use vector style arrows for enhanced rc instead of those ones from like 2003 */ |
| .hlist li:last-child:after {
| | .mw-enhancedchanges-arrow.mw-collapsible-toggle-expanded { |
| content: none; | | background-image: url(/extensions/Vector/modules/images/open.svg); |
| } | | } |
| /* For IE8 */
| | .mw-enhancedchanges-arrow.mw-collapsible-toggle-collapsed { |
| .hlist dd.hlist-last-child:after,
| | background-image: url(/extensions/Vector/modules/images/closed-ltr.svg); |
| .hlist dt.hlist-last-child:after, | |
| .hlist li.hlist-last-child:after {
| |
| content: none; | |
| } | | } |
| /* Add parentheses around nested lists */ | | |
| .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, | | /* Horizontal list */ |
| .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
| | .hlist ul { |
| .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
| | display: inline; |
| content: "(";
| | margin: 0; |
| font-weight: normal;
| |
| } | | } |
| .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, | | .hlist li { |
| .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
| | display: inline-block; |
| .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
| | margin: 0; |
| content: ")";
| | white-space: nowrap; |
| font-weight: normal;
| |
| } | | } |
| /* For IE8 */
| | .hlist li:not(:last-child) { |
| .hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
| | padding-right: 0.313em; |
| .hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
| |
| .hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
| |
| content: ")";
| |
| font-weight: normal;
| |
| } | | } |
| /* Put numbers in front of ordered list items */
| | .hlist li:not(:last-child):after { |
| .hlist.hnum ol { | | content: ""; |
| counter-reset: list-item;
| | display: inline-block; |
| | position: relative; |
| | left: 0.313em; |
| | bottom: 0.234em; |
| | background-color: #000; |
| | height: 3px; |
| | width: 3px; |
| } | | } |
| .hlist.hnum ol > li { | | .hlist li > ul li:first-child:before { |
| counter-increment: list-item;
| | content: "("; |
| } | | } |
| .hlist.hnum ol > li:before { | | .hlist li > ul li:last-child:after { |
| content: counter(list-item) " ";
| | content: ")"; |
| | margin-right: -0.313em; |
| } | | } |
| .hlist.hnum dd ol > li:first-child:before, | | .hlist li li li { |
| .hlist.hnum dt ol > li:first-child:before,
| | font-size: x-small; |
| .hlist.hnum li ol > li:first-child:before {
| |
| content: "(" counter(list-item) " ";
| |
| } | | } |
| /* end hlist */
| |
|
| |
|
| /* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size. | | /* Generic styling for animation class */ |
| [[Bugzilla:26204]]. See also [[en:Wikipedia:Typography#The monospace 'bug']]
| | .animated > *:not(.active):not(.skip), |
| Imported from en.wikipedia March 25, 2013 */
| | .paused > *:not(.active):not(.skip) { |
| div.mw-geshi div,
| | display: none; |
| div.mw-geshi div pre,
| |
| span.mw-geshi,
| |
| pre.source-css,
| |
| pre.source-javascript,
| |
| pre.source-lua {
| |
| font-family: monospace, Courier !important;
| |
| } | | } |
|
| |
|
| /* Hatnotes */ | | /* Generic nowrap class */ |
| .rellink, | | .nowrap { |
| .dablink {
| | white-space: nowrap; |
| font-style: italic;
| |
| /* @noflip */
| |
| padding-left: 1.6em;
| |
| margin-bottom: 0.5em;
| |
| }
| |
| .rellink i,
| |
| .dablink i {
| |
| font-style: normal;
| |
| } | | } |
|
| |
|
| /* Fix word wrapping in translation proofreading. | | /* Hide noscript only elements */ |
| Can be removed when the following commit is deployed:
| | .noscript { |
| https://gerrit.wikimedia.org/r/#/c/57473/ */
| | display: none; |
| .tux-proofread-source, | |
| .tux-proofread-translation {
| |
| word-wrap: break-word; | |
| } | | } |
|
| |
|
| /* Fix word wrapping in page mode translation. | | /* Try to use nearest neighbour scaling for pixelated images */ |
| Can be removed when the following commit is deployed:
| | .pixel-image, |
| https://gerrit.wikimedia.org/r/#/c/57493/ */
| | .grid, |
| .tux-pagemode-source,
| | .sprite { |
| .tux-pagemode-translation {
| | image-rendering: -moz-crisp-edges; |
| word-wrap: break-word; | | image-rendering: -o-crisp-edges; |
| | image-rendering: -webkit-optimize-contrast; |
| | -ms-interpolation-mode: nearest-neighbor; |
| } | | } |
|
| |
|
| /* Language-specific logos */ | | /* Cite text needs to be a block element, but should display inline */ |
| | | .references > li { |
| :lang(sk) #p-logo a {
| | white-space: nowrap; |
| background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Wikidata-logo-sk.svg/156px-Wikidata-logo-sk.svg.png) !important; | |
| } | | } |
| | | div.cite-reference-text { |
| :lang(bn) #p-logo a { | | display: inline; |
| background-image: url(//upload.wikimedia.org/wikipedia/commons/b/ba/Wikidata-logo-bn-156px.png) !important; | | vertical-align: top; |
| | white-space: normal; |
| } | | } |
|
| |
|
| | | /* Add [[File:Mojang logo.svg]] to known MC dev userlinks: [[File:Mojang logo.svg]] */ |
| /** | | .mw-userlink[title="User:Jeb"], |
| * Styles used in [[Template:Tree]]
| | .mw-userlink[title="User:Dinnerbone"], |
| */
| | .mw-userlink[title="User:MarcWatson"] { |
| .treeview ul { | | padding-left: 17px; |
| padding: 0;
| | background: url(http://www.mundo-minecraft.com/wp-content/uploads/2014/04/14px-Mojang_logo.svg_.png) no-repeat left center; |
| margin: 0;
| |
| } | | } |
|
| |
|
| .treeview li { | | /* Mark internal links as plain */ |
| padding: 0;
| | #content a.external[href^="http://wikiminecraft.es"] { |
| margin: 0;
| | background: none; |
| list-style-type: none;
| | padding-right: 0; |
| list-style-image: none;
| |
| zoom: 1; /* BE KIND TO IE6 */
| |
| } | | } |
|
| |
|
| .treeview li li {
| | /* Make tabs the correct size */ |
| background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
| | * { |
| padding-left: 20px;
| | -moz-tab-size: 4; |
| text-indent: 0.3em;
| | -o-tab-size: 4; |
| | tab-size: 4; |
| } | | } |
|
| |
|
| .treeview li li.lastline { | | /* Remove bullets/numbers from a list */ |
| background-position: 0 -5971px
| | .list-style-none ul, |
| | .list-style-none ol { |
| | list-style: none; |
| | margin-left: 0; |
| } | | } |
|
| |
|
| .mcwiki-header,#curse-panel
| | /* Classes corresponding to Minecraft formatting codes */ |
| | | .format-0 { |
| /* [[Template:Infobox]], [[Template:Infobox row]] */ | | color: #000; |
| .notaninfobox { | | text-shadow: 0.125em 0.125em 0 #000; |
| clear: right;
| |
| margin: 0px 0px 1em 1em;
| |
| width: 300px;
| |
| font-size: 90%;
| |
| background: none repeat scroll 0% 0% #FFF;
| |
| float: right;
| |
| border: 1px solid #CCC;
| |
| padding: 2px;
| |
| overflow: auto;
| |
| } | | } |
| | | .format-1 { |
| | | color: #00A; |
| | | text-shadow: 0.125em 0.125em 0 #00002A; |
| .infobox-title { | |
| font-weight: bold; | |
| text-align: center; | |
| font-size: 120%;
| |
| } | | } |
| | | .format-2 { |
| .infobox-imagearea { | | color: #0A0; |
| text-align: center; | | text-shadow: 0.125em 0.125em 0 #002A00; |
| padding: 4px; | |
| } | | } |
| .infobox-imagearea > div:not(:first-child) { | | .format-3 { |
| padding-top: 1em; | | color: #0AA; |
| | text-shadow: 0.125em 0.125em 0 #002A2A; |
| } | | } |
| | | .format-4 { |
| .infobox-rows { | | color: #A00; |
| width: 100%; | | text-shadow: 0.125em 0.125em 0 #2A0000; |
| } | | } |
| .infobox-rows > tbody > tr > th { | | .format-5 { |
| text-align: left; | | color: #A0A; |
| white-space: nowrap; | | text-shadow: 0.125em 0.125em 0 #A200A2; |
| } | | } |
| .infobox-rows p { | | .format-6 { |
| margin: 0; | | color: #FA0; |
| | text-shadow: 0.125em 0.125em 0 #2A2A00; |
| } | | } |
| .infobox-rows audio { | | .format-7 { |
| width: 184px; | | color: #AAA; |
| | text-shadow: 0.125em 0.125em 0 #2A2A2A; |
| } | | } |
| /* Merge adjacent dls in the infobox (since they're usually supposed to be one, but the wiki screws up sometimes) */
| | .format-8 { |
| .infobox-rows dl + dl { | | color: #555; |
| margin-top: -0.4em; | | text-shadow: 0.125em 0.125em 0 #151515; |
| } | | } |
| .infobox-rows dl:last-child { | | .format-9 { |
| margin-bottom: 0.2em; | | color: #55F; |
| | text-shadow: 0.125em 0.125em 0 #15153F; |
| } | | } |
| | | .format-a { |
| .infobox-footer { | | color: #5F5; |
| text-align: center; | | text-shadow: 0.125em 0.125em 0 #153F15; |
| } | | } |
| /* [[Template:Grid]]: [[File:Grid Unknown.png]] */
| | .format-b { |
| .grid {
| | color: #5FF; |
| position: relative;
| | text-shadow: 0.125em 0.125em 0 #153F3F; |
| display: inline-block;
| |
| font-size: 16px;
| |
| text-align: center !important;
| |
| background-color: #8B8B8B;
| |
| border-width: 2px;
| |
| border-style: solid;
| |
| border-color: #373737 #FFF #FFF #373737;
| |
| -moz-border-top-colors: none;
| |
| -moz-border-right-colors: none;
| |
| -moz-border-bottom-colors: none;
| |
| -moz-border-left-colors: none;
| |
| border-image: none;
| |
| width: 2em;
| |
| height: 2em;
| |
| vertical-align: bottom;
| |
| } | | } |
| .grid.output { | | .format-c { |
| font-size: 24px; | | color: #F55; |
| | text-shadow: 0.125em 0.125em 0 #3F1515; |
| } | | } |
| | | .format-d { |
| .grid:before, | | color: #F5F; |
| .grid:after {
| | text-shadow: 0.125em 0.125em 0 #3F153F; |
| content: ""; | |
| position: absolute;
| |
| background-color: #8B8B8B;
| |
| height: 2px; | |
| width: 2px;
| |
| pointer-events: none;
| |
| } | | } |
| .grid:before { | | .format-e { |
| bottom: -2px; | | color: #FF5; |
| left: -2px; | | text-shadow: 0.125em 0.125em 0 #3F3F15; |
| } | | } |
| .grid:after { | | .format-l { |
| top: -2px; | | font-weight: bold; |
| right: -2px; | | letter-spacing: 0.125em; |
| } | | } |
| | | .format-m { |
| .grid img { | | text-decoration: line-through; |
| padding: 2px; | |
| } | | } |
|
| | .format-n { |
| .grid > .item,
| | text-decoration: underline; |
| .grid > .default-item {
| |
| position: absolute; | |
| margin: -18px 0 0 -18px;
| |
| top: 1em;
| |
| left: 1em;
| |
| } | | } |
| .grid > .item > a.new { | | .format-o { |
| display: block; | | font-style: italic; |
| width: 32px;
| |
| height: 32px;
| |
| padding: 2px;
| |
| text-indent: -9999px;
| |
| overflow: hidden;
| |
| } | | } |
|
| | |
| .grid > .item > .number {
| | /* Styling for minecraft style tooltip */ |
| position: absolute; | | #minetip-tooltip { |
| right: 0; | | position: fixed; |
| bottom: 0; | | background-color: rgba(16, 0, 16, 0.94); |
| | border-top: 0.125em solid rgba(80, 0, 255, 0.31); |
| | border-bottom: 0.125em solid rgba(40, 0, 127, 0.31); |
| | color: #FFF; |
| | padding: 0.125em 0.25em; |
| font-family: Minecraft; | | font-family: Minecraft; |
| font-size: 16px; | | font-size: 16px; |
| font-weight: normal; | | white-space: nowrap; |
| line-height: 16px;
| |
| color: #FFF;
| |
| pointer-events: none; | | pointer-events: none; |
| text-shadow: 2px 2px 0 #3F3F3F; | | line-height: 1.25em; |
| filter: dropshadow(color=#3F3F3F, offx=2, offy=2); | | text-shadow: 0.125em 0.125em 0 #3F3F3F; |
| z-index: 6; | | margin: 0.25em 0.375em; |
| | z-index: 100; |
| } | | } |
| .grid > .item > .number > a { | | #minetip-tooltip:before { |
| color: #FFF; | | content: ""; |
| text-decoration: none; | | position: absolute; |
| | top: -0.25em; |
| | right: -0.125em; |
| | bottom: -0.25em; |
| | left: -0.125em; |
| | border: 0.125em solid rgba(16, 0, 16, 0.94); |
| } | | } |
| .grid > .item > .number > .selflink { | | #minetip-tooltip:after { |
| font-weight: normal; | | content: ""; |
| | position: absolute; |
| | top: -0.125em; |
| | right: -0.25em; |
| | bottom: -0.125em; |
| | left: -0.25em; |
| | background-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)), -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)); |
| | background-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)), linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)); |
| | background-size: 0.125em 100%; |
| | background-repeat: no-repeat; |
| | background-position: left, right; |
| | border: solid rgba(16, 0, 16, 0.94); |
| | border-width: 0 0.125em; |
| } | | } |
| .grid > .item > a.new + .number {
| | |
| display: none; | | #minetip-tooltip > .description { |
| | display: block; |
| | margin-top: 0.25em; |
| } | | } |
|
| |
|
| /* Plain grid with no border or background */ | | /* Hide step-by-step publishing as it's broken */ |
| .grid.plain { | | .wikiEditor-ui-buttons { |
| background-color: transparent;
| | display: none !important; |
| border: 0;
| |
| }
| |
| .grid.plain:before,
| |
| .grid.plain:after {
| |
| content: none; | |
| } | | } |
|
| |
|
| /* Generic grid layout styling */ | | /* Fix wikiEditor spacing */ |
| .grid-Crafting_Table,
| | #upload_container { |
| .grid-Furnace,
| | margin-top: -1px; |
| .grid-Brewing_Stand table,
| |
| .grid-generic {
| |
| background: #C6C6C6; | |
| border: outset 2px #999;
| |
| padding: 6px;
| |
| text-align: left !important;
| |
| } | | } |
| .grid-Crafting_Table td,
| | #upload_div { |
| .grid-Furnace td,
| | margin: 0; |
| .grid-Brewing_Stand td,
| | width: auto; |
| .grid-generic td {
| | border-width: 1px 0; |
| border: none; | | box-shadow: none; |
| padding: 0; | |
| } | | } |
|
| |
|
| /* [[Template:Grid/Crafting Table]] */
| | .wikiEditor-ui-top { |
| .grid-Crafting_Table .arrow, | | border: 0 !important; |
| .grid-Crafting_Table .shapeless {
| |
| text-align: center; | |
| vertical-align: bottom;
| |
| } | | } |
| | | .wikiEditor-ui-toolbar { |
| .grid-Crafting_Table .arrow { | | border-bottom: 1px solid silver; |
| width: 40px; | |
| padding-bottom: 5px;
| |
| } | | } |
|
| |
|
| .grid-Crafting_Table .shapeless span {
| | /* Fix social icons and promos in portlets */ |
| cursor: help; | | #mw-panel #p-sitePromos, |
| | #mw-panel #p-socialProfiles { |
| | margin: -11px 9px 10px 11px !important; |
| } | | } |
|
| |
|
| /* [[Template:Grid/Furnace]] */
| | #mw-panel #p-sitePromos .body, |
| .grid-Furnace { | | #mw-panel #p-socialProfiles .body { |
| padding-left: 24px; | | margin-left: 0 !important; |
| padding-right: 24px; | | padding: 4px 0; |
| } | | } |
|
| |
|
| .grid-Furnace .arrow,
| | #mw-panel .socialSidebar { |
| .grid-Furnace .output {
| | text-align: left; |
| text-align: center; | |
| vertical-align: middle;
| |
| } | | } |
|
| |
|
| .grid-Furnace .arrow {
| | #mw-panel .socialLink { |
| padding-right: 18px !important; | | margin: 0 4px 0 0; |
| padding-left: 14px !important;
| |
| } | | } |
|
| |
|
| /* [[Template:Grid/Brewing Stand]] */ | | /* Move the portlets up */ |
| .grid-Brewing_Stand {
| | #p-logo { |
| position: relative; | | margin-bottom: 0; |
| width: 144px;
| |
| } | | } |
|
| |
|
| .grid-Brewing_Stand .bubbles {
| | /* Keep promo images within the sidebar */ |
| text-align: right; | | #mw-panel .promoSidebar img { |
| | width: 140px; |
| } | | } |
|
| |
|
| .grid-Brewing_Stand .input { | | /* Fix enhanced RC spacing */ |
| padding: 3px 0 !important;
| | .mw-enhancedchanges-arrow-space { |
| vertical-align: top; | | 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 { | | /* Remove on MW1.22: Make notifications fixed, so they're always visible */ |
| position: absolute; | | #mw-notification-area { |
| bottom: 42px; | | position: fixed; |
| left: 42px;
| | top: 2.5em; |
| z-index: 5;
| |
| } | | } |
|
| |
|
| /* [[Template:Grid/Hotbar]] */ | | /* Only show content on mobile version */ |
| .grid-Hotbar { | | .mobileonly { |
| display: inline-block; | | display: none; |
| position: relative;
| |
| border: 0;
| |
| padding: 0;
| |
| background-color: transparent;
| |
| }
| |
| .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;
| |
| }
| |
| | |
| /* [[Template:Navbox]] */
| |
| .navbox {
| |
| background: #FFF;
| |
| border: 1px solid #CCC;
| |
| margin: 1em auto 0;
| |
| clear: both;
| |
| width: 100%;
| |
| } | | } |