MediaWiki:Group-sysop.css
Appearance
![]() | 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. 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. If you add or modify anything here, please update the catalogue of CSS classes. |
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* 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;
}