mosra / m.css

A no-nonsense, no-JavaScript CSS framework, site and documentation theme for content-oriented websites
https://mcss.mosra.cz
Other
406 stars 92 forks source link

ARGH! FontAwesome is not so Awesome. #223

Closed egberts closed 2 years ago

egberts commented 2 years ago

Not sure what is happening....

https://egbert.net/blog/drafts/articles/ssh-openssh-certificates.html

Those spaces in the monospace font are not "evenly the same" width as the other characters.

Is it my space's character width of FontAwesome font? Or the kerning via CSS in Firefox? I couldn't tell.

But what I did do, is press F12 (Firefox), jumped to

<article and replaced/poke Courier instead of FontAwesome, and it finally worked in correctly the alignment of columns in code sections.

Must be my font, not the m.css character kerning, right?

crisluengo commented 2 years ago

Looks to me that you didn’t pick a monospaced font. The space is much narrower than any letter. This has nothing to do with FontAwesome, or with kerning. The font is just not suitable.

egberts commented 2 years ago

indeed

chaulking it up as my goof in my own theme generation of CSS