MediaWiki:Common.css

Revision as of 03:26, 18 October 2026 by IslamdAdmin (talk | contribs) (Утверждённый полумесяц IslamD: видимость в тёмной теме)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Reader interface: native menus and revision records remain available to the software. */
#ca-talk,
#ca-talk-more,
#ca-talk-sticky-header,
#ca-viewsource,
#ca-viewsource-more,
#ca-viewsource-sticky-header,
#ca-history,
#ca-history-more,
#ca-history-sticky-header,
#footer-info-lastmod,
#footer-info-renderedwith,
#footer-places-developers,
#footer-poweredbyico,
.mw-helplink,
.skin-minerva .last-modified-bar,
.skin-minerva #page-actions-history,
.skin-minerva #page-actions-viewsource,
.skin-minerva .page-actions-viewsource,
.skin-minerva .menu__item--page-actions-viewsource,
.skin-minerva .minerva__tab:has(a[rel="discussion"]),
.skin-minerva .talk.button {
	display: none !important;
}

/* Keep the main page focused on reading; retain writer/admin article actions. */
.page-Main_Page #p-tb,
.page-Main_Page #p-wikibase-otherprojects,
.page-Main_Page #catlinks,
.page-Main_Page #footer-places-statslink {
	display: none !important;
}

/* IslamD approved monochrome icon: use Vector's native dark-image treatment. */
html.skin-theme-clientpref-night .skin-vector-2022 .mw-logo-icon {
	color-scheme: light;
	filter: invert(1) hue-rotate(180deg);
}
@media (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .skin-vector-2022 .mw-logo-icon {
		color-scheme: light;
		filter: invert(1) hue-rotate(180deg);
	}
}