Wikipedia: collapse the reference list
Shrinks the long reference list and places it in a scrollable box so it no longer fills half the page.
Code to copy
/* Shrink and scroll the long reference list */
.mw-parser-output .reflist {
font-size: 0.78em !important;
max-height: 22em !important;
overflow-y: auto !important;
border: 1px solid #e0e0e0 !important;
padding: 0.6em !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.