Jump to content

MediaWiki:Common.css

From Marillia
Revision as of 13:06, 11 July 2025 by Aleph (talk | contribs) (Created page with "CSS placed here will be applied to all skins: Custom class: noborder: Target the table element when both wikitable and noborder classes are present: table.wikitable.noborder { border: none !important; } Target the cells (th and td) within the custom table class: table.wikitable.noborder th, table.wikitable.noborder td { border: none !important; } /* Ensure borders are collapsed and spacing is 0 (optional, but ensures clean removal of borde...")
(diff) ← Older revision | Latest revision (diff) | Newer 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Custom class: noborder */

/* Target the table element when both wikitable and noborder classes are present */
table.wikitable.noborder {
    border: none !important;
}

/* Target the cells (th and td) within the custom table class */
table.wikitable.noborder th,
table.wikitable.noborder td {
    border: none !important;
}

/* Ensure borders are collapsed and spacing is 0 (optional, but ensures clean removal of borders) */
table.wikitable.noborder {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}