4 ms·
To the author if you're reading this: I think you have a CSS bug. Code in the <pre class="code"> tags is formatted in a sans-serif font, at least in my browse
by linux2647 6y ago
To the author if you're reading this:
I think you have a CSS bug. Code in the <pre class="code"> tags is formatted in a sans-serif font, at least in my browser. I know some people can read such code just fine, but others like myself find it challenging. As a suggestion, please append `monospace` to the font-family list for that CSS declaration, i.e.
pre.code { font-family: mono, monospace; }
(assuming `mono` is some font that I don't have installed)
- marksmillibend 6y agoThanks for the fix. I intended monospace, but I thought it was spelled mono. Fixed now. I've updated all posts now like this: pre.code { font-family: monospace; }