Zum Inhalt springen

„MediaWiki:Common.css“ – Versionsunterschied

aus AufEinWort, der freien Forschung
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
 
Zeile 10: Zeile 10:
  /*Wikibase Einstellungen*/
  /*Wikibase Einstellungen*/
  .wikibase-toolbar {
  .wikibase-toolbar {
  padding-left: 100px;
  padding-left: 50px;
  }
  }



Aktuelle Version vom 21. Oktober 2026, 04:58 Uhr

/* 
 * ACHTUNG! Inhalte dieses Stylesheets würden auf allen Desktop-Skins der deutschsprachigen Wikipedia geladen werden.
 *
 * Die Common.css ist leer seit Juli 2024. Neueinfügungen sollen hier nicht mehr erfolgen.
 *
 * Neue CSS-Definitionen sollen vorzugsweise per TemplateStyles, oder als Gadget auf den
 * jeweilig sinnvollen Anwendungskontext eingeschränkt geladen werden.
 */
 
 /*Wikibase Einstellungen*/
 .wikibase-toolbar {
 	padding-left: 50px;
 }

.mw-indicators {
	display: none;
}
.smw-property-page-results .header-title {
	background-color: #343333;
	color: #eec8ff;
}
.smw-ui-input-filter {
	background-color: #343333;
	color: #eec8ff;
}

/* Make ranks more visible (see T198907) */
.wb-deprecated .wikibase-statementview-mainsnak {
	 /* red-ish background for deprecated statements */
	background-color: var(--background-color-destructive-subtle,#fee7e6);
	color: var(--color-base,#202122);
}
.wb-preferred .wikibase-statementview-mainsnak {
	/* green-ish background for preferred statements  */
	background-color: var(--background-color-success-subtle,#d5fdf4);
	color: var(--color-base,#202122);
}

/*** Bug fixes ***/

.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;
}

#mw-content-text a[href] {
	/* Apply bidi isolation to links so that the text direction of the link
	   doesn't leak into the surrounding text (see T220256) */
	unicode-bidi: isolate;
}

/* @noflip */
.rtl .ui-inputextender-extension-close {
	/* Position the close button for the popup that appears when editing dates,
	   coordinates, etc, in the left corner (see T187443) */
	left: 0;
	right: auto;
}

#wb-setlabeldescriptionaliases-submit button {
	/* Remove nowrap because the button is too wide (see T165870) */
	white-space: initial;
}

.wb-lexeme .wb-edit .wikibase-lexeme-sense-glosses {
	/* Make the table for glosses on lexemes always use the full available width
	   when editing, to increase the size of the input fields (see T278162) */
	width: 100%;
}

/* Dark mode fixes */
@media screen {
	html.skin-theme-clientpref-night .thumb img {
	    background: var(--background-color-inverted, #f8f9fa);
	}
}

@media screen and (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .thumb img {
	    background: var(--background-color-inverted, #f8f9fa);
    }
}