MediaWiki talk:Vector.css
Jump to navigation
Jump to search
This is a talk page. Please remember to sign your posts using four tildes (
~~~~
).Tables with left alignment in the first column, center in following columns
I think tables with a left aligned first column would be a great addition to the styling of this Wiki.
Especially tables like the one in Resources#Atmospheric_Resource would benefit from this.
Something like this would do:
.table-align-first-left td, .table-align-first-left th { text-align: left; }
.table-align-tail-center td + td, .table-align-tail-center th + th { text-align: center; }
--Scearcrovv43519 (talk) 02:27, 9 March 2019 (UTC)
- I have put in centeredTable as a class option for tables, and I have put it in use on the resources page now, where it made sense. I have not centered headings as it makes the table feel off, and it's use should not be on every table as well. Sdkphoenix (talk) 03:37, 9 March 2019 (UTC)