factor/library/help/stylesheet.factor

97 lines
1.7 KiB
Factor
Raw Normal View History

! Copyright (C) 2005, 2006 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
IN: help
USING: styles ;
2006-06-17 15:59:44 -04:00
: default-style
2005-12-19 23:18:15 -05:00
H{
{ font "sans-serif" }
2005-12-19 23:18:15 -05:00
{ font-size 12 }
2006-06-26 03:08:35 -04:00
{ font-style plain }
2005-12-19 23:18:15 -05:00
{ wrap-margin 500 }
} ;
2006-01-13 20:13:14 -05:00
: link-style
2006-06-26 01:53:05 -04:00
H{
{ foreground { 0 0 0.3 1 } }
{ font-style bold }
} ;
2006-01-13 20:13:14 -05:00
2005-12-19 23:18:15 -05:00
: emphasis-style
H{ { font-style italic } } ;
2006-06-16 23:12:40 -04:00
: title-style
H{
{ font "sans-serif" }
2006-06-16 23:12:40 -04:00
{ font-size 16 }
{ font-style bold }
{ wrap-margin 500 }
{ page-color { 0.8 0.8 1 1 } }
{ border-width 5 }
2006-06-16 23:12:40 -04:00
} ;
2006-08-02 16:53:26 -04:00
: doc-path-style
H{ { font-size 10 } } ;
2006-06-17 01:03:56 -04:00
: heading-style
H{
2006-06-26 03:08:35 -04:00
{ font "sans-serif" }
{ font-size 14 }
{ font-style bold }
} ;
2005-12-31 20:51:58 -05:00
: subsection-style
2006-03-28 23:31:45 -05:00
H{
{ font "sans-serif" }
2006-03-28 23:31:45 -05:00
{ font-size 14 }
{ font-style bold }
} ;
: subtopic-style
H{ { font-style bold } } ;
2005-12-31 20:51:58 -05:00
2005-12-28 20:25:17 -05:00
: snippet-style
H{
{ font "monospace" }
2006-01-02 00:51:03 -05:00
{ foreground { 0.3 0.3 0.3 1 } }
} ;
: code-style
H{
{ font "monospace" }
2006-06-26 03:08:35 -04:00
{ font-size 12 }
{ page-color { 0.8 0.8 0.8 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 "monospace" }
{ 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 }
} ;
2006-06-26 01:53:05 -04:00
: table-content-style
H{
{ wrap-margin 350 }
} ;
2006-06-26 01:53:05 -04:00
: table-style
H{
2006-08-31 21:58:15 -04:00
{ table-gap { 5 5 } }
2006-06-26 01:53:05 -04:00
{ table-border { 0.8 0.8 0.8 1.0 } }
} ;
: list-style
2006-08-31 21:58:15 -04:00
H{ { table-gap { 10 2 } } } ;