Jump to content

MediaWiki:Common.css

From Costa Sano MediaWiki
Revision as of 16:14, 16 February 2026 by Mngr (talk | contribs)

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.
/* CSS placed here will be applied to all skins */

/* ============================================================
   ANONYMOUS USER INTERFACE CLEANUP
   ============================================================ */

/* Hide the top toolbar for anonymous users in Main namespace */
.ns-0 .vector-page-toolbar {
    display: none !important;
}

/* Hide the right column tools for anonymous users */
.ns-0 .vector-column-end {
    display: none !important;
}

/* Full-width layout for anonymous users */
.ns-0 .mw-content-container {
    max-width: none !important;
}

/* ============================================================
   PAGE FORMS – MANDATORY FIELD VISIBILITY (DARK UI)
   ============================================================ */

.skin-vector-2022 .pfMandatoryField input,
.skin-vector-2022 .pfMandatoryField textarea,
.skin-vector-2022 .pfMandatoryField select {
    background-color: #2b2b2b !important;
    color: #ffffff !important;
    border: 2px solid #e5533d !important;
}