glyph 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/AUTHORS.textile +1 -0
- data/CHANGELOG.textile +794 -252
- data/LICENSE.textile +3 -2
- data/book/config.yml +1 -1
- data/book/lib/layouts/bookindex.glyph +4 -1
- data/book/lib/layouts/bookpage.glyph +1 -1
- data/book/lib/tasks/tasks.rake +1 -1
- data/book/text/changelog.glyph +6 -0
- data/book/text/extending/output_format.glyph +2 -2
- data/book/text/license.glyph +1 -1
- data/book/text/macros/macros_block.glyph +2 -1
- data/book/text/text_editing/inclusions.glyph +2 -1
- data/glyph.gemspec +10 -10
- data/lib/glyph.rb +1 -1
- data/macros/block.rb +1 -2
- data/spec/macros/filters_spec.rb +1 -3
- data/styles/coderay.css +325 -125
- data/styles/coderay.scss +145 -41
- data/styles/default.css +20 -19
- data/styles/definitions.scss +1 -3
- data/styles/pagination.css +30 -30
- metadata +264 -328
data/LICENSE.textile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<p>Copyright © 2010 <strong>Fabio Cevasco</strong>, <a href="http://www.h3rald.com">http://www.h3rald.com</a></p>
|
1
|
+
<p>Copyright © 2010-2011 <strong>Fabio Cevasco</strong>, <a href="http://www.h3rald.com">http://www.h3rald.com</a></p>
|
2
2
|
<p>Permission is hereby granted, free of charge, to any person obtaining a copy
|
3
3
|
of this software and associated documentation files (the "Software"), to deal
|
4
4
|
in the Software without restriction, including without limitation the rights
|
@@ -13,4 +13,5 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
13
13
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
14
14
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
15
15
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
16
|
-
THE SOFTWARE
|
16
|
+
THE SOFTWARE.
|
17
|
+
</p>
|
data/book/config.yml
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
<html lang="en">
|
3
3
|
<head>
|
4
4
|
<title>Glyph - Document Authoring Framework</title>
|
5
|
+
<link href='http://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
|
6
|
+
|
7
|
+
|
5
8
|
|
6
9
|
<meta charset="utf-8" />
|
7
10
|
<meta name="author" content="Fabio Cevasco" />
|
@@ -24,7 +27,7 @@
|
|
24
27
|
<script src="http://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script>
|
25
28
|
<script src="/js/sevenup.js" type="text/javascript"></script>
|
26
29
|
<script src="/js/sevenup_black.js" type="text/javascript"></script>
|
27
|
-
<script
|
30
|
+
<script type="text/javascript">google.load("jquery", "1");</script>
|
28
31
|
<script src="/js/jquery-timeago.js" type="text/javascript"></script>
|
29
32
|
<script src="/js/jquery-easing.js" type="text/javascript"></script>
|
30
33
|
<script src="/js/jquery-fancybox.js" type="text/javascript"></script>
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<script src="http://www.google.com/jsapi?key=ABQIAAAAr6RY1Z6dchG_sX9WDLSy3xRlq2n1sm52B5HDRR5tm6o8XM18FhR56xHNNH6CsX86uN5VoTrglpyOyQ" type="text/javascript"></script>
|
28
28
|
<script src="/js/sevenup.js" type="text/javascript"></script>
|
29
29
|
<script src="/js/sevenup_black.js" type="text/javascript"></script>
|
30
|
-
<script
|
30
|
+
<script type="text/javascript">google.load("jquery", "1");</script>
|
31
31
|
<script src="/js/jquery-timeago.js" type="text/javascript"></script>
|
32
32
|
<script src="/js/jquery-easing.js" type="text/javascript"></script>
|
33
33
|
<script src="/js/jquery-fancybox.js" type="text/javascript"></script>
|
data/book/lib/tasks/tasks.rake
CHANGED
@@ -2,7 +2,7 @@ namespace :custom do
|
|
2
2
|
task :generate, [:file] do |t, args|
|
3
3
|
generate = lambda do |source, destination|
|
4
4
|
Glyph.info "Generating #{destination}..."
|
5
|
-
Glyph.compile Glyph::PROJECT/"text/#{source}.glyph", Glyph::PROJECT/"../#{destination}.textile"
|
5
|
+
Glyph.compile Glyph::PROJECT/"text/#{source}.glyph", "#{Glyph::PROJECT/"../#{destination}.textile"}"
|
6
6
|
end
|
7
7
|
files = {
|
8
8
|
:AUTHORS => :acknowledgements,
|
data/book/text/changelog.glyph
CHANGED
@@ -39,6 +39,12 @@ def:[issue|
|
|
39
39
|
%:[#>|"#{value} command"]
|
40
40
|
%:[$>|"#{value} setting"]
|
41
41
|
]
|
42
|
+
release[0.5.1|December 4th 2011|
|
43
|
+
bugs[
|
44
|
+
issue[203|Fixed error in %>[pubdate].]
|
45
|
+
issue[204|Updated CodeRay stylesheet.]
|
46
|
+
]
|
47
|
+
]
|
42
48
|
release[0.5.0|August 28th 2011|
|
43
49
|
features[
|
44
50
|
issue[152|It is now possible to generate a PDF document through HTML5, not only HTML, by setting the @output.pdf.through@ setting to @html5@.]
|
@@ -17,7 +17,7 @@ The first step required to add a new output format to Glyph is extending Glyph's
|
|
17
17
|
:extension: '.html'
|
18
18
|
:filter_target: 'html'
|
19
19
|
:base: '/glyph/book/'
|
20
|
-
:
|
20
|
+
:macro_dirs: ['html', 'html5']
|
21
21
|
:layout_dirs: ['web5']
|
22
22
|
:layouts:
|
23
23
|
:topic: bookpage
|
@@ -63,7 +63,7 @@ namespace :generate do
|
|
63
63
|
(dir/'glyph/book/images/glyph/glyph.eps').unlink
|
64
64
|
(dir/'glyph/book/images/glyph/glyph.svg').unlink
|
65
65
|
# Create project page
|
66
|
-
project = Glyph.filter %{layout
|
66
|
+
project = Glyph.filter %{layout:project[
|
67
67
|
@contents[#{file_load(Glyph::PROJECT/'text/introduction.glyph')}]
|
68
68
|
]}
|
69
69
|
file_write dir/"glyph.textile", project
|
data/book/text/license.glyph
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
p[Copyright © 2010 strong[Fabio Cevasco], =>[http://www.h3rald.com]]
|
1
|
+
p[Copyright © 2010-2011 strong[Fabio Cevasco], =>[http://www.h3rald.com]]
|
2
2
|
p[Permission is hereby granted, free of charge, to any person obtaining a copy
|
3
3
|
of this software and associated documentation files (the "Software"), to deal
|
4
4
|
in the Software without restriction, including without limitation the rights
|
@@ -80,8 +80,9 @@ img[
|
|
80
80
|
|
81
81
|
ref_macro[
|
82
82
|
@n[pubdate]
|
83
|
-
@desc[Evaluates to a date string (in the format: em[current_month] em[current_year]; i.e. _%B_ _%Y_), within a @<div>@ tag.]
|
83
|
+
@desc[Evaluates to a date string (in the format: em[current_month] em[current_year]; i.e. _%B_ _%Y_), within a @<div>@ tag. If a parameter is supplied, its value is used instead of the current date.]
|
84
84
|
@example[=pubdate[]=]
|
85
|
+
@params[-p[0|An alternative content for the _pubdate_ @div@.]]
|
85
86
|
]
|
86
87
|
|
87
88
|
ref_macro[
|
@@ -34,6 +34,7 @@ Snippets can be defined using the %>[snippet:] (aliased by @&:@) and called by u
|
|
34
34
|
Glyph supports &[markups].
|
35
35
|
=]
|
36
36
|
p[You can use code[=&[markups]=] anywhere in your document instead of having to type "\/&[markups]" every time. Additionally, later on you can change the value of the code[markups] to change it everywhere else in the document.]
|
37
|
+
]
|
37
38
|
tip[
|
38
39
|
Snippets (or any other macro) can be nested within other snippets. Glyph takes care of checking if you nested snippets or macros mutually and warns you as necessary.
|
39
40
|
]
|
@@ -41,7 +42,7 @@ Snippets (or any other macro) can be nested within other snippets. Glyph takes c
|
|
41
42
|
§[
|
42
43
|
@title[Fragments]
|
43
44
|
@id[fragments]
|
44
|
-
txt[As an even simpler alternative to snippets, consider using _fragments_. The %>[fragment] (aliased by @##@) can be used to mark a section of Glyph code as a fragment that can then be _embedded_ using the %>[embed] (aliased by @<=@), like this:]
|
45
|
+
txt[As an even simpler alternative to snippets, consider using _fragments_. The %>[fragment:] (aliased by @##@) can be used to mark a section of Glyph code as a fragment that can then be _embedded_ using the %>[embed] (aliased by @<=@), like this:]
|
45
46
|
|
46
47
|
highlight[=html|
|
47
48
|
Snippets and fragments ##[good_way\|are a good way to reuse] small chunks of content, while the include and load macros <=[good_way] entire files.
|
data/glyph.gemspec
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "glyph"
|
5
|
-
s.version = "0.5.
|
5
|
+
s.version = "0.5.1"
|
6
6
|
s.summary = "Glyph -- A Ruby-powered Document Authoring Framework"
|
7
7
|
s.description = "Glyph is a framework for structured document authoring."
|
8
8
|
s.homepage = "http://www.h3rald.com/glyph/"
|
9
9
|
s.authors = ["Fabio Cevasco"]
|
10
10
|
s.email = "h3rald@h3rald.com"
|
11
|
-
s.date = "2011-
|
11
|
+
s.date = "2011-11-04"
|
12
12
|
s.license = "MIT"
|
13
13
|
|
14
14
|
s.files = ["Rakefile"]
|
@@ -32,15 +32,15 @@ Gem::Specification.new do |s|
|
|
32
32
|
s.default_executable = "glyph"
|
33
33
|
s.extra_rdoc_files = Dir.glob "*.textile"
|
34
34
|
|
35
|
-
s.add_runtime_dependency("gli", [">= 1.
|
35
|
+
s.add_runtime_dependency("gli", [">= 1.4.0"])
|
36
36
|
s.add_runtime_dependency("extlib", [">= 0.9.15"])
|
37
|
-
s.add_runtime_dependency("rake", [">= 0.
|
37
|
+
s.add_runtime_dependency("rake", [">= 0.9.2.2"])
|
38
38
|
|
39
39
|
s.add_development_dependency("rspec", [">= 2.5.1"])
|
40
|
-
s.add_development_dependency("yard", [">= 0.
|
41
|
-
s.add_development_dependency("directory_watcher", [">= 1.4.
|
42
|
-
s.add_development_dependency("sass", [">= 3.1.
|
43
|
-
s.add_development_dependency("RedCloth", [">= 4.2.
|
44
|
-
s.add_development_dependency("bluecloth", [">= 2.
|
45
|
-
s.add_development_dependency("coderay", [">= 0.
|
40
|
+
s.add_development_dependency("yard", [">= 0.7.4"])
|
41
|
+
s.add_development_dependency("directory_watcher", [">= 1.4.1"])
|
42
|
+
s.add_development_dependency("sass", [">= 3.1.11"])
|
43
|
+
s.add_development_dependency("RedCloth", [">= 4.2.9"])
|
44
|
+
s.add_development_dependency("bluecloth", [">= 2.2.0"])
|
45
|
+
s.add_development_dependency("coderay", [">= 1.0.4"])
|
46
46
|
end
|
data/lib/glyph.rb
CHANGED
data/macros/block.rb
CHANGED
@@ -69,10 +69,9 @@ macro :author do
|
|
69
69
|
render
|
70
70
|
end
|
71
71
|
|
72
|
-
# TODO -- document new param!
|
73
72
|
macro :pubdate do
|
74
73
|
max_parameters 1
|
75
|
-
@data[:date] =
|
74
|
+
@data[:date] = param(0).blank? ? Time.now.strftime("%B %Y") : param(0)
|
76
75
|
render
|
77
76
|
end
|
78
77
|
|
data/spec/macros/filters_spec.rb
CHANGED
@@ -55,9 +55,7 @@ interpret text
|
|
55
55
|
code = %{def test_method(a, b)
|
56
56
|
puts a+b
|
57
57
|
end}
|
58
|
-
cr_result = %{<div class=\"CodeRay\"> <div class=\"code\"><pre><span class=\"
|
59
|
-
<span class=\"no\">2</span> puts a+b
|
60
|
-
<span class=\"no\">3</span> <span class=\"r\">end</span></pre></div> </div>}
|
58
|
+
cr_result = %{<div class=\"CodeRay\"> <div class=\"code\"><pre><span class=\"line-numbers\"><a href=\"#n1\" name=\"n1\">1</a></span><span class=\"keyword\">def</span> <span class=\"function\">test_method</span>(a, b) <span class=\"line-numbers\"><a href=\"#n2\" name=\"n2\">2</a></span> puts a+b <span class=\"line-numbers\"><a href=\"#n3\" name=\"n3\">3</a></span> <span class=\"keyword\">end</span> </pre></div> </div>}
|
61
59
|
uv_result = %{<pre class=\"iplastic\"><span class=\"Keyword\">def</span>
|
62
60
|
<span class=\"FunctionName\">test_method</span>(<span class=\"Arguments\">a<span class=\"Arguments\">,</span> b</span>)
|
63
61
|
puts a<span class=\"Keyword\">+</span>b <span class=\"Keyword\">end</span> </pre>}
|
data/styles/coderay.css
CHANGED
@@ -8,140 +8,340 @@
|
|
8
8
|
font-size: 12px;
|
9
9
|
font-family: Monospace;
|
10
10
|
color: #000;
|
11
|
-
padding: 1em 0px 1em 1em;
|
12
|
-
|
11
|
+
padding: 1em 0px 1em 1em; }
|
12
|
+
|
13
13
|
.CodeRay pre, .CodeRay code {
|
14
14
|
padding: 0;
|
15
|
-
margin: 0;
|
16
|
-
}
|
15
|
+
margin: 0; }
|
17
16
|
|
18
|
-
div.CodeRay {
|
19
|
-
padding: 0;
|
20
|
-
|
17
|
+
div.CodeRay {
|
18
|
+
padding: 0; }
|
19
|
+
|
20
|
+
span.CodeRay {
|
21
|
+
white-space: pre;
|
22
|
+
border: 0px;
|
23
|
+
padding: 2px; }
|
21
24
|
|
22
|
-
|
25
|
+
table.CodeRay {
|
26
|
+
border-collapse: collapse;
|
27
|
+
width: 100%;
|
28
|
+
padding: 2px; }
|
23
29
|
|
24
|
-
table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
|
25
30
|
table.CodeRay td {
|
26
31
|
padding: 1em 0.5em;
|
27
|
-
vertical-align: top;
|
28
|
-
}
|
32
|
+
vertical-align: top; }
|
29
33
|
|
30
|
-
.CodeRay .
|
34
|
+
.CodeRay .line-numbers, .CodeRay .no {
|
31
35
|
border: 1px solid #ECECEC;
|
32
36
|
margin: 0 inherit;
|
33
37
|
background-color: #ECECEC;
|
34
38
|
color: #AAA;
|
35
|
-
|
36
|
-
}
|
37
|
-
|
38
|
-
.CodeRay .
|
39
|
-
|
40
|
-
|
41
|
-
.CodeRay .
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
.CodeRay .
|
53
|
-
|
54
|
-
|
55
|
-
.CodeRay
|
56
|
-
|
57
|
-
|
58
|
-
.CodeRay
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
.CodeRay .
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
.CodeRay .
|
69
|
-
|
70
|
-
|
71
|
-
.CodeRay .
|
72
|
-
|
73
|
-
|
74
|
-
.CodeRay .
|
75
|
-
|
76
|
-
|
77
|
-
.CodeRay .
|
78
|
-
|
79
|
-
|
80
|
-
.CodeRay .
|
81
|
-
|
82
|
-
|
83
|
-
.CodeRay .
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
.CodeRay .
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
.CodeRay .
|
92
|
-
|
93
|
-
|
94
|
-
.CodeRay .
|
95
|
-
|
96
|
-
|
97
|
-
.CodeRay .
|
98
|
-
|
99
|
-
|
100
|
-
.CodeRay .
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
.CodeRay .
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
.CodeRay .
|
109
|
-
|
110
|
-
|
111
|
-
.CodeRay .
|
112
|
-
|
113
|
-
|
114
|
-
.CodeRay .
|
115
|
-
|
116
|
-
|
117
|
-
.CodeRay .
|
118
|
-
|
119
|
-
|
120
|
-
.CodeRay .
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
.CodeRay .
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
.CodeRay .
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
.CodeRay .
|
135
|
-
|
136
|
-
|
137
|
-
.CodeRay .
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
.CodeRay .
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
.CodeRay .
|
146
|
-
|
147
|
-
|
39
|
+
padding: 0px 7px;
|
40
|
+
text-align: right; }
|
41
|
+
|
42
|
+
.CodeRay .line-numbers tt {
|
43
|
+
font-weight: bold; }
|
44
|
+
|
45
|
+
.CodeRay .line-numbers .highlighted {
|
46
|
+
color: red; }
|
47
|
+
|
48
|
+
.CodeRay .line {
|
49
|
+
display: block;
|
50
|
+
float: left;
|
51
|
+
width: 100%; }
|
52
|
+
|
53
|
+
.CodeRay .no {
|
54
|
+
padding: 0px 4px; }
|
55
|
+
|
56
|
+
.CodeRay .code {
|
57
|
+
width: 100%; }
|
58
|
+
|
59
|
+
ol.CodeRay {
|
60
|
+
font-size: 10pt; }
|
61
|
+
|
62
|
+
ol.CodeRay li {
|
63
|
+
white-space: pre; }
|
64
|
+
|
65
|
+
.CodeRay .code pre {
|
66
|
+
overflow: auto; }
|
67
|
+
|
68
|
+
.CodeRay .debug {
|
69
|
+
color: white !important;
|
70
|
+
background: blue !important; }
|
71
|
+
|
72
|
+
.CodeRay .attribute-name-fat {
|
73
|
+
color: #00C; }
|
74
|
+
|
75
|
+
.CodeRay .attribute-name {
|
76
|
+
color: #007; }
|
77
|
+
|
78
|
+
.CodeRay .annotation {
|
79
|
+
color: #f08; }
|
80
|
+
|
81
|
+
.CodeRay .attribute-value {
|
82
|
+
color: #700; }
|
83
|
+
|
84
|
+
.CodeRay .attribute-value-fat {
|
85
|
+
color: #C00; }
|
86
|
+
|
87
|
+
.CodeRay .binary {
|
88
|
+
color: #509;
|
89
|
+
font-weight: bold; }
|
90
|
+
|
91
|
+
.CodeRay .comment {
|
92
|
+
color: #998;
|
93
|
+
font-style: italic; }
|
94
|
+
|
95
|
+
.CodeRay .char {
|
96
|
+
color: #04D; }
|
97
|
+
|
98
|
+
.CodeRay .ch .content {
|
99
|
+
color: #04D; }
|
100
|
+
|
101
|
+
.CodeRay .ch .delimiter {
|
102
|
+
color: #039; }
|
103
|
+
|
104
|
+
.CodeRay .class {
|
105
|
+
color: #458;
|
106
|
+
font-weight: bold; }
|
107
|
+
|
108
|
+
.CodeRay .complex {
|
109
|
+
color: #A08;
|
110
|
+
font-weight: bold; }
|
111
|
+
|
112
|
+
.CodeRay .constant {
|
113
|
+
color: teal; }
|
114
|
+
|
115
|
+
.CodeRay .color {
|
116
|
+
color: #0A0; }
|
117
|
+
|
118
|
+
.CodeRay .class-variable {
|
119
|
+
color: #369; }
|
120
|
+
|
121
|
+
.CodeRay .decorator {
|
122
|
+
color: #B0B; }
|
123
|
+
|
124
|
+
.CodeRay .definition {
|
125
|
+
color: #099;
|
126
|
+
font-weight: bold; }
|
127
|
+
|
128
|
+
.CodeRay .directive {
|
129
|
+
color: #088;
|
130
|
+
font-weight: bold; }
|
131
|
+
|
132
|
+
.CodeRay .delimiter {
|
133
|
+
color: black; }
|
134
|
+
|
135
|
+
.CodeRay .doc {
|
136
|
+
color: #970; }
|
137
|
+
|
138
|
+
.CodeRay .doc-type {
|
139
|
+
color: #34b; }
|
140
|
+
|
141
|
+
.CodeRay .doc-string {
|
142
|
+
color: #D42;
|
143
|
+
font-weight: bold; }
|
144
|
+
|
145
|
+
.CodeRay .escape {
|
146
|
+
color: #666;
|
147
|
+
font-weight: bold; }
|
148
|
+
|
149
|
+
.CodeRay .entity {
|
150
|
+
color: #800;
|
151
|
+
font-weight: bold; }
|
152
|
+
|
153
|
+
.CodeRay .error {
|
154
|
+
color: #F00;
|
155
|
+
background-color: #FAA; }
|
156
|
+
|
157
|
+
.CodeRay .exception {
|
158
|
+
color: #C00;
|
159
|
+
font-weight: bold; }
|
160
|
+
|
161
|
+
.CodeRay .float {
|
162
|
+
color: #099; }
|
163
|
+
|
164
|
+
.CodeRay .function {
|
165
|
+
color: #900;
|
166
|
+
font-weight: bold; }
|
167
|
+
|
168
|
+
.CodeRay .global-variable {
|
169
|
+
color: teal;
|
170
|
+
font-weight: bold; }
|
171
|
+
|
172
|
+
.CodeRay .hex {
|
173
|
+
color: #058;
|
174
|
+
font-weight: bold; }
|
175
|
+
|
176
|
+
.CodeRay .imaginary {
|
177
|
+
color: #099; }
|
178
|
+
|
179
|
+
.CodeRay .include {
|
180
|
+
color: #B44;
|
181
|
+
font-weight: bold; }
|
182
|
+
|
183
|
+
.CodeRay .inline {
|
184
|
+
color: black; }
|
185
|
+
|
186
|
+
.CodeRay .inline .inline {
|
187
|
+
background: #ccc; }
|
188
|
+
|
189
|
+
.CodeRay .inline .inline .inline {
|
190
|
+
background: #bbb; }
|
191
|
+
|
192
|
+
.CodeRay .inline .inline-delimiter {
|
193
|
+
color: #D14; }
|
194
|
+
|
195
|
+
.CodeRay .inline-delimiter {
|
196
|
+
color: #D14; }
|
197
|
+
|
198
|
+
.CodeRay .imaginary {
|
199
|
+
color: #f00; }
|
200
|
+
|
201
|
+
.CodeRay .include {
|
202
|
+
color: #B2B;
|
203
|
+
font-weight: bold; }
|
204
|
+
|
205
|
+
.CodeRay .instance-variable {
|
206
|
+
color: teal; }
|
207
|
+
|
208
|
+
.CodeRay .label {
|
209
|
+
color: #970;
|
210
|
+
font-weight: bold; }
|
211
|
+
|
212
|
+
.CodeRay .local-variable {
|
213
|
+
color: #963; }
|
214
|
+
|
215
|
+
.CodeRay .octal {
|
216
|
+
color: #40E;
|
217
|
+
font-weight: bold; }
|
218
|
+
|
219
|
+
.CodeRay .operator-fat {
|
220
|
+
color: #000;
|
221
|
+
font-weight: bold; }
|
222
|
+
|
223
|
+
.CodeRay .predefined-constant {
|
224
|
+
font-weight: bold; }
|
225
|
+
|
226
|
+
.CodeRay .predefined {
|
227
|
+
color: #369;
|
228
|
+
font-weight: bold; }
|
229
|
+
|
230
|
+
.CodeRay .preprocessor {
|
231
|
+
color: #579; }
|
232
|
+
|
233
|
+
.CodeRay .pseudo-class {
|
234
|
+
color: #00C;
|
235
|
+
font-weight: bold; }
|
236
|
+
|
237
|
+
.CodeRay .predefined-type {
|
238
|
+
color: #074;
|
239
|
+
font-weight: bold; }
|
240
|
+
|
241
|
+
.CodeRay .reserved, .keyword {
|
242
|
+
color: #000;
|
243
|
+
font-weight: bold; }
|
244
|
+
|
245
|
+
.CodeRay .key {
|
246
|
+
color: #808; }
|
247
|
+
|
248
|
+
.CodeRay .key .delimiter {
|
249
|
+
color: #606; }
|
250
|
+
|
251
|
+
.CodeRay .key .char {
|
252
|
+
color: #80f; }
|
253
|
+
|
254
|
+
.CodeRay .value {
|
255
|
+
color: #088; }
|
256
|
+
|
257
|
+
.CodeRay .regexp {
|
258
|
+
background-color: #fff0ff; }
|
259
|
+
|
260
|
+
.CodeRay .regexp .content {
|
261
|
+
color: #808; }
|
262
|
+
|
263
|
+
.CodeRay .regexp .delimiter {
|
264
|
+
color: #404; }
|
265
|
+
|
266
|
+
.CodeRay .regexp .modifier {
|
267
|
+
color: #C2C; }
|
268
|
+
|
269
|
+
.CodeRay .regexp .function {
|
270
|
+
color: #404;
|
271
|
+
font-weight: bold; }
|
272
|
+
|
273
|
+
.CodeRay .string {
|
274
|
+
color: #D20; }
|
275
|
+
|
276
|
+
.CodeRay .string .content {
|
277
|
+
color: #D14; }
|
278
|
+
|
279
|
+
.CodeRay .string .char {
|
280
|
+
color: #D14; }
|
281
|
+
|
282
|
+
.CodeRay .string .delimiter {
|
283
|
+
color: #D14; }
|
284
|
+
|
285
|
+
.CodeRay .shell {
|
286
|
+
color: #D14; }
|
287
|
+
|
288
|
+
.CodeRay .shell .delimiter {
|
289
|
+
color: #D14; }
|
290
|
+
|
291
|
+
.CodeRay .symbol {
|
292
|
+
color: #990073; }
|
293
|
+
|
294
|
+
.CodeRay .symbol .content {
|
295
|
+
color: #A60; }
|
296
|
+
|
297
|
+
.CodeRay .symbol .delimiter {
|
298
|
+
color: #630; }
|
299
|
+
|
300
|
+
.CodeRay .tag {
|
301
|
+
color: #070; }
|
302
|
+
|
303
|
+
.CodeRay .tag-fat {
|
304
|
+
color: #070;
|
305
|
+
font-weight: bold; }
|
306
|
+
|
307
|
+
.CodeRay .tag-special {
|
308
|
+
color: #D70;
|
309
|
+
font-weight: bold; }
|
310
|
+
|
311
|
+
.CodeRay .type {
|
312
|
+
color: #339;
|
313
|
+
font-weight: bold; }
|
314
|
+
|
315
|
+
.CodeRay .variable {
|
316
|
+
color: #036; }
|
317
|
+
|
318
|
+
.CodeRay .xml-text {
|
319
|
+
color: #444; }
|
320
|
+
|
321
|
+
.CodeRay .insert {
|
322
|
+
background: #afa; }
|
323
|
+
|
324
|
+
.CodeRay .delete {
|
325
|
+
background: #faa; }
|
326
|
+
|
327
|
+
.CodeRay .change {
|
328
|
+
color: #aaf;
|
329
|
+
background: #007; }
|
330
|
+
|
331
|
+
.CodeRay .head {
|
332
|
+
color: #f8f;
|
333
|
+
background: #505; }
|
334
|
+
|
335
|
+
.CodeRay .insert .insert {
|
336
|
+
color: #080;
|
337
|
+
font-weight: bold; }
|
338
|
+
|
339
|
+
.CodeRay .delete .delete {
|
340
|
+
color: #800;
|
341
|
+
font-weight: bold; }
|
342
|
+
|
343
|
+
.CodeRay .change .change {
|
344
|
+
color: #66f; }
|
345
|
+
|
346
|
+
.CodeRay .head .head {
|
347
|
+
color: #f4f; }
|