Readme CSS bugs and problems

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Post Reply
Xorimuth
Filter Inserter
Filter Inserter
Posts: 625
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Readme CSS bugs and problems

Post by Xorimuth »

The html/css for the readme has a few strange issues that imo makes the page look a lot worse. I really like the general look though... just these small nitpicks really letting it down.
Most of the following issues are demonstrated in my readme: https://mods.factorio.com/mod/SpidertronEngineer

- For some reason every other horizontal line (`-----`) is a lot thinner than the others (also seen at https://mods.factorio.com/mod/Nanobots)
- The sub-bullet points are shifted too far down. I would expect them to be a lot closer to the bullet point above them then to the bullet point below them.
- Similarly for the headings compared to the text following them. That is why I added the horizontal lines, to give more of a separation between the paragraph and the next heading, and the start of a paragraph is too far away from its heading.
- h1 (at the top of the readme) appears the same size, or even smaller than h2 (the rest of the headings)
- Whilst the coloured 'italic' text is very nice to have as an option, there really should be a way of doing actual italics
- Monospace code is very small (at the bottom of https://mods.factorio.com/mod/SpidertronWaypoints)

For comparison, even though Github's rendition is a lot plainer, it does everything I mentioned above correctly: https://github.com/tburrows13/Spidertro ... /README.md
My mods
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 268
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: Readme CSS bugs and problems

Post by Sanqui »

Xorimuth wrote:
Sat Aug 29, 2020 2:09 am
- For some reason every other horizontal line (`-----`) is a lot thinner than the others (also seen at https://mods.factorio.com/mod/Nanobots)
This is a problem with non-absolute page zooms (120% etc.), I'll think about what I can do to mitigate it.
- The sub-bullet points are shifted too far down. I would expect them to be a lot closer to the bullet point above them then to the bullet point below them.
- Similarly for the headings compared to the text following them. That is why I added the horizontal lines, to give more of a separation between the paragraph and the next heading, and the start of a paragraph is too far away from its heading.
- h1 (at the top of the readme) appears the same size, or even smaller than h2 (the rest of the headings)
Fixed, fixed, fixed
- Whilst the coloured 'italic' text is very nice to have as an option, there really should be a way of doing actual italics
I'll have to think about this, we're not shipping the italic version of the font at the moment, so italics don't look very good.
- Monospace code is very small (at the bottom of https://mods.factorio.com/mod/SpidertronWaypoints)
Fixed

Thanks for the report!
ovo

Xorimuth
Filter Inserter
Filter Inserter
Posts: 625
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: Readme CSS bugs and problems

Post by Xorimuth »

Thank you so much! You’ve fixed the most egregious errors, they look so nice now!
My mods
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

Post Reply

Return to “Mod portal Discussion”