[Doc-SIG] Increasing size of the monospace font
g.brandl at gmx.net
Sat Aug 30 23:14:28 CEST 2008
A.M. Kuchling schrieb:
> Here's what the current 2.6 docs look like on Firefox 3.0 under MacOS:
> The class names in the text are a good deal smaller than the English
> text. Is this just an oddity of my current configuration, or does it
> look like this for everyone?
> Here's what the docs look like after changing the font size for <tt>
> from 0.95 em to 1.25em:
> I think this makes the class names match the x-height of the prose
> much better, though now the boldface makes them look very dark.
It's an oddity of browser configuration, but sadly present on most
browsers. Since Sphinx only sets relative font sizes, it is affected
by this, while most other sites set absolute font sizes.
This is what "font-size: 1.25em" would look like in my browser:
The "correct" way to fix this is to set the default text and monospace
font sizes to sensible values in the browser configuration.
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
More information about the Doc-SIG