Difference between revisions of "MediaWiki talk:Common.css"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
--[[User:Ickputzdirwech|Ickputzdirwech]] ([[User talk:Ickputzdirwech|talk]]) 17:11, 31 October 2022 (UTC) | --[[User:Ickputzdirwech|Ickputzdirwech]] ([[User talk:Ickputzdirwech|talk]]) 17:11, 31 October 2022 (UTC) | ||
− | : Just add the lines? If so done. [[User:Harakoni|Harakoni (Wiki Moderator)]] ([[User talk:Harakoni|talk]]) 22:06, 31 October 2022 (UTC) | + | : Just add the lines? If so [https://rimworldwiki.com/index.php?title=MediaWiki%3ACommon.css&type=revision&diff=115019&oldid=105445 done]. -- [[User:Harakoni|Harakoni (Wiki Moderator)]] ([[User talk:Harakoni|talk]]) 22:06, 31 October 2022 (UTC) |
Latest revision as of 22:06, 31 October 2022
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)