]> gitweb.factorcode.org Git - factor.git/blob - basis/help/stylesheet/stylesheet.factor
Fix permission bits
[factor.git] / basis / help / stylesheet / stylesheet.factor
1 ! Copyright (C) 2005, 2006 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: io.styles namespaces colors ;
4 IN: help.stylesheet
5
6 SYMBOL: default-span-style
7 H{
8     { font "sans-serif" }
9     { font-size 12 }
10     { font-style plain }
11 } default-span-style set-global
12
13 SYMBOL: default-block-style
14 H{
15     { wrap-margin 500 }
16 } default-block-style set-global
17
18 SYMBOL: link-style
19 H{
20     { foreground T{ rgba f 0 0 0.3 1 } }
21     { font-style bold }
22 } link-style set-global
23
24 SYMBOL: emphasis-style
25 H{ { font-style italic } } emphasis-style set-global
26
27 SYMBOL: strong-style
28 H{ { font-style bold } } strong-style set-global
29
30 SYMBOL: title-style
31 H{
32     { font "sans-serif" }
33     { font-size 18 }
34     { font-style bold }
35     { wrap-margin 500 }
36     { page-color T{ rgba f 0.8 0.8 0.8 1 } }
37     { border-width 5 }
38 } title-style set-global
39
40 SYMBOL: help-path-style
41 H{ { font-size 10 } } help-path-style set-global
42
43 SYMBOL: heading-style
44 H{
45     { font "sans-serif" }
46     { font-size 16 }
47     { font-style bold }
48 } heading-style set-global
49
50 SYMBOL: subsection-style
51 H{
52     { font "sans-serif" }
53     { font-size 14 }
54     { font-style bold }
55 } subsection-style set-global
56
57 SYMBOL: snippet-style
58 H{
59     { font "monospace" }
60     { font-size 12 }
61     { foreground T{ rgba f 0.1 0.1 0.4 1 } }
62 } snippet-style set-global
63
64 SYMBOL: code-style
65 H{
66     { page-color T{ rgba f 0.8 0.8 0.8 0.5 } }
67     { border-width 5 }
68     { wrap-margin f }
69 } code-style set-global
70
71 SYMBOL: input-style
72 H{ { font-style bold } } input-style set-global
73
74 SYMBOL: url-style
75 H{
76     { font "monospace" }
77     { foreground T{ rgba f 0.0 0.0 1.0 1.0 } }
78 } url-style set-global
79
80 SYMBOL: warning-style
81 H{
82     { page-color T{ rgba f 0.95 0.95 0.95 1 } }
83     { border-color T{ rgba f 1 0 0 1 } }
84     { border-width 5 }
85     { wrap-margin 500 }
86 } warning-style set-global
87
88 SYMBOL: table-content-style
89 H{
90     { wrap-margin 350 }
91 } table-content-style set-global
92
93 SYMBOL: table-style
94 H{
95     { table-gap { 5 5 } }
96     { table-border T{ rgba f 0.8 0.8 0.8 1.0 } }
97 } table-style set-global
98
99 SYMBOL: list-style
100 H{ { table-gap { 10 2 } } } list-style set-global
101
102 SYMBOL: bullet
103 "- " bullet set-global