factor/library/help/stylesheet.factor

37 lines
672 B
Factor
Raw Normal View History

IN: help
USING: styles ;
2005-12-19 23:18:15 -05:00
: default-style
H{
{ font "Sans Serif" }
{ font-size 12 }
{ wrap-margin 500 }
} ;
: emphasis-style
H{ { font-style italic } } ;
2005-12-28 20:25:17 -05:00
: heading-style H{ { font "Serif" } { font-size 18 } } ;
2005-12-28 20:25:17 -05:00
: subheading-style H{ { font "Serif" } { font-style bold } } ;
2005-12-28 20:25:17 -05:00
: snippet-style
H{
2005-12-19 23:18:15 -05:00
{ font "Monospaced" }
2005-12-28 20:25:17 -05:00
{ foreground { 0.1 0.1 0.1 1 } }
} ;
: code-style
H{
{ font "Monospaced" }
2005-12-28 20:25:17 -05:00
{ page-color { 0.9 0.9 0.9 0.5 } }
{ border-width 5 }
2005-12-19 23:18:15 -05:00
{ wrap-margin f }
} ;
: url-style
H{
{ font "Monospaced" }
{ foreground { 0.0 0.0 1.0 1.0 } }
} ;