|
|
| Línea 1: |
Línea 1: |
| /* El CSS colocado en esta página será aplicado a todas las apariencias */ | | /** Re-styles the vector skin to look similar to the http://www.minecraftforum.net skin **/ |
| /** | |
| * Wikidata - MediaWiki:Common.css
| |
| *
| |
| * Stylesheets placed here will be applied to all skins.
| |
| */
| |
|
| |
|
| | | /* Give the background the initial stone texture: [[File:Background.png]] */ |
| /****************************** | | body { |
| * Global styles
| | background-color: #202020; |
| ******************************/
| | background-image: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/2/26/Background.png); |
| /* Default fonts like locale wikipedia*/
| |
| html[lang=fa] body, [lang=fa], html[lang=ckb] body, [lang=ckb] {
| |
| font-family: Tahoma, 'Iranian Sans', 'DejaVu Sans', sans-serif;
| |
| }
| |
| body{ | |
| background-color: #FFFFFF; | |
| }
| |
| | |
| | |
| /****************************** | |
| * Styles for templates
| |
| ******************************/
| |
| | |
| /**
| |
| * [[Template:Welcome]]
| |
| *
| |
| * @author [[User:Hydriz]], [[User:Danny B.]]
| |
| * @maintainer [[User:Danny B.]]
| |
| */
| |
| | |
| div.welcome {
| |
| border: medium solid #ccc;
| |
| padding: .3em .6em;
| |
| } | | } |
|
| |
|
| div.welcome strong {
| | /* Add the grass block background: [[File:Header-background-altsearch.png]] [[File:Clouds-distance2.png]] */ |
| background-color: #fff; | | #mw-page-base { |
| color: #285; | | background-color: #8DBDE9; |
| font-size: large; | | background-image: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/2/2c/Header-background-altsearch.png); |
| | height: 146px; |
| | margin-bottom: -142px; |
| } | | } |
|
| |
|
| | | div#mw-head { |
| /****************************** | | background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/a/ad/Clouds-distance2.png) right 6px repeat-x; |
| * Styles for certain pages
| | margin-right: 10px; |
| ******************************/
| | z-index: 1; |
| | |
| /**
| |
| * Hide title on main pages, village pumps and project chats
| |
| *
| |
| * @author
| |
| * @maintainer
| |
| */
| |
| | |
| .page-Wikidata_Accueil_principal.action-view .firstHeading,
| |
| .page-Wikidata_Bar.action-view .firstHeading, | |
| .page-Wikidata_Bosh_sahifa.action-view .firstHeading,
| |
| .page-Wikidata_Café.action-view .firstHeading,
| |
| .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;
| |
| } | | } |
|
| |
|
| /** | | /* Set the outer content link colours to light gray and white */ |
| ** Messagebox templates | | #mw-panel *:not(h5) > a:not(:hover):not(:focus), |
| ** Imported from [[en: MediaWiki:Common.css]] on 2012-11-24
| | #footer a:not(:hover):not(:focus) { |
| **/
| | color: #BFBFBF !important; |
| .messagebox {
| |
| border: 1px solid #aaa;
| |
| background-color: #f9f9f9;
| |
| width: 80%;
| |
| margin: 0 auto 1em auto;
| |
| padding: .2em;
| |
| } | | } |
| .messagebox.merge {
| | #mw-panel h5, |
| border: 1px solid #c0b8cc;
| | #mw-panel a, |
| background-color: #f0e5ff;
| | #footer li, |
| text-align: center;
| | #footer a { |
| | color: #FFF !important; |
| } | | } |
| .messagebox.cleanup {
| | #mw-panel h5 { |
| border: 1px solid #9f9fff;
| | text-decoration: none !important; |
| background-color: #efefff;
| |
| text-align: center;
| |
| } | | } |
| .messagebox.standard-talk {
| | |
| border: 1px solid #c0c090;
| | /* Set the tab link colours to black and bold */ |
| background-color: #f8eaba;
| | #left-navigation a, |
| margin: 4px auto;
| | #right-navigation #p-views a, |
| | div#mw-head div.vectorMenu h4 { |
| | font-weight: bold; |
| | text-decoration: none; |
| } | | } |
| /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ | | /* Use black links */ |
| th.mbox-text, td.mbox-text { /* The message body cell(s) */
| | #left-navigation a, |
| border: none;
| | #right-navigation #p-views a, |
| /* @noflip */
| | div#mw-head div.vectorMenu h4 { |
| padding: 0.25em 0.9em; /* 0.9em left/right */
| | color: #000; |
| width: 100%; /* Make all mboxes the same width regardless of text length */
| |
| } | | } |
| td.mbox-image { /* The left image cell */
| | #left-navigation .new a, |
| border: none;
| | #right-navigation #p-views .new a { |
| /* @noflip */
| | color: #BA0000; |
| padding: 2px 3px 2px 0.9em; /* 0.9em left, 0px right */
| |
| text-align: center;
| |
| }
| |
| td.mbox-imageright { /* The right image cell */
| |
| border: none;
| |
| /* @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;
| |
| padding: 0px;
| |
| width: 1px;
| |
| } | | } |
|
| |
|
| /* Article message box styles */ | | /* Position the tabs */ |
| table.ambox {
| | #left-navigation { |
| margin: 0px 10%; /* 10% = Will not overlap with other elements */
| | top: 53px; |
| border: 1px solid #aaa;
| | margin-left: 10px; |
| /* @noflip */
| |
| border-left: 10px solid #1e90ff; /* Default "notice" blue */
| |
| background: #fbfbfb;
| |
| }
| |
| table.ambox + table.ambox { /* Single border between stacked boxes. */
| |
| margin-top: -1px;
| |
| }
| |
| .ambox th.mbox-text,
| |
| .ambox td.mbox-text { /* The message body cell(s) */
| |
| padding: 0.25em 0.5em; /* 0.5em left/right */
| |
| }
| |
| .ambox td.mbox-image { /* The left image cell */
| |
| /* @noflip */
| |
| padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
| |
| }
| |
| .ambox td.mbox-imageright { /* The right image cell */
| |
| /* @noflip */
| |
| padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
| |
| } | | } |
|
| |
|
| table.ambox-notice {
| | #right-navigation { |
| /* @noflip */
| | margin-top: 53px; |
| border-left: 10px solid #1e90ff; /* Blue */
| |
| }
| |
| table.ambox-speedy {
| |
| /* @noflip */
| |
| border-left: 10px solid #b22222; /* Red */
| |
| background: #fee; /* Pink */
| |
| }
| |
| table.ambox-delete {
| |
| /* @noflip */
| |
| border-left: 10px solid #b22222; /* Red */
| |
| }
| |
| table.ambox-content {
| |
| /* @noflip */
| |
| border-left: 10px solid #f28500; /* Orange */
| |
| }
| |
| table.ambox-style {
| |
| /* @noflip */
| |
| border-left: 10px solid #f4c430; /* Yellow */
| |
| }
| |
| table.ambox-move {
| |
| /* @noflip */
| |
| border-left: 10px solid #9932cc; /* Purple */
| |
| }
| |
| table.ambox-protection {
| |
| /* @noflip */
| |
| border-left: 10px solid #bba; /* Gray-gold */
| |
| } | | } |
|
| |
|
| /* Image message box styles */ | | /* Give the tabs the grass block styling: [[File:Vector-tabs.png]] [[File:Vector-tabs-first.png]] */ |
| table.imbox {
| | div.vectorTabs, |
| margin: 4px 10%;
| | div.vectorMenu, |
| border-collapse: collapse;
| | div.vectorMenu h5 a { |
| border: 3px solid #1e90ff; /* Default "notice" blue */
| | padding: 0; |
| background: #fbfbfb;
| | height: 36px; |
| } | | } |
| .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ | | .vectorTabs ul, |
| margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
| | .vectorTabs li, |
| display: block; /* Fix for webkit to force 100% width. */
| | .vectorMenu h5 a { |
| | background: none !important; |
| } | | } |
| .mbox-inside .imbox { /* For imboxes inside other templates. */ | | .vectorTabs li > span, |
| margin: 4px;
| | .vectorMenu { |
| | margin-right: 8px; |
| } | | } |
|
| |
|
| table.imbox-notice {
| | .vectorTabs li a, |
| border: 3px solid #1e90ff; /* Blue */
| | .vectorTabs li a:before, |
| }
| | div.vectorMenu, |
| table.imbox-speedy {
| | .vectorMenu:before { |
| border: 3px solid #b22222; /* Red */
| | background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/1/1a/Vector-tabs.png) no-repeat; |
| background: #fee; /* Pink */
| |
| }
| |
| table.imbox-delete {
| |
| border: 3px solid #b22222; /* Red */
| |
| } | | } |
| table.imbox-content {
| | div.vectorTabs li a, |
| border: 3px solid #f28500; /* Orange */
| | div.vectorMenu { |
| | position: relative; |
| | background-position: right top; |
| } | | } |
| table.imbox-style {
| | div.vectorTabs li a { |
| border: 3px solid #f4c430; /* Yellow */
| | padding: 15px 14px 0 20px; |
| | height: 21px; |
| } | | } |
| table.imbox-move {
| | .vectorTabs li.selected a, |
| border: 3px solid #9932cc; /* Purple */
| | .vectorTabs li a:hover, |
| | .vectorTabs li a:focus, |
| | .vectorMenu:hover, |
| | .vectorMenu:focus { |
| | background-position: right bottom; |
| } | | } |
| table.imbox-protection {
| | .vectorTabs li a:before, |
| border: 3px solid #bba; /* Gray-gold */
| | .vectorMenu:before { |
| }
| | content: ""; |
| table.imbox-license {
| | position: absolute; |
| border: 3px solid #88a; /* Dark gray */
| | top: 0; |
| background: #f7f8ff; /* Light gray */
| | left: 0; |
| }
| | width: 6px; |
| table.imbox-featured {
| | height: 36px; |
| border: 3px solid #cba135; /* Brown-gold */
| | pointer-events: none; |
| } | | } |
|
| |
|
| /* Category message box styles */
| | div.vectorMenu div.menu { |
| table.cmbox {
| | position: absolute; |
| margin: 3px 10%;
| | left: 6px; |
| border-collapse: collapse;
| | bottom: 0; |
| border: 1px solid #aaa;
| |
| background: #DFE8FF; /* Default "notice" blue */
| |
| } | | } |
| | | div.vectorMenu ul { |
| table.cmbox-notice {
| | background-color: #E6EFF4; |
| background: #D8E8FF; /* Blue */
| |
| }
| |
| table.cmbox-speedy {
| |
| margin-top: 4px;
| |
| margin-bottom: 4px;
| |
| border: 4px solid #b22222; /* Red */
| |
| background: #FFDBDB; /* Pink */
| |
| }
| |
| table.cmbox-delete {
| |
| background: #FFDBDB; /* Red */
| |
| } | | } |
| table.cmbox-content {
| | div#mw-head div.vectorMenu h4 { |
| background: #FFE7CE; /* Orange */
| | margin: 16px 0 0 20px; |
| | padding: 0; |
| } | | } |
| table.cmbox-style {
| | div#mw-head div.vectorMenu h5 { |
| background: #FFF9DB; /* Yellow */
| | background: url(/extensions/Vector/modules/images/open.svg) center no-repeat; |
| | margin: 16px 7px 0 13px; |
| | width: 24px; |
| | height: 16px; |
| } | | } |
| table.cmbox-move {
| | div#mw-head div.vectorMenu h4 + h5 { |
| background: #E4D8FF; /* Purple */
| | margin-left: 0; |
| }
| |
| table.cmbox-protection {
| |
| background: #EFEFE1; /* Gray-gold */
| |
| } | | } |
|
| |
|
| /* Other pages message box styles */
| | #left-navigation > .vectorTabs li:first-child a:before { |
| table.ombox {
| | background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/4/49/Vector-tabs-first.png); |
| margin: 4px 10%;
| | height: 93px; |
| border-collapse: collapse;
| |
| border: 1px solid #aaa; /* Default "notice" gray */
| |
| background: #f9f9f9;
| |
| } | | } |
|
| |
|
| table.ombox-notice {
| | /* Hide watch tab's text and put an icon in |
| border: 1px solid #aaa; /* Gray */
| | [[File:Watch-icons.png]] [[File:Watch.gif]] |
| | #ca-watch.icon a, |
| | #ca-unwatch.icon a { |
| | background-image: url("http://hydra-media.cursecdn.com/minecraft.gamepedia.com/c/ce/Watch-icons.png"); |
| | -webkit-background-clip: content-box; |
| | background-clip: content-box; |
| } | | } |
| table.ombox-speedy {
| | #ca-watch.icon a, |
| border: 2px solid #b22222; /* Red */
| | #ca-watch.icon a:focus { |
| background: #fee; /* Pink */
| | background-position: 13px 15px; |
| } | | } |
| table.ombox-delete {
| | #ca-unwatch.icon a, |
| border: 2px solid #b22222; /* Red */
| | #ca-unwatch.icon a:focus { |
| | background-position: -3px 15px; |
| } | | } |
| table.ombox-content {
| | #ca-watch.icon a:hover { |
| border: 1px solid #f28500; /* Orange */
| | background-position: 13px -1px; |
| } | | } |
| table.ombox-style {
| | #ca-unwatch.icon a:hover { |
| border: 1px solid #f4c430; /* Yellow */
| | background-position: -3px -1px; |
| } | | } |
| table.ombox-move {
| | #ca-watch.icon a, |
| border: 1px solid #9932cc; /* Purple */
| | #ca-unwatch.icon a, |
| }
| | #ca-unwatch.icon a.loading, |
| table.ombox-protection {
| | #ca-watch.icon a.loading { |
| border: 2px solid #bba; /* Gray-gold */
| | text-indent: 40px; |
| | height: 16px; |
| | width: 16px; |
| | padding: 15px 14px 6px; |
| } | | } |
| | #ca-unwatch.icon a.loading, |
| | #ca-watch.icon a.loading { |
| | background-image: url("http://hydra-media.cursecdn.com/minecraft.gamepedia.com/4/49/Watch.gif"); |
| | background-position: 13px 15px; |
| | }*/ |
|
| |
|
| /* Talk page message box styles */ | | /* Only the simple search is styled, as there is no unique ids for the default search: [[File:Search-button.svg]] */ |
| table.tmbox {
| | #simpleSearch, |
| margin: 4px 10%;
| | #searchInput { |
| border-collapse: collapse;
| | -moz-box-sizing: border-box; |
| border: 1px solid #c0c090; /* Default "notice" gray-brown */
| | box-sizing: border-box; |
| 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 {
| | div#simpleSearch { |
| border: 2px solid #b22222; /* Red */
| | background-image: none; |
| background: #fee; /* Pink */
| | background-position: top right; |
| | background-repeat: no-repeat, repeat; |
| | background-color: rgba(0, 0, 0, 0.365); |
| | border: 0; |
| | border-right: 4px solid #538631; |
| | border-bottom: 4px solid #382314; |
| | margin: -11px 4px 0 0; |
| | padding: 0 4px 0 5px; |
| | height: 31px; |
| | width: 218px; |
| } | | } |
| table.tmbox-delete {
| | #simpleSearch:before { |
| border: 2px solid #b22222; /* Red */
| | content: ""; |
| | position: absolute; |
| | border-top: 4px solid rgba(0, 0, 0, 0.365); |
| | border-left: 4px solid transparent; |
| | top: 0; |
| | left: -4px; |
| } | | } |
| table.tmbox-content {
| | #simpleSearch:after { |
| border: 2px solid #f28500; /* Orange */
| | content: ""; |
| }
| | position: absolute; |
| table.tmbox-style {
| | border-top: 3px solid #B0B0B0; |
| border: 2px solid #f4c430; /* Yellow */
| | border-left: 3px solid #79553A; |
| }
| | bottom: 5px; |
| table.tmbox-move {
| | left: 5px; |
| border: 2px solid #9932cc; /* Purple */
| | z-index: 1; |
| }
| |
| table.tmbox-protection,
| |
| table.tmbox-notice {
| |
| border: 1px solid #c0c090; /* Gray-brown */
| |
| } | | } |
|
| |
|
| /* Footer and header message box styles */
| | div#simpleSearch input#searchInput { |
| table.fmbox {
| | position: relative; |
| clear: both;
| | border-top: 3px solid #E6E6E6; |
| margin: 0.2em 0;
| | border-left: 3px solid #B0B0B0; |
| width: 100%;
| | background-color: #D0CFCF; |
| border: 1px solid #aaa;
| | background-image: -webkit-linear-gradient(#C3C3C3, #DCDBDB); |
| background: #f9f9f9; /* Default "system" gray */
| | background-image: linear-gradient(#C3C3C3, #DCDBDB); |
| }
| | padding: 0 27px 0 3px; |
| table.fmbox-system {
| | top: -4px; |
| background: #f9f9f9;
| | width: 100%; |
| }
| | height: 26px; |
| table.fmbox-warning {
| |
| border: 1px solid #bb7070; /* Dark pink */
| |
| background: #ffdbdb; /* Pink */
| |
| }
| |
| table.fmbox-editnotice {
| |
| background: transparent;
| |
| } | | } |
|
| |
|
| /* Div based "warning" style fmbox messages. */ | | div#simpleSearch button#searchButton { |
| div.mw-warning-with-logexcerpt,
| | background: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/0/0e/Search-button.svg) center 8px no-repeat; |
| div.mw-lag-warn-high,
| | margin-top: -4px; |
| div.mw-cascadeprotectedwarning,
| | margin-right: 4px; |
| div#mw-protect-cascadeon {
| | padding: 0; |
| clear: both;
| | height: 26px; |
| margin: 0.2em 0;
| | width: 24px; |
| border: 1px solid #bb7070;
| |
| background: #ffdbdb;
| |
| padding: 0.25em 0.9em;
| |
| } | | } |
| /* Div based "system" style fmbox messages.
| | #simpleSearch button:before { |
| Used in [[MediaWiki:Readonly lag]]. */
| | content: ""; |
| div.mw-lag-warn-normal,
| | position: absolute; |
| div.fmbox-system {
| | border-top: 3px solid #80BA5A; |
| clear: both;
| | border-left: 3px solid #E6E6E6; |
| margin: 0.2em 0;
| | top: 0; |
| border: 1px solid #aaa;
| | right: 0; |
| background: #f9f9f9;
| |
| padding: 0.25em 0.9em;
| |
| } | | } |
| | | #simpleSearch button:after { |
| .mbox-image img {
| | content: ""; |
| max-width: none;
| | position: absolute; |
| | border-top: 4px solid #80BA5A; |
| | border-left: 4px solid #538631; |
| | top: 4px; |
| | right: -8px; |
| } | | } |
|
| |
|
| | | #simpleSearch button img { |
| /* Default style for navigation boxes */
| | display: none; |
| /* Revision of import is //en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=588108879 */
| |
| .navbox { /* Navbox container style */
| |
| border: 1px solid #fdfdfd;
| |
| width: 100%;
| |
| margin: auto;
| |
| clear: both;
| |
| font-size: 88%;
| |
| padding: 1px;
| |
| }
| |
| .navbox-inner,
| |
| .navbox-subgroup {
| |
| width: 100%;
| |
| }
| |
| .navbox-group,
| |
| .navbox-title,
| |
| .navbox-abovebelow {
| |
| padding: 0.25em 1em; /* Title, group and above/below styles */
| |
| line-height: 1.5em;
| |
| text-align: left;
| |
| }
| |
| th.navbox-group { /* Group style */
| |
| white-space: nowrap;
| |
| /* @noflip */
| |
| text-align: left;
| |
| }
| |
| .navbox,
| |
| .navbox-subgroup {
| |
| background: #fdfdfd; /* Background color */
| |
| }
| |
| .navbox-list {
| |
| line-height: 1.8em;
| |
| border-color: transparent; /* Must match background color */
| |
| }
| |
| .navbox th,
| |
| .navbox-title {
| |
| background: #cadda6; /* Level 1 color */
| |
| }
| |
| .navbox-abovebelow,
| |
| th.navbox-group,
| |
| .navbox-subgroup .navbox-title {
| |
| background: transparent; /* Level 2 color */
| |
| }
| |
| .navbox-subgroup .navbox-group,
| |
| .navbox-subgroup .navbox-abovebelow {
| |
| background: #ddddff; /* Level 3 color */
| |
| }
| |
| .navbox-even {
| |
| background: #f7f7f7; /* Even row striping */
| |
| }
| |
| .navbox-odd {
| |
| background: transparent; /* Odd row striping */
| |
| }
| |
| table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
| |
| margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
| |
| }
| |
| .navbox .hlist td dl,
| |
| .navbox .hlist td ol,
| |
| .navbox .hlist td ul,
| |
| .navbox td.hlist dl,
| |
| .navbox td.hlist ol,
| |
| .navbox td.hlist ul {
| |
| padding: 0.125em 0; /* Adjust hlist padding in navboxes */
| |
| }
| |
| ol + table.navbox,
| |
| ul + table.navbox {
| |
| margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
| |
| } | | } |
|
| |
|
| /* Default styling for Navbar template */ | | /* The suggestions shown under the search bar */ |
| .navbar { | | .suggestions.searchbar { |
| display: inline;
| | margin-top: -38px; |
| font-size: 88%;
| | margin-right: 7px; |
| font-weight: normal;
| |
| } | | } |
| .navbar ul { | | .suggestions.searchbar > * { |
| display: inline;
| | display: block; |
| white-space: nowrap;
| | margin-left: 14px; |
| } | | } |
| .navbar li { | | .suggestions.searchbar .suggestions-results, |
| word-spacing: -0.125em;
| | .suggestions.searchbar .suggestions-special { |
| | background-color: #DBDADA; |
| | border-color: #3C3B3B; |
| } | | } |
| .navbar.mini li span { | | .suggestions.searchbar .suggestions-result-current { |
| font-variant: small-caps;
| | background-color: highlight; |
| }
| |
| /* Navbar styling when nested in infobox and navbox */
| |
| .infobox .navbar { | |
| font-size: 100%;
| |
| }
| |
| .navbox .navbar {
| |
| display: block;
| |
| font-size: 100%;
| |
| }
| |
| .navbox-title .navbar {
| |
| /* @noflip */
| |
| float: left;
| |
| /* @noflip */
| |
| text-align: left;
| |
| /* @noflip */
| |
| margin-right: 0.5em;
| |
| width: 6em;
| |
| } | | } |
|
| |
|
| /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript | | /* Correct position of sidebar */ |
| in [[MediaWiki:Common.js]] are styled here so they can be customised. */
| | div#mw-panel { |
| .collapseButton {
| | margin-top: -180px; |
| /* @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. */
| |
| .navbox .collapseButton {
| |
| width: 6em;
| |
| } | | } |
|
| |
|
| /* Styling for JQuery makeCollapsible, matching that of collapseButton */ | | /* Replace divider with a similar image that has proper transparency: [[File:Panel-divider.png]] */ |
| .mw-collapsible-toggle {
| | #mw-panel.collapsible-nav div.portal { |
| font-weight: normal;
| | background-image: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/b/bf/Panel-divider.png); |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
| .navbox .mw-collapsible-toggle { | |
| width: 6em;
| |
| }
| |
| | |
| /* [[Template:Collapsible list]] */ | |
| div.NavFrame {
| |
| margin: 0;
| |
| padding: 4px;
| |
| border: 1px solid #aaa;
| |
| text-align: center;
| |
| border-collapse: collapse;
| |
| font-size: 95%;
| |
| } | | } |
|
| |
|
| div.NavFrame + div.NavFrame { | | /* Give the main content area its healthy blue glow and add a border and some margin to help with the 3D effect */ |
| border-top-style: none;
| | div#content { |
| border-top-style: hidden;
| | position: relative; |
| | background-color: #E6EFF4; |
| | border-top: 6px solid #B4BEC3; |
| | border-bottom: 0; |
| | border-left: 6px solid #171717; |
| | margin-right: 10px; |
| } | | } |
|
| |
|
| div.NavPic { | | /* Add the 3D corners to the main content */ |
| background-color: #fff;
| | div#content:before { |
| margin: 0;
| | content: ""; |
| padding: 2px;
| | position: absolute; |
| /* @noflip */
| | border-top: 6px solid #B9855C; |
| float: left;
| | 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 */ |
| div.NavFrame div.NavHead {
| | #footer { |
| height: 1.6em;
| | position: relative; |
| font-weight: bold;
| |
| background-color: #ccf;
| |
| position: relative;
| |
| } | | } |
| | | #footer:before { |
| div.NavFrame p,
| | content: ""; |
| div.NavFrame div.NavContent,
| | position: absolute; |
| div.NavFrame div.NavContent p {
| | border-top: 6px solid #171717; |
| font-size: 100%;
| | border-left: 6px solid #202020; |
| | top: -6px; |
| | left: 0; |
| } | | } |
|
| |
|
| div.NavEnd {
| | /* Use black bullet points, instead of blue circles: [[File:List bullet.svg]] */ |
| margin: 0;
| | ul { |
| padding: 0;
| | list-style-image: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/3/39/List_bullet.svg); |
| line-height: 1px;
| |
| clear: both;
| |
| } | | } |
|
| |
|
| a.NavToggle {
| | /* Various styling for message boxes, based on colours/styling from [[Template:Msgbox]] */ |
| position: absolute;
| | div.mw-warning-with-logexcerpt, |
| top: 0;
| | .errorbox { |
| /* @noflip */
| | background-color: #FCC; |
| right: 3px;
| | border: 2px solid #FAA; |
| font-weight: normal;
| |
| font-size: 90%;
| |
| }
| |
| | |
| /* Highlight the mention "updated since my last visit" in pages' history */
| |
| span.updatedmarker {
| |
| font-weight: bold;
| |
| color: #080;
| |
| } | | } |
| | | .warningbox { |
| /**
| | background-color: #FFC; |
| * Style for horizontal lists (separator following item).
| | border: 2px solid #FFA; |
| * @source mediawiki.org/wiki/Snippets/Horizontal_lists
| |
| * @revision 3.1 (2013-01-16)
| |
| * @author [[User:Edokter]]
| |
| * imported by [[User:Billinghurst]] 2013-01-27
| |
| */
| |
| .skin-monobook .hlist dl,
| |
| .skin-modern .hlist dl,
| |
| .skin-vector .hlist dl {
| |
| line-height: 1.5em;
| |
| } | | } |
| .hlist dl, | | .successbox { |
| .hlist ol,
| | background-color: #CFC; |
| .hlist ul {
| | border: 2px solid #AFA; |
| margin: 0;
| |
| padding: 0;
| |
| } | | } |
| /* Display list items inline and make them nowrap */
| | .successbox strong p { |
| .hlist dd, | | margin: 0; |
| .hlist dt,
| |
| .hlist li {
| |
| margin: 0;
| |
| display: inline;
| |
| white-space: nowrap;
| |
| } | | } |
| /* Allow wrapping for list items (in tight spaces) */
| | div.mw-warning-with-logexcerpt, |
| .hlist.hwrap dd,
| | .errorbox, |
| .hlist.hwrap dt,
| | .warningbox, |
| .hlist.hwrap li {
| | .successbox { |
| white-space: normal;
| | padding: 3px 12px; |
| }
| |
| /* Display nested lists inline and allow them to wrap */
| |
| .hlist dl dl, .hlist dl ol, .hlist dl ul,
| |
| .hlist ol dl, .hlist ol ol, .hlist ol ul,
| |
| .hlist ul dl, .hlist ul ol, .hlist ul ul {
| |
| display: inline;
| |
| white-space: normal;
| |
| }
| |
| /* Generate interpuncts */
| |
| .hlist dt:after {
| |
| content: ":";
| |
| }
| |
| .hlist dd:after,
| |
| .hlist li:after {
| |
| content: " ·";
| |
| font-weight: bold;
| |
| }
| |
| .hlist dd:last-child:after,
| |
| .hlist dt:last-child:after,
| |
| .hlist li:last-child:after {
| |
| content: none;
| |
| }
| |
| /* For IE8 */
| |
| .hlist dd.hlist-last-child:after,
| |
| .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,
| |
| .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
| |
| .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
| |
| content: "(";
| |
| font-weight: normal;
| |
| }
| |
| .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, | |
| .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, | |
| .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { | |
| content: ")";
| |
| font-weight: normal;
| |
| }
| |
| /* For IE8 */
| |
| .hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
| |
| .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.hnum ol {
| |
| counter-reset: list-item;
| |
| }
| |
| .hlist.hnum ol > li {
| |
| counter-increment: list-item;
| |
| }
| |
| .hlist.hnum ol > li:before {
| |
| content: counter(list-item) " ";
| |
| }
| |
| .hlist.hnum dd ol > li:first-child:before,
| |
| .hlist.hnum dt ol > li:first-child:before,
| |
| .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. | | /* Add white background to some areas */ |
| [[Bugzilla:26204]]. See also [[en:Wikipedia:Typography#The monospace 'bug']]
| | #asirra_ChallengeTableDiv { |
| Imported from en.wikipedia March 25, 2013 */
| | background-color: #FFF; |
| div.mw-geshi div,
| |
| div.mw-geshi div pre,
| |
| span.mw-geshi,
| |
| pre.source-css,
| |
| pre.source-javascript,
| |
| pre.source-lua {
| |
| font-family: monospace, Courier !important;
| |
| } | | } |
|
| |
|
| /* Hatnotes */ | | /* Fix diff area styling */ |
| .rellink, | | table.diff { |
| .dablink {
| | background-color: transparent; |
| font-style: italic;
| |
| /* @noflip */
| |
| padding-left: 1.6em;
| |
| margin-bottom: 0.5em;
| |
| } | | } |
| .rellink i, | | td.diff-addedline, |
| .dablink i { | | td.diff-deletedline { |
| font-style: normal;
| | background-color: #F9F9F9; |
| } | | } |
| | | td.diff-context { |
| /* Fix word wrapping in translation proofreading.
| | background-color: #F3F3F3; |
| Can be removed when the following commit is deployed:
| |
| https://gerrit.wikimedia.org/r/#/c/57473/ */
| |
| .tux-proofread-source,
| |
| .tux-proofread-translation {
| |
| word-wrap: break-word; | |
| } | | } |
| | | td.diff-addedline, |
| /* Fix word wrapping in page mode translation.
| | td.diff-deletedline, |
| Can be removed when the following commit is deployed:
| | td.diff-context, |
| https://gerrit.wikimedia.org/r/#/c/57493/ */
| | td.diff-addedline .diffchange, |
| .tux-pagemode-source, | | td.diff-deletedline .diffchange { |
| .tux-pagemode-translation { | | border-radius: 0; |
| word-wrap: break-word;
| |
| }
| |
| | |
| /* Language-specific logos */
| |
| | |
| :lang(sk) #p-logo a {
| |
| background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Wikidata-logo-sk.svg/156px-Wikidata-logo-sk.svg.png) !important;
| |
| }
| |
| | |
| :lang(bn) #p-logo a {
| |
| background-image: url(//upload.wikimedia.org/wikipedia/commons/b/ba/Wikidata-logo-bn-156px.png) !important; | |
| }
| |
| | |
| | |
| /**
| |
| * Styles used in [[Template:Tree]]
| |
| */
| |
| .treeview ul {
| |
| padding: 0;
| |
| margin: 0;
| |
| } | | } |
|
| |
|
| .treeview li {
| | /* Get rid of stupid white borders on page history */ |
| padding: 0;
| | #pagehistory li { |
| margin: 0;
| | border-color: transparent; |
| list-style-type: none;
| |
| list-style-image: none;
| |
| zoom: 1; /* BE KIND TO IE6 */
| |
| } | | } |
|
| |
|
| .treeview li li { | | /* Same as the default preference tab images, but with the blue background colour instead of white |
| background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
| | [[File:Pref-tab-border.png]] [[File:Pref-tab-bg.png]] */ |
| padding-left: 20px;
| | #preftoc, |
| text-indent: 0.3em;
| | #preftoc li { |
| | background-image: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/f/f9/Pref-tab-border.png); |
| } | | } |
| | | #preftoc li.selected a { |
| .treeview li li.lastline {
| | background-image: url(http://hydra-media.cursecdn.com/minecraft.gamepedia.com/5/57/Pref-tab-bg.png); |
| background-position: 0 -5971px
| |
| } | | } |
|
| |
|
| .mcwiki-header,#curse-panel
| | /* Fix side-by-side editor background colour */ |
| | | .wikiEditor-ui-controls { |
| | | background-color: #E6EFF4; |
| .infobox | | border-right: 1px solid #E6EFF4; |
| { | |
| clear:right;
| |
| margin:3px 0px 3px 3px;
| |
| width:300px;
| |
| font-size:90%;
| |
| background:#FFFFFF;
| |
| float:right;
| |
| border:1px solid #CCCCCC;
| |
| padding:2px
| |
| }
| |
| .infobox-title
| |
| {
| |
| font-weight:bold;
| |
| text-align:center;
| |
| font-size:120%
| |
| }
| |
| .infobox-imagearea
| |
| {
| |
| text-align:center;
| |
| padding:4px
| |
| }
| |
| .infobox table
| |
| {
| |
| width:100%
| |
| }
| |
| .infobox p
| |
| {
| |
| margin:0
| |
| }
| |
| .infobox audio
| |
| {
| |
| width:184px
| |
| }
| |
| .infobox dl:last-child
| |
| {
| |
| margin-bottom:0.2em
| |
| }
| |
| .infobox-footer
| |
| {
| |
| text-align:center
| |
| }
| |
| .infobox dl + dl
| |
| {
| |
| margin-top:-0.4em
| |
| }
| |
| .infobox.atfmrec
| |
| {
| |
| border:none !important
| |
| }
| |
| .infobox-row
| |
| {
| |
| white-space:nowrap;
| |
| font-weight:bold
| |
| } | | } |