Wikipedia: cleaner tables
Gives article tables alternating row stripes and soft borders so data is easier to follow.
Code to copy
/* Cleaner zebra-striped wikitables */
.mw-parser-output table.wikitable {
border-collapse: collapse !important;
border: 1px solid #d0d4d8 !important;
}
.mw-parser-output table.wikitable th {
background: #eef1f4 !important;
}
.mw-parser-output table.wikitable td,
.mw-parser-output table.wikitable th {
border: 1px solid #e3e6e9 !important;
padding: 0.5em 0.7em !important;
}
.mw-parser-output table.wikitable tr:nth-child(even) td {
background: #f7f8fa !important;
}
How to use this example
- Copy the code with the button above.
- Install JustZix (2 minutes) and open the extension on the target page.
- Add a new rule matching that page.
- Paste the code into the rule's CSS panel and save — the effect appears instantly.
Rate this example
No ratings yet — be the first.