Problem: The backtick monospace font is very small, and no hint is in css.

Solution:

In wiki/htdocs/-theme-/css/common.css insert 4 lines:

/* for better readable backtick monospace font, 2010-03-30 RudolfReuter */
tt {  
        font-family: courier, monospace;
}
before line:
pre {

Tested with IE6, Firefox 3.0 Linux, Firefox 3.6 Windows

Info: http://www.undermyhat.org/blog/2009/09/css-font-family-monospace-renders-inconsistently-in-firefox-and-chrome/

-- RudolfReuter 2010-03-30 12:22:33

Thanks for finding this. Strange stuff. Can it be solved without forcing courier, or some other specific font for everyone (there are other monospaced fonts)? -- ThomasWaldmann 2010-03-30 14:34:16

font-size: 100% should be enough -- RadomirDopieralski 2010-03-30 14:45:33

It was really difficult to figure out that HTML element tt can be used in CSS, a search for backtick or monospace did not help. I have just used the font from element pre below in common.css. Because it worked as expected, I saw no reason to do more research.
@Radomir, unfortunately font-size: 100%; does not help, as a try showed. -- RudolfReuter 2010-03-30 15:20:57

After some recent IRC discussion it rather looks like "do not touch this" to me. If you want a bigger tt font, change your browser font settings. -- ThomasWaldmann 2010-04-04 20:42:05


CategoryFeatureRequest

MoinMoin: FeatureRequests/BacktickFontImprovement (last edited 2010-04-04 20:42:06 by ThomasWaldmann)