> When placing text between {{{ and }}}, the font size is slightly
> smaller than normal text. What stylesheet options can be used to
> determine or set the size to match normal text.
If you use tripled-curly-braces inline, like this: {{{stuff}}}, it
creates a "code" element. If you use them on separate lines, with no
leading/trailing whitespace:
{{{
stuff
}}}
then it create a "pre" element.
The default CSS layout definitions for these elements are in the
shadow tiddler named [[StyleSheetLayout]]:
.viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-
height:1.4em; overflow:auto;}
.viewer code {font-size:1.2em; line-height:1.4em;}
To customize the font-size, add the following to your [[StyleSheet]]
(which will *overlay* and supersede the default shadow stylesheet
definitions)
.viewer pre { font-size: ... ; }
.viewer code {font-size: ... ;}
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---