factor/library/help/stylesheet.factor

27 lines
587 B
Factor
Raw Normal View History

IN: help
USING: styles ;
: default-style H{ { font "Sans Serif" } { font-size 14 } } ;
: heading-style H{ { font "Serif" } { font-size 24 } } ;
: subheading-style H{ { font "Serif" } { font-size 18 } } ;
: parameter-style H{ { font "Monospaced" } { font-size 12 } } ;
: paragraph-style
H{
{ font "Sans Serif" }
{ font-size 14 }
{ wrap-margin 300 }
} ;
: code-style
H{
{ font "Monospaced" }
{ font-size 12 }
{ page-color { 0.9 0.9 0.9 1 } }
{ border-color { 0.95 0.95 0.95 1 } }
{ border-width 5 }
} ;