showoff 0.11.2 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/showoff +9 -0
- data/lib/showoff.rb +28 -19
- data/lib/showoff/version.rb +1 -1
- data/public/css/highlight/agate.css +22 -51
- data/public/css/highlight/androidstudio.css +25 -12
- data/public/css/highlight/arduino-light.css +88 -0
- data/public/css/highlight/arta.css +24 -89
- data/public/css/highlight/ascetic.css +19 -26
- data/public/css/highlight/atelier-cave-dark.css +83 -0
- data/public/css/highlight/atelier-cave-light.css +85 -0
- data/public/css/highlight/atelier-cave.dark.css +26 -56
- data/public/css/highlight/atelier-cave.light.css +27 -55
- data/public/css/highlight/atelier-dune-dark.css +69 -0
- data/public/css/highlight/atelier-dune-light.css +69 -0
- data/public/css/highlight/atelier-dune.dark.css +22 -47
- data/public/css/highlight/atelier-dune.light.css +22 -47
- data/public/css/highlight/atelier-estuary-dark.css +84 -0
- data/public/css/highlight/atelier-estuary-light.css +84 -0
- data/public/css/highlight/atelier-estuary.dark.css +26 -55
- data/public/css/highlight/atelier-estuary.light.css +26 -55
- data/public/css/highlight/atelier-forest-dark.css +69 -0
- data/public/css/highlight/atelier-forest-light.css +69 -0
- data/public/css/highlight/atelier-forest.dark.css +22 -47
- data/public/css/highlight/atelier-forest.light.css +22 -47
- data/public/css/highlight/atelier-heath-dark.css +69 -0
- data/public/css/highlight/atelier-heath-light.css +69 -0
- data/public/css/highlight/atelier-heath.dark.css +22 -47
- data/public/css/highlight/atelier-heath.light.css +22 -47
- data/public/css/highlight/atelier-lakeside-dark.css +69 -0
- data/public/css/highlight/atelier-lakeside-light.css +69 -0
- data/public/css/highlight/atelier-lakeside.dark.css +22 -47
- data/public/css/highlight/atelier-lakeside.light.css +22 -47
- data/public/css/highlight/atelier-plateau-dark.css +84 -0
- data/public/css/highlight/atelier-plateau-light.css +84 -0
- data/public/css/highlight/atelier-plateau.dark.css +26 -55
- data/public/css/highlight/atelier-plateau.light.css +26 -55
- data/public/css/highlight/atelier-savanna-dark.css +84 -0
- data/public/css/highlight/atelier-savanna-light.css +84 -0
- data/public/css/highlight/atelier-savanna.dark.css +26 -55
- data/public/css/highlight/atelier-savanna.light.css +26 -55
- data/public/css/highlight/atelier-seaside-dark.css +69 -0
- data/public/css/highlight/atelier-seaside-light.css +69 -0
- data/public/css/highlight/atelier-seaside.dark.css +22 -47
- data/public/css/highlight/atelier-seaside.light.css +22 -47
- data/public/css/highlight/atelier-sulphurpool-dark.css +69 -0
- data/public/css/highlight/atelier-sulphurpool-light.css +69 -0
- data/public/css/highlight/atelier-sulphurpool.dark.css +22 -47
- data/public/css/highlight/atelier-sulphurpool.light.css +22 -47
- data/public/css/highlight/brown-paper.css +64 -0
- data/public/css/highlight/brown-papersq.png +0 -0
- data/public/css/highlight/brown_paper.css +21 -60
- data/public/css/highlight/codepen-embed.css +22 -59
- data/public/css/highlight/color-brewer.css +19 -113
- data/public/css/highlight/dark.css +18 -58
- data/public/css/highlight/darkula.css +20 -98
- data/public/css/highlight/default.css +67 -123
- data/public/css/highlight/docco.css +22 -59
- data/public/css/highlight/dracula.css +76 -0
- data/public/css/highlight/far.css +25 -64
- data/public/css/highlight/foundation.css +21 -68
- data/public/css/highlight/github-gist.css +25 -165
- data/public/css/highlight/github.css +23 -47
- data/public/css/highlight/googlecode.css +29 -84
- data/public/css/highlight/grayscale.css +101 -0
- data/public/css/highlight/gruvbox-dark.css +108 -0
- data/public/css/highlight/gruvbox-light.css +108 -0
- data/public/css/highlight/hopscotch.css +83 -0
- data/public/css/highlight/hybrid.css +16 -78
- data/public/css/highlight/idea.css +23 -48
- data/public/css/highlight/ir-black.css +73 -0
- data/public/css/highlight/ir_black.css +24 -57
- data/public/css/highlight/kimbie.dark.css +24 -47
- data/public/css/highlight/kimbie.light.css +24 -47
- data/public/css/highlight/magula.css +17 -67
- data/public/css/highlight/mono-blue.css +22 -31
- data/public/css/highlight/monokai-sublime.css +83 -0
- data/public/css/highlight/monokai.css +19 -75
- data/public/css/highlight/monokai_sublime.css +20 -91
- data/public/css/highlight/obsidian.css +25 -89
- data/public/css/highlight/paraiso-dark.css +72 -0
- data/public/css/highlight/paraiso-light.css +72 -0
- data/public/css/highlight/paraiso.dark.css +23 -47
- data/public/css/highlight/paraiso.light.css +23 -47
- data/public/css/highlight/pojoaque.css +28 -51
- data/public/css/highlight/qtcreator_dark.css +83 -0
- data/public/css/highlight/qtcreator_light.css +83 -0
- data/public/css/highlight/railscasts.css +32 -110
- data/public/css/highlight/rainbow.css +33 -55
- data/public/css/highlight/school-book.css +72 -0
- data/public/css/highlight/school-book.png +0 -0
- data/public/css/highlight/school_book.css +24 -63
- data/public/css/highlight/solarized-dark.css +84 -0
- data/public/css/highlight/solarized-light.css +84 -0
- data/public/css/highlight/solarized_dark.css +29 -52
- data/public/css/highlight/solarized_light.css +29 -52
- data/public/css/highlight/sunburst.css +28 -87
- data/public/css/highlight/tomorrow-night-blue.css +24 -45
- data/public/css/highlight/tomorrow-night-bright.css +24 -45
- data/public/css/highlight/tomorrow-night-eighties.css +24 -45
- data/public/css/highlight/tomorrow-night.css +24 -45
- data/public/css/highlight/tomorrow.css +24 -45
- data/public/css/highlight/vs.css +32 -56
- data/public/css/highlight/xcode.css +28 -89
- data/public/css/highlight/zenburn.css +26 -64
- data/public/css/presenter.css +78 -157
- data/public/css/showoff.css +368 -398
- data/public/js/highlight.pack.js +6423 -1791
- data/public/js/jquery.cycle.all.js +0 -29
- data/public/js/presenter.js +26 -67
- data/public/js/showoff.js +175 -152
- data/views/header.erb +0 -4
- data/views/header_mini.erb +0 -2
- data/views/index.erb +58 -48
- data/views/onepage.erb +4 -4
- data/views/presenter.erb +17 -15
- metadata +59 -45
- data/public/css/fast.png +0 -0
- data/public/css/fg.menu.css +0 -114
- data/public/css/grippy-close.png +0 -0
- data/public/css/grippy.png +0 -0
- data/public/css/new_window-a.png +0 -0
- data/public/css/new_window-b.png +0 -0
- data/public/css/new_window-c.png +0 -0
- data/public/css/popdown.png +0 -0
- data/public/css/popout.png +0 -0
- data/public/css/slow.png +0 -0
- data/public/css/spinner.gif +0 -0
- data/public/css/theme/images/ui-bg_diagonals-small_100_f0efea_40x40.png +0 -0
- data/public/css/theme/images/ui-bg_flat_35_f0f0f0_40x100.png +0 -0
- data/public/css/theme/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
- data/public/css/theme/images/ui-bg_glow-ball_25_2e2e28_600x600.png +0 -0
- data/public/css/theme/images/ui-bg_highlight-soft_100_f0efea_1x100.png +0 -0
- data/public/css/theme/images/ui-bg_highlight-soft_25_327E04_1x100.png +0 -0
- data/public/css/theme/images/ui-bg_highlight-soft_25_5A9D1A_1x100.png +0 -0
- data/public/css/theme/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
- data/public/css/theme/images/ui-bg_inset-soft_22_3b3b35_1x100.png +0 -0
- data/public/css/theme/images/ui-icons_808080_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_8DC262_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_e7e6e4_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_eeeeee_256x240.png +0 -0
- data/public/css/theme/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/css/theme/ui.accordion.css +0 -9
- data/public/css/theme/ui.all.css +0 -2
- data/public/css/theme/ui.base.css +0 -9
- data/public/css/theme/ui.core.css +0 -37
- data/public/css/theme/ui.datepicker.css +0 -62
- data/public/css/theme/ui.dialog.css +0 -13
- data/public/css/theme/ui.progressbar.css +0 -4
- data/public/css/theme/ui.resizable.css +0 -13
- data/public/css/theme/ui.slider.css +0 -17
- data/public/css/theme/ui.tabs.css +0 -9
- data/public/css/theme/ui.theme.css +0 -245
- data/public/js/fg.menu.js +0 -645
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 172a00f574e54f000a40fad51bfeb2136ca176d0
|
4
|
+
data.tar.gz: f0702e207b967d9a6328de5a4b47a627553b45db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fab38a39045cd59cf80ee4acc9d29980d7d2f7693eb471207fdae0a5547ee82481152bd9522e658b33a23018f4e4382efb67b054878b2b89bcf075dec87d554
|
7
|
+
data.tar.gz: 14f92c4fc37add9e2f8eedacbc2c04b474acf71ddc3acc4526b11f53be1e469e94c1d3eee936e6cf2f23b85ab825935dae5c9d14efb8794057d5d82d299aa6f3
|
data/bin/showoff
CHANGED
@@ -248,6 +248,15 @@ command [:static] do |c|
|
|
248
248
|
end
|
249
249
|
end
|
250
250
|
|
251
|
+
desc 'Generate PDF version of presentation'
|
252
|
+
arg_name 'name'
|
253
|
+
long_desc 'Creates a PDF version of the presentation as {name}.pdf'
|
254
|
+
command [:pdf] do |c|
|
255
|
+
c.action do |global_options,options,args|
|
256
|
+
ShowOff.do_static(['pdf'].concat args)
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
251
260
|
pre do |global,command,options,args|
|
252
261
|
# Pre logic here
|
253
262
|
# Return true to proceed; false to abourt and not call the
|
data/lib/showoff.rb
CHANGED
@@ -72,7 +72,7 @@ class ShowOff < Sinatra::Application
|
|
72
72
|
@root_path = "."
|
73
73
|
|
74
74
|
# Load up the default keymap, then merge in any customizations
|
75
|
-
keymapfile = File.expand_path(File.join('~', '.showoff', 'keymap.json'))
|
75
|
+
keymapfile = File.expand_path(File.join('~', '.showoff', 'keymap.json')) rescue nil
|
76
76
|
@keymap = Keymap.default
|
77
77
|
@keymap.merge! JSON.parse(File.read(keymapfile)) rescue {}
|
78
78
|
|
@@ -402,7 +402,7 @@ class ShowOff < Sinatra::Application
|
|
402
402
|
end
|
403
403
|
|
404
404
|
# scan for pagebreak tags. Should really only be used for handout notes or supplemental materials
|
405
|
-
result.gsub!("~~~PAGEBREAK~~~", '<div class="
|
405
|
+
result.gsub!("~~~PAGEBREAK~~~", '<div class="pagebreak">continued...</div>')
|
406
406
|
|
407
407
|
# replace with form rendering placeholder
|
408
408
|
result.gsub!(/~~~FORM:([^~]*)~~~/, '<div class="form wrapper" title="\1"></div>')
|
@@ -502,9 +502,19 @@ class ShowOff < Sinatra::Application
|
|
502
502
|
content
|
503
503
|
end
|
504
504
|
|
505
|
-
#
|
506
|
-
|
507
|
-
|
505
|
+
# Find any lines that start with a <p>.(something), remove the ones tagged with
|
506
|
+
# .break and .comment, then turn the remainder into <p class="something">
|
507
|
+
# The perlism line noise is splitting multiple classes (.class1.class2) on the period.
|
508
|
+
#
|
509
|
+
# TODO: We really need to update this to use the DOM instead of text parsing :/
|
510
|
+
#
|
511
|
+
def update_p_classes(content)
|
512
|
+
# comment & break
|
513
|
+
content.gsub!(/<p>\.(?:break|comment)( .*)?<\/p>/, '')
|
514
|
+
# paragraph classes
|
515
|
+
content.gsub!(/<p>\.(.*?) /) { "<p class=\"#{$1.gsub('.', ' ')}\">" }
|
516
|
+
# image classes
|
517
|
+
content.gsub(/<img src="(.*)" alt="(\.\S*)\s*(.*)">/) { "<img src=\"#{$1}\" class=\"#{$2.gsub('.', ' ')}\" alt=\"#{$3}\">" }
|
508
518
|
end
|
509
519
|
|
510
520
|
# replace custom markup with html forms
|
@@ -966,13 +976,6 @@ class ShowOff < Sinatra::Application
|
|
966
976
|
content
|
967
977
|
end
|
968
978
|
|
969
|
-
def onepage(static=false)
|
970
|
-
@slides = get_slides_html(:static=>static, :toc=>true)
|
971
|
-
@favicon = settings.showoff_config['favicon']
|
972
|
-
|
973
|
-
erb :onepage
|
974
|
-
end
|
975
|
-
|
976
979
|
def print(static=false)
|
977
980
|
@slides = get_slides_html(:static=>static, :toc=>true, :print=>true)
|
978
981
|
@favicon = settings.showoff_config['favicon']
|
@@ -1021,12 +1024,11 @@ class ShowOff < Sinatra::Application
|
|
1021
1024
|
erb :stats
|
1022
1025
|
end
|
1023
1026
|
|
1024
|
-
def pdf(
|
1025
|
-
@slides = get_slides_html(:static=>
|
1027
|
+
def pdf(name)
|
1028
|
+
@slides = get_slides_html(:static=>true, :toc=>true, :print=>true)
|
1026
1029
|
@inline = true
|
1027
1030
|
|
1028
1031
|
html = erb :onepage
|
1029
|
-
# TODO make a random filename
|
1030
1032
|
|
1031
1033
|
# Process inline css and js for included images
|
1032
1034
|
# The css uses relative paths for images and we prepend the file url
|
@@ -1034,14 +1036,17 @@ class ShowOff < Sinatra::Application
|
|
1034
1036
|
"url(file://#{settings.pres_dir}/#{$1})"
|
1035
1037
|
end
|
1036
1038
|
|
1037
|
-
#
|
1039
|
+
# remove the weird /files component, since that doesn't exist on the filesystem
|
1040
|
+
html.gsub!(/<img src=".\/file\/([^"]*)/) do |s|
|
1041
|
+
"<img src=\".\/#{$1}"
|
1042
|
+
end
|
1038
1043
|
|
1039
1044
|
# PDFKit.new takes the HTML and any options for wkhtmltopdf
|
1040
1045
|
# run `wkhtmltopdf --extended-help` for a full list of options
|
1041
1046
|
kit = PDFKit.new(html, ShowOffUtils.showoff_pdf_options(settings.pres_dir))
|
1042
1047
|
|
1043
1048
|
# Save the PDF to a file
|
1044
|
-
|
1049
|
+
kit.to_file(name)
|
1045
1050
|
end
|
1046
1051
|
|
1047
1052
|
end
|
@@ -1060,14 +1065,18 @@ class ShowOff < Sinatra::Application
|
|
1060
1065
|
path = showoff.instance_variable_get(:@root_path)
|
1061
1066
|
logger = showoff.instance_variable_get(:@logger)
|
1062
1067
|
|
1063
|
-
|
1068
|
+
case what
|
1069
|
+
when 'supplemental'
|
1064
1070
|
data = showoff.send(what, opt, true)
|
1071
|
+
when 'pdf'
|
1072
|
+
opt ||= "#{name}.pdf"
|
1073
|
+
data = showoff.send(what, opt)
|
1065
1074
|
else
|
1066
1075
|
data = showoff.send(what, true)
|
1067
1076
|
end
|
1068
1077
|
|
1069
1078
|
if data.is_a?(File)
|
1070
|
-
|
1079
|
+
logger.warn "Generated PDF as #{opt}"
|
1071
1080
|
else
|
1072
1081
|
out = File.expand_path("#{path}/static")
|
1073
1082
|
# First make a directory
|
data/lib/showoff/version.rb
CHANGED
@@ -19,33 +19,29 @@
|
|
19
19
|
.hljs {
|
20
20
|
display: block;
|
21
21
|
overflow-x: auto;
|
22
|
-
padding: .5em;
|
22
|
+
padding: 0.5em;
|
23
23
|
background: #333;
|
24
24
|
color: white;
|
25
|
-
-webkit-text-size-adjust: none;
|
26
25
|
}
|
27
26
|
|
28
|
-
.
|
29
|
-
.hljs-
|
30
|
-
.hljs-tag .hljs-title,
|
31
|
-
.hljs-prompt,
|
32
|
-
.http .hljs-request {
|
27
|
+
.hljs-name,
|
28
|
+
.hljs-strong {
|
33
29
|
font-weight: bold;
|
34
30
|
}
|
35
31
|
|
36
|
-
.hljs-
|
37
|
-
.hljs-
|
32
|
+
.hljs-code,
|
33
|
+
.hljs-emphasis {
|
38
34
|
font-style: italic;
|
39
35
|
}
|
40
36
|
|
41
|
-
.hljs-tag
|
42
|
-
.ini .hljs-title {
|
37
|
+
.hljs-tag {
|
43
38
|
color: #62c8f3;
|
44
39
|
}
|
45
40
|
|
46
|
-
.hljs-
|
47
|
-
.hljs-
|
48
|
-
.hljs-
|
41
|
+
.hljs-variable,
|
42
|
+
.hljs-template-variable,
|
43
|
+
.hljs-selector-id,
|
44
|
+
.hljs-selector-class {
|
49
45
|
color: #ade5fc;
|
50
46
|
}
|
51
47
|
|
@@ -55,63 +51,39 @@
|
|
55
51
|
}
|
56
52
|
|
57
53
|
.hljs-type,
|
58
|
-
.hljs-
|
59
|
-
.hljs-
|
60
|
-
.actionscript .hljs-title,
|
61
|
-
.aspectj .hljs-annotation,
|
62
|
-
.aspectj .hljs-title,
|
54
|
+
.hljs-title,
|
55
|
+
.hljs-section,
|
63
56
|
.hljs-attribute,
|
64
|
-
.hljs-
|
65
|
-
.hljs-
|
66
|
-
.hljs-
|
57
|
+
.hljs-quote,
|
58
|
+
.hljs-built_in,
|
59
|
+
.hljs-builtin-name {
|
67
60
|
color: #ffa;
|
68
61
|
}
|
69
62
|
|
70
63
|
.hljs-number,
|
71
|
-
.hljs-
|
72
|
-
.hljs-
|
73
|
-
.hljs-link_reference {
|
64
|
+
.hljs-symbol,
|
65
|
+
.hljs-bullet {
|
74
66
|
color: #d36363;
|
75
67
|
}
|
76
68
|
|
77
69
|
.hljs-keyword,
|
78
|
-
.hljs-
|
79
|
-
.hljs-
|
80
|
-
.css .hljs-tag,
|
81
|
-
.hljs-typename,
|
82
|
-
.hljs-winutils {
|
70
|
+
.hljs-selector-tag,
|
71
|
+
.hljs-literal {
|
83
72
|
color: #fcc28c;
|
84
73
|
}
|
85
74
|
|
86
75
|
.hljs-comment,
|
87
|
-
.hljs-cdata,
|
88
|
-
.hljs-preprocessor,
|
89
|
-
.hljs-annotation,
|
90
|
-
.hljs-decorator,
|
91
|
-
.hljs-doctype,
|
92
76
|
.hljs-deletion,
|
93
|
-
.hljs-shebang,
|
94
|
-
.apache .hljs-sqbracket,
|
95
|
-
.tex .hljs-formula,
|
96
|
-
.hljs-header,
|
97
|
-
.hljs-horizontal_rule,
|
98
77
|
.hljs-code {
|
99
78
|
color: #888;
|
100
79
|
}
|
101
80
|
|
102
81
|
.hljs-regexp,
|
103
|
-
.hljs-
|
82
|
+
.hljs-link {
|
104
83
|
color: #c6b4f0;
|
105
84
|
}
|
106
85
|
|
107
|
-
.hljs-
|
108
|
-
.hljs-doctype,
|
109
|
-
.hljs-pi,
|
110
|
-
.hljs-chunk,
|
111
|
-
.actionscript .hljs-type,
|
112
|
-
.hljs-shebang,
|
113
|
-
.hljs-pragma,
|
114
|
-
.http .hljs-attribute {
|
86
|
+
.hljs-meta {
|
115
87
|
color: #fc9b9b;
|
116
88
|
}
|
117
89
|
|
@@ -125,8 +97,7 @@
|
|
125
97
|
color: #333;
|
126
98
|
}
|
127
99
|
|
128
|
-
.hljs a
|
129
|
-
.hljs-tag .hljs-attribute {
|
100
|
+
.hljs a {
|
130
101
|
color: inherit;
|
131
102
|
}
|
132
103
|
|
@@ -9,45 +9,58 @@ Author: Pedro Oliveira <kanytu@gmail . com>
|
|
9
9
|
display: block;
|
10
10
|
overflow-x: auto;
|
11
11
|
padding: 0.5em;
|
12
|
-
-webkit-text-size-adjust: none;
|
13
12
|
}
|
14
13
|
|
15
|
-
.hljs-number
|
14
|
+
.hljs-number,
|
15
|
+
.hljs-literal,
|
16
|
+
.hljs-symbol,
|
17
|
+
.hljs-bullet {
|
16
18
|
color: #6897BB;
|
17
19
|
}
|
18
20
|
|
19
21
|
.hljs-keyword,
|
22
|
+
.hljs-selector-tag,
|
20
23
|
.hljs-deletion {
|
21
24
|
color: #cc7832;
|
22
25
|
}
|
23
26
|
|
24
|
-
.hljs-
|
27
|
+
.hljs-variable,
|
28
|
+
.hljs-template-variable,
|
29
|
+
.hljs-link {
|
30
|
+
color: #629755;
|
31
|
+
}
|
32
|
+
|
33
|
+
.hljs-comment,
|
34
|
+
.hljs-quote {
|
25
35
|
color: #808080;
|
26
36
|
}
|
27
37
|
|
28
|
-
.hljs-
|
38
|
+
.hljs-meta {
|
29
39
|
color: #bbb529;
|
30
40
|
}
|
31
41
|
|
32
42
|
.hljs-string,
|
43
|
+
.hljs-attribute,
|
33
44
|
.hljs-addition {
|
34
45
|
color: #6A8759;
|
35
46
|
}
|
36
47
|
|
37
|
-
.hljs-
|
38
|
-
.hljs-
|
48
|
+
.hljs-section,
|
49
|
+
.hljs-title,
|
50
|
+
.hljs-type {
|
39
51
|
color: #ffc66d;
|
40
52
|
}
|
41
53
|
|
42
|
-
.hljs-
|
43
|
-
.hljs-
|
54
|
+
.hljs-name,
|
55
|
+
.hljs-selector-id,
|
56
|
+
.hljs-selector-class {
|
44
57
|
color: #e8bf6a;
|
45
58
|
}
|
46
59
|
|
47
|
-
.hljs-
|
48
|
-
|
60
|
+
.hljs-emphasis {
|
61
|
+
font-style: italic;
|
49
62
|
}
|
50
63
|
|
51
|
-
.hljs-
|
52
|
-
|
64
|
+
.hljs-strong {
|
65
|
+
font-weight: bold;
|
53
66
|
}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Arduino® Light Theme - Stefania Mellai <s.mellai@arduino.cc>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: #FFFFFF;
|
12
|
+
}
|
13
|
+
|
14
|
+
.hljs,
|
15
|
+
.hljs-subst {
|
16
|
+
color: #434f54;
|
17
|
+
}
|
18
|
+
|
19
|
+
.hljs-keyword,
|
20
|
+
.hljs-attribute,
|
21
|
+
.hljs-selector-tag,
|
22
|
+
.hljs-doctag,
|
23
|
+
.hljs-name {
|
24
|
+
color: #00979D;
|
25
|
+
}
|
26
|
+
|
27
|
+
.hljs-built_in,
|
28
|
+
.hljs-literal,
|
29
|
+
.hljs-bullet,
|
30
|
+
.hljs-code,
|
31
|
+
.hljs-addition {
|
32
|
+
color: #D35400;
|
33
|
+
}
|
34
|
+
|
35
|
+
.hljs-regexp,
|
36
|
+
.hljs-symbol,
|
37
|
+
.hljs-variable,
|
38
|
+
.hljs-template-variable,
|
39
|
+
.hljs-link,
|
40
|
+
.hljs-selector-attr,
|
41
|
+
.hljs-selector-pseudo {
|
42
|
+
color: #00979D;
|
43
|
+
}
|
44
|
+
|
45
|
+
.hljs-type,
|
46
|
+
.hljs-string,
|
47
|
+
.hljs-selector-id,
|
48
|
+
.hljs-selector-class,
|
49
|
+
.hljs-quote,
|
50
|
+
.hljs-template-tag,
|
51
|
+
.hljs-deletion {
|
52
|
+
color: #005C5F;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs-title,
|
56
|
+
.hljs-section {
|
57
|
+
color: #880000;
|
58
|
+
font-weight: bold;
|
59
|
+
}
|
60
|
+
|
61
|
+
.hljs-comment {
|
62
|
+
color: rgba(149,165,166,.8);
|
63
|
+
}
|
64
|
+
|
65
|
+
.hljs-meta-keyword {
|
66
|
+
color: #728E00;
|
67
|
+
}
|
68
|
+
|
69
|
+
.hljs-meta {
|
70
|
+
color: #728E00;
|
71
|
+
color: #434f54;
|
72
|
+
}
|
73
|
+
|
74
|
+
.hljs-emphasis {
|
75
|
+
font-style: italic;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs-strong {
|
79
|
+
font-weight: bold;
|
80
|
+
}
|
81
|
+
|
82
|
+
.hljs-function {
|
83
|
+
color: #728E00;
|
84
|
+
}
|
85
|
+
|
86
|
+
.hljs-number {
|
87
|
+
color: #8A7B52;
|
88
|
+
}
|
@@ -8,40 +8,27 @@ Author: pumbur <pumbur@pumbur.net>
|
|
8
8
|
overflow-x: auto;
|
9
9
|
padding: 0.5em;
|
10
10
|
background: #222;
|
11
|
-
-webkit-text-size-adjust: none;
|
12
11
|
}
|
13
12
|
|
14
|
-
.
|
15
|
-
.
|
16
|
-
|
13
|
+
.hljs,
|
14
|
+
.hljs-subst {
|
15
|
+
color: #aaa;
|
16
|
+
}
|
17
|
+
|
18
|
+
.hljs-section {
|
17
19
|
color: #fff;
|
18
20
|
}
|
19
21
|
|
20
22
|
.hljs-comment,
|
21
|
-
.hljs-
|
22
|
-
.hljs-
|
23
|
-
.hljs-pragma,
|
24
|
-
.hljs-shebang,
|
25
|
-
.profile .hljs-summary,
|
26
|
-
.diff,
|
27
|
-
.hljs-pi,
|
28
|
-
.hljs-doctype,
|
29
|
-
.hljs-tag,
|
30
|
-
.css .hljs-rule,
|
31
|
-
.tex .hljs-special {
|
23
|
+
.hljs-quote,
|
24
|
+
.hljs-meta {
|
32
25
|
color: #444;
|
33
26
|
}
|
34
27
|
|
35
28
|
.hljs-string,
|
36
29
|
.hljs-symbol,
|
37
|
-
.
|
38
|
-
.hljs-regexp
|
39
|
-
.xml .hljs-attribute,
|
40
|
-
.smalltalk .hljs-char,
|
41
|
-
.xml .hljs-value,
|
42
|
-
.ini .hljs-value,
|
43
|
-
.clojure .hljs-attribute,
|
44
|
-
.coffeescript .hljs-attribute {
|
30
|
+
.hljs-bullet,
|
31
|
+
.hljs-regexp {
|
45
32
|
color: #ffcc33;
|
46
33
|
}
|
47
34
|
|
@@ -51,88 +38,36 @@ Author: pumbur <pumbur@pumbur.net>
|
|
51
38
|
}
|
52
39
|
|
53
40
|
.hljs-built_in,
|
41
|
+
.hljs-builtin-name,
|
54
42
|
.hljs-literal,
|
55
43
|
.hljs-type,
|
56
|
-
.hljs-
|
57
|
-
.
|
58
|
-
.
|
59
|
-
.lua .hljs-title,
|
60
|
-
.perl .hljs-variable,
|
61
|
-
.php .hljs-variable,
|
62
|
-
.mel .hljs-variable,
|
63
|
-
.django .hljs-variable,
|
64
|
-
.css .funtion,
|
65
|
-
.smalltalk .method,
|
66
|
-
.hljs-hexcolor,
|
67
|
-
.hljs-important,
|
68
|
-
.hljs-flow,
|
69
|
-
.hljs-inheritance,
|
70
|
-
.hljs-name,
|
71
|
-
.parser3 .hljs-variable {
|
44
|
+
.hljs-template-variable,
|
45
|
+
.hljs-attribute,
|
46
|
+
.hljs-link {
|
72
47
|
color: #32aaee;
|
73
48
|
}
|
74
49
|
|
75
50
|
.hljs-keyword,
|
76
|
-
.hljs-tag
|
77
|
-
.
|
78
|
-
.
|
79
|
-
.
|
80
|
-
.css .hljs-pseudo,
|
81
|
-
.css .hljs-attr_selector,
|
82
|
-
.hljs-winutils,
|
83
|
-
.tex .hljs-command,
|
84
|
-
.hljs-request,
|
85
|
-
.hljs-status {
|
51
|
+
.hljs-selector-tag,
|
52
|
+
.hljs-name,
|
53
|
+
.hljs-selector-id,
|
54
|
+
.hljs-selector-class {
|
86
55
|
color: #6644aa;
|
87
56
|
}
|
88
57
|
|
89
58
|
.hljs-title,
|
90
|
-
.
|
91
|
-
.vala .hljs-constant,
|
92
|
-
.hljs-parent,
|
59
|
+
.hljs-variable,
|
93
60
|
.hljs-deletion,
|
94
|
-
.hljs-
|
95
|
-
.css .hljs-keyword,
|
96
|
-
.objectivec .hljs-class .hljs-id,
|
97
|
-
.smalltalk .hljs-class,
|
98
|
-
.lisp .hljs-keyword,
|
99
|
-
.apache .hljs-tag,
|
100
|
-
.nginx .hljs-variable,
|
101
|
-
.hljs-envvar,
|
102
|
-
.bash .hljs-variable,
|
103
|
-
.go .hljs-built_in,
|
104
|
-
.vbscript .hljs-built_in,
|
105
|
-
.lua .hljs-built_in,
|
106
|
-
.rsl .hljs-built_in,
|
107
|
-
.tail,
|
108
|
-
.avrasm .hljs-label,
|
109
|
-
.tex .hljs-formula,
|
110
|
-
.tex .hljs-formula * {
|
61
|
+
.hljs-template-tag {
|
111
62
|
color: #bb1166;
|
112
63
|
}
|
113
64
|
|
65
|
+
.hljs-section,
|
114
66
|
.hljs-doctag,
|
115
|
-
.
|
116
|
-
.ini .hljs-title,
|
117
|
-
.apache .hljs-tag,
|
118
|
-
.parser3 .hljs-title {
|
67
|
+
.hljs-strong {
|
119
68
|
font-weight: bold;
|
120
69
|
}
|
121
70
|
|
122
|
-
.
|
123
|
-
|
124
|
-
.tex .hljs-formula,
|
125
|
-
.xml .javascript,
|
126
|
-
.xml .vbscript,
|
127
|
-
.xml .css,
|
128
|
-
.xml .hljs-cdata {
|
129
|
-
opacity: 0.6;
|
130
|
-
}
|
131
|
-
|
132
|
-
.hljs,
|
133
|
-
.hljs-subst,
|
134
|
-
.diff .hljs-chunk,
|
135
|
-
.css .hljs-value,
|
136
|
-
.css .hljs-attribute {
|
137
|
-
color: #aaa;
|
71
|
+
.hljs-emphasis {
|
72
|
+
font-style: italic;
|
138
73
|
}
|