MediaWiki talk:Common.css

From RimWorld Wiki
Jump to navigation Jump to search

ul lists with multiple columns[edit]

Hey @Harakoni, could you please add the follwing three lines to this page?

.ul-column-width-100 { column-width: 100px; }

.ul-column-width-150 { column-width: 150px; }

.ul-column-width-200 { column-width: 200px; }

I experimented a bit on User:Ickputzdirwech/common.css and I feel like this is the best solution. The advantage over coumn-count is that it's responsive. We need this for pages like Tool cabinet and Wind turbine. With this addition we can simply use a statement like this:

{{#ask:[[Facility::Tool cabinet]][[Category:Production]]|format=ul|class=ul-column-width-150}}

--Ickputzdirwech (talk) 17:11, 31 October 2022 (UTC)

Just add the lines? If so done. -- Harakoni (Wiki Moderator) (talk) 22:06, 31 October 2022 (UTC)