Jump to content

MediaWiki:Common.css: Difference between revisions

From Costa Sano MediaWiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
.ns-0 .mw-content-container {
.ns-0 .mw-content-container {
     max-width: none !important;
     max-width: none !important;
}
/* ============================================================
  Page Forms mandatory field fix – Vector 2022 dark mode
  ============================================================ */
html.skin-theme-clientpref-night .pfMandatoryField {
    --background-color-base: #101418;
    --background-color-neutral: #27292d;
    --background-color-inverted: #101418;
    --color-base: #eaecf0;
    --color-emphasized: #f8f9fa;
}
html.skin-theme-clientpref-night .pfMandatoryField input,
html.skin-theme-clientpref-night .pfMandatoryField textarea,
html.skin-theme-clientpref-night .pfMandatoryField select {
    border: 2px solid var(--color-error);
}
}

Latest revision as of 16:43, 16 February 2026

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