Diferencia entre revisiones de «MediaWiki:Common.css»
Línea 205: | Línea 205: | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
/* @noflip */ | /* @noflip */ | ||
− | border-left: 10px solid # | + | border-left: 10px solid #1e90ff; /* Default "notice" blue */ |
background: #fbfbfb; | background: #fbfbfb; | ||
} | } | ||
Línea 811: | Línea 811: | ||
.mcwiki-header,#curse-panel | .mcwiki-header,#curse-panel | ||
+ | /* [[Template:Infobox]], [[Template:Infobox row]] */ | ||
+ | .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; | ||
+ | } | ||
− | .infobox | + | .infobox-title { |
− | { | + | font-weight: bold; |
− | + | text-align: center; | |
− | + | font-size: 120%; | |
− | |||
− | font-size: | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | .infobox- | + | |
− | { | + | .infobox-imagearea { |
− | + | text-align: center; | |
− | text-align:center; | + | padding: 4px; |
− | |||
} | } | ||
− | .infobox-imagearea | + | .infobox-imagearea > div:not(:first-child) { |
− | { | + | padding-top: 1em; |
− | |||
− | |||
} | } | ||
− | .infobox | + | |
− | { | + | .infobox-rows { |
− | width:100% | + | width: 100%; |
} | } | ||
− | .infobox | + | .infobox-rows > tbody > tr > th { |
− | + | text-align: left; | |
− | + | white-space: nowrap; | |
} | } | ||
− | .infobox | + | .infobox-rows p { |
− | { | + | margin: 0; |
− | |||
} | } | ||
− | .infobox | + | .infobox-rows audio { |
− | { | + | width: 184px; |
− | |||
} | } | ||
− | .infobox- | + | /* Merge adjacent dls in the infobox (since they're usually supposed to be one, but the wiki screws up sometimes) */ |
− | { | + | .infobox-rows dl + dl { |
− | + | margin-top: -0.4em; | |
} | } | ||
− | .infobox dl | + | .infobox-rows dl:last-child { |
− | { | + | margin-bottom: 0.2em; |
− | margin- | ||
} | } | ||
− | .infobox | + | |
− | { | + | .infobox-footer { |
− | + | text-align: center; | |
} | } | ||
− | . | + | |
− | + | /* [[Template:Navbox]] */ | |
− | + | .navbox { | |
− | + | background: #FFF; | |
+ | border: 1px solid #CCC; | ||
+ | margin: 1em auto 0; | ||
+ | clear: both; | ||
+ | width: 100%; | ||
} | } | ||
Revisión del 16:40 12 abr 2014
/* El CSS colocado en esta página será aplicado a todas las apariencias */ /** * Wikidata - MediaWiki:Common.css * * Stylesheets placed here will be applied to all skins. */ /****************************** * Global styles ******************************/ /* 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 { background-color: #fff; color: #285; font-size: large; } /****************************** * Styles for certain pages ******************************/ /** * 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; } /** ** Messagebox templates ** Imported from [[en: MediaWiki:Common.css]] on 2012-11-24 **/ .messagebox { border: 1px solid #aaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; margin: 4px auto; } /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ th.mbox-text, td.mbox-text { /* The message body cell(s) */ 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 */ border: none; /* @noflip */ 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 */ table.ambox { margin: 0px 10%; /* 10% = Will not overlap with other elements */ border: 1px solid #aaa; /* @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 { /* @noflip */ 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 */ table.imbox { 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. */ margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ display: block; /* Fix for webkit to force 100% width. */ } .mbox-inside .imbox { /* For imboxes inside other templates. */ margin: 4px; } table.imbox-notice { border: 3px solid #1e90ff; /* Blue */ } table.imbox-speedy { border: 3px solid #b22222; /* Red */ background: #fee; /* Pink */ } table.imbox-delete { border: 3px solid #b22222; /* Red */ } table.imbox-content { border: 3px solid #f28500; /* Orange */ } table.imbox-style { border: 3px solid #f4c430; /* Yellow */ } table.imbox-move { border: 3px solid #9932cc; /* Purple */ } table.imbox-protection { border: 3px solid #bba; /* Gray-gold */ } table.imbox-license { border: 3px solid #88a; /* Dark gray */ background: #f7f8ff; /* Light gray */ } table.imbox-featured { border: 3px solid #cba135; /* Brown-gold */ } /* Category message box styles */ table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #aaa; background: #DFE8FF; /* Default "notice" blue */ } table.cmbox-notice { 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 { background: #FFE7CE; /* Orange */ } table.cmbox-style { background: #FFF9DB; /* Yellow */ } table.cmbox-move { background: #E4D8FF; /* Purple */ } table.cmbox-protection { background: #EFEFE1; /* Gray-gold */ } /* Other pages message box styles */ table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #aaa; /* Default "notice" gray */ background: #f9f9f9; } table.ombox-notice { border: 1px solid #aaa; /* Gray */ } table.ombox-speedy { border: 2px solid #b22222; /* Red */ background: #fee; /* Pink */ } table.ombox-delete { border: 2px solid #b22222; /* Red */ } table.ombox-content { border: 1px solid #f28500; /* Orange */ } table.ombox-style { border: 1px solid #f4c430; /* Yellow */ } table.ombox-move { border: 1px solid #9932cc; /* Purple */ } table.ombox-protection { border: 2px solid #bba; /* Gray-gold */ } /* Talk page message box styles */ table.tmbox { margin: 4px 10%; 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 */ background: #fee; /* Pink */ } table.tmbox-delete { border: 2px solid #b22222; /* Red */ } table.tmbox-content { border: 2px solid #f28500; /* Orange */ } 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.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #aaa; background: #f9f9f9; /* Default "system" gray */ } table.fmbox-system { background: #f9f9f9; } table.fmbox-warning { border: 1px solid #bb7070; /* Dark pink */ background: #ffdbdb; /* Pink */ } table.fmbox-editnotice { background: transparent; } /* Div based "warning" style fmbox messages. */ div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon { clear: both; margin: 0.2em 0; border: 1px solid #bb7070; background: #ffdbdb; padding: 0.25em 0.9em; } /* Div based "system" style fmbox messages. Used in [[MediaWiki:Readonly lag]]. */ div.mw-lag-warn-normal, div.fmbox-system { clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; padding: 0.25em 0.9em; } .mbox-image img { max-width: none; } /* Default style for navigation boxes */ /* 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 */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .navbar li { word-spacing: -0.125em; } .navbar.mini li span { font-variant: small-caps; } /* 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 in [[MediaWiki:Common.js]] are styled here so they can be customised. */ .collapseButton { /* @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 */ .mw-collapsible-toggle { font-weight: normal; /* @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 { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0; padding: 2px; /* @noflip */ float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; background-color: #ccf; position: relative; } div.NavFrame p, div.NavFrame div.NavContent, div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } a.NavToggle { position: absolute; top: 0; /* @noflip */ right: 3px; font-weight: normal; font-size: 90%; } /* Highlight the mention "updated since my last visit" in pages' history */ span.updatedmarker { font-weight: bold; color: #080; } /** * Style for horizontal lists (separator following item). * @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, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline and make them nowrap */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; white-space: nowrap; } /* Allow wrapping for list items (in tight spaces) */ .hlist.hwrap dd, .hlist.hwrap dt, .hlist.hwrap li { white-space: normal; } /* 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. [[Bugzilla:26204]]. See also [[en:Wikipedia:Typography#The monospace 'bug']] Imported from en.wikipedia March 25, 2013 */ 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 */ .rellink, .dablink { 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. 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; } /* Fix word wrapping in page mode translation. Can be removed when the following commit is deployed: https://gerrit.wikimedia.org/r/#/c/57493/ */ .tux-pagemode-source, .tux-pagemode-translation { 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 { padding: 0; margin: 0; list-style-type: none; list-style-image: none; zoom: 1; /* BE KIND TO IE6 */ } .treeview li li { background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px; padding-left: 20px; text-indent: 0.3em; } .treeview li li.lastline { background-position: 0 -5971px } .mcwiki-header,#curse-panel /* [[Template:Infobox]], [[Template:Infobox row]] */ .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; } .infobox-title { font-weight: bold; text-align: center; font-size: 120%; } .infobox-imagearea { text-align: center; padding: 4px; } .infobox-imagearea > div:not(:first-child) { padding-top: 1em; } .infobox-rows { width: 100%; } .infobox-rows > tbody > tr > th { text-align: left; white-space: nowrap; } .infobox-rows p { margin: 0; } .infobox-rows audio { width: 184px; } /* Merge adjacent dls in the infobox (since they're usually supposed to be one, but the wiki screws up sometimes) */ .infobox-rows dl + dl { margin-top: -0.4em; } .infobox-rows dl:last-child { margin-bottom: 0.2em; } .infobox-footer { text-align: center; } /* [[Template:Navbox]] */ .navbox { background: #FFF; border: 1px solid #CCC; margin: 1em auto 0; clear: both; width: 100%; } /* Give the main content area its healthy blue glow and add a border and some margin to help with the 3D effect */ div#content { position: relative; background-color: #f1fcf5; }