• MonkderVierte
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    4
    ·
    edit-2
    1 month ago

    See, this is another thing broken in the current web. I made a usercss (Stylus) to normalize font size for certain elements and it works reasonably well. But on this site, it looks like this.

    Anyone has a guess why, something with viewport or other meta tags?

    Edit: fixed, they use a custom font with weird size settings. Looks like this now (with my normalize usercss).

    • smeeps@lemmy.mtate.me.uk
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 month ago

      As a web dev we do try to accommodate userCSS for accessibility reasons but often font sizes are tuned to what they are for a reason. I’d guess there’s a line height issue here.

      • MonkderVierte
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        You mean that their font was customized to display a certain size, for whatever reason?

        Right, browser.display.use_document_fonts = 0 fixed it, lol.

      • MonkderVierte
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        But my usercss enforces font-size: medium for <p> elements but this looks more like x-large. And it works well for 99% of pages.