kramdown 0.5.0 → 0.6.0

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.

Files changed (43) hide show
  1. data/ChangeLog +315 -0
  2. data/Rakefile +35 -0
  3. data/VERSION +1 -1
  4. data/benchmark/generate_data.rb +6 -4
  5. data/benchmark/historic-jruby-1.4.0.dat +7 -7
  6. data/benchmark/historic-ruby-1.8.6.dat +7 -7
  7. data/benchmark/historic-ruby-1.8.7.dat +7 -7
  8. data/benchmark/historic-ruby-1.9.1p243.dat +7 -7
  9. data/benchmark/historic-ruby-1.9.2dev.dat +7 -7
  10. data/bin/kramdown +15 -4
  11. data/data/kramdown/document.html +9 -0
  12. data/data/kramdown/document.latex +38 -0
  13. data/doc/default.less.css +468 -0
  14. data/doc/default.template +23 -34
  15. data/doc/index.page +25 -20
  16. data/doc/news.page +1 -1
  17. data/doc/syntax.page +226 -159
  18. data/doc/tests.page +2 -1
  19. data/lib/kramdown/converter/html.rb +14 -2
  20. data/lib/kramdown/converter/latex.rb +19 -1
  21. data/lib/kramdown/document.rb +17 -9
  22. data/lib/kramdown/parser/kramdown.rb +4 -3
  23. data/lib/kramdown/parser/kramdown/autolink.rb +7 -2
  24. data/lib/kramdown/parser/kramdown/emphasis.rb +3 -2
  25. data/lib/kramdown/parser/kramdown/escaped_chars.rb +1 -1
  26. data/lib/kramdown/parser/kramdown/list.rb +2 -1
  27. data/lib/kramdown/parser/kramdown/math.rb +53 -0
  28. data/lib/kramdown/version.rb +1 -1
  29. data/man/man1/kramdown.1 +189 -0
  30. data/test/testcases/block/08_list/mixed.html +9 -3
  31. data/test/testcases/block/08_list/special_cases.html +49 -0
  32. data/test/testcases/block/08_list/special_cases.text +29 -0
  33. data/test/testcases/block/15_math/normal.html +19 -0
  34. data/test/testcases/block/15_math/normal.text +18 -0
  35. data/test/testcases/span/02_emphasis/errors.html +1 -1
  36. data/test/testcases/span/02_emphasis/nesting.html +4 -0
  37. data/test/testcases/span/02_emphasis/nesting.text +3 -0
  38. data/test/testcases/span/autolinks/url_links.html +3 -0
  39. data/test/testcases/span/autolinks/url_links.text +3 -0
  40. data/test/testcases/span/math/normal.html +5 -0
  41. data/test/testcases/span/math/normal.text +5 -0
  42. metadata +21 -6
  43. data/doc/default.css +0 -293
@@ -1,7 +1,7 @@
1
- # kramdown 0.1.0 || kramdown 0.2.0 || kramdown 2009-03-10 || kramdown 2009-11-05 || kramdown 0.3.0 || kramdown 0.4.0 || kramdown 0.5.0
2
- 1 0.01211 0.01274 0.01406 0.01150 0.01385 0.01359 0.01539
3
- 2 0.02449 0.02582 0.02545 0.02329 0.02924 0.02691 0.03194
4
- 4 0.08228 0.08475 0.07402 0.07921 0.08600 0.09013 0.05768
5
- 8 0.12842 0.13410 0.24217 0.12481 0.14426 0.13687 0.14952
6
- 16 0.22743 0.27748 0.84538 0.21843 0.29497 0.28115 0.26786
7
- 32 0.45690 0.51838 3.95635 0.51363 0.54252 0.51869 0.57976
1
+ # kramdown 0.1.0 || kramdown 0.2.0 || kramdown 0.3.0 || kramdown 0.4.0 || kramdown 0.5.0 || kramdown 0.6.0
2
+ 1 0.01211 0.01274 0.01385 0.01359 0.01539 0.01531
3
+ 2 0.02449 0.02582 0.02924 0.02691 0.03194 0.03106
4
+ 4 0.08228 0.08475 0.08600 0.09013 0.05768 0.05841
5
+ 8 0.12842 0.13410 0.14426 0.13687 0.14952 0.15120
6
+ 16 0.22743 0.27748 0.29497 0.28115 0.26786 0.27056
7
+ 32 0.45690 0.51838 0.54252 0.51869 0.57976 0.51855
@@ -1,7 +1,7 @@
1
- # kramdown 0.1.0 || kramdown 0.2.0 || kramdown 2009-03-10 || kramdown 2009-11-05 || kramdown 0.3.0 || kramdown 0.4.0 || kramdown 0.5.0
2
- 1 0.01259 0.01329 0.01446 0.01219 0.01580 0.01397 0.01554
3
- 2 0.02472 0.02672 0.02637 0.02406 0.02858 0.02849 0.03387
4
- 4 0.09610 0.08355 0.07451 0.07719 0.05439 0.05232 0.05801
5
- 8 0.13269 0.13811 0.24393 0.12766 0.10869 0.10471 0.15673
6
- 16 0.27243 0.27540 0.93940 0.25091 0.28680 0.27240 0.31712
7
- 32 0.52890 0.55667 4.93810 0.50113 0.54547 0.52283 0.60766
1
+ # kramdown 0.1.0 || kramdown 0.2.0 || kramdown 0.3.0 || kramdown 0.4.0 || kramdown 0.5.0 || kramdown 0.6.0
2
+ 1 0.01259 0.01329 0.01580 0.01397 0.01554 0.01583
3
+ 2 0.02472 0.02672 0.02858 0.02849 0.03387 0.03192
4
+ 4 0.09610 0.08355 0.05439 0.05232 0.05801 0.06041
5
+ 8 0.13269 0.13811 0.10869 0.10471 0.15673 0.15005
6
+ 16 0.27243 0.27540 0.28680 0.27240 0.31712 0.31372
7
+ 32 0.52890 0.55667 0.54547 0.52283 0.60766 0.59042
@@ -1,7 +1,7 @@
1
- # kramdown 0.1.0 || kramdown 0.2.0 || kramdown 2009-03-10 || kramdown 2009-11-05 || kramdown 0.3.0 || kramdown 0.4.0 || kramdown 0.5.0
2
- 1 0.02062 0.02216 0.01349 0.02013 0.02152 0.02025 0.01289
3
- 2 0.04097 0.04290 0.03316 0.03738 0.03939 0.03956 0.02890
4
- 4 0.07696 0.08015 0.07079 0.07084 0.09122 0.07573 0.06272
5
- 8 0.16986 0.16998 0.17800 0.14978 0.16856 0.16380 0.11127
6
- 16 0.33684 0.34800 0.60818 0.30365 0.35242 0.33358 0.23528
7
- 32 0.68273 0.70498 2.77191 0.61580 0.74138 0.66569 0.44669
1
+ # kramdown 0.1.0 || kramdown 0.2.0 || kramdown 0.3.0 || kramdown 0.4.0 || kramdown 0.5.0 || kramdown 0.6.0
2
+ 1 0.02062 0.02216 0.02152 0.02025 0.01289 0.01334
3
+ 2 0.04097 0.04290 0.03939 0.03956 0.02890 0.02739
4
+ 4 0.07696 0.08015 0.09122 0.07573 0.06272 0.06234
5
+ 8 0.16986 0.16998 0.16856 0.16380 0.11127 0.11350
6
+ 16 0.33684 0.34800 0.35242 0.33358 0.23528 0.23868
7
+ 32 0.68273 0.70498 0.74138 0.66569 0.44669 0.45204
@@ -1,7 +1,7 @@
1
- # kramdown 0.1.0 || kramdown 0.2.0 || kramdown 2009-03-10 || kramdown 2009-11-05 || kramdown 0.3.0 || kramdown 0.4.0 || kramdown 0.5.0
2
- 1 0.01827 0.02000 0.01064 0.01981 0.01830 0.02061 0.01632
3
- 2 0.03951 0.04158 0.03260 0.03712 0.04056 0.04378 0.03590
4
- 4 0.08055 0.08419 0.05945 0.07256 0.08363 0.08286 0.04809
5
- 8 0.14925 0.15101 0.15053 0.14051 0.15830 0.14567 0.10250
6
- 16 0.31483 0.31485 0.46291 0.28562 0.31176 0.30726 0.20651
7
- 32 0.62318 0.64162 2.17304 0.56619 0.61918 0.59270 0.42345
1
+ # kramdown 0.1.0 || kramdown 0.2.0 || kramdown 0.3.0 || kramdown 0.4.0 || kramdown 0.5.0 || kramdown 0.6.0
2
+ 1 0.01827 0.02000 0.01830 0.02061 0.01632 0.01618
3
+ 2 0.03951 0.04158 0.04056 0.04378 0.03590 0.03532
4
+ 4 0.08055 0.08419 0.08363 0.08286 0.04809 0.04781
5
+ 8 0.14925 0.15101 0.15830 0.14567 0.10250 0.10226
6
+ 16 0.31483 0.31485 0.31176 0.30726 0.20651 0.20778
7
+ 32 0.62318 0.64162 0.61918 0.59270 0.42345 0.42295
data/bin/kramdown CHANGED
@@ -34,7 +34,13 @@ OptionParser.new do |opts|
34
34
  opts.separator "Command line options:"
35
35
  opts.separator ""
36
36
 
37
- opts.on("-f", "--format ARG", "Specify the output format: html (default) or latex") {|v| format = v}
37
+ opts.on("-i", "--input ARG", "Specify the input format: kramdown (default)") {|v| options[:input] = v}
38
+ opts.on("-o", "--ouput ARG", "Specify the output format: html (default) or latex") {|v| format = v}
39
+ opts.on("-f", "--format ARG", "DEPRACATED: Specify the output format: html (default) or latex") do |v|
40
+ warn("DEPRECATED: This option will be removed in the next release, use --output instead")
41
+ format = v
42
+ end
43
+
38
44
  opts.on("-v", "--version", "Show the version of kramdown") do
39
45
  puts Kramdown::VERSION
40
46
  exit
@@ -66,6 +72,11 @@ OptionParser.new do |opts|
66
72
 
67
73
  end.parse!
68
74
 
69
- doc = Kramdown::Document.new(ARGF.read, options)
70
- puts doc.send("to_#{format}")
71
- doc.warnings.each {|warn| $stderr.puts warn}
75
+ begin
76
+ doc = Kramdown::Document.new(ARGF.read, options)
77
+ puts doc.send("to_#{format}")
78
+ doc.warnings.each {|warn| $stderr.puts "Warning: #{warn}"}
79
+ rescue Kramdown::Error => e
80
+ $stderr.puts "Error: #{e.message}"
81
+ exit(1)
82
+ end
@@ -0,0 +1,9 @@
1
+ <html>
2
+ <head>
3
+ <title></title>
4
+ <meta name="generator" content="kramdown <%= Kramdown::VERSION %>" />
5
+ </head>
6
+ <body>
7
+ <%= body %>
8
+ </body>
9
+ </html>
@@ -0,0 +1,38 @@
1
+ <%
2
+ ENCODING_MAP = {
3
+ 'UTF-8' => 'utf8x',
4
+ 'US-ASCII' => 'ascii',
5
+ 'ISO-8859-1' => 'latin1',
6
+ 'ISO-8859-2' => 'latin2',
7
+ 'ISO-8859-3' => 'latin3',
8
+ 'ISO-8859-4' => 'latin4',
9
+ 'ISO-8859-5' => 'latin5',
10
+ 'ISO-8859-9' => 'latin9',
11
+ 'ISO-8859-10' => 'latin10',
12
+ 'CP850' => 'cp850',
13
+ 'CP852' => 'cp852',
14
+ 'CP858' => 'cp858',
15
+ 'CP437' => 'cp437',
16
+ 'CP865' => 'cp865',
17
+ 'CP1250' => 'cp120',
18
+ 'CP1252' => 'cp1252',
19
+ 'CP1257' => 'cp1257'
20
+ } %>
21
+ \documentclass{scrartcl}
22
+ <% if RUBY_VERSION >= '1.9' %>
23
+ \usepackage[<%= ENCODING_MAP[body.encoding.name] %>]{inputenc}
24
+ <% else %>
25
+ \usepackage[mathletters]{ucs}
26
+ \usepackage[utf8x]{inputenc}
27
+ <% end %>
28
+ \usepackage[T1]{fontenc}
29
+ \usepackage{listings}
30
+ \usepackage{hyperref}
31
+ <% doc.conversion_infos[:packages].each {|pkg| %>\usepackage{<%= pkg %>}
32
+ <% } %>
33
+
34
+ \hypersetup{colorlinks=true,urlcolor=blue}
35
+
36
+ \begin{document}
37
+ <%= body %>
38
+ \end{document}
@@ -0,0 +1,468 @@
1
+ @text-color: #354146;
2
+ @link-color: #1666A3;
3
+
4
+ * {
5
+ padding: 0;
6
+ margin: 0;
7
+ }
8
+
9
+ body {
10
+ margin: 0;
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
+ }
26
+
27
+ /* header */
28
+ #fullheader {
29
+ background: #364147;
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
+ }
33
+
34
+ #header {
35
+ .with-margin;
36
+
37
+ position: relative;
38
+ padding: 0 0 0 30px;
39
+ height: 70px;
40
+
41
+ h1#logo {
42
+ a {
43
+ color: #ced1d2;
44
+ text-decoration: none;
45
+ display: block;
46
+ padding: 18px 0 17px;
47
+ font-weight: normal;
48
+ }
49
+
50
+ a:hover {
51
+ color: #fff;
52
+ }
53
+
54
+ span.slogan {
55
+ font-size: 60%; padding-left: 1.5em;
56
+ }
57
+ }
58
+ }
59
+
60
+
61
+ /* menu */
62
+ #fullnav {
63
+ background: #3f4a50;
64
+ background-image: -moz-linear-gradient(top, rgba(63,74,80,1), rgba(88,99,103,1));
65
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(63,74,80,1)), to(rgba(88,99,103,1)));
66
+ }
67
+
68
+ #nav {
69
+ .with-margin;
70
+
71
+ ul {
72
+ height: 40px;
73
+ margin: 0;
74
+ padding: 0;
75
+ list-style: none;
76
+
77
+ li {
78
+ display: block;
79
+ float: left;
80
+ margin: 0;
81
+ padding: 0;
82
+
83
+ a, span {
84
+ display: block;
85
+ float: left;
86
+ font-size: 90%;
87
+ color: white;
88
+ text-decoration: none;
89
+ text-align: center;
90
+ padding: 12px 20px 8px;
91
+ -webkit-transition: all 0.2s ease-in-out;
92
+ -moz-transition: all 0.2s ease-in-out;
93
+ -o-transition: all 0.2s ease-in-out;
94
+ transition: all 0.2s ease-in-out;
95
+ }
96
+
97
+ a:hover, span:hover {
98
+ color: #ced1d2;
99
+ text-decoration: underline;
100
+ }
101
+
102
+ }
103
+
104
+ li.webgen-menu-item-selected a, li.webgen-menu-item-selected span, li.webgen-menu-submenu-inhierarchy span {
105
+ color: #101517;
106
+ border: 1px solid #fff;
107
+ border-bottom:1px solid #e6e8e9;
108
+ background:#e6e8e9;
109
+ background-image: -moz-linear-gradient(top, #d6d8d9, #e6e8e9);
110
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#d6d8d9), to(#e6e8e9));
111
+ text-decoration:none;
112
+ }
113
+
114
+ }
115
+ }
116
+
117
+ /* intro */
118
+ #fullintro {
119
+ background: #e6e8e9;
120
+ }
121
+
122
+ #intro {
123
+ .with-margin;
124
+ background: #e6e8e9;
125
+ height: auto;
126
+
127
+ #intro-in {
128
+ padding: 20px 5px;
129
+ }
130
+
131
+ p {
132
+ margin: 15px 0px 0px
133
+ }
134
+
135
+ a {
136
+ color: @link-color;
137
+ background-color: inherit;
138
+ text-decoration: underline;
139
+ }
140
+
141
+ a:hover, a:link {
142
+ color: #0B4775;
143
+ }
144
+
145
+ }
146
+
147
+ /* content */
148
+ #container {
149
+ .with-margin;
150
+ position: relative;
151
+ clear: both;
152
+ background-color: #fff;
153
+ background-image: -moz-linear-gradient(top, #eee, #fff 100, #fff);
154
+ background-image: -webkit-gradient(linear, 0 0, 0 200, from(#eee), to(#fff));
155
+
156
+ #main {
157
+
158
+ margin-top: 20px;
159
+ padding: 0px 20px;
160
+
161
+ h1, h2, h3, h4, h5, h6 {
162
+ font-family: Perpetua, Baskerville, "Big Caslon", "Palatino Linotype", Palatino, "URW Palladio L", "Nimbus Roman No9 L", serif;
163
+ font-weight: bold;
164
+ text-shadow: 1px 1px 2px #888;
165
+ line-height: 1.5em;
166
+ }
167
+ h1 { font-size: 230%; }
168
+ h2 { font-size: 190%; }
169
+ h3 { font-size: 160%; }
170
+ h4 { font-size: 130%; }
171
+
172
+ h1, h2, h3, h4 {
173
+ margin: 40px 0px 0px;
174
+ }
175
+
176
+ p, ul, ol, dl, table, pre, blockquote {
177
+ margin: 20px 0px 0px
178
+ }
179
+
180
+ ul, ol {
181
+ margin-left: 10px;
182
+ padding: 0 15px;
183
+ color: #000;
184
+ }
185
+
186
+ ul ul, ul ol, ol ul, ol ol {
187
+ margin-top: 0px;
188
+ }
189
+
190
+ dt {
191
+ background-color: #eee;
192
+ padding: 2px;
193
+ }
194
+
195
+ dd {
196
+ margin: 5px 0px 10px 20px;
197
+ padding: 2px;
198
+ }
199
+
200
+ a {
201
+ color: @link-color;
202
+ background-color: inherit;
203
+ text-decoration: underline;
204
+ }
205
+
206
+ a:hover, a:link {
207
+ color: #0B4775;
208
+ }
209
+
210
+ *:target::after {
211
+ content: " ☜";
212
+ font-size: 120%;
213
+ }
214
+
215
+ pre {
216
+ margin-left: 10px;
217
+ margin-right: 10px;
218
+ padding: 5px;
219
+ text-align: left;
220
+ overflow: visible;
221
+ font: 'Lucida Console', 'courier new', monospace;
222
+ color: white;
223
+ background: #eee;
224
+ border-top: 1px solid green;
225
+ border-bottom: 1px solid green;
226
+ }
227
+
228
+ pre > code {
229
+ color: black;
230
+ font-weight: normal;
231
+ }
232
+
233
+ pre[title]::before {
234
+ display:block;
235
+ padding: 5px;
236
+ margin: -5px -5px 5px -5px;
237
+ background: green;
238
+ color: white;
239
+ content:attr(title);
240
+ font: bold 100% 'Helvetica Neue', 'Trebuchet MS', Arial, Sans-serif;
241
+ }
242
+
243
+ code {
244
+ font-family: "Lucida Console", monospace;
245
+ font-weight: bold;
246
+ font-size: 100%;
247
+ color: black;
248
+ }
249
+
250
+ blockquote.warning, blockquote.information, blockquote.important {
251
+ position: relative;
252
+ padding: 5px 5px 5px 45px;
253
+ min-height: 40px;
254
+ border: 1px solid green;
255
+ border-radius: 10px;
256
+ -webkit-border-radius: 10px;
257
+ -moz-border-radius: 10px;
258
+ box-shadow: 0px 0px 5px #888;
259
+ -moz-box-shadow: 0px 0px 5px #888;
260
+ -webkit-box-shadow: 0px 0px 5px #888;
261
+
262
+ p, ul, ol, dl, table, pre, blockquote {
263
+ margin-top: 0px;
264
+ }
265
+ }
266
+
267
+ blockquote.warning::before, blockquote.information::before, blockquote.important::before {
268
+ display: block;
269
+ position: absolute;
270
+ left: 0px;
271
+ top: 0px;
272
+ height: 30px;
273
+ width: 30px;
274
+ margin: 3px;
275
+ padding: 2px;
276
+ font: bold 30px "Georgia";
277
+ line-height: 30px;
278
+ text-align: center;
279
+ text-shadow: 1px 1px 2px #888;
280
+ background: white;
281
+ border-radius: 5px;
282
+ -webkit-border-radius: 5px;
283
+ -moz-border-radius: 5px;
284
+ }
285
+
286
+ blockquote.warning::before {
287
+ content: '⚠';
288
+ }
289
+
290
+ blockquote.information::before {
291
+ content: '✔';
292
+ }
293
+
294
+ blockquote.important::before {
295
+ content: '!';
296
+ }
297
+
298
+ blockquote pre {
299
+ border: none;
300
+ }
301
+
302
+ table {
303
+ border-collapse: collapse;
304
+ margin-left: auto;
305
+ margin-right: auto;
306
+ width: 100%;
307
+
308
+ td, th {
309
+ padding: 3px 5px;
310
+ }
311
+
312
+ th {
313
+ background-color: green;
314
+ color: white;
315
+ }
316
+ }
317
+
318
+
319
+
320
+ /* added definitions ------------------------------------------------------------ */
321
+
322
+ .news-item {
323
+ border-top: 3px solid #ddd;
324
+ margin-top: 20px;
325
+
326
+ h2 {
327
+ margin-top: 20px;
328
+ }
329
+ }
330
+
331
+ .news-date {
332
+ margin-top: 30px;
333
+ }
334
+
335
+ pre {
336
+ margin: 15px 10px;
337
+ background-color: #e6e8e9;
338
+ color: #000;
339
+ }
340
+
341
+ pre.show-whitespaces .ws-space {
342
+ background-color: #f44;
343
+ }
344
+ pre.show-whitespaces .ws-space-l {
345
+ background-color: #f22;
346
+ }
347
+ pre.show-whitespaces .ws-space-r {
348
+ background-color: #f00;
349
+ }
350
+
351
+ pre.show-whitespaces .ws-tab {
352
+ background-color: #ff4;
353
+ }
354
+ pre.show-whitespaces .ws-tab-l {
355
+ background-color: #ff2;
356
+ }
357
+ pre.show-whitespaces .ws-tab-r {
358
+ background-color: #ff0;
359
+ }
360
+
361
+ pre.show-whitespaces.ws-lr .ws-tab {
362
+ background-color: inherit;
363
+ }
364
+ pre.show-whitespaces.ws-lr .ws-space {
365
+ background-color: inherit;
366
+ opacity: 0;
367
+ }
368
+
369
+ blockquote.markdown-difference {
370
+ margin: 15px 20px;
371
+ padding: 5px;
372
+ border: 2px solid #e6e8e9;
373
+ background-color: #ffffee
374
+ }
375
+
376
+ blockquote.markdown-difference:before {
377
+ content: "Difference to Standard Markdown";
378
+ display: block;
379
+ font-weight: bold;
380
+ margin-top: 5px
381
+ }
382
+
383
+ pre.kdexample-before {
384
+ width: 45%;
385
+ float: left;
386
+ }
387
+
388
+ pre.kdexample-after-source {
389
+ width: 45%;
390
+ float: right;
391
+ background-color: #ffffee;
392
+ border: 2px solid #e6e8e9;
393
+ margin-bottom: 3px;
394
+ }
395
+
396
+ div.kdexample-after-live {
397
+ width: 45%;
398
+ float: right;
399
+ clear: right;
400
+ background-color: #eeffee;
401
+ border: 2px solid #e6e8e9;
402
+ margin: 0px 10px;
403
+ }
404
+
405
+ div.kdsyntaxlink {
406
+ float: right;
407
+ padding: 5px;
408
+ border: 1px solid #e6e8e9;
409
+ margin-right: 10px;
410
+ margin-left: 10px;
411
+ }
412
+
413
+ div.kdsyntaxlink a {
414
+ text-decoration: none;
415
+ }
416
+
417
+
418
+ }
419
+ }
420
+
421
+ /* footer */
422
+ #footer {
423
+ .with-margin;
424
+ clear: both;
425
+ margin-top: 20px;
426
+ padding: 5px 20px 30px;
427
+ font-size: 92%;
428
+ text-align: left;
429
+ color: #898989;
430
+ background-color: #eee;
431
+
432
+ h2, p {
433
+ padding-left: 0;
434
+ }
435
+
436
+ a {
437
+ color: #898989;
438
+ }
439
+
440
+ a:hover {
441
+ text-decoration: none;
442
+ color: #666;
443
+ }
444
+
445
+ ul {
446
+ margin: 0;
447
+ padding: 0;
448
+ }
449
+ }
450
+
451
+
452
+ /* common rules */
453
+ img {
454
+ border: none;
455
+ }
456
+
457
+ acronym {
458
+ cursor: help;
459
+ border-bottom: 1px solid #777;
460
+ }
461
+
462
+ .float-left { float: left; }
463
+ .float-right { float: right; }
464
+ .a-left, tr.a-left td {text-align:left;}
465
+ .a-center, tr.a-center td {text-align:center;}
466
+ .a-right, tr.a-right td {text-align:right;}
467
+
468
+ .clear { clear: both; }