MediaWiki:Common.css

Revision as of 18:37, 21 February 2023 by Zoran (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/**
 * 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;
}

#mw-search-createlink {
	display: none;
}

/******************************
 * 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 templates
** Imported from [[en: MediaWiki:Common.css]] on 2012-11-24
**/
.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;
}



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

.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;
   <div class="toclimit-3">, 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;
}

/* 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 */
#mw-indicator-shortcut {
	text-align: right;
	white-space: nowrap;
}

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

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

/* Hide print/export section of sidebar (not necessary and electron PDF feature is broken) */
#minerva-download,
#p-coll-print_export,
#p-electronpdfservice-sidebar-portlet-heading {
	display: none;
}

/* Make ranks more visible */
.wb-deprecated .wikibase-statementview-mainsnak { /* deprecated claims with red-ish background */
    background-color: #FFF0F0;
}
.wb-preferred .wikibase-statementview-mainsnak { /* preferred claims with green-ish background */
    background-color: #F0FFF0;
}

.wb-monolingualtext-language-name {
	/* Use inline-block so that the block wraps onto a new line before text
	   within the block breaks into multiple lines (see T322151) */
	display: inline-block;
}


#pt-betafeatures { display:none!important; }

/* hide main page title */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* hide main page tagline */
body.page-Main_Page.action-view #siteSub,
body.page-Main_Page.action-submit #siteSub {
    display: none;
}