MediaWiki:Group-sysop.css

From Not a Wiki
Revision as of 10:39, 8 June 2023 by Fifo F (talk | contribs) (Created page with "→‎CSS placed here will affect sysops only: →‎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: #FFE0E0; } /* The "return to Main page" link on Special:MovePage after deleting the target page makes no...")
(diff) ← Previous revision | Latest revision (diff) | Next revision → (diff)

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 affect sysops only */

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

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