asciidoctor 0.1.4 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of asciidoctor might be problematic. Click here for more details.

Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +209 -25
  3. data/{LICENSE → LICENSE.adoc} +4 -3
  4. data/README.adoc +392 -395
  5. data/Rakefile +94 -137
  6. data/benchmark/benchmark.rb +127 -0
  7. data/benchmark/sample-data/mdbasics.adoc +334 -0
  8. data/bin/asciidoctor +5 -8
  9. data/bin/asciidoctor-safe +4 -8
  10. data/compat/asciidoc.conf +78 -11
  11. data/compat/font-awesome-3-compat.css +397 -0
  12. data/data/stylesheets/asciidoctor-default.css +399 -0
  13. data/data/stylesheets/coderay-asciidoctor.css +89 -0
  14. data/features/open_block.feature +92 -0
  15. data/features/pass_block.feature +66 -0
  16. data/features/step_definitions.rb +42 -0
  17. data/features/text_formatting.feature +55 -0
  18. data/features/xref.feature +116 -0
  19. data/lib/asciidoctor.rb +1155 -605
  20. data/lib/asciidoctor/abstract_block.rb +157 -71
  21. data/lib/asciidoctor/abstract_node.rb +150 -93
  22. data/lib/asciidoctor/attribute_list.rb +85 -90
  23. data/lib/asciidoctor/block.rb +51 -24
  24. data/lib/asciidoctor/callouts.rb +4 -7
  25. data/lib/asciidoctor/cli.rb +3 -0
  26. data/lib/asciidoctor/cli/invoker.rb +86 -76
  27. data/lib/asciidoctor/cli/options.rb +111 -61
  28. data/lib/asciidoctor/converter.rb +232 -0
  29. data/lib/asciidoctor/converter/base.rb +58 -0
  30. data/lib/asciidoctor/converter/composite.rb +66 -0
  31. data/lib/asciidoctor/converter/docbook45.rb +94 -0
  32. data/lib/asciidoctor/converter/docbook5.rb +684 -0
  33. data/lib/asciidoctor/converter/factory.rb +225 -0
  34. data/lib/asciidoctor/converter/html5.rb +1081 -0
  35. data/lib/asciidoctor/converter/template.rb +296 -0
  36. data/lib/asciidoctor/core_ext.rb +7 -0
  37. data/lib/asciidoctor/core_ext/object/nil_or_empty.rb +23 -0
  38. data/lib/asciidoctor/core_ext/string/chr.rb +6 -0
  39. data/lib/asciidoctor/core_ext/symbol/length.rb +6 -0
  40. data/lib/asciidoctor/document.rb +590 -304
  41. data/lib/asciidoctor/extensions.rb +1100 -308
  42. data/lib/asciidoctor/helpers.rb +109 -46
  43. data/lib/asciidoctor/inline.rb +16 -9
  44. data/lib/asciidoctor/list.rb +23 -15
  45. data/lib/asciidoctor/opal_ext.rb +4 -0
  46. data/lib/asciidoctor/opal_ext/comparable.rb +38 -0
  47. data/lib/asciidoctor/opal_ext/dir.rb +13 -0
  48. data/lib/asciidoctor/opal_ext/error.rb +2 -0
  49. data/lib/asciidoctor/opal_ext/file.rb +125 -0
  50. data/lib/asciidoctor/{lexer.rb → parser.rb} +646 -455
  51. data/lib/asciidoctor/path_resolver.rb +141 -77
  52. data/lib/asciidoctor/reader.rb +257 -187
  53. data/lib/asciidoctor/section.rb +12 -16
  54. data/lib/asciidoctor/stylesheets.rb +91 -0
  55. data/lib/asciidoctor/substitutors.rb +1548 -0
  56. data/lib/asciidoctor/table.rb +73 -57
  57. data/lib/asciidoctor/timings.rb +39 -0
  58. data/lib/asciidoctor/version.rb +1 -1
  59. data/man/asciidoctor.1 +22 -14
  60. data/man/asciidoctor.adoc +18 -10
  61. data/test/attributes_test.rb +314 -14
  62. data/test/blocks_test.rb +763 -118
  63. data/test/converter_test.rb +352 -0
  64. data/test/document_test.rb +518 -199
  65. data/test/extensions_test.rb +273 -103
  66. data/test/fixtures/asciidoc_index.txt +27 -13
  67. data/test/fixtures/basic-docinfo.xml +1 -1
  68. data/test/fixtures/chapter-a.adoc +3 -0
  69. data/test/fixtures/custom-backends/erb/html5/block_paragraph.html.erb +6 -0
  70. data/test/fixtures/docinfo.xml +1 -1
  71. data/test/fixtures/include-file.asciidoc +2 -0
  72. data/test/fixtures/master.adoc +5 -0
  73. data/test/invoker_test.rb +173 -61
  74. data/test/links_test.rb +97 -21
  75. data/test/lists_test.rb +181 -22
  76. data/test/options_test.rb +86 -2
  77. data/test/paragraphs_test.rb +47 -5
  78. data/test/{lexer_test.rb → parser_test.rb} +128 -57
  79. data/test/paths_test.rb +36 -1
  80. data/test/preamble_test.rb +25 -17
  81. data/test/reader_test.rb +404 -249
  82. data/test/sections_test.rb +623 -58
  83. data/test/substitutions_test.rb +609 -132
  84. data/test/tables_test.rb +198 -24
  85. data/test/test_helper.rb +101 -31
  86. data/test/text_test.rb +88 -31
  87. metadata +160 -64
  88. data/Gemfile +0 -12
  89. data/Guardfile +0 -18
  90. data/asciidoctor.gemspec +0 -143
  91. data/lib/asciidoctor/backends/_stylesheets.rb +0 -466
  92. data/lib/asciidoctor/backends/base_template.rb +0 -114
  93. data/lib/asciidoctor/backends/docbook45.rb +0 -774
  94. data/lib/asciidoctor/backends/docbook5.rb +0 -103
  95. data/lib/asciidoctor/backends/html5.rb +0 -1214
  96. data/lib/asciidoctor/renderer.rb +0 -259
  97. data/lib/asciidoctor/substituters.rb +0 -1083
  98. data/test/fixtures/asciidoc.txt +0 -105
  99. data/test/fixtures/ascshort.txt +0 -32
  100. data/test/fixtures/list_elements.asciidoc +0 -10
  101. data/test/renderer_test.rb +0 -162
data/Gemfile DELETED
@@ -1,12 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- # enable this group to use Guard for continuous testing
6
- # after removing comments, run `bundle install` then `guard`
7
- #group :guardtest do
8
- # gem 'guard'
9
- # gem 'guard-test'
10
- # gem 'libnotify'
11
- # gem 'listen', :github => 'guard/listen'
12
- #end
data/Guardfile DELETED
@@ -1,18 +0,0 @@
1
- # use `guard start -n f` to disable notifications
2
- # or set the environment variable GUARD_NOTIFY=false
3
- notification :libnotify,
4
- :display_message => true,
5
- :timeout => 5, # in seconds
6
- :append => false,
7
- :transient => true,
8
- :urgency => :critical
9
-
10
- guard :test do
11
- watch(%r{^lib/(.+)\.rb$}) do |m|
12
- "test/#{m[1]}_test.rb"
13
- end
14
- watch(%r{^test.+_test\.rb$})
15
- watch('test/test_helper.rb') do
16
- "test"
17
- end
18
- end
@@ -1,143 +0,0 @@
1
- Gem::Specification.new do |s|
2
- s.specification_version = 2 if s.respond_to? :specification_version=
3
- s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
4
- s.rubygems_version = '1.8.5'
5
-
6
- ## name, version, date and rubyforge_project are updated automatically by the
7
- ## Rake build (see the validate task)
8
- s.name = 'asciidoctor'
9
- s.version = '0.1.4'
10
- s.date = '2013-09-05'
11
- s.rubyforge_project = 'asciidoctor'
12
-
13
- s.summary = 'An implementation of the AsciiDoc text processor and publishing toolchain in Ruby'
14
- s.description = <<-EOS
15
- A fast, open source text processor and publishing toolchain, written in Ruby, for transforming AsciiDoc markup into HTML 5, DocBook 4.5, DocBook 5.0 and custom outupt formats.
16
- EOS
17
- s.license = 'MIT'
18
- s.authors = ['Dan Allen', 'Ryan Waldron', 'Jeremy McAnally', 'Jason Porter', 'Nick Hengeveld']
19
- s.email = ['dan.j.allen@gmail.com', 'rew@erebor.com']
20
- s.homepage = 'http://asciidoctor.org'
21
-
22
- s.require_paths = %w[lib]
23
- s.executables = ['asciidoctor', 'asciidoctor-safe']
24
-
25
- s.has_rdoc = true
26
- s.rdoc_options = ['--charset=UTF-8']
27
- s.extra_rdoc_files = %w[LICENSE CHANGELOG.adoc]
28
-
29
- ## List your runtime dependencies here. Runtime dependencies are those
30
- ## that are needed for an end user to actually USE your code.
31
- #s.add_dependency 'foo', '~> 1.0.0'
32
-
33
- ## Development dependencies are libraries only needed during development or
34
- ## testing
35
- s.add_development_dependency('coderay')
36
- s.add_development_dependency('erubis')
37
- s.add_development_dependency('nokogiri', '~> 1.5.10')
38
- s.add_development_dependency('rake')
39
- s.add_development_dependency('rdoc', '~> 3.12')
40
- s.add_development_dependency('tilt')
41
- # slim and haml needed for testing custom templates
42
- s.add_development_dependency('slim')
43
- s.add_development_dependency('haml')
44
-
45
- ## The manifest section is automatically generated by the Rake build
46
- ## based on the contents of the Git repository (see the gemspec task).
47
- ## DO NOT REMOVE THE = MANIFEST = DELIMITERS!
48
- # = MANIFEST =
49
- s.files = %w[
50
- CHANGELOG.adoc
51
- Gemfile
52
- Guardfile
53
- LICENSE
54
- README.adoc
55
- Rakefile
56
- asciidoctor.gemspec
57
- bin/asciidoctor
58
- bin/asciidoctor-safe
59
- compat/asciidoc.conf
60
- lib/asciidoctor.rb
61
- lib/asciidoctor/abstract_block.rb
62
- lib/asciidoctor/abstract_node.rb
63
- lib/asciidoctor/attribute_list.rb
64
- lib/asciidoctor/backends/_stylesheets.rb
65
- lib/asciidoctor/backends/base_template.rb
66
- lib/asciidoctor/backends/docbook45.rb
67
- lib/asciidoctor/backends/docbook5.rb
68
- lib/asciidoctor/backends/html5.rb
69
- lib/asciidoctor/block.rb
70
- lib/asciidoctor/callouts.rb
71
- lib/asciidoctor/cli/invoker.rb
72
- lib/asciidoctor/cli/options.rb
73
- lib/asciidoctor/debug.rb
74
- lib/asciidoctor/document.rb
75
- lib/asciidoctor/extensions.rb
76
- lib/asciidoctor/helpers.rb
77
- lib/asciidoctor/inline.rb
78
- lib/asciidoctor/lexer.rb
79
- lib/asciidoctor/list.rb
80
- lib/asciidoctor/path_resolver.rb
81
- lib/asciidoctor/reader.rb
82
- lib/asciidoctor/renderer.rb
83
- lib/asciidoctor/section.rb
84
- lib/asciidoctor/substituters.rb
85
- lib/asciidoctor/table.rb
86
- lib/asciidoctor/version.rb
87
- man/asciidoctor.1
88
- man/asciidoctor.adoc
89
- test/attributes_test.rb
90
- test/blocks_test.rb
91
- test/document_test.rb
92
- test/extensions_test.rb
93
- test/fixtures/asciidoc.txt
94
- test/fixtures/asciidoc_index.txt
95
- test/fixtures/ascshort.txt
96
- test/fixtures/basic-docinfo-footer.html
97
- test/fixtures/basic-docinfo-footer.xml
98
- test/fixtures/basic-docinfo.html
99
- test/fixtures/basic-docinfo.xml
100
- test/fixtures/basic.asciidoc
101
- test/fixtures/child-include.adoc
102
- test/fixtures/custom-backends/haml/docbook45/block_paragraph.xml.haml
103
- test/fixtures/custom-backends/haml/html5-tweaks/block_paragraph.html.haml
104
- test/fixtures/custom-backends/haml/html5/block_paragraph.html.haml
105
- test/fixtures/custom-backends/haml/html5/block_sidebar.html.haml
106
- test/fixtures/custom-backends/slim/docbook45/block_paragraph.xml.slim
107
- test/fixtures/custom-backends/slim/html5/block_paragraph.html.slim
108
- test/fixtures/custom-backends/slim/html5/block_sidebar.html.slim
109
- test/fixtures/docinfo-footer.html
110
- test/fixtures/docinfo-footer.xml
111
- test/fixtures/docinfo.html
112
- test/fixtures/docinfo.xml
113
- test/fixtures/dot.gif
114
- test/fixtures/encoding.asciidoc
115
- test/fixtures/grandchild-include.adoc
116
- test/fixtures/include-file.asciidoc
117
- test/fixtures/list_elements.asciidoc
118
- test/fixtures/parent-include-restricted.adoc
119
- test/fixtures/parent-include.adoc
120
- test/fixtures/sample.asciidoc
121
- test/fixtures/stylesheets/custom.css
122
- test/fixtures/tip.gif
123
- test/invoker_test.rb
124
- test/lexer_test.rb
125
- test/links_test.rb
126
- test/lists_test.rb
127
- test/options_test.rb
128
- test/paragraphs_test.rb
129
- test/paths_test.rb
130
- test/preamble_test.rb
131
- test/reader_test.rb
132
- test/renderer_test.rb
133
- test/sections_test.rb
134
- test/substitutions_test.rb
135
- test/tables_test.rb
136
- test/test_helper.rb
137
- test/text_test.rb
138
- ]
139
- # = MANIFEST =
140
-
141
- ## Test files are selected from the file list using the path glob here
142
- s.test_files = s.files.select { |path| path =~ /^test\/.*_test\.rb/ }
143
- end
@@ -1,466 +0,0 @@
1
- module Asciidoctor
2
- module HTML5
3
- # Internal: Generate the default stylesheet for CodeRay
4
- #
5
- # returns the default CodeRay stylesheet as a String
6
- def self.default_coderay_stylesheet
7
- #::Asciidoctor::Helpers.require_library 'coderay', true
8
- #::CodeRay::Encoders[:html]::CSS.new(:default).stylesheet
9
- <<'DEFAULT_CODERAY_STYLESHEET'
10
- /* Foundation stylesheet for CodeRay (to match GitHub theme) | MIT License | http://foundation.zurb.com */
11
- table.CodeRay { border-collapse: collapse; padding: 2px; margin-bottom: 0; border: 0; background: transparent; }
12
- table.CodeRay td { padding: 0 .5em; vertical-align: top; }
13
- table.CodeRay td.line-numbers { text-align: right; color: #999; border-right: 1px solid #e5e5e5; padding-left: 0; }
14
- span.line-numbers { border-right: 1px solid #E5E5E5; color: #999; display: inline-block; margin-right: 0.5em; padding-right: 0.5em; }
15
- .CodeRay td.line-numbers strong, .CodeRay span.line-numbers strong { font-weight: normal; }
16
- .CodeRay .debug { color: white !important; background: blue !important; }
17
- .CodeRay .annotation { color: #007; }
18
- .CodeRay .attribute-name { color: #f08; }
19
- .CodeRay .attribute-value { color: #700; }
20
- .CodeRay .binary { color: #509; }
21
- .CodeRay .comment { color: #999; font-style: italic; }
22
- .CodeRay .char { color: #04D; }
23
- .CodeRay .char .content { color: #04D; }
24
- .CodeRay .char .delimiter { color: #039; }
25
- .CodeRay .class { color: #458; }
26
- .CodeRay .complex { color: #A08; }
27
- .CodeRay .constant { color: teal; }
28
- .CodeRay .color { color: #0A0; }
29
- .CodeRay .class-variable { color: #369; }
30
- .CodeRay .decorator { color: #B0B; }
31
- .CodeRay .definition { color: #099; }
32
- .CodeRay .directive { color: #088; }
33
- .CodeRay .delimiter { color: black; }
34
- .CodeRay .doc { color: #970; }
35
- .CodeRay .doctype { color: #34b; }
36
- .CodeRay .doc-string { color: #D42; }
37
- .CodeRay .escape { color: #666; }
38
- .CodeRay .entity { color: #800; }
39
- .CodeRay .error { color: #808; }
40
- .CodeRay .exception { color: #C00; }
41
- .CodeRay .filename { color: #099; }
42
- .CodeRay .function { color: #900; }
43
- .CodeRay .global-variable { color: teal; }
44
- .CodeRay .hex { color: #058; }
45
- .CodeRay .integer { color: #099; }
46
- .CodeRay .include { color: #B44; }
47
- .CodeRay .inline { color: black; }
48
- .CodeRay .inline .inline { background: #ccc; }
49
- .CodeRay .inline .inline .inline { background: #bbb; }
50
- .CodeRay .inline .inline-delimiter { color: #D14; }
51
- .CodeRay .inline-delimiter { color: #D14; }
52
- .CodeRay .important { color: #f00; }
53
- .CodeRay .interpreted { color: #B2B; }
54
- .CodeRay .instance-variable { color: teal; }
55
- .CodeRay .label { color: #970; }
56
- .CodeRay .local-variable { color: #963; }
57
- .CodeRay .octal { color: #40E; }
58
- .CodeRay .predefined { color: #369; }
59
- .CodeRay .preprocessor { color: #579; }
60
- .CodeRay .pseudo-class { color: #00C; }
61
- .CodeRay .predefined-type { color: #074; }
62
- .CodeRay .reserved, .keyword { color: #000; }
63
- .CodeRay .key { color: #808; }
64
- .CodeRay .key .delimiter { color: #606; }
65
- .CodeRay .key .char { color: #80f; }
66
- .CodeRay .value { color: #088; }
67
- .CodeRay .regexp { background-color: #fff0ff; }
68
- .CodeRay .regexp .content { color: #808; }
69
- .CodeRay .regexp .delimiter { color: #404; }
70
- .CodeRay .regexp .modifier { color: #C2C; }
71
- .CodeRay .regexp .function { color: #404; font-weight: bold; }
72
- .CodeRay .string { color: #D20; }
73
- .CodeRay .string .string { }
74
- .CodeRay .string .string .string { background-color: #ffd0d0; }
75
- .CodeRay .string .content { color: #D14; }
76
- .CodeRay .string .char { color: #D14; }
77
- .CodeRay .string .delimiter { color: #D14; }
78
- .CodeRay .shell { color: #D14; }
79
- .CodeRay .shell .content { }
80
- .CodeRay .shell .delimiter { color: #D14; }
81
- .CodeRay .symbol { color: #990073; }
82
- .CodeRay .symbol .content { color: #A60; }
83
- .CodeRay .symbol .delimiter { color: #630; }
84
- .CodeRay .tag, .CodeRay .attribute-name { color: #070; }
85
- .CodeRay .tag-special { color: #D70; }
86
- .CodeRay .type { color: #339; }
87
- .CodeRay .variable { color: #036; }
88
- .CodeRay .insert { background: #afa; }
89
- .CodeRay .delete { background: #faa; }
90
- .CodeRay .change { color: #aaf; background: #007; }
91
- .CodeRay .head { color: #f8f; background: #505; }
92
- .CodeRay .insert .insert { color: #080; }
93
- .CodeRay .delete .delete { color: #800; }
94
- .CodeRay .change .change { color: #66f; }
95
- .CodeRay .head .head { color: #f4f; }
96
- DEFAULT_CODERAY_STYLESHEET
97
- end
98
-
99
- # Internal: Generate the default stylesheet for Pygments
100
- #
101
- # returns the default Pygments stylesheet as a String
102
- def self.pygments_stylesheet(style = nil)
103
- ::Asciidoctor::Helpers.require_library 'pygments', 'pygments.rb'
104
- ::Pygments.css '.highlight', :classprefix => 'tok-', :style => (style || 'pastie')
105
- end
106
-
107
- # Internal: Generate the default stylesheet for Asciidoctor
108
- #
109
- # returns the default Asciidoctor stylesheet as a String
110
- def self.default_asciidoctor_stylesheet
111
- <<'DEFAULT_ASCIIDOCTOR_STYLESHEET'
112
- /* Asciidoctor default stylesheet | MIT License | http://asciidoctor.org */
113
- article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
114
- audio, canvas, video { display: inline-block; }
115
- audio:not([controls]) { display: none; height: 0; }
116
- [hidden] { display: none; }
117
- html { background: #fff; color: #000; font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
118
- body { margin: 0; }
119
- a:focus { outline: thin dotted; }
120
- a:active, a:hover { outline: 0; }
121
- h1 { font-size: 2em; margin: 0.67em 0; }
122
- abbr[title] { border-bottom: 1px dotted; }
123
- b, strong { font-weight: bold; }
124
- dfn { font-style: italic; }
125
- hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
126
- mark { background: #ff0; color: #000; }
127
- code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; }
128
- pre { white-space: pre-wrap; }
129
- q { quotes: "\201C" "\201D" "\2018" "\2019"; }
130
- small { font-size: 80%; }
131
- sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
132
- sup { top: -0.5em; }
133
- sub { bottom: -0.25em; }
134
- img { border: 0; }
135
- svg:not(:root) { overflow: hidden; }
136
- figure { margin: 0; }
137
- fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
138
- legend { border: 0; padding: 0; }
139
- button, input, select, textarea { font-family: inherit; font-size: 100%; margin: 0; }
140
- button, input { line-height: normal; }
141
- button, select { text-transform: none; }
142
- button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
143
- button[disabled], html input[disabled] { cursor: default; }
144
- input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
145
- input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
146
- input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
147
- button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
148
- textarea { overflow: auto; vertical-align: top; }
149
- table { border-collapse: collapse; border-spacing: 0; }
150
- *, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
151
- html, body { font-size: 100%; }
152
- body { background: white; color: #222222; padding: 0; margin: 0; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; line-height: 1; position: relative; cursor: auto; }
153
- a:hover { cursor: pointer; }
154
- a:focus { outline: none; }
155
- img, object, embed { max-width: 100%; height: auto; }
156
- object, embed { height: 100%; }
157
- img { -ms-interpolation-mode: bicubic; }
158
- #map_canvas img, #map_canvas embed, #map_canvas object, .map_canvas img, .map_canvas embed, .map_canvas object { max-width: none !important; }
159
- .left { float: left !important; }
160
- .right { float: right !important; }
161
- .text-left { text-align: left !important; }
162
- .text-right { text-align: right !important; }
163
- .text-center { text-align: center !important; }
164
- .text-justify { text-align: justify !important; }
165
- .hide { display: none; }
166
- .antialiased, body { -webkit-font-smoothing: antialiased; }
167
- img { display: inline-block; vertical-align: middle; }
168
- textarea { height: auto; min-height: 50px; }
169
- select { width: 100%; }
170
- p.lead, .paragraph.lead > p, #preamble > .sectionbody > .paragraph:first-of-type p { font-size: 1.21875em; line-height: 1.6; }
171
- .subheader, #content #toctitle, .admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .videoblock > .title, .listingblock > .title, .literalblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title, .tableblock > caption { line-height: 1.4; color: #7a2518; font-weight: 300; margin-top: 0.2em; margin-bottom: 0.5em; }
172
- div, dl, dt, dd, ul, ol, li, h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; direction: ltr; }
173
- a { color: #005498; text-decoration: underline; line-height: inherit; }
174
- a:hover, a:focus { color: #00467f; }
175
- a img { border: none; }
176
- p { font-family: inherit; font-weight: normal; font-size: 1em; line-height: 1.6; margin-bottom: 1.25em; text-rendering: optimizeLegibility; }
177
- p aside { font-size: 0.875em; line-height: 1.35; font-style: italic; }
178
- h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { font-family: Georgia, "URW Bookman L", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; color: #ba3925; text-rendering: optimizeLegibility; margin-top: 1em; margin-bottom: 0.5em; line-height: 1.2125em; }
179
- h1 small, h2 small, h3 small, #toctitle small, .sidebarblock > .content > .title small, h4 small, h5 small, h6 small { font-size: 60%; color: #e99b8f; line-height: 0; }
180
- h1 { font-size: 2.125em; }
181
- h2 { font-size: 1.6875em; }
182
- h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.375em; }
183
- h4 { font-size: 1.125em; }
184
- h5 { font-size: 1.125em; }
185
- h6 { font-size: 1em; }
186
- hr { border: solid #dddddd; border-width: 1px 0 0; clear: both; margin: 1.25em 0 1.1875em; height: 0; }
187
- em, i { font-style: italic; line-height: inherit; }
188
- strong, b { font-weight: bold; line-height: inherit; }
189
- small { font-size: 60%; line-height: inherit; }
190
- code { font-family: Consolas, "Liberation Mono", Courier, monospace; font-weight: normal; color: #6d180b; }
191
- ul, ol, dl { font-size: 1em; line-height: 1.6; margin-bottom: 1.25em; list-style-position: outside; font-family: inherit; }
192
- ul, ol { margin-left: 1.5em; }
193
- ul li ul, ul li ol { margin-left: 1.25em; margin-bottom: 0; font-size: 1em; }
194
- ul.square li ul, ul.circle li ul, ul.disc li ul { list-style: inherit; }
195
- ul.square { list-style-type: square; }
196
- ul.circle { list-style-type: circle; }
197
- ul.disc { list-style-type: disc; }
198
- ul.no-bullet { list-style: none; }
199
- ol li ul, ol li ol { margin-left: 1.25em; margin-bottom: 0; }
200
- dl dt { margin-bottom: 0.3125em; font-weight: bold; }
201
- dl dd { margin-bottom: 1.25em; }
202
- abbr, acronym { text-transform: uppercase; font-size: 90%; color: #222222; border-bottom: 1px dotted #dddddd; cursor: help; }
203
- abbr { text-transform: none; }
204
- blockquote { margin: 0 0 1.25em; padding: 0.5625em 1.25em 0 1.1875em; border-left: 1px solid #dddddd; }
205
- blockquote cite { display: block; font-size: inherit; color: #555555; }
206
- blockquote cite:before { content: "\2014 \0020"; }
207
- blockquote cite a, blockquote cite a:visited { color: #555555; }
208
- blockquote, blockquote p { line-height: 1.6; color: #6f6f6f; }
209
- .vcard { display: inline-block; margin: 0 0 1.25em 0; border: 1px solid #dddddd; padding: 0.625em 0.75em; }
210
- .vcard li { margin: 0; display: block; }
211
- .vcard .fn { font-weight: bold; font-size: 0.9375em; }
212
- .vevent .summary { font-weight: bold; }
213
- .vevent abbr { cursor: auto; text-decoration: none; font-weight: bold; border: none; padding: 0 0.0625em; }
214
- @media only screen and (min-width: 768px) { h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.4; }
215
- h1 { font-size: 2.75em; }
216
- h2 { font-size: 2.3125em; }
217
- h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.6875em; }
218
- h4 { font-size: 1.4375em; } }
219
- .print-only { display: none !important; }
220
- @media print { * { background: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
221
- a, a:visited { text-decoration: underline; }
222
- a[href]:after { content: " (" attr(href) ")"; }
223
- abbr[title]:after { content: " (" attr(title) ")"; }
224
- .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
225
- pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
226
- thead { display: table-header-group; }
227
- tr, img { page-break-inside: avoid; }
228
- img { max-width: 100% !important; }
229
- @page { margin: 0.5cm; }
230
- p, h2, h3, #toctitle, .sidebarblock > .content > .title { orphans: 3; widows: 3; }
231
- h2, h3, #toctitle, .sidebarblock > .content > .title { page-break-after: avoid; }
232
- .hide-on-print { display: none !important; }
233
- .print-only { display: block !important; }
234
- .hide-for-print { display: none !important; }
235
- .show-for-print { display: inherit !important; } }
236
- table { background: white; margin-bottom: 1.25em; border: solid 1px #dddddd; }
237
- table thead, table tfoot { background: whitesmoke; font-weight: bold; }
238
- table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td { padding: 0.5em 0.625em 0.625em; font-size: inherit; color: #222222; text-align: left; }
239
- table tr th, table tr td { padding: 0.5625em 0.625em; font-size: inherit; color: #222222; }
240
- table tr.even, table tr.alt, table tr:nth-of-type(even) { background: #f9f9f9; }
241
- table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; line-height: 1.6; }
242
- .clearfix:before, .clearfix:after, .float-group:before, .float-group:after { content: " "; display: table; }
243
- .clearfix:after, .float-group:after { clear: both; }
244
- *:not(pre) > code { font-size: 0.9375em; padding: 1px 3px 0; white-space: nowrap; background-color: #f2f2f2; border: 1px solid #cccccc; -webkit-border-radius: 4px; border-radius: 4px; text-shadow: none; }
245
- pre, pre > code { line-height: 1.4; color: inherit; font-family: Consolas, "Liberation Mono", Courier, monospace; font-weight: normal; }
246
- kbd.keyseq { color: #555555; }
247
- kbd:not(.keyseq) { display: inline-block; color: #222222; font-size: 0.75em; line-height: 1.4; background-color: #F7F7F7; border: 1px solid #ccc; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset; margin: -0.15em 0.15em 0 0.15em; padding: 0.2em 0.6em 0.2em 0.5em; vertical-align: middle; white-space: nowrap; }
248
- kbd kbd:first-child { margin-left: 0; }
249
- kbd kbd:last-child { margin-right: 0; }
250
- .menuseq, .menu { color: #090909; }
251
- p a > code:hover { color: #561309; }
252
- #header, #content, #footnotes, #footer { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 62.5em; *zoom: 1; position: relative; padding-left: 0.9375em; padding-right: 0.9375em; }
253
- #header:before, #header:after, #content:before, #content:after, #footnotes:before, #footnotes:after, #footer:before, #footer:after { content: " "; display: table; }
254
- #header:after, #content:after, #footnotes:after, #footer:after { clear: both; }
255
- #header { margin-bottom: 2.5em; }
256
- #header > h1 { color: black; font-weight: normal; border-bottom: 1px solid #dddddd; margin-bottom: -28px; padding-bottom: 32px; }
257
- #header span { color: #6f6f6f; }
258
- #header #revnumber { text-transform: capitalize; }
259
- #header br { display: none; }
260
- #header br + span { padding-left: 3px; }
261
- #header br + span:before { content: "\2013 \0020"; }
262
- #header br + span.author { padding-left: 0; }
263
- #header br + span.author:before { content: ", "; }
264
- #toc { border-bottom: 3px double #ebebeb; padding-bottom: 1.25em; }
265
- #toc > ul { margin-left: 0.25em; }
266
- #toc ul.sectlevel0 > li > a { font-style: italic; }
267
- #toc ul.sectlevel0 ul.sectlevel1 { margin-left: 0; margin-top: 0.5em; margin-bottom: 0.5em; }
268
- #toc ul { list-style-type: none; }
269
- #toctitle { color: #7a2518; }
270
- @media only screen and (min-width: 1280px) { body.toc2 { padding-left: 20em; }
271
- #toc.toc2 { position: fixed; width: 20em; left: 0; top: 0; border-right: 1px solid #ebebeb; border-bottom: 0; z-index: 1000; padding: 1em; height: 100%; overflow: auto; }
272
- #toc.toc2 #toctitle { margin-top: 0; }
273
- #toc.toc2 > ul { font-size: .95em; }
274
- #toc.toc2 ul ul { margin-left: 0; padding-left: 1.25em; }
275
- #toc.toc2 ul.sectlevel0 ul.sectlevel1 { padding-left: 0; margin-top: 0.5em; margin-bottom: 0.5em; }
276
- body.toc2.toc-right { padding-left: 0; padding-right: 20em; }
277
- body.toc2.toc-right #toc.toc2 { border-right: 0; border-left: 1px solid #ebebeb; left: auto; right: 0; } }
278
- #content #toc { border-style: solid; border-width: 1px; border-color: #d9d9d9; margin-bottom: 1.25em; padding: 1.25em; background: #f2f2f2; border-width: 0; -webkit-border-radius: 4px; border-radius: 4px; }
279
- #content #toc > :first-child { margin-top: 0; }
280
- #content #toc > :last-child { margin-bottom: 0; }
281
- #content #toc a { text-decoration: none; }
282
- #content #toctitle { font-weight: bold; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-size: 1em; padding-left: 0.125em; }
283
- #footer { max-width: 100%; background-color: #222222; padding: 1.25em; }
284
- #footer-text { color: #dddddd; line-height: 1.44; }
285
- .sect1 { padding-bottom: 1.25em; }
286
- .sect1 + .sect1 { border-top: 3px double #ebebeb; }
287
- #content h1 > a.anchor, h2 > a.anchor, h3 > a.anchor, #toctitle > a.anchor, .sidebarblock > .content > .title > a.anchor, h4 > a.anchor, h5 > a.anchor, h6 > a.anchor { position: absolute; width: 1em; margin-left: -1em; display: block; text-decoration: none; visibility: hidden; text-align: center; font-weight: normal; }
288
- #content h1 > a.anchor:before, h2 > a.anchor:before, h3 > a.anchor:before, #toctitle > a.anchor:before, .sidebarblock > .content > .title > a.anchor:before, h4 > a.anchor:before, h5 > a.anchor:before, h6 > a.anchor:before { content: '\00A7'; font-size: .85em; vertical-align: text-top; display: block; margin-top: 0.05em; }
289
- #content h1:hover > a.anchor, #content h1 > a.anchor:hover, h2:hover > a.anchor, h2 > a.anchor:hover, h3:hover > a.anchor, #toctitle:hover > a.anchor, .sidebarblock > .content > .title:hover > a.anchor, h3 > a.anchor:hover, #toctitle > a.anchor:hover, .sidebarblock > .content > .title > a.anchor:hover, h4:hover > a.anchor, h4 > a.anchor:hover, h5:hover > a.anchor, h5 > a.anchor:hover, h6:hover > a.anchor, h6 > a.anchor:hover { visibility: visible; }
290
- #content h1 > a.link, h2 > a.link, h3 > a.link, #toctitle > a.link, .sidebarblock > .content > .title > a.link, h4 > a.link, h5 > a.link, h6 > a.link { color: #ba3925; text-decoration: none; }
291
- #content h1 > a.link:hover, h2 > a.link:hover, h3 > a.link:hover, #toctitle > a.link:hover, .sidebarblock > .content > .title > a.link:hover, h4 > a.link:hover, h5 > a.link:hover, h6 > a.link:hover { color: #a53221; }
292
- .imageblock, .literalblock, .listingblock, .verseblock, .videoblock { margin-bottom: 1.25em; }
293
- .admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .videoblock > .title, .listingblock > .title, .literalblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-align: left; font-weight: bold; }
294
- .tableblock > caption { text-align: left; font-weight: bold; white-space: nowrap; overflow: visible; max-width: 0; }
295
- table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p { font-size: inherit; }
296
- .admonitionblock > table { border: 0; background: none; width: 100%; }
297
- .admonitionblock > table td.icon { text-align: center; width: 80px; }
298
- .admonitionblock > table td.icon img { max-width: none; }
299
- .admonitionblock > table td.icon .title { font-weight: bold; text-transform: uppercase; }
300
- .admonitionblock > table td.content { padding-left: 1.125em; padding-right: 1.25em; border-left: 1px solid #dddddd; color: #6f6f6f; }
301
- .admonitionblock > table td.content > :last-child > :last-child { margin-bottom: 0; }
302
- .exampleblock > .content { border-style: solid; border-width: 1px; border-color: #e6e6e6; margin-bottom: 1.25em; padding: 1.25em; background: white; -webkit-border-radius: 4px; border-radius: 4px; }
303
- .exampleblock > .content > :first-child { margin-top: 0; }
304
- .exampleblock > .content > :last-child { margin-bottom: 0; }
305
- .exampleblock > .content h1, .exampleblock > .content h2, .exampleblock > .content h3, .exampleblock > .content #toctitle, .sidebarblock.exampleblock > .content > .title, .exampleblock > .content h4, .exampleblock > .content h5, .exampleblock > .content h6, .exampleblock > .content p { color: #333333; }
306
- .exampleblock > .content h1, .exampleblock > .content h2, .exampleblock > .content h3, .exampleblock > .content #toctitle, .sidebarblock.exampleblock > .content > .title, .exampleblock > .content h4, .exampleblock > .content h5, .exampleblock > .content h6 { line-height: 1; margin-bottom: 0.625em; }
307
- .exampleblock > .content h1.subheader, .exampleblock > .content h2.subheader, .exampleblock > .content h3.subheader, .exampleblock > .content .subheader#toctitle, .sidebarblock.exampleblock > .content > .subheader.title, .exampleblock > .content h4.subheader, .exampleblock > .content h5.subheader, .exampleblock > .content h6.subheader { line-height: 1.4; }
308
- .exampleblock.result > .content { -webkit-box-shadow: 0 1px 8px #d9d9d9; box-shadow: 0 1px 8px #d9d9d9; }
309
- .sidebarblock { border-style: solid; border-width: 1px; border-color: #d9d9d9; margin-bottom: 1.25em; padding: 1.25em; background: #f2f2f2; -webkit-border-radius: 4px; border-radius: 4px; }
310
- .sidebarblock > :first-child { margin-top: 0; }
311
- .sidebarblock > :last-child { margin-bottom: 0; }
312
- .sidebarblock h1, .sidebarblock h2, .sidebarblock h3, .sidebarblock #toctitle, .sidebarblock > .content > .title, .sidebarblock h4, .sidebarblock h5, .sidebarblock h6, .sidebarblock p { color: #333333; }
313
- .sidebarblock h1, .sidebarblock h2, .sidebarblock h3, .sidebarblock #toctitle, .sidebarblock > .content > .title, .sidebarblock h4, .sidebarblock h5, .sidebarblock h6 { line-height: 1; margin-bottom: 0.625em; }
314
- .sidebarblock h1.subheader, .sidebarblock h2.subheader, .sidebarblock h3.subheader, .sidebarblock .subheader#toctitle, .sidebarblock > .content > .subheader.title, .sidebarblock h4.subheader, .sidebarblock h5.subheader, .sidebarblock h6.subheader { line-height: 1.4; }
315
- .sidebarblock > .content > .title { color: #7a2518; margin-top: 0; line-height: 1.6; }
316
- .exampleblock > .content > :last-child > :last-child, .exampleblock > .content .olist > ol > li:last-child > :last-child, .exampleblock > .content .ulist > ul > li:last-child > :last-child, .exampleblock > .content .qlist > ol > li:last-child > :last-child, .sidebarblock > .content > :last-child > :last-child, .sidebarblock > .content .olist > ol > li:last-child > :last-child, .sidebarblock > .content .ulist > ul > li:last-child > :last-child, .sidebarblock > .content .qlist > ol > li:last-child > :last-child { margin-bottom: 0; }
317
- .literalblock > .content pre, .listingblock > .content pre { background: none; border-width: 1px 0; border-style: dotted; border-color: #bfbfbf; -webkit-border-radius: 4px; border-radius: 4px; padding: 0.75em 0.75em 0.5em 0.75em; word-wrap: break-word; }
318
- .literalblock > .content pre.nowrap, .listingblock > .content pre.nowrap { overflow-x: auto; white-space: pre; word-wrap: normal; }
319
- .literalblock > .content pre > code, .listingblock > .content pre > code { display: block; }
320
- @media only screen { .literalblock > .content pre, .listingblock > .content pre { font-size: 0.8em; } }
321
- @media only screen and (min-width: 768px) { .literalblock > .content pre, .listingblock > .content pre { font-size: 0.9em; } }
322
- @media only screen and (min-width: 1280px) { .literalblock > .content pre, .listingblock > .content pre { font-size: 1em; } }
323
- .listingblock > .content { position: relative; }
324
- .listingblock:hover code[class*=" language-"]:before { text-transform: uppercase; font-size: 0.9em; color: #999; position: absolute; top: 0.375em; right: 0.375em; }
325
- .listingblock:hover code.asciidoc:before { content: "asciidoc"; }
326
- .listingblock:hover code.clojure:before { content: "clojure"; }
327
- .listingblock:hover code.css:before { content: "css"; }
328
- .listingblock:hover code.groovy:before { content: "groovy"; }
329
- .listingblock:hover code.html:before { content: "html"; }
330
- .listingblock:hover code.java:before { content: "java"; }
331
- .listingblock:hover code.javascript:before { content: "javascript"; }
332
- .listingblock:hover code.python:before { content: "python"; }
333
- .listingblock:hover code.ruby:before { content: "ruby"; }
334
- .listingblock:hover code.scss:before { content: "scss"; }
335
- .listingblock:hover code.xml:before { content: "xml"; }
336
- .listingblock:hover code.yaml:before { content: "yaml"; }
337
- .listingblock.terminal pre .command:before { content: attr(data-prompt); padding-right: 0.5em; color: #999; }
338
- .listingblock.terminal pre .command:not([data-prompt]):before { content: '$'; }
339
- table.pyhltable { border: 0; margin-bottom: 0; }
340
- table.pyhltable td { vertical-align: top; padding-top: 0; padding-bottom: 0; }
341
- table.pyhltable td.code { padding-left: .75em; padding-right: 0; }
342
- .highlight.pygments .lineno, table.pyhltable td:not(.code) { color: #999; padding-left: 0; padding-right: .5em; border-right: 1px solid #dddddd; }
343
- .highlight.pygments .lineno { display: inline-block; margin-right: .25em; }
344
- table.pyhltable .linenodiv { background-color: transparent !important; padding-right: 0 !important; }
345
- .quoteblock { margin: 0 0 1.25em; padding: 0.5625em 1.25em 0 1.1875em; border-left: 1px solid #dddddd; }
346
- .quoteblock blockquote { margin: 0 0 1.25em 0; padding: 0 0 0.5625em 0; border: 0; }
347
- .quoteblock blockquote > .paragraph:last-child p { margin-bottom: 0; }
348
- .quoteblock .attribution { margin-top: -.25em; padding-bottom: 0.5625em; font-size: inherit; color: #555555; }
349
- .quoteblock .attribution br { display: none; }
350
- .quoteblock .attribution cite { display: block; margin-bottom: 0.625em; }
351
- table thead th, table tfoot th { font-weight: bold; }
352
- table.tableblock.grid-all { border-collapse: separate; border-spacing: 1px; -webkit-border-radius: 4px; border-radius: 4px; border-top: 1px solid #dddddd; border-bottom: 1px solid #dddddd; }
353
- table.tableblock.frame-topbot, table.tableblock.frame-none { border-left: 0; border-right: 0; }
354
- table.tableblock.frame-sides, table.tableblock.frame-none { border-top: 0; border-bottom: 0; }
355
- table.tableblock td .paragraph:last-child p, table.tableblock td > p:last-child { margin-bottom: 0; }
356
- th.tableblock.halign-left, td.tableblock.halign-left { text-align: left; }
357
- th.tableblock.halign-right, td.tableblock.halign-right { text-align: right; }
358
- th.tableblock.halign-center, td.tableblock.halign-center { text-align: center; }
359
- th.tableblock.valign-top, td.tableblock.valign-top { vertical-align: top; }
360
- th.tableblock.valign-bottom, td.tableblock.valign-bottom { vertical-align: bottom; }
361
- th.tableblock.valign-middle, td.tableblock.valign-middle { vertical-align: middle; }
362
- p.tableblock.header { color: #222222; font-weight: bold; }
363
- td > div.verse { white-space: pre; }
364
- ol { margin-left: 1.75em; }
365
- ul li ol { margin-left: 1.5em; }
366
- dl dd { margin-left: 1.125em; }
367
- dl dd:last-child, dl dd:last-child > :last-child { margin-bottom: 0; }
368
- ol > li p, ul > li p, ul dd, ol dd, .olist .olist, .ulist .ulist, .ulist .olist, .olist .ulist { margin-bottom: 0.625em; }
369
- ul.unstyled, ol.unnumbered, ul.checklist, ul.none { list-style-type: none; }
370
- ul.unstyled, ol.unnumbered, ul.checklist { margin-left: 0.625em; }
371
- ul.checklist li > p:first-child > i[class^="icon-check"]:first-child, ul.checklist li > p:first-child > input[type="checkbox"]:first-child { margin-right: 0.25em; }
372
- ul.checklist li > p:first-child > input[type="checkbox"]:first-child { position: relative; top: 1px; }
373
- ul.inline { margin: 0 auto 0.625em auto; margin-left: -1.375em; margin-right: 0; padding: 0; list-style: none; overflow: hidden; }
374
- ul.inline > li { list-style: none; float: left; margin-left: 1.375em; display: block; }
375
- ul.inline > li > * { display: block; }
376
- .unstyled dl dt { font-weight: normal; font-style: normal; }
377
- ol.arabic { list-style-type: decimal; }
378
- ol.decimal { list-style-type: decimal-leading-zero; }
379
- ol.loweralpha { list-style-type: lower-alpha; }
380
- ol.upperalpha { list-style-type: upper-alpha; }
381
- ol.lowerroman { list-style-type: lower-roman; }
382
- ol.upperroman { list-style-type: upper-roman; }
383
- ol.lowergreek { list-style-type: lower-greek; }
384
- .hdlist > table, .colist > table { border: 0; background: none; }
385
- .hdlist > table > tbody > tr, .colist > table > tbody > tr { background: none; }
386
- td.hdlist1 { padding-right: .8em; font-weight: bold; }
387
- td.hdlist1, td.hdlist2 { vertical-align: top; }
388
- .literalblock + .colist, .listingblock + .colist { margin-top: -0.5em; }
389
- .colist > table tr > td:first-of-type { padding: 0 .8em; line-height: 1; }
390
- .colist > table tr > td:last-of-type { padding: 0.25em 0; }
391
- .qanda > ol > li > p > em:only-child { color: #00467f; }
392
- .thumb, .th { line-height: 0; display: inline-block; border: solid 4px white; -webkit-box-shadow: 0 0 0 1px #dddddd; box-shadow: 0 0 0 1px #dddddd; }
393
- .imageblock.left, .imageblock[style*="float: left"] { margin: 0.25em 0.625em 1.25em 0; }
394
- .imageblock.right, .imageblock[style*="float: right"] { margin: 0.25em 0 1.25em 0.625em; }
395
- .imageblock > .title { margin-bottom: 0; }
396
- .imageblock.thumb, .imageblock.th { border-width: 6px; }
397
- .imageblock.thumb > .title, .imageblock.th > .title { padding: 0 0.125em; }
398
- .image.left, .image.right { margin-top: 0.25em; margin-bottom: 0.25em; display: inline-block; line-height: 0; }
399
- .image.left { margin-right: 0.625em; }
400
- .image.right { margin-left: 0.625em; }
401
- a.image { text-decoration: none; }
402
- span.footnote, span.footnoteref { vertical-align: super; font-size: 0.875em; }
403
- span.footnote a, span.footnoteref a { text-decoration: none; }
404
- #footnotes { padding-top: 0.75em; padding-bottom: 0.75em; margin-bottom: 0.625em; }
405
- #footnotes hr { width: 20%; min-width: 6.25em; margin: -.25em 0 .75em 0; border-width: 1px 0 0 0; }
406
- #footnotes .footnote { padding: 0 0.375em; line-height: 1.3; font-size: 0.875em; margin-left: 1.2em; text-indent: -1.2em; margin-bottom: .2em; }
407
- #footnotes .footnote a:first-of-type { font-weight: bold; text-decoration: none; }
408
- #footnotes .footnote:last-of-type { margin-bottom: 0; }
409
- #content #footnotes { margin-top: -0.625em; margin-bottom: 0; padding: 0.75em 0; }
410
- .gist .file-data > table { border: none; background: #fff; width: 100%; margin-bottom: 0; }
411
- .gist .file-data > table td.line-data { width: 99%; }
412
- div.unbreakable { page-break-inside: avoid; }
413
- .big { font-size: larger; }
414
- .small { font-size: smaller; }
415
- .underline { text-decoration: underline; }
416
- .overline { text-decoration: overline; }
417
- .line-through { text-decoration: line-through; }
418
- .aqua { color: #00bfbf; }
419
- .aqua-background { background-color: #00fafa; }
420
- .black { color: black; }
421
- .black-background { background-color: black; }
422
- .blue { color: #0000bf; }
423
- .blue-background { background-color: #0000fa; }
424
- .fuchsia { color: #bf00bf; }
425
- .fuchsia-background { background-color: #fa00fa; }
426
- .gray { color: #606060; }
427
- .gray-background { background-color: #7d7d7d; }
428
- .green { color: #006000; }
429
- .green-background { background-color: #007d00; }
430
- .lime { color: #00bf00; }
431
- .lime-background { background-color: #00fa00; }
432
- .maroon { color: #600000; }
433
- .maroon-background { background-color: #7d0000; }
434
- .navy { color: #000060; }
435
- .navy-background { background-color: #00007d; }
436
- .olive { color: #606000; }
437
- .olive-background { background-color: #7d7d00; }
438
- .purple { color: #600060; }
439
- .purple-background { background-color: #7d007d; }
440
- .red { color: #bf0000; }
441
- .red-background { background-color: #fa0000; }
442
- .silver { color: #909090; }
443
- .silver-background { background-color: #bcbcbc; }
444
- .teal { color: #006060; }
445
- .teal-background { background-color: #007d7d; }
446
- .white { color: #bfbfbf; }
447
- .white-background { background-color: #fafafa; }
448
- .yellow { color: #bfbf00; }
449
- .yellow-background { background-color: #fafa00; }
450
- span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
451
- .admonitionblock td.icon [class^="icon-"]:before { font-size: 2.5em; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); cursor: default; }
452
- .admonitionblock td.icon .icon-note:before { content: "\f05a"; color: #005498; color: #003f72; }
453
- .admonitionblock td.icon .icon-tip:before { content: "\f0eb"; text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8); color: #111; }
454
- .admonitionblock td.icon .icon-warning:before { content: "\f071"; color: #bf6900; }
455
- .admonitionblock td.icon .icon-caution:before { content: "\f06d"; color: #bf3400; }
456
- .admonitionblock td.icon .icon-important:before { content: "\f06a"; color: #bf0000; }
457
- .conum { display: inline-block; color: white !important; background-color: #222222; -webkit-border-radius: 100px; border-radius: 100px; text-align: center; width: 20px; height: 20px; font-size: 12px; font-weight: bold; line-height: 20px; font-family: Arial, sans-serif; font-style: normal; position: relative; top: -2px; letter-spacing: -1px; }
458
- .conum * { color: white !important; }
459
- .conum + b { display: none; }
460
- .conum:after { content: attr(data-value); }
461
- .conum:not([data-value]):empty { display: none; }
462
- .literalblock > .content > pre, .listingblock > .content > pre { -webkit-border-radius: 0; border-radius: 0; }
463
- DEFAULT_ASCIIDOCTOR_STYLESHEET
464
- end
465
- end
466
- end