MediaWiki:Common.css
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.
/* Ensure only this table is affected */ .eras-table { display: flex; flex-wrap: wrap; width: 100%; } /* Style individual cells */ .eras-table td { flex: 1 1 16.66%; /* 6 columns: ~1/6th width each */ box-sizing: border-box; text-align: center; /* Keeps images and text centered */ min-width: 0; /* Prevents overflow issues with images */ } /* Header spans full width always */ .eras-table th { flex: 1 1 100%; } /* Medium resolution/zoom: 3 columns, 2 rows */ @media (max-width: 800px) { .eras-table td { flex: 1 1 33.33%; /* 3 columns: ~1/3rd width each */ } } /* Small resolution/max zoom: 1 column, 6 rows */ @media (max-width: 400px) { .eras-table td { flex: 1 1 100%; /* 1 column: full width */ } }