MediaWiki:Common.css

/** * Wikidata - MediaWiki:Common.css * * Stylesheets placed here will be applied to all skins. */

/****************************** * Global styles ******************************/ /* Default fonts like locale Wikipedia */ html[lang=ckb] body, [lang=ckb] { font-family: Tahoma, 'DejaVu Sans', sans-serif; }

/****************************** * Styles for certain pages ******************************/

/** * Hide title on main pages, village pumps and project chats * * @author * @maintainer */

.page-Wikidata_Bar.action-view .firstHeading, .page-Wikidata_Bosh_sahifa.action-view .firstHeading, .page-Wikidata_Café.action-view .firstHeading, .page-Wikidata_Forsíða_is.action-view .firstHeading, .page-Wikidata_Forsíða_fo.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_Pera_Seri.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_Umuna_a_Panid.action-view .firstHeading, .page-Wikidata_الصفحة_الرئيسية.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_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, .page-Wikidata_Glavna_stranica_sh.action-view .firstHeading { display: none; }

.page-Wikidata_Main_Page.action-view #contentSub { display: none; }

/** .messagebox { border: 1px solid #a2a9b1; background-color: #f8f9fa; 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; }
 * Messagebox templates
 * Imported from en: MediaWiki:Common.css on 2012-11-24

/* Footer and header message box styles */ table.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #a2a9b1; background: #f8f9fa;    /* Default "system" gray */ } table.fmbox-system { background: #f8f9fa; } 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 #a2a9b1; background: #f8f9fa; padding: 0.25em 0.9em; }

.mbox-image img { max-width: none; }

/* Styling for JQuery makeCollapsible, matching that of collapseButton */ .navbox .mw-collapsible-toggle { width: 6em; }

/* 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 */

/* Hatnotes */ .rellink, .dablink { font-style: italic; /* @noflip */ padding-left: 1.6em; margin-bottom: 0.5em; } .rellink i, .dablink i { font-style: normal; }

/* Allow limiting of which header levels are shown in a TOC; , for instance, will limit to  showing ==headings== and ===headings=== but no further */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; }

/* Language-specific logos */

background-image: url( //upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Wikidata-logo-ar.png/140px-Wikidata-logo-ar.png ) !important; }
 * 1) p-logo:lang(ar) a {

background-image: url( //upload.wikimedia.org/wikipedia/commons/b/ba/Wikidata-logo-bn-156px.png ) !important; }
 * 1) p-logo:lang(bn) a {

background-image: url( //upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Wikidata-logo-eo.svg/156px-Wikidata-logo-eo.svg.png ) !important; }
 * 1) p-logo:lang(eo) a {

background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Wikidata-logo-lfn.svg/156px-Wikidata-logo-lfn.svg.png) !important; }
 * 1) p-logo:lang(lfn) a {

background-image: url( //upload.wikimedia.org/wikipedia/commons/thumb/5/57/Wikidata-logo-sk.svg/156px-Wikidata-logo-sk.svg.png ) !important; }
 * 1) p-logo:lang(sk) a {

background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Wikidata-logo-uk.svg/156px-Wikidata-logo-uk.svg.png) !important; }
 * 1) p-logo:lang(uk) a {

background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Wikidata-logo-ur.svg/156px-Wikidata-logo-ur.svg.png) !important; }
 * 1) p-logo:lang(ur) a {

/* Partially support HTML5 bdi tag on old browsers that don't support it and reassign its default value on modern browsers, needed for better i18n even on old browsers isolation on signature-talk will resolve mix of RTL/LTR on RTL UI*/ bdi, .signature-talk { unicode-bidi: embed; /* fallback, it is not completely same but will work on most cases */ unicode-bidi: -webkit-isolate; unicode-bidi: -moz-isolate; unicode-bidi: isolate; }

/* Styling for MediaWiki:Sharedupload-desc-here used on file pages linking to Commons */ .sharedUploadNotice { border: 1px solid #a2a9b1; margin: 1em auto; width: 60%; padding: 8px 1% 8px 8%; border-radius: 5px; background-color: #eeefff; background-position: 2% 50%; background-repeat: no-repeat; background-image: url( //upload.wikimedia.org/wikipedia/commons/9/9d/Commons-logo-31px.png ); }

/* Shotcut indicator */ text-align: right; white-space: nowrap; }
 * 1) mw-indicator-shortcut {

/* transborder appears to be needed for charts */ .transborder { border: solid transparent; }

border: solid #000001; filter: chroma(color=#000001); }
 * html .transborder { /* IE6 */

/* Hide electron PDF feature on item pages (broken) */ .wb-itempage #p-electronPdfService-sidebar-portlet-heading { display:none; }

/* Hide print/export section of sidebar (not necessary) */
 * 1) p-coll-print_export { display: none; }