factor/library/help/stylesheet.factor

50 lines
941 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 } } ;
2006-01-06 02:04:42 -05:00
: heading-style H{ { font "Serif" } { font-size 16 } } ;
2005-12-28 20:25:17 -05:00
: subheading-style H{ { font "Serif" } { font-style bold } } ;
2005-12-31 20:51:58 -05:00
: subsection-style
H{ { font "Serif" } { font-size 14 } { font-style bold } } ;
2005-12-28 20:25:17 -05:00
: snippet-style
H{
2005-12-19 23:18:15 -05:00
{ font "Monospaced" }
2006-01-02 00:51:03 -05:00
{ foreground { 0.3 0.3 0.3 1 } }
} ;
: code-style
H{
{ font "Monospaced" }
2006-01-07 16:03:31 -05:00
{ page-color { 0.9 0.9 1 0.5 } }
{ border-width 5 }
2005-12-19 23:18:15 -05:00
{ wrap-margin f }
} ;
2006-01-02 01:04:02 -05:00
: input-style
H{ { font-style bold } } ;
: url-style
H{
{ font "Monospaced" }
{ foreground { 0.0 0.0 1.0 1.0 } }
} ;
2006-01-06 02:04:42 -05:00
: warning-style
H{
{ page-color { 0.95 0.95 0.95 1 } }
{ border-color { 1 0 0 1 } }
{ border-width 5 }
} ;