[Doc-SIG] Increasing size of the monospace font

Georg Brandl 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:
> http://www.flickr.com/photos/44165698@N00/2810698647/sizes/o/
> 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:
> http://www.flickr.com/photos/44165698@N00/2811539974/sizes/o/
> 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 mailing list