MediaWiki:Group-sysop.css

Revision as of 11:30, 20 July 2024 by 1F616EMO (talk | contribs) (1 revision imported)

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.
/* Protected pages have text area in light red, to prevent
   accidental editing by admins who didn't notice the header */
.mw-textarea-protected,
.mw-textarea-protected + .ui-resizable .ace_content,
.mw-textarea-protected + .CodeMirror,
.ns-8 textarea,
.ns-8 .ace_content,
.ns-8 .CodeMirror {
  background-color: hsl(0, 100%, 94%);
}

@media screen {
	html.skin-theme-clientpref-night .mw-textarea-protected,
	html.skin-theme-clientpref-night .mw-textarea-protected + .ui-resizable .ace_content,
	html.skin-theme-clientpref-night .mw-textarea-protected + .CodeMirror,
	html.skin-theme-clientpref-night .ns-8 textarea,
	html.skin-theme-clientpref-night .ns-8 .ace_content,
	html.skin-theme-clientpref-night .ns-8 .CodeMirror {
		background-color: hsl(0, 100%, 10%);
	}
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .mw-textarea-protected,
	html.skin-theme-clientpref-os .mw-textarea-protected + .ui-resizable .ace_content,
	html.skin-theme-clientpref-os .mw-textarea-protected + .CodeMirror,
	html.skin-theme-clientpref-os .ns-8 textarea,
	html.skin-theme-clientpref-os .ns-8 .ace_content,
	html.skin-theme-clientpref-os .ns-8 .CodeMirror {
		background-color: hsl(0, 100%, 10%);
	}
}

/* The "return to Main page" link on [[Special:MovePage]] after
   deleting the target page makes no sense and is in the way. */
.page-Special_MovePage #mw-returnto {
  display: none;
}

/* Show hidden items that have class="sysop-show". */
div.sysop-show,
p.sysop-show {
  display: block !important;
}
span.sysop-show,
small.sysop-show {
  display: inline !important;
}
table.sysop-show {
  display: table !important;
}
li.sysop-show {
  display: list-item !important;
}
/* Avoid accidental delete's and move's */
.page-Main_Page #ca-delete,
.page-Main_Page #ca-move {
    display: none !important;
}