MediaWiki:Group-sysop.css
This is the CSS for styles that are only visible to administrators. It is dynamically loaded from MediaWiki:Common.js. Any major changes to this page should first be proposed on its talk page or the Village pump.
Please note that changes are visible within minutes. Errors you make here can disrupt the entire encyclopedia, so make sure you know what you are doing. Always check with the W3C CSS Validation Service before and after any changes.
Testing can be done on your personal skin.css or common.css. In Mozilla Firefox and Opera, you can also test style changes dynamically with the test styles bookmarklet from squarefree.com. It pops up a window for adding style rules, and updates the page as you type./* 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 + div .ace_content,
.mw-textarea-protected + .CodeMirror,
.mw-textarea-protected + .cm-editor,
.ns-8 textarea,
.ns-8 .ace_content,
.ns-8 .CodeMirror,
.ns-8 .cm-editor {
background-color: hsl(0, 100%, 94%);
}
@media screen {
html.skin-theme-clientpref-night .mw-textarea-protected,
html.skin-theme-clientpref-night .mw-textarea-protected + div .ace_content,
html.skin-theme-clientpref-night .mw-textarea-protected + .CodeMirror,
html.skin-theme-clientpref-night .mw-textarea-protected + .cm-editor,
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,
html.skin-theme-clientpref-night .ns-8 .cm-editor {
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 + div .ace_content,
html.skin-theme-clientpref-os .mw-textarea-protected + .CodeMirror,
html.skin-theme-clientpref-os .mw-textarea-protected + .cm-editor,
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,
html.skin-theme-clientpref-os .ns-8 .cm-editor {
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;
}