MediaWiki:Common.css: Difference between revisions
Appearance
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..." |
(No difference)
|
Revision as of 13:06, 11 July 2025
/* 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; }