webby 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. data/History.txt +20 -0
  2. data/Manifest.txt +46 -2
  3. data/Rakefile +4 -3
  4. data/bin/webby +1 -1
  5. data/data/Rakefile +0 -1
  6. data/data/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
  7. data/data/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
  8. data/data/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
  9. data/data/content/s5/blank.gif +0 -0
  10. data/data/content/s5/bodybg.gif +0 -0
  11. data/data/content/s5/framing.css +23 -0
  12. data/data/content/s5/iepngfix.htc +42 -0
  13. data/data/content/s5/opera.css +7 -0
  14. data/data/content/s5/outline.css +15 -0
  15. data/data/content/s5/pretty.css +86 -0
  16. data/data/content/s5/print.css +1 -0
  17. data/data/content/s5/s5-core.css +9 -0
  18. data/data/content/s5/slides.css +3 -0
  19. data/data/content/s5/slides.js +553 -0
  20. data/data/lib/breadcrumbs.rb +0 -0
  21. data/data/tasks/blog.rake +71 -0
  22. data/data/tasks/build.rake +27 -0
  23. data/data/tasks/create.rake +19 -1
  24. data/data/tasks/deploy.rake +2 -2
  25. data/data/tasks/setup.rb +4 -1
  26. data/data/templates/atom_feed.erb +20 -13
  27. data/data/templates/page.erb +1 -1
  28. data/data/templates/presentation.erb +40 -0
  29. data/examples/presentation/Rakefile +14 -0
  30. data/examples/presentation/content/_sample_code.txt +10 -0
  31. data/examples/presentation/content/css/uv/twilight.css +137 -0
  32. data/examples/presentation/content/index.txt +63 -0
  33. data/examples/presentation/content/s5/blank.gif +0 -0
  34. data/examples/presentation/content/s5/bodybg.gif +0 -0
  35. data/examples/presentation/content/s5/framing.css +23 -0
  36. data/examples/presentation/content/s5/iepngfix.htc +42 -0
  37. data/examples/presentation/content/s5/opera.css +7 -0
  38. data/examples/presentation/content/s5/outline.css +15 -0
  39. data/examples/presentation/content/s5/pretty.css +86 -0
  40. data/examples/presentation/content/s5/print.css +1 -0
  41. data/examples/presentation/content/s5/s5-core.css +9 -0
  42. data/examples/presentation/content/s5/slides.css +3 -0
  43. data/examples/presentation/content/s5/slides.js +553 -0
  44. data/examples/presentation/layouts/presentation.rhtml +43 -0
  45. data/examples/presentation/tasks/blog.rake +71 -0
  46. data/examples/presentation/tasks/build.rake +27 -0
  47. data/examples/presentation/tasks/create.rake +22 -0
  48. data/examples/presentation/tasks/deploy.rake +22 -0
  49. data/examples/presentation/tasks/growl.rake +12 -0
  50. data/examples/presentation/tasks/heel.rake +28 -0
  51. data/examples/presentation/tasks/setup.rb +17 -0
  52. data/examples/presentation/tasks/validate.rake +19 -0
  53. data/examples/presentation/templates/_partial.erb +13 -0
  54. data/examples/presentation/templates/presentation.erb +40 -0
  55. data/examples/webby/Rakefile +3 -2
  56. data/examples/webby/content/css/blueprint/screen.css +1 -1
  57. data/examples/webby/content/css/coderay.css +0 -15
  58. data/examples/webby/content/css/site.css +18 -13
  59. data/examples/webby/content/css/uv/twilight.css +137 -0
  60. data/examples/webby/content/index.txt +6 -10
  61. data/examples/webby/content/manual/index.txt +83 -122
  62. data/examples/webby/content/reference/index.txt +161 -16
  63. data/examples/webby/content/script/jquery.js +1 -1
  64. data/examples/webby/content/tips_and_tricks/index.txt +1 -1
  65. data/examples/webby/content/tutorial/index.txt +1 -1
  66. data/examples/webby/layouts/default.rhtml +2 -7
  67. data/examples/webby/tasks/blog.rake +71 -0
  68. data/examples/webby/tasks/build.rake +27 -0
  69. data/examples/webby/tasks/create.rake +19 -1
  70. data/examples/webby/tasks/deploy.rake +2 -2
  71. data/examples/webby/tasks/setup.rb +4 -20
  72. data/examples/webby/templates/page.erb +1 -1
  73. data/lib/webby.rb +30 -5
  74. data/lib/webby/auto_builder.rb +0 -2
  75. data/lib/webby/builder.rb +51 -5
  76. data/lib/webby/filters.rb +3 -3
  77. data/lib/webby/filters/basepath.rb +7 -7
  78. data/lib/webby/filters/erb.rb +0 -2
  79. data/lib/webby/filters/haml.rb +0 -2
  80. data/lib/webby/filters/markdown.rb +0 -2
  81. data/lib/webby/filters/outline.rb +43 -2
  82. data/lib/webby/filters/sass.rb +0 -2
  83. data/lib/webby/filters/slides.rb +56 -0
  84. data/lib/webby/filters/textile.rb +0 -2
  85. data/lib/webby/filters/tidy.rb +0 -2
  86. data/lib/webby/helpers.rb +0 -2
  87. data/lib/webby/helpers/capture_helper.rb +141 -0
  88. data/lib/webby/helpers/coderay_helper.rb +5 -16
  89. data/lib/webby/helpers/graphviz_helper.rb +6 -18
  90. data/lib/webby/helpers/tag_helper.rb +0 -2
  91. data/lib/webby/helpers/tex_img_helper.rb +5 -16
  92. data/lib/webby/helpers/ultraviolet_helper.rb +11 -22
  93. data/lib/webby/helpers/url_helper.rb +2 -4
  94. data/lib/webby/link_validator.rb +0 -2
  95. data/lib/webby/main.rb +0 -2
  96. data/lib/webby/renderer.rb +163 -37
  97. data/lib/webby/resources.rb +0 -2
  98. data/lib/webby/resources/db.rb +37 -27
  99. data/lib/webby/resources/file.rb +0 -2
  100. data/lib/webby/resources/layout.rb +0 -2
  101. data/lib/webby/resources/page.rb +4 -9
  102. data/lib/webby/resources/partial.rb +1 -3
  103. data/lib/webby/resources/resource.rb +10 -2
  104. data/lib/webby/resources/static.rb +0 -2
  105. data/lib/webby/stelan/mktemp.rb +0 -2
  106. data/lib/webby/stelan/spawner.rb +0 -2
  107. data/lib/webby/utils.rb +0 -2
  108. data/spec/spec_helper.rb +1 -4
  109. data/spec/webby/helpers/capture_helper_spec.rb +56 -0
  110. data/spec/webby/resources/file_spec.rb +0 -1
  111. data/tasks/ann.rake +7 -4
  112. data/tasks/bones.rake +2 -2
  113. data/tasks/gem.rake +26 -14
  114. data/tasks/notes.rake +11 -5
  115. data/tasks/post_load.rake +4 -2
  116. data/tasks/rdoc.rake +4 -2
  117. data/tasks/rubyforge.rake +3 -3
  118. data/tasks/setup.rb +24 -9
  119. data/tasks/spec.rake +1 -1
  120. data/tasks/website.rake +1 -1
  121. metadata +51 -7
  122. data/lib/webby/webby_task.rb +0 -134
  123. data/tasks/svn.rake +0 -45
@@ -0,0 +1,43 @@
1
+ ---
2
+ extension: html
3
+ filter:
4
+ - erb
5
+ ---
6
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
7
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
8
+
9
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
10
+ <head>
11
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
12
+ <title><%= h(@page.title) %></title>
13
+ <meta name="author" content="<%= h(@page.author) %>" />
14
+ <meta name="company" content="<%= h(@page.company) %>" />
15
+
16
+ <!-- configuration parameters -->
17
+ <meta name="defaultView" content="slideshow" />
18
+ <meta name="controlVis" content="hidden" />
19
+
20
+ <link rel="stylesheet" href="s5/slides.css" type="text/css" media="projection" id="slideProj" />
21
+ <link rel="stylesheet" href="s5/outline.css" type="text/css" media="screen" id="outlineStyle" />
22
+ <link rel="stylesheet" href="/css/uv/twilight.css" type="text/css" media="screen, projection" />
23
+
24
+ <!-- S5 JS -->
25
+ <script src="s5/slides.js" type="text/javascript"></script>
26
+ </head>
27
+ <body>
28
+
29
+ <div class="layout">
30
+ <div id="controls"><!-- DO NOT EDIT --></div>
31
+ <div id="currentSlide"><!-- DO NOT EDIT --></div>
32
+ <div id="header"></div>
33
+ <div id="footer">
34
+ <h2>Copyright &copy; <%= h(@page.copyright) %></h2>
35
+ </div>
36
+ </div>
37
+
38
+ <div class="presentation">
39
+ <%= @content %>
40
+ </div>
41
+
42
+ </body>
43
+ </html>
@@ -0,0 +1,71 @@
1
+
2
+ namespace :blog do
3
+
4
+ # iterate over all the files in the "templates/blog" folder and create a
5
+ # rake task corresponding to each file found
6
+ FileList["#{Webby.site.template_dir}/blog/*"].each do |template|
7
+ next unless test(?f, template)
8
+ name = template.pathmap('%n')
9
+ next if name =~ %r/^(month|year)$/ # skip month/year blog entries
10
+
11
+ desc "Create a new blog #{name}"
12
+ task name => [:create_year_index, :create_month_index] do |t|
13
+ page, title, dir = Webby::Builder.new_page_info(t)
14
+
15
+ # if no directory was given use the default blog directory (underneath
16
+ # the content directory)
17
+ dir = Webby.site.blog_dir if dir.empty?
18
+ dir = File.join(dir, Time.now.strftime('%Y/%m/%d'))
19
+
20
+ page = File.join(dir, File.basename(page))
21
+ page = Webby::Builder.create(page, :from => template,
22
+ :locals => {:title => title, :directory => dir})
23
+ exec(::Webby.editor, page) unless ::Webby.editor.nil?
24
+ end
25
+ end # each
26
+
27
+ # this task is used to create the year index file (blog/2008/index.txt)
28
+ task :create_year_index do |t|
29
+ # parse out information about the page to create
30
+ _, _, dir = Webby::Builder.new_page_info(t)
31
+ year = Time.now.strftime '%Y'
32
+
33
+ # if no directory was given use the default blog directory (underneath
34
+ # the content directory)
35
+ dir = Webby.site.blog_dir if dir.empty?
36
+ dir = File.join(dir, year)
37
+
38
+ # determine the filename and template name
39
+ fn = File.join(dir, 'index.txt')
40
+ tmpl = Dir.glob(File.join(Webby.site.template_dir, 'blog/year.*')).first.to_s
41
+
42
+ if test(?f, tmpl) and not test(?f, File.join(Webby.site.content_dir, fn))
43
+ Webby::Builder.create(fn, :from => tmpl,
44
+ :locals => {:title => year, :directory => dir})
45
+ end
46
+ end
47
+
48
+ # this task is used to create the month index file (blog/2008/04/index.txt)
49
+ task :create_month_index do |t|
50
+ # parse out information about the page to create
51
+ _, _, dir = Webby::Builder.new_page_info(t)
52
+ now = Time.now
53
+
54
+ # if no directory was given use the default blog directory (underneath
55
+ # the content directory)
56
+ dir = Webby.site.blog_dir if dir.empty?
57
+ dir = File.join(dir, now.strftime('%Y/%m'))
58
+
59
+ # determine the filename and template name
60
+ fn = File.join(dir, 'index.txt')
61
+ tmpl = Dir.glob(File.join(Webby.site.template_dir, 'blog/month.*')).first.to_s
62
+
63
+ if test(?f, tmpl) and not test(?f, File.join(Webby.site.content_dir, fn))
64
+ Webby::Builder.create(fn, :from => tmpl,
65
+ :locals => {:title => year, :directory => dir})
66
+ end
67
+ end
68
+
69
+ end # namespace :blog
70
+
71
+ # EOF
@@ -0,0 +1,27 @@
1
+
2
+ task :configure_basepath do
3
+ Webby.site.base = ENV['BASE'] if ENV.has_key?('BASE')
4
+ end
5
+
6
+ desc "Build the website"
7
+ task :build => :configure_basepath do |t|
8
+ Webby::Builder.run
9
+ end
10
+
11
+ desc "Rebuild the website"
12
+ task :rebuild => :configure_basepath do |t|
13
+ Webby::Builder.run :rebuild => true
14
+ end
15
+
16
+ desc "Continuously build the website"
17
+ task :autobuild => :configure_basepath do |t|
18
+ Webby::AutoBuilder.run
19
+ end
20
+
21
+ desc "Delete the website"
22
+ task :clobber do |t|
23
+ rm_rf Webby.site.output_dir
24
+ mkdir Webby.site.output_dir
25
+ end
26
+
27
+ # EOF
@@ -0,0 +1,22 @@
1
+
2
+ namespace :create do
3
+
4
+ FileList["#{Webby.site.template_dir}/*"].each do |template|
5
+ next unless test(?f, template)
6
+ name = template.pathmap '%n'
7
+
8
+ # if the file is a partial template
9
+ name = $1 if name =~ %r/^_(.*)/
10
+
11
+ desc "Create a new #{name}"
12
+ task name do |t|
13
+ page, title, dir = Webby::Builder.new_page_info(t)
14
+ page = Webby::Builder.create(page, :from => template,
15
+ :locals => {:title => title, :directory => dir})
16
+ exec(::Webby.editor, page) unless ::Webby.editor.nil?
17
+ end
18
+ end # each
19
+
20
+ end # namespace :create
21
+
22
+ # EOF
@@ -0,0 +1,22 @@
1
+
2
+ require 'rake/contrib/sshpublisher'
3
+
4
+ namespace :deploy do
5
+
6
+ desc 'Deploy to the server using rsync'
7
+ task :rsync do
8
+ cmd = "rsync #{SITE.rsync_args.join(' ')} "
9
+ cmd << "#{SITE.output_dir}/ #{SITE.user}@#{SITE.host}:#{SITE.remote_dir}"
10
+ sh cmd
11
+ end
12
+
13
+ desc 'Deploy to the server using ssh'
14
+ task :ssh do
15
+ Rake::SshDirPublisher.new(
16
+ "#{SITE.user}@#{SITE.host}", SITE.remote_dir, SITE.output_dir
17
+ ).upload
18
+ end
19
+
20
+ end # deploy
21
+
22
+ # EOF
@@ -0,0 +1,12 @@
1
+
2
+ desc 'Send log events to Growl (Mac OS X only)'
3
+ task :growl do
4
+ Logging::Logger['Webby'].add_appenders(Logging::Appenders::Growl.new(
5
+ "Webby",
6
+ :layout => Logging::Layouts::Pattern.new(:pattern => "%5l - Webby\000%m"),
7
+ :coalesce => true,
8
+ :separator => "\000"
9
+ ))
10
+ end
11
+
12
+ # EOF
@@ -0,0 +1,28 @@
1
+
2
+ namespace :heel do
3
+
4
+ desc 'Start the heel server to view website (not for Windows)'
5
+ task :start do
6
+ sh "heel --root #{SITE.output_dir} --port #{SITE.heel_port} --daemonize"
7
+ end
8
+
9
+ desc 'Stop the heel server'
10
+ task :stop do
11
+ sh "heel --kill"
12
+ end
13
+
14
+ task :autorun do
15
+ heel_exe = File.join(Gem.bindir, 'heel')
16
+ @heel_spawner = Spawner.new(Spawner.ruby, heel_exe, '--root', SITE.output_dir, '--port', SITE.heel_port.to_s, :pause => 86_400)
17
+ @heel_spawner.start
18
+ end
19
+
20
+ task :autobuild => :autorun do
21
+ at_exit {@heel_spawner.stop if defined? @heel_spawner and not @heel_spawner.nil?}
22
+ end
23
+
24
+ end
25
+
26
+ task :autobuild => 'heel:autobuild'
27
+
28
+ # EOF
@@ -0,0 +1,17 @@
1
+
2
+ begin
3
+ require 'webby'
4
+ rescue LoadError
5
+ require 'rubygems'
6
+ require 'webby'
7
+ end
8
+
9
+ SITE = Webby.site
10
+
11
+ # Load the other rake files in the tasks folder
12
+ Dir.glob(::File.join(%w[tasks *.rake])).sort.each {|fn| import fn}
13
+
14
+ # Load all the ruby files in the lib folder
15
+ Dir.glob(::File.join(%w[lib ** *.rb])).sort.each {|fn| require fn}
16
+
17
+ # EOF
@@ -0,0 +1,19 @@
1
+
2
+ namespace :validate do
3
+
4
+ desc 'Validate hyperlinks (exclude exteranl sites)'
5
+ task :internal => :build do
6
+ Webby::LinkValidator.validate(:external => false)
7
+ end
8
+
9
+ desc 'Validate hyperlinks (include external sites)'
10
+ task :external => :build do
11
+ Webby::LinkValidator.validate(:external => true)
12
+ end
13
+
14
+ end # validate
15
+
16
+ desc 'Alias to validate:internal'
17
+ task :validate => 'validate:internal'
18
+
19
+ # EOF
@@ -0,0 +1,13 @@
1
+ ---
2
+ filter: erb
3
+ ---
4
+ <%% uv :lang => 'ruby', :line_numbers => false, :theme => 'twilight' do -%>
5
+ # This is a sample of Ruby code
6
+ #
7
+ class Object
8
+ def returning( obj, &block )
9
+ block.call obj
10
+ return obj
11
+ end
12
+ end
13
+ <%% end -%>
@@ -0,0 +1,40 @@
1
+ ---
2
+ title: <%= title %>
3
+ created_at: <%= Time.now.to_y %>
4
+ author: You
5
+ company: Company
6
+ copyright: Creative Commons
7
+ filter:
8
+ - erb
9
+ - textile
10
+ - slides
11
+ layout: presentation
12
+ ---
13
+ h1. Presentation Title
14
+
15
+ Clever introductory text that will grab the audience's attention.
16
+
17
+
18
+ h1. Title of the First Slide
19
+
20
+ A little more build up before really getting into the meat of it.
21
+
22
+
23
+ h1. Title of the Second Slide
24
+
25
+ Finally, some code!
26
+
27
+ <%% uv :lang => 'ruby', :line_numbers => false do -%>
28
+ class EnglishMajor
29
+ def supercilious
30
+ 'behaving or looking as though one thinks one is superior to others'
31
+ end
32
+ end
33
+ <%% end -%>
34
+
35
+
36
+ h1. The Final Slide
37
+
38
+ And that about sums it up!
39
+
40
+ Thanks for visiting
@@ -6,11 +6,12 @@ task :default => :build
6
6
  desc 'deploy the website to Rubyforge'
7
7
  task :deploy => [:build, 'deploy:rsync']
8
8
 
9
- SITE.host = 'tim_pease@rubyforge.org'
9
+ SITE.user = 'tim_pease'
10
+ SITE.host = 'rubyforge.org'
10
11
  SITE.remote_dir = '/var/www/gforge-projects/webby/'
11
12
  SITE.create_mode = 'directory'
12
13
 
13
- SITE.uv[:theme] = 'blackboard'
14
+ SITE.uv[:theme] = 'twilight'
14
15
  SITE.uv[:line_numbers] = true
15
16
 
16
17
  task :autobuild => :growl
@@ -693,4 +693,4 @@ color:#666;
693
693
  input.text:focus,input.title:focus,textarea:focus,select:focus {
694
694
  background:#fff;
695
695
  border:1px solid #999;
696
- }
696
+ }
@@ -1,18 +1,3 @@
1
- .CodeRay {
2
- padding: 0.5em;
3
- margin-bottom: 1.3em;
4
- background-color: #eee;
5
- border: 1px solid #aaa;
6
- font: 1.1em Monaco, 'Courier New', 'Terminal', monospace;
7
- color: #100;
8
- }
9
- .CodeRay pre {
10
- padding: 0px;
11
- margin: 0px;
12
- overflow: auto;
13
- background-color: transparent;
14
- border: none;
15
- }
16
1
 
17
2
  div.CodeRay { }
18
3
 
@@ -17,6 +17,8 @@ sass_options:
17
17
  !quiet = #666
18
18
  !alt = #666
19
19
 
20
+ @import blueprint/screen.css
21
+
20
22
  body
21
23
  :color = !text
22
24
  :font-family Verdana, sans-serif
@@ -103,12 +105,6 @@ p.quiet
103
105
  :text-align right
104
106
 
105
107
  .CodeRay
106
- :margin-left 18px
107
- :padding 8px
108
- :border = 1px solid !border
109
- :border-left = 7px solid !border
110
- :background = !box_bg
111
- :color = !code
112
108
  pre
113
109
  :font 12px monospace, courier
114
110
 
@@ -133,13 +129,6 @@ ul
133
129
  ul
134
130
  :margin-bottom 0
135
131
 
136
- table.reference
137
- :width 100%
138
- td
139
- :padding 2px 5px
140
- ul
141
- :margin-bottom 0
142
-
143
132
  span.heading-num
144
133
  :margin-right 10px
145
134
 
@@ -156,4 +145,20 @@ pre.option
156
145
  :width 500px
157
146
  :clear both
158
147
 
148
+ div.label
149
+ :float left
150
+ :clear left
151
+ :margin-right 10px
152
+ :width 110px
153
+ :font-weight bold
154
+
155
+ div.desc
156
+ :float left
157
+ :margin
158
+ :right 0
159
+ :bottom 1.5em
160
+ :width 510px
161
+ ul
162
+ :margin-bottom 0
163
+
159
164
  // EOF
@@ -0,0 +1,137 @@
1
+ pre.twilight .DiffInserted {
2
+ background-color: #253B22;
3
+ color: #F8F8F8;
4
+ }
5
+ pre.twilight .DiffHeader {
6
+ background-color: #0E2231;
7
+ color: #F8F8F8;
8
+ font-style: italic;
9
+ }
10
+ pre.twilight .CssPropertyValue {
11
+ color: #F9EE98;
12
+ }
13
+ pre.twilight .CCCPreprocessorDirective {
14
+ color: #AFC4DB;
15
+ }
16
+ pre.twilight .Constant {
17
+ color: #CF6A4C;
18
+ }
19
+ pre.twilight .DiffChanged {
20
+ background-color: #4A410D;
21
+ color: #F8F8F8;
22
+ }
23
+ pre.twilight .EmbeddedSource {
24
+ background-color: #A3A6AD;
25
+ }
26
+ pre.twilight .Support {
27
+ color: #9B859D;
28
+ }
29
+ pre.twilight .MarkupList {
30
+ color: #F9EE98;
31
+ }
32
+ pre.twilight .CssConstructorArgument {
33
+ color: #8F9D6A;
34
+ }
35
+ pre.twilight .Storage {
36
+ color: #F9EE98;
37
+ }
38
+ pre.twilight .line-numbers {
39
+ background-color: inherit;
40
+ color: #999999;
41
+ }
42
+ pre.twilight .CssClass {
43
+ color: #9B703F;
44
+ }
45
+ pre.twilight .StringConstant {
46
+ color: #DDF2A4;
47
+ }
48
+ pre.twilight .CssAtRule {
49
+ color: #8693A5;
50
+ }
51
+ pre.twilight .MetaTagInline {
52
+ color: #E0C589;
53
+ }
54
+ pre.twilight .MarkupHeading {
55
+ color: #CF6A4C;
56
+ }
57
+ pre.twilight .CssTagName {
58
+ color: #CDA869;
59
+ }
60
+ pre.twilight .SupportConstant {
61
+ color: #CF6A4C;
62
+ }
63
+ pre.twilight .DiffDeleted {
64
+ background-color: #420E09;
65
+ color: #F8F8F8;
66
+ }
67
+ pre.twilight .CCCPreprocessorLine {
68
+ color: #8996A8;
69
+ }
70
+ pre.twilight .StringRegexpSpecial {
71
+ color: #CF7D34;
72
+ }
73
+ pre.twilight .EmbeddedSourceBright {
74
+ background-color: #9C9EA4;
75
+ }
76
+ pre.twilight .InvalidIllegal {
77
+ background-color: #241A24;
78
+ color: #F8F8F8;
79
+ }
80
+ pre.twilight .SupportFunction {
81
+ color: #DAD085;
82
+ }
83
+ pre.twilight .CssAdditionalConstants {
84
+ color: #CA7840;
85
+ }
86
+ pre.twilight .MetaTagAll {
87
+ color: #AC885B;
88
+ }
89
+ pre.twilight .StringRegexp {
90
+ color: #E9C062;
91
+ }
92
+ pre.twilight .StringEmbeddedSource {
93
+ color: #DAEFA3;
94
+ }
95
+ pre.twilight .EntityInheritedClass {
96
+ color: #9B5C2E;
97
+ font-style: italic;
98
+ }
99
+ pre.twilight .CssId {
100
+ color: #8B98AB;
101
+ }
102
+ pre.twilight .CssPseudoClass {
103
+ color: #8F9D6A;
104
+ }
105
+ pre.twilight .StringVariable {
106
+ color: #8A9A95;
107
+ }
108
+ pre.twilight .String {
109
+ color: #8F9D6A;
110
+ }
111
+ pre.twilight .Keyword {
112
+ color: #CDA869;
113
+ }
114
+ pre.twilight {
115
+ background-color: #141414;
116
+ color: #F8F8F8;
117
+ }
118
+ pre.twilight .CssPropertyName {
119
+ color: #C5AF75;
120
+ }
121
+ pre.twilight .DoctypeXmlProcessing {
122
+ color: #494949;
123
+ }
124
+ pre.twilight .InvalidDeprecated {
125
+ color: #D2A8A1;
126
+ font-style: italic;
127
+ }
128
+ pre.twilight .Variable {
129
+ color: #7587A6;
130
+ }
131
+ pre.twilight .Entity {
132
+ color: #9B703F;
133
+ }
134
+ pre.twilight .Comment {
135
+ color: #5F5A60;
136
+ font-style: italic;
137
+ }