[pmwiki-users] Proposed Default Stylesheet (pmwiki.css)

Joachim Durchholz jo at durchholz.org
Thu Feb 16 04:10:22 CST 2006


Following up to myself:

I have changed font sizes and the background color for @@ and [@. The 
relevant passage now looks like this:

code, pre {
   color:#007f00;
   background-color:#f7f7f7;
   font-family:Lucida Console,monospace;
}

code {
   font-size: 97%;
}

pre {
   border:1px #cccccc dotted;
   margin-left: 2em;
   font-size: 90%;
}

Strangely enough, the styling for inline monospaced ("code") needs far 
less reduction than the styling for monospaced paragraphs ("pre"). It 
*does* look as if it were "same size" though - funny. Must be related to 
the ratio of light vs. dark pixels or something like that.
The best ratio definitely depends on the font used. A quick test with 
Courier New showed that the above percentages are too small. Ah well...

margin-top doesn't work for <pre> (at least not if it's within <p>...</p>).

Regards,
Jo




More information about the pmwiki-users mailing list