kramdown 0.13.4 → 0.13.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kramdown might be problematic. Click here for more details.
- data/CONTRIBUTERS +2 -1
- data/ChangeLog +237 -0
- data/Rakefile +5 -4
- data/VERSION +1 -1
- data/bin/kramdown +1 -1
- data/doc/bg.png +0 -0
- data/doc/default.scss.css +127 -473
- data/doc/default.template +27 -40
- data/doc/design.scss.css +441 -0
- data/doc/documentation.page +4 -1
- data/doc/index.page +4 -9
- data/doc/installation.page +3 -3
- data/doc/news.page +1 -1
- data/doc/quickref.page +1 -1
- data/doc/sidebar.template +21 -0
- data/doc/syntax.page +65 -38
- data/doc/tests.page +6 -4
- data/lib/kramdown.rb +1 -1
- data/lib/kramdown/compatibility.rb +17 -3
- data/lib/kramdown/converter.rb +1 -1
- data/lib/kramdown/converter/base.rb +1 -1
- data/lib/kramdown/converter/html.rb +3 -2
- data/lib/kramdown/converter/kramdown.rb +13 -7
- data/lib/kramdown/converter/latex.rb +1 -1
- data/lib/kramdown/converter/toc.rb +1 -1
- data/lib/kramdown/document.rb +2 -2
- data/lib/kramdown/element.rb +1 -1
- data/lib/kramdown/error.rb +1 -1
- data/lib/kramdown/options.rb +1 -1
- data/lib/kramdown/parser.rb +1 -1
- data/lib/kramdown/parser/base.rb +1 -1
- data/lib/kramdown/parser/html.rb +5 -5
- data/lib/kramdown/parser/kramdown.rb +1 -1
- data/lib/kramdown/parser/kramdown/abbreviation.rb +1 -1
- data/lib/kramdown/parser/kramdown/autolink.rb +1 -1
- data/lib/kramdown/parser/kramdown/blank_line.rb +1 -1
- data/lib/kramdown/parser/kramdown/block_boundary.rb +1 -1
- data/lib/kramdown/parser/kramdown/blockquote.rb +1 -1
- data/lib/kramdown/parser/kramdown/codeblock.rb +1 -1
- data/lib/kramdown/parser/kramdown/codespan.rb +1 -1
- data/lib/kramdown/parser/kramdown/emphasis.rb +1 -1
- data/lib/kramdown/parser/kramdown/eob.rb +1 -1
- data/lib/kramdown/parser/kramdown/escaped_chars.rb +1 -1
- data/lib/kramdown/parser/kramdown/extensions.rb +1 -1
- data/lib/kramdown/parser/kramdown/footnote.rb +1 -1
- data/lib/kramdown/parser/kramdown/header.rb +1 -1
- data/lib/kramdown/parser/kramdown/horizontal_rule.rb +1 -1
- data/lib/kramdown/parser/kramdown/html.rb +2 -2
- data/lib/kramdown/parser/kramdown/html_entity.rb +1 -1
- data/lib/kramdown/parser/kramdown/line_break.rb +1 -1
- data/lib/kramdown/parser/kramdown/link.rb +1 -1
- data/lib/kramdown/parser/kramdown/list.rb +1 -1
- data/lib/kramdown/parser/kramdown/math.rb +4 -3
- data/lib/kramdown/parser/kramdown/paragraph.rb +1 -1
- data/lib/kramdown/parser/kramdown/smart_quotes.rb +1 -1
- data/lib/kramdown/parser/kramdown/table.rb +1 -1
- data/lib/kramdown/parser/kramdown/typographic_symbol.rb +1 -1
- data/lib/kramdown/parser/markdown.rb +1 -1
- data/lib/kramdown/utils.rb +6 -1
- data/lib/kramdown/utils/entities.rb +1 -1
- data/lib/kramdown/utils/html.rb +2 -2
- data/lib/kramdown/utils/ordered_hash.rb +1 -1
- data/lib/kramdown/version.rb +2 -2
- data/man/man1/kramdown.1 +100 -100
- data/test/run_tests.rb +1 -1
- data/test/test_files.rb +1 -1
- data/test/testcases/block/04_header/with_auto_ids.html +2 -0
- data/test/testcases/block/04_header/with_auto_ids.text +3 -0
- data/test/testcases/block/09_html/html5_attributes.html +13 -0
- data/test/testcases/block/09_html/html5_attributes.text +13 -0
- data/test/testcases/block/09_html/simple.text +1 -1
- data/test/testcases/block/15_math/normal.html +2 -2
- data/test/testcases/span/05_html/normal.html +1 -1
- data/test/testcases/span/05_html/normal.text +1 -1
- data/test/testcases/span/math/normal.html +4 -0
- data/test/testcases/span/math/normal.text +5 -1
- metadata +55 -35
data/CONTRIBUTERS
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
Count Name
|
2
2
|
======= ====
|
3
|
-
|
3
|
+
498 Thomas Leitner <t_leitner@gmx.at>
|
4
4
|
3 gettalong <t_leitner@gmx.at>
|
5
5
|
3 Ben Armston <ben.armston@googlemail.com>
|
6
6
|
3 Alex Marandon <contact@alexmarandon.com>
|
7
|
+
1 tomykaira <tomykaira@gmail.com>
|
7
8
|
1 Postmodern <postmodern.mod3@gmail.com>
|
8
9
|
1 John Croisant <jacius@gmail.com>
|
9
10
|
1 Joe Fiorini <joe@faithfulgeek.org>
|
data/ChangeLog
CHANGED
@@ -1,3 +1,240 @@
|
|
1
|
+
commit ce785c7cc29372cb7c5c47647535b1943348aff6
|
2
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
3
|
+
Date: Sun Feb 19 15:34:37 2012 +0100
|
4
|
+
|
5
|
+
Updated release notes, version number and benchmark graphs
|
6
|
+
|
7
|
+
doc/img/graph-ruby-1.8.5-231.png
|
8
|
+
doc/img/graph-ruby-1.8.6-399.png
|
9
|
+
doc/img/graph-ruby-1.8.7-249.png
|
10
|
+
doc/img/graph-ruby-1.8.7-302.png
|
11
|
+
doc/img/graph-ruby-1.9.2p136-136.png
|
12
|
+
doc/img/graph-ruby-1.9.3p0-0.png
|
13
|
+
doc/img/graph-ruby-1.9.3p125-125.png
|
14
|
+
doc/news/release_0_13_5.page
|
15
|
+
doc/sidebar.template
|
16
|
+
doc/tests.page
|
17
|
+
lib/kramdown/version.rb
|
18
|
+
|
19
|
+
commit 90f0583232e814334b2bb8c7fa3228b2f4e30f81
|
20
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
21
|
+
Date: Sun Feb 19 10:14:58 2012 +0100
|
22
|
+
|
23
|
+
Bug fix: Empty id attributes are handled better now
|
24
|
+
|
25
|
+
* The HTML converter does not output empty id attributes anymore.
|
26
|
+
* The kramdown converter now always converts empty id attributes
|
27
|
+
to IAL form.
|
28
|
+
|
29
|
+
lib/kramdown/converter/kramdown.rb
|
30
|
+
lib/kramdown/utils/html.rb
|
31
|
+
test/testcases/block/04_header/with_auto_ids.html
|
32
|
+
test/testcases/block/04_header/with_auto_ids.text
|
33
|
+
|
34
|
+
commit d956b98fdf449af145bc8b52539abdb99a062cda
|
35
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
36
|
+
Date: Sun Feb 19 09:53:03 2012 +0100
|
37
|
+
|
38
|
+
Small typo fix in quickref
|
39
|
+
|
40
|
+
doc/quickref.page
|
41
|
+
|
42
|
+
commit 4df3c5aaad763cc9d8fd4b129a5cdd245ed5a7f7
|
43
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
44
|
+
Date: Sun Feb 19 09:38:29 2012 +0100
|
45
|
+
|
46
|
+
Updated homepage contents
|
47
|
+
|
48
|
+
doc/documentation.page
|
49
|
+
doc/index.page
|
50
|
+
doc/installation.page
|
51
|
+
doc/news.page
|
52
|
+
doc/syntax.page
|
53
|
+
doc/tests.page
|
54
|
+
|
55
|
+
commit c0bcd765e131b671661af70274ce632111ad89bb
|
56
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
57
|
+
Date: Sun Feb 19 09:37:15 2012 +0100
|
58
|
+
|
59
|
+
Updated website design
|
60
|
+
|
61
|
+
doc/bg.png
|
62
|
+
doc/default.scss.css
|
63
|
+
doc/default.template
|
64
|
+
doc/design.scss.css
|
65
|
+
doc/sidebar.template
|
66
|
+
|
67
|
+
commit d530421d0a3794010cd0c022decb097158e90732
|
68
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
69
|
+
Date: Sun Feb 19 09:35:51 2012 +0100
|
70
|
+
|
71
|
+
Disabling line numbers in code listings on homepage
|
72
|
+
|
73
|
+
Rakefile
|
74
|
+
|
75
|
+
commit a47a5c49e35f9ccb220dca7b5b8ac7d585026ef6
|
76
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
77
|
+
Date: Sun Feb 19 09:25:01 2012 +0100
|
78
|
+
|
79
|
+
Updated copyright notice updating code
|
80
|
+
|
81
|
+
Rakefile
|
82
|
+
|
83
|
+
commit 21ce307a6766d131bf3a61de1142d88b0bd0a8be
|
84
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
85
|
+
Date: Sun Feb 19 09:24:22 2012 +0100
|
86
|
+
|
87
|
+
Updated copyright notices
|
88
|
+
|
89
|
+
bin/kramdown
|
90
|
+
lib/kramdown.rb
|
91
|
+
lib/kramdown/compatibility.rb
|
92
|
+
lib/kramdown/converter.rb
|
93
|
+
lib/kramdown/converter/base.rb
|
94
|
+
lib/kramdown/converter/html.rb
|
95
|
+
lib/kramdown/converter/kramdown.rb
|
96
|
+
lib/kramdown/converter/latex.rb
|
97
|
+
lib/kramdown/converter/toc.rb
|
98
|
+
lib/kramdown/document.rb
|
99
|
+
lib/kramdown/element.rb
|
100
|
+
lib/kramdown/error.rb
|
101
|
+
lib/kramdown/options.rb
|
102
|
+
lib/kramdown/parser.rb
|
103
|
+
lib/kramdown/parser/base.rb
|
104
|
+
lib/kramdown/parser/html.rb
|
105
|
+
lib/kramdown/parser/kramdown.rb
|
106
|
+
lib/kramdown/parser/kramdown/abbreviation.rb
|
107
|
+
lib/kramdown/parser/kramdown/autolink.rb
|
108
|
+
lib/kramdown/parser/kramdown/blank_line.rb
|
109
|
+
lib/kramdown/parser/kramdown/block_boundary.rb
|
110
|
+
lib/kramdown/parser/kramdown/blockquote.rb
|
111
|
+
lib/kramdown/parser/kramdown/codeblock.rb
|
112
|
+
lib/kramdown/parser/kramdown/codespan.rb
|
113
|
+
lib/kramdown/parser/kramdown/emphasis.rb
|
114
|
+
lib/kramdown/parser/kramdown/eob.rb
|
115
|
+
lib/kramdown/parser/kramdown/escaped_chars.rb
|
116
|
+
lib/kramdown/parser/kramdown/extensions.rb
|
117
|
+
lib/kramdown/parser/kramdown/footnote.rb
|
118
|
+
lib/kramdown/parser/kramdown/header.rb
|
119
|
+
lib/kramdown/parser/kramdown/horizontal_rule.rb
|
120
|
+
lib/kramdown/parser/kramdown/html.rb
|
121
|
+
lib/kramdown/parser/kramdown/html_entity.rb
|
122
|
+
lib/kramdown/parser/kramdown/line_break.rb
|
123
|
+
lib/kramdown/parser/kramdown/link.rb
|
124
|
+
lib/kramdown/parser/kramdown/list.rb
|
125
|
+
lib/kramdown/parser/kramdown/math.rb
|
126
|
+
lib/kramdown/parser/kramdown/paragraph.rb
|
127
|
+
lib/kramdown/parser/kramdown/smart_quotes.rb
|
128
|
+
lib/kramdown/parser/kramdown/table.rb
|
129
|
+
lib/kramdown/parser/kramdown/typographic_symbol.rb
|
130
|
+
lib/kramdown/parser/markdown.rb
|
131
|
+
lib/kramdown/utils.rb
|
132
|
+
lib/kramdown/utils/entities.rb
|
133
|
+
lib/kramdown/utils/html.rb
|
134
|
+
lib/kramdown/utils/ordered_hash.rb
|
135
|
+
lib/kramdown/version.rb
|
136
|
+
test/run_tests.rb
|
137
|
+
test/test_files.rb
|
138
|
+
|
139
|
+
commit 512b00a6d050f506c43b824861f7bbf459862a19
|
140
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
141
|
+
Date: Sun Feb 19 09:12:38 2012 +0100
|
142
|
+
|
143
|
+
Fixed bug RF#29521: HTML math output not always XHTML compatible
|
144
|
+
|
145
|
+
The characters < and & are not allowed in a script tag in XHTML.
|
146
|
+
So since the HTML converter uses script tags for math elements,
|
147
|
+
whenever these characters appear in a value the value is wrapped
|
148
|
+
in a CDATA section to make the output XHTML compatible.
|
149
|
+
|
150
|
+
lib/kramdown/converter/html.rb
|
151
|
+
lib/kramdown/parser/html.rb
|
152
|
+
test/testcases/block/15_math/normal.html
|
153
|
+
|
154
|
+
commit 8f111947dbcea064a997662d65cd53e6e39c8c40
|
155
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
156
|
+
Date: Sat Feb 18 20:06:42 2012 +0100
|
157
|
+
|
158
|
+
Fixed bug RF#29520: inline math statements interpreted as math blocks
|
159
|
+
|
160
|
+
If a paragraph started and ended with an inline math statement, it was
|
161
|
+
parsed as math block. This is fixed now.
|
162
|
+
|
163
|
+
Also, it is now better explained in the kramdown syntax documentation
|
164
|
+
how special cases are handled.
|
165
|
+
|
166
|
+
doc/syntax.page
|
167
|
+
lib/kramdown/converter/kramdown.rb
|
168
|
+
lib/kramdown/parser/kramdown/math.rb
|
169
|
+
test/testcases/span/math/normal.html
|
170
|
+
test/testcases/span/math/normal.text
|
171
|
+
|
172
|
+
commit f5b585513508704563cc0bb343869f91520ff853
|
173
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
174
|
+
Date: Sat Feb 18 11:11:45 2012 +0100
|
175
|
+
|
176
|
+
Fixed problem with missing methods/constants on older Ruby 1.8.6 versions
|
177
|
+
|
178
|
+
lib/kramdown/compatibility.rb
|
179
|
+
|
180
|
+
commit 394d5de7cad34ed5e0bdcfc0fcc7a1a28b3f0229
|
181
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
182
|
+
Date: Tue Jan 31 17:32:09 2012 +0100
|
183
|
+
|
184
|
+
Moved camelize method from Document#method_to_class_name to Utils.camelize
|
185
|
+
|
186
|
+
lib/kramdown/document.rb
|
187
|
+
lib/kramdown/utils.rb
|
188
|
+
|
189
|
+
commit 7adc3bda20a8290f0af588da7816eec591d4ecaa
|
190
|
+
Author: tomykaira <tomykaira@gmail.com>
|
191
|
+
Date: Fri Dec 30 18:08:43 2011 +0900
|
192
|
+
|
193
|
+
Fix Document#method_missing to accept snake_cased class name
|
194
|
+
|
195
|
+
When doc.to_my_converter is called, it should use MyConverter, but used My_converter
|
196
|
+
|
197
|
+
lib/kramdown/document.rb
|
198
|
+
|
199
|
+
commit a6b181a9baf2eeeabeb55a1a9d5b26791fecad08
|
200
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
201
|
+
Date: Sat Jan 21 12:18:22 2012 +0100
|
202
|
+
|
203
|
+
HTML attributes names are now converted to lower case
|
204
|
+
|
205
|
+
doc/syntax.page
|
206
|
+
lib/kramdown/parser/html.rb
|
207
|
+
lib/kramdown/parser/kramdown/html.rb
|
208
|
+
test/testcases/block/09_html/html5_attributes.html
|
209
|
+
test/testcases/block/09_html/simple.text
|
210
|
+
test/testcases/span/05_html/normal.text
|
211
|
+
|
212
|
+
commit 170ca36a60d823803f575bf5632d9e9d1e74f7db
|
213
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
214
|
+
Date: Sat Jan 21 12:05:31 2012 +0100
|
215
|
+
|
216
|
+
HTML attributes without values are now supported
|
217
|
+
|
218
|
+
This means that one can write boolean HTML attributes now without
|
219
|
+
assigning an empty value.
|
220
|
+
|
221
|
+
doc/syntax.page
|
222
|
+
lib/kramdown/converter/kramdown.rb
|
223
|
+
lib/kramdown/parser/html.rb
|
224
|
+
lib/kramdown/parser/kramdown/html.rb
|
225
|
+
test/testcases/block/09_html/html5_attributes.html
|
226
|
+
test/testcases/block/09_html/html5_attributes.text
|
227
|
+
test/testcases/span/05_html/normal.html
|
228
|
+
test/testcases/span/05_html/normal.text
|
229
|
+
|
230
|
+
commit 2c1d7c5e66bfe42052dc43374e123a48e7cb2ad6
|
231
|
+
Author: Thomas Leitner <t_leitner@gmx.at>
|
232
|
+
Date: Fri Dec 16 18:40:15 2011 +0100
|
233
|
+
|
234
|
+
Fix to work with newer RDoc versions
|
235
|
+
|
236
|
+
Rakefile
|
237
|
+
|
1
238
|
commit 2a93cbc0e1bbe705159c645ae617538bad125394
|
2
239
|
Author: Thomas Leitner <t_leitner@gmx.at>
|
3
240
|
Date: Fri Dec 16 18:26:32 2011 +0100
|
data/Rakefile
CHANGED
@@ -35,7 +35,7 @@ begin
|
|
35
35
|
desc = desc.join("\n")
|
36
36
|
"[<tt>#{n}</tt> (type: #{definition.type}, default: #{definition.default.inspect})]\n#{desc}\n\n"
|
37
37
|
end
|
38
|
-
opt_module.comment
|
38
|
+
opt_module.comment.text += "\n== Available Options\n\n" << opt_defs.join("\n\n")
|
39
39
|
|
40
40
|
file_info
|
41
41
|
end
|
@@ -94,6 +94,7 @@ if defined? Webgen
|
|
94
94
|
config['contentprocessor.tags.map']['options'] = 'OptionsDisplay'
|
95
95
|
config['contentprocessor.tags.map']['kdexample'] = 'KDExample'
|
96
96
|
config['contentprocessor.tags.map']['kdlink'] = 'KDLink'
|
97
|
+
config['contentprocessor.kramdown.options'][:coderay_line_numbers] = nil
|
97
98
|
end
|
98
99
|
end
|
99
100
|
end
|
@@ -276,7 +277,7 @@ EOF
|
|
276
277
|
COPYRIGHT=<<EOF
|
277
278
|
#
|
278
279
|
#--
|
279
|
-
# Copyright (C) 2009-
|
280
|
+
# Copyright (C) 2009-2012 Thomas Leitner <t_leitner@gmx.at>
|
280
281
|
#
|
281
282
|
# This file is part of kramdown.
|
282
283
|
#
|
@@ -299,12 +300,12 @@ EOF
|
|
299
300
|
desc "Insert/Update copyright notice"
|
300
301
|
task :update_copyright do
|
301
302
|
inserted = false
|
302
|
-
Dir["lib/**/*.rb"].each do |file|
|
303
|
+
Dir["lib/**/*.rb", "test/**/*.rb"].each do |file|
|
303
304
|
if !File.read(file).start_with?(CODING_LINE + COPYRIGHT)
|
304
305
|
inserted = true
|
305
306
|
puts "Updating file #{file}"
|
306
307
|
old = File.read(file)
|
307
|
-
if !
|
308
|
+
if !old.gsub!(/\A#{Regexp.escape(CODING_LINE)}#\n#--.*?\n#\+\+\n#\n/m, CODING_LINE + COPYRIGHT)
|
308
309
|
old.gsub!(/\A(#{Regexp.escape(CODING_LINE)})?/, CODING_LINE + COPYRIGHT + "\n")
|
309
310
|
end
|
310
311
|
File.open(file, 'w+') {|f| f.puts(old)}
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.13.
|
1
|
+
0.13.5
|
data/bin/kramdown
CHANGED
data/doc/bg.png
ADDED
Binary file
|
data/doc/default.scss.css
CHANGED
@@ -1,530 +1,184 @@
|
|
1
|
-
|
2
|
-
$link-color: #1666A3;
|
1
|
+
@import url(design.css);
|
3
2
|
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
aside.banner {
|
4
|
+
font-size: 18px;
|
5
|
+
line-height: 27px;
|
7
6
|
}
|
8
7
|
|
9
|
-
|
10
|
-
|
11
|
-
padding: 0;
|
12
|
-
color: #000;
|
13
|
-
text-align: left;
|
14
|
-
background: #fff;
|
15
|
-
}
|
16
|
-
|
17
|
-
body, table, code {
|
18
|
-
font: normal 12px/1.5em Verdana, Tahoma, "Trebuchet MS", "DejuVu Sans", "Bitstream Vera Sans", sans-serif;
|
19
|
-
}
|
20
|
-
|
21
|
-
.with-margin {
|
22
|
-
margin: 0 auto;
|
23
|
-
min-width: 600px;
|
24
|
-
max-width: 1000px;
|
25
|
-
}
|
8
|
+
aside a {
|
9
|
+
text-decoration: none;
|
26
10
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
background-image: -moz-linear-gradient(top, rgba(54,65,71,1), rgba(81,92,96,1));
|
31
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(54,65,71,1)), to(rgba(81,92,96,1)));
|
32
|
-
position: relative;
|
11
|
+
&:hover {
|
12
|
+
text-decoration: underline;
|
13
|
+
}
|
33
14
|
}
|
34
15
|
|
35
|
-
#
|
36
|
-
|
16
|
+
#content {
|
17
|
+
blockquote.information {
|
18
|
+
border-left: 12px solid #080;
|
19
|
+
background-color: #bfb;
|
20
|
+
padding: 12px 12px 12px 0;
|
21
|
+
margin-left: -48px;
|
22
|
+
padding-left: 48px;
|
23
|
+
}
|
37
24
|
|
38
|
-
|
39
|
-
|
40
|
-
|
25
|
+
blockquote.markdown-difference {
|
26
|
+
border-left: 12px solid #dc0;
|
27
|
+
background-color: #ffa;
|
28
|
+
padding: 12px 12px 12px 0;
|
29
|
+
margin-left: -48px;
|
30
|
+
padding-left: 48px;
|
41
31
|
|
42
|
-
|
43
|
-
|
44
|
-
color: #ced1d2;
|
45
|
-
text-decoration: none;
|
32
|
+
&:before {
|
33
|
+
content: "Difference to Standard Markdown";
|
46
34
|
display: block;
|
47
|
-
|
48
|
-
font-weight: normal;
|
49
|
-
}
|
50
|
-
|
51
|
-
a:hover {
|
52
|
-
color: #fff;
|
53
|
-
}
|
54
|
-
|
55
|
-
span.slogan {
|
56
|
-
font-size: 60%; padding-left: 1.5em;
|
35
|
+
font-weight: bold;
|
57
36
|
}
|
58
37
|
}
|
59
|
-
}
|
60
|
-
|
61
|
-
#donation {
|
62
|
-
position: absolute;
|
63
|
-
right: 10px;
|
64
|
-
bottom: 5px;
|
65
|
-
}
|
66
|
-
|
67
|
-
/* menu */
|
68
|
-
#fullnav {
|
69
|
-
background: #3f4a50;
|
70
|
-
background-image: -moz-linear-gradient(top, rgba(63,74,80,1), rgba(88,99,103,1));
|
71
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(63,74,80,1)), to(rgba(88,99,103,1)));
|
72
|
-
}
|
73
|
-
|
74
|
-
#nav {
|
75
|
-
@extend .with-margin;
|
76
38
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
padding: 0;
|
81
|
-
list-style: none;
|
82
|
-
|
83
|
-
li {
|
84
|
-
display: block;
|
85
|
-
float: left;
|
86
|
-
margin: 0;
|
87
|
-
padding: 0;
|
88
|
-
|
89
|
-
a, span {
|
90
|
-
display: block;
|
91
|
-
float: left;
|
92
|
-
font-size: 90%;
|
93
|
-
color: white;
|
94
|
-
text-decoration: none;
|
95
|
-
text-align: center;
|
96
|
-
padding: 12px 20px 8px;
|
97
|
-
-webkit-transition: all 0.2s ease-in-out;
|
98
|
-
-moz-transition: all 0.2s ease-in-out;
|
99
|
-
-o-transition: all 0.2s ease-in-out;
|
100
|
-
transition: all 0.2s ease-in-out;
|
101
|
-
}
|
39
|
+
blockquote pre {
|
40
|
+
border: none;
|
41
|
+
}
|
102
42
|
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
43
|
+
table {
|
44
|
+
border-collapse: collapse;
|
45
|
+
margin-left: auto;
|
46
|
+
margin-right: auto;
|
47
|
+
width: 100%;
|
107
48
|
|
49
|
+
td, th {
|
50
|
+
padding: 3px 5px;
|
108
51
|
}
|
109
|
-
|
110
|
-
|
111
|
-
color:
|
112
|
-
border: 1px solid #fff;
|
113
|
-
border-bottom:1px solid #e6e8e9;
|
114
|
-
background:#e6e8e9;
|
115
|
-
background-image: -moz-linear-gradient(top, #d6d8d9, #e6e8e9);
|
116
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(#d6d8d9), to(#e6e8e9));
|
117
|
-
text-decoration:none;
|
52
|
+
th {
|
53
|
+
background-color: #080;
|
54
|
+
color: white;
|
118
55
|
}
|
119
|
-
|
120
56
|
}
|
121
|
-
}
|
122
|
-
|
123
|
-
/* intro */
|
124
|
-
#fullintro {
|
125
|
-
background: #e6e8e9;
|
126
|
-
}
|
127
57
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
background: #e6e8e9;
|
132
|
-
height: auto;
|
133
|
-
|
134
|
-
#intro-in {
|
135
|
-
padding: 20px 5px;
|
58
|
+
pre.show-whitespaces .ws-space {
|
59
|
+
background-color: #f44;
|
136
60
|
}
|
137
|
-
|
138
|
-
|
139
|
-
margin: 15px 0px 0px
|
61
|
+
pre.show-whitespaces .ws-space-l {
|
62
|
+
background-color: #f22;
|
140
63
|
}
|
141
|
-
|
142
|
-
|
143
|
-
|
64
|
+
pre.show-whitespaces .ws-space-r {
|
65
|
+
background-color: #f00;
|
66
|
+
}
|
67
|
+
pre.show-whitespaces .ws-tab {
|
68
|
+
background-color: #ff4;
|
69
|
+
}
|
70
|
+
pre.show-whitespaces .ws-tab-l {
|
71
|
+
background-color: #ff2;
|
72
|
+
}
|
73
|
+
pre.show-whitespaces .ws-tab-r {
|
74
|
+
background-color: #ff0;
|
75
|
+
}
|
76
|
+
pre.show-whitespaces.ws-lr .ws-tab {
|
144
77
|
background-color: inherit;
|
145
|
-
text-decoration: underline;
|
146
78
|
}
|
147
|
-
|
148
|
-
|
149
|
-
|
79
|
+
pre.show-whitespaces.ws-lr .ws-space {
|
80
|
+
background-color: inherit;
|
81
|
+
opacity: 0;
|
150
82
|
}
|
151
83
|
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
@extend .with-margin;
|
157
|
-
|
158
|
-
position: relative;
|
159
|
-
clear: both;
|
160
|
-
background-color: #fff;
|
161
|
-
background-image: -moz-linear-gradient(top, #eee, #fff 100, #fff);
|
162
|
-
background-image: -webkit-gradient(linear, 0 0, 0 200, from(#eee), to(#fff));
|
163
|
-
|
164
|
-
a {
|
165
|
-
color: $link-color;
|
166
|
-
background-color: inherit;
|
167
|
-
text-decoration: underline;
|
84
|
+
pre.kdexample-before {
|
85
|
+
width: 45%;
|
86
|
+
float: left;
|
87
|
+
margin: 0;
|
168
88
|
}
|
169
89
|
|
170
|
-
|
171
|
-
|
90
|
+
pre.kdexample-before:hover + pre {
|
91
|
+
display: block;
|
172
92
|
}
|
173
93
|
|
174
|
-
|
94
|
+
pre.kdexample-after-source {
|
95
|
+
display: none;
|
96
|
+
width: 45%;
|
175
97
|
float: right;
|
176
|
-
|
177
|
-
|
178
|
-
margin: 0
|
179
|
-
|
180
|
-
|
181
|
-
background-color: #eee;
|
182
|
-
|
183
|
-
#sidebar-content {
|
184
|
-
padding: 5px 10px;
|
185
|
-
opacity: 1;
|
186
|
-
}
|
187
|
-
|
188
|
-
p {
|
189
|
-
margin: 0px;
|
190
|
-
padding: 5px 0px;
|
191
|
-
}
|
98
|
+
background-color: #ffffee;
|
99
|
+
border: 2px solid #e6e8e9;
|
100
|
+
margin: 0 10px;
|
101
|
+
padding: 5px;
|
102
|
+
}
|
192
103
|
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
104
|
+
div.kdexample-after-live {
|
105
|
+
width: 45%;
|
106
|
+
float: right;
|
107
|
+
clear: none;
|
108
|
+
background-color: #eeffee;
|
109
|
+
border: 2px solid #e6e8e9;
|
110
|
+
margin: 0 10px 12px;
|
111
|
+
padding: 5px;
|
112
|
+
}
|
197
113
|
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
114
|
+
div.kdsyntaxlink {
|
115
|
+
float: right;
|
116
|
+
position: relative;
|
117
|
+
top: -17px;
|
118
|
+
padding: 5px;
|
119
|
+
border: 1px solid #e6e8e9;
|
120
|
+
margin-right: 10px;
|
121
|
+
margin-left: 10px;
|
202
122
|
|
203
123
|
a {
|
204
|
-
padding: 1px;
|
205
124
|
text-decoration: none;
|
206
125
|
}
|
207
|
-
|
208
|
-
h1 {
|
209
|
-
font: bold 150% Perpetua, Baskerville, "Big Caslon", "Palatino Linotype", Palatino, "URW Palladio L", "Nimbus Roman No9 L", serif;
|
210
|
-
}
|
211
126
|
}
|
127
|
+
}
|
212
128
|
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
padding: 0px 20px;
|
217
|
-
|
218
|
-
h1, h2, h3, h4, h5, h6 {
|
219
|
-
font-family: Perpetua, Baskerville, "Big Caslon", "Palatino Linotype", Palatino, "URW Palladio L", "Nimbus Roman No9 L", serif;
|
220
|
-
font-weight: bold;
|
221
|
-
text-shadow: 1px 1px 2px #888;
|
222
|
-
line-height: 1.5em;
|
223
|
-
}
|
224
|
-
h1 { font-size: 230%; }
|
225
|
-
h2 { font-size: 190%; }
|
226
|
-
h3 { font-size: 160%; }
|
227
|
-
h4 { font-size: 130%; }
|
228
|
-
|
229
|
-
h1, h2, h3, h4 {
|
230
|
-
margin: 40px 0px 0px;
|
231
|
-
}
|
232
|
-
|
233
|
-
p, ul, ol, dl, table, pre, blockquote {
|
234
|
-
margin: 20px 0px 0px;
|
235
|
-
}
|
236
|
-
|
237
|
-
ul, ol {
|
238
|
-
margin-left: 10px;
|
239
|
-
padding: 0 15px;
|
240
|
-
color: #000;
|
241
|
-
}
|
242
|
-
|
243
|
-
ul ul, ul ol, ol ul, ol ol {
|
244
|
-
margin-top: 0px;
|
245
|
-
}
|
246
|
-
|
247
|
-
dt {
|
248
|
-
background-color: #eee;
|
249
|
-
padding: 2px;
|
250
|
-
}
|
251
|
-
|
252
|
-
dd {
|
253
|
-
margin: 5px 0px 10px 20px;
|
254
|
-
padding: 2px;
|
255
|
-
|
256
|
-
p, ul, ol, dl, table, pre, blockquote {
|
257
|
-
margin-top: 0px;
|
258
|
-
}
|
259
|
-
|
260
|
-
}
|
261
|
-
|
262
|
-
*:target::after {
|
263
|
-
content: " ☜";
|
264
|
-
font-size: 120%;
|
265
|
-
}
|
266
|
-
|
267
|
-
pre {
|
268
|
-
margin-left: 10px;
|
269
|
-
margin-right: 10px;
|
270
|
-
padding: 5px;
|
271
|
-
text-align: left;
|
272
|
-
overflow: visible;
|
273
|
-
font: 'Lucida Console', 'courier new', monospace;
|
274
|
-
color: white;
|
275
|
-
background: #eee;
|
276
|
-
border-top: 1px solid green;
|
277
|
-
border-bottom: 1px solid green;
|
278
|
-
}
|
279
|
-
|
280
|
-
pre > code {
|
281
|
-
color: black;
|
282
|
-
font-weight: normal;
|
283
|
-
}
|
284
|
-
|
285
|
-
pre[title]::before {
|
286
|
-
display:block;
|
287
|
-
padding: 5px;
|
288
|
-
margin: -5px -5px 5px -5px;
|
289
|
-
background: green;
|
290
|
-
color: white;
|
291
|
-
content:attr(title);
|
292
|
-
font: bold 100% 'Helvetica Neue', 'Trebuchet MS', Arial, Sans-serif;
|
293
|
-
}
|
294
|
-
|
295
|
-
code {
|
296
|
-
font-family: "Lucida Console", monospace;
|
297
|
-
font-weight: bold;
|
298
|
-
font-size: 100%;
|
299
|
-
color: black;
|
300
|
-
}
|
301
|
-
|
302
|
-
blockquote.warning, blockquote.information, blockquote.important {
|
303
|
-
position: relative;
|
304
|
-
padding: 5px 5px 5px 45px;
|
305
|
-
min-height: 40px;
|
306
|
-
border: 1px solid green;
|
307
|
-
border-radius: 10px;
|
308
|
-
-webkit-border-radius: 10px;
|
309
|
-
-moz-border-radius: 10px;
|
310
|
-
box-shadow: 0px 0px 5px #888;
|
311
|
-
-moz-box-shadow: 0px 0px 5px #888;
|
312
|
-
-webkit-box-shadow: 0px 0px 5px #888;
|
313
|
-
|
314
|
-
p, ul, ol, dl, table, pre, blockquote {
|
315
|
-
margin-top: 0px;
|
316
|
-
}
|
317
|
-
}
|
318
|
-
|
319
|
-
blockquote.warning::before, blockquote.information::before, blockquote.important::before {
|
320
|
-
display: block;
|
321
|
-
position: absolute;
|
322
|
-
left: 0px;
|
323
|
-
top: 0px;
|
324
|
-
height: 30px;
|
325
|
-
width: 30px;
|
326
|
-
margin: 3px;
|
327
|
-
padding: 2px;
|
328
|
-
font: bold 30px "Georgia";
|
329
|
-
line-height: 30px;
|
330
|
-
text-align: center;
|
331
|
-
text-shadow: 1px 1px 2px #888;
|
332
|
-
background: white;
|
333
|
-
border-radius: 5px;
|
334
|
-
-webkit-border-radius: 5px;
|
335
|
-
-moz-border-radius: 5px;
|
336
|
-
}
|
337
|
-
|
338
|
-
blockquote.warning::before {
|
339
|
-
content: '⚠';
|
340
|
-
}
|
341
|
-
|
342
|
-
blockquote.information::before {
|
343
|
-
content: '✔';
|
344
|
-
}
|
345
|
-
|
346
|
-
blockquote.important::before {
|
347
|
-
content: '!';
|
348
|
-
}
|
349
|
-
|
350
|
-
blockquote pre {
|
351
|
-
border: none;
|
352
|
-
}
|
353
|
-
|
354
|
-
table {
|
355
|
-
border-collapse: collapse;
|
356
|
-
margin-left: auto;
|
357
|
-
margin-right: auto;
|
358
|
-
width: 100%;
|
359
|
-
|
360
|
-
td, th {
|
361
|
-
padding: 3px 5px;
|
362
|
-
}
|
363
|
-
|
364
|
-
th {
|
365
|
-
background-color: green;
|
366
|
-
color: white;
|
367
|
-
}
|
368
|
-
}
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
/* added definitions ------------------------------------------------------------ */
|
373
|
-
|
374
|
-
.news-item {
|
375
|
-
border-top: 3px solid #ddd;
|
376
|
-
margin-top: 20px;
|
377
|
-
|
378
|
-
h2 {
|
379
|
-
margin-top: 20px;
|
380
|
-
}
|
381
|
-
}
|
382
|
-
|
383
|
-
.news-date {
|
384
|
-
margin-top: 30px;
|
385
|
-
}
|
386
|
-
|
387
|
-
pre {
|
388
|
-
margin: 15px 10px;
|
389
|
-
background-color: #e6e8e9;
|
390
|
-
color: #000;
|
391
|
-
}
|
392
|
-
|
393
|
-
pre.show-whitespaces .ws-space {
|
394
|
-
background-color: #f44;
|
395
|
-
}
|
396
|
-
pre.show-whitespaces .ws-space-l {
|
397
|
-
background-color: #f22;
|
398
|
-
}
|
399
|
-
pre.show-whitespaces .ws-space-r {
|
400
|
-
background-color: #f00;
|
401
|
-
}
|
402
|
-
|
403
|
-
pre.show-whitespaces .ws-tab {
|
404
|
-
background-color: #ff4;
|
405
|
-
}
|
406
|
-
pre.show-whitespaces .ws-tab-l {
|
407
|
-
background-color: #ff2;
|
408
|
-
}
|
409
|
-
pre.show-whitespaces .ws-tab-r {
|
410
|
-
background-color: #ff0;
|
411
|
-
}
|
412
|
-
|
413
|
-
pre.show-whitespaces.ws-lr .ws-tab {
|
414
|
-
background-color: inherit;
|
415
|
-
}
|
416
|
-
pre.show-whitespaces.ws-lr .ws-space {
|
417
|
-
background-color: inherit;
|
418
|
-
opacity: 0;
|
419
|
-
}
|
420
|
-
|
421
|
-
blockquote.markdown-difference {
|
422
|
-
margin: 15px 20px;
|
423
|
-
padding: 5px;
|
424
|
-
border: 2px solid #e6e8e9;
|
425
|
-
background-color: #ffffee
|
426
|
-
}
|
427
|
-
|
428
|
-
blockquote.markdown-difference:before {
|
429
|
-
content: "Difference to Standard Markdown";
|
430
|
-
display: block;
|
431
|
-
font-weight: bold;
|
432
|
-
margin-top: 5px
|
433
|
-
}
|
434
|
-
|
435
|
-
pre.kdexample-before {
|
436
|
-
width: 45%;
|
437
|
-
float: left;
|
438
|
-
margin: 10px 10px 3px 10px;
|
439
|
-
}
|
440
|
-
pre.kdexample-before:hover + pre {
|
441
|
-
display: block;
|
442
|
-
}
|
443
|
-
|
444
|
-
pre.kdexample-after-source {
|
445
|
-
display: none;
|
446
|
-
width: 45%;
|
447
|
-
float: right;
|
448
|
-
background-color: #ffffee;
|
449
|
-
border: 2px solid #e6e8e9;
|
450
|
-
margin: 10px 10px 3px 10px;
|
451
|
-
margin-left: 10px;
|
452
|
-
margin-right: 10px;
|
453
|
-
margin-bottom: 3px;
|
454
|
-
}
|
455
|
-
|
456
|
-
div.kdexample-after-live {
|
457
|
-
width: 45%;
|
458
|
-
float: right;
|
459
|
-
clear: right;
|
460
|
-
background-color: #eeffee;
|
461
|
-
border: 2px solid #e6e8e9;
|
462
|
-
margin: 10px 10px 3px 10px;
|
463
|
-
padding: 5px;
|
464
|
-
}
|
465
|
-
|
466
|
-
div.kdsyntaxlink {
|
467
|
-
float: right;
|
468
|
-
padding: 5px;
|
469
|
-
border: 1px solid #e6e8e9;
|
470
|
-
margin-right: 10px;
|
471
|
-
margin-left: 10px;
|
472
|
-
}
|
473
|
-
|
474
|
-
div.kdsyntaxlink a {
|
475
|
-
text-decoration: none;
|
476
|
-
}
|
477
|
-
|
478
|
-
|
479
|
-
}
|
129
|
+
.news-item {
|
130
|
+
border-top: 2px solid #ddd;
|
131
|
+
margin-top: 46px;
|
480
132
|
}
|
481
133
|
|
482
|
-
|
483
|
-
|
484
|
-
|
134
|
+
.news-date {
|
135
|
+
float: right;
|
136
|
+
margin-top: 2px;
|
137
|
+
font-size: small;
|
138
|
+
color: #888;
|
139
|
+
}
|
485
140
|
|
141
|
+
footer {
|
486
142
|
clear: both;
|
487
|
-
margin-top: 20px;
|
488
|
-
padding: 5px 20px 30px;
|
489
143
|
font-size: 92%;
|
490
144
|
text-align: left;
|
491
|
-
color: #898989;
|
492
|
-
background-color: #eee;
|
493
|
-
|
494
|
-
h2, p {
|
495
|
-
padding-left: 0;
|
496
|
-
}
|
497
145
|
|
498
146
|
a {
|
499
147
|
color: #898989;
|
500
|
-
}
|
501
148
|
|
502
|
-
|
503
|
-
|
504
|
-
|
149
|
+
&:hover {
|
150
|
+
text-decoration: none;
|
151
|
+
color: #666;
|
152
|
+
}
|
505
153
|
}
|
154
|
+
}
|
506
155
|
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
156
|
+
/* common rules */
|
157
|
+
acronym {
|
158
|
+
cursor: help;
|
159
|
+
border-bottom: 1px solid #777;
|
511
160
|
}
|
512
161
|
|
162
|
+
.float-left {
|
163
|
+
float: left;
|
164
|
+
}
|
513
165
|
|
514
|
-
|
515
|
-
|
516
|
-
border: none;
|
166
|
+
.float-right {
|
167
|
+
float: right;
|
517
168
|
}
|
518
169
|
|
519
|
-
|
520
|
-
|
521
|
-
border-bottom: 1px solid #777;
|
170
|
+
.a-left, tr.a-left td {
|
171
|
+
text-align: left;
|
522
172
|
}
|
523
173
|
|
524
|
-
.
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
.a-right, tr.a-right td {
|
174
|
+
.a-center, tr.a-center td {
|
175
|
+
text-align: center;
|
176
|
+
}
|
177
|
+
|
178
|
+
.a-right, tr.a-right td {
|
179
|
+
text-align: right;
|
180
|
+
}
|
529
181
|
|
530
|
-
.clear {
|
182
|
+
.clear {
|
183
|
+
clear: both;
|
184
|
+
}
|