glyph 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.textile CHANGED
@@ -1,4 +1,4 @@
1
- <p>Copyright &copy; 2010 <strong>Fabio Cevasco</strong>, <a href="http://www.h3rald.com">http://www.h3rald.com</a></p>
1
+ <p>Copyright &copy; 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.</p>
16
+ THE SOFTWARE.
17
+ </p>
data/book/config.yml CHANGED
@@ -4,7 +4,7 @@
4
4
  :subtitle: Rapid Document Authoring Framework
5
5
  :author: Fabio Cevasco
6
6
  :draft: true
7
- :revision: v0.5.0
7
+ :revision: v0.5.1
8
8
  :filename: glyph
9
9
  :title: Glyph
10
10
  :styles: link
@@ -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 src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></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 src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></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>
@@ -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,
@@ -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
- :macro_rep: html5
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/project[
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
@@ -1,4 +1,4 @@
1
- p[Copyright &copy; 2010 strong[Fabio Cevasco], =>[http://www.h3rald.com]]
1
+ p[Copyright &copy; 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[=&amp;[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.0"
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-08-28"
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.2.6"])
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.8.7"])
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.6.5"])
41
- s.add_development_dependency("directory_watcher", [">= 1.4.0"])
42
- s.add_development_dependency("sass", [">= 3.1.7"])
43
- s.add_development_dependency("RedCloth", [">= 4.2.7"])
44
- s.add_development_dependency("bluecloth", [">= 2.1.0"])
45
- s.add_development_dependency("coderay", [">= 0.9.7"])
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
@@ -72,7 +72,7 @@ module Glyph
72
72
  class MutualInclusionError < MacroError; end
73
73
 
74
74
  # The current version of Glyph
75
- VERSION = "0.5.0"
75
+ VERSION = "0.5.1"
76
76
 
77
77
  # All the currently-loaded macros
78
78
  MACROS = {}
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] = params(0).blank? ? Time.now.strftime("%B %Y") : params(0)
74
+ @data[:date] = param(0).blank? ? Time.now.strftime("%B %Y") : param(0)
76
75
  render
77
76
  end
78
77
 
@@ -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=\"no\">1</span> <span class=\"r\">def</span> <span class=\"fu\">test_method</span>(a, b)
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
- span.CodeRay { white-space: pre; border: 0px; padding: 2px }
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 .line_numbers, .CodeRay .no {
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
- text-align: right;
36
- }
37
- .CodeRay .line_numbers tt { font-weight: bold }
38
- .CodeRay .line_numbers .highlighted { color: red }
39
- .CodeRay .line { display: block; float: left; width: 100%; }
40
- .CodeRay .no { padding: 0px 4px }
41
- .CodeRay .code { width: 100% }
42
-
43
- ol.CodeRay { font-size: 10pt }
44
- ol.CodeRay li { white-space: pre }
45
-
46
- .CodeRay .code pre { overflow: auto }
47
-
48
- .CodeRay .debug { color:white ! important; background:blue ! important; }
49
-
50
- .CodeRay .af { color:#00C }
51
- .CodeRay .an { color:#007 }
52
- .CodeRay .at { color:#f08 }
53
- .CodeRay .av { color:#700 }
54
- .CodeRay .aw { color:#C00 }
55
- .CodeRay .bi { color:#509; font-weight:bold }
56
- .CodeRay .c { color:#998; font-style: italic;}
57
-
58
- .CodeRay .ch { color:#04D }
59
- .CodeRay .ch .k { color:#04D }
60
- .CodeRay .ch .dl { color:#039 }
61
-
62
- .CodeRay .cl { color:#458; font-weight:bold }
63
- .CodeRay .cm { color:#A08; font-weight:bold }
64
- .CodeRay .co { color:teal; }
65
- .CodeRay .cr { color:#0A0 }
66
- .CodeRay .cv { color:#369 }
67
- .CodeRay .de { color:#B0B; }
68
- .CodeRay .df { color:#099; font-weight:bold }
69
- .CodeRay .di { color:#088; font-weight:bold }
70
- .CodeRay .dl { color:black }
71
- .CodeRay .do { color:#970 }
72
- .CodeRay .dt { color:#34b }
73
- .CodeRay .ds { color:#D42; font-weight:bold }
74
- .CodeRay .e { color:#666; font-weight:bold }
75
- .CodeRay .en { color:#800; font-weight:bold }
76
- .CodeRay .er { color:#F00; background-color:#FAA }
77
- .CodeRay .ex { color:#C00; font-weight:bold }
78
- .CodeRay .fl { color:#099; }
79
- .CodeRay .fu { color:#900; font-weight:bold }
80
- .CodeRay .gv { color:teal; font-weight:bold }
81
- .CodeRay .hx { color:#058; font-weight:bold }
82
- .CodeRay .i { color:#099; }
83
- .CodeRay .ic { color:#B44; font-weight:bold }
84
-
85
- .CodeRay .il { color: black }
86
- .CodeRay .il .il { background: #ccc }
87
- .CodeRay .il .il .il { background: #bbb }
88
- .CodeRay .il .idl { color: #D14; }
89
- .CodeRay .idl { color: #D14; }
90
-
91
- .CodeRay .im { color:#f00; }
92
- .CodeRay .in { color:#B2B; font-weight:bold }
93
- .CodeRay .iv { color:teal }
94
- .CodeRay .la { color:#970; font-weight:bold }
95
- .CodeRay .lv { color:#963 }
96
- .CodeRay .oc { color:#40E; font-weight:bold }
97
- .CodeRay .of { color:#000; font-weight:bold }
98
- .CodeRay .op { }
99
- .CodeRay .pc { font-weight:bold }
100
- .CodeRay .pd { color:#369; font-weight:bold }
101
- .CodeRay .pp { color:#579; }
102
- .CodeRay .ps { color:#00C; font-weight:bold }
103
- .CodeRay .pt { color:#074; font-weight:bold }
104
- .CodeRay .r, .kw { color:#000; font-weight:bold }
105
-
106
- .CodeRay .ke { color: #808; }
107
- .CodeRay .ke .dl { color: #606; }
108
- .CodeRay .ke .ch { color: #80f; }
109
- .CodeRay .vl { color: #088; }
110
-
111
- .CodeRay .rx { background-color:#fff0ff }
112
- .CodeRay .rx .k { color:#808 }
113
- .CodeRay .rx .dl { color:#404 }
114
- .CodeRay .rx .mod { color:#C2C }
115
- .CodeRay .rx .fu { color:#404; font-weight: bold }
116
-
117
- .CodeRay .s { color: #D20; }
118
- .CodeRay .s .s { }
119
- .CodeRay .s .s .s { background-color:#ffd0d0 }
120
- .CodeRay .s .k { color: #D14; }
121
- .CodeRay .s .ch { color: #D14; }
122
- .CodeRay .s .dl { color: #D14; }
123
-
124
- .CodeRay .sh { color:#D14 }
125
- .CodeRay .sh .k { }
126
- .CodeRay .sh .dl { color:#D14 }
127
-
128
- .CodeRay .sy { color:#990073 }
129
- .CodeRay .sy .k { color:#A60 }
130
- .CodeRay .sy .dl { color:#630 }
131
-
132
- .CodeRay .ta { color:#070 }
133
- .CodeRay .tf { color:#070; font-weight:bold }
134
- .CodeRay .ts { color:#D70; font-weight:bold }
135
- .CodeRay .ty { color:#339; font-weight:bold }
136
- .CodeRay .v { color:#036 }
137
- .CodeRay .xt { color:#444 }
138
-
139
- .CodeRay .ins { background: #afa; }
140
- .CodeRay .del { background: #faa; }
141
- .CodeRay .chg { color: #aaf; background: #007; }
142
- .CodeRay .head { color: #f8f; background: #505 }
143
-
144
- .CodeRay .ins .ins { color: #080; font-weight:bold }
145
- .CodeRay .del .del { color: #800; font-weight:bold }
146
- .CodeRay .chg .chg { color: #66f; }
147
- .CodeRay .head .head { color: #f4f; }
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; }