asciidoctor 1.5.8 → 2.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +11 -0
- data/CHANGELOG.adoc +628 -45
- data/LICENSE +2 -1
- data/README-de.adoc +28 -38
- data/README-fr.adoc +30 -43
- data/README-jp.adoc +255 -201
- data/README-zh_CN.adoc +40 -44
- data/README.adoc +170 -143
- data/asciidoctor.gemspec +22 -34
- data/bin/asciidoctor +5 -4
- data/data/locale/attributes-ar.adoc +4 -3
- data/data/locale/attributes-be.adoc +23 -0
- data/data/locale/attributes-bg.adoc +4 -3
- data/data/locale/attributes-ca.adoc +6 -5
- data/data/locale/attributes-cs.adoc +4 -3
- data/data/locale/attributes-da.adoc +6 -5
- data/data/locale/attributes-de.adoc +6 -5
- data/data/locale/attributes-en.adoc +4 -4
- data/data/locale/attributes-es.adoc +6 -5
- data/data/locale/attributes-fa.adoc +4 -3
- data/data/locale/attributes-fi.adoc +4 -3
- data/data/locale/attributes-fr.adoc +8 -7
- data/data/locale/attributes-hu.adoc +4 -3
- data/data/locale/attributes-id.adoc +4 -3
- data/data/locale/attributes-it.adoc +6 -5
- data/data/locale/attributes-ja.adoc +4 -3
- data/data/locale/{attributes-kr.adoc → attributes-ko.adoc} +4 -3
- data/data/locale/attributes-nb.adoc +4 -3
- data/data/locale/attributes-nl.adoc +6 -5
- data/data/locale/attributes-nn.adoc +4 -3
- data/data/locale/attributes-pl.adoc +8 -7
- data/data/locale/attributes-pt.adoc +6 -5
- data/data/locale/attributes-pt_BR.adoc +6 -5
- data/data/locale/attributes-ro.adoc +4 -3
- data/data/locale/attributes-ru.adoc +6 -5
- data/data/locale/attributes-sr.adoc +4 -4
- data/data/locale/attributes-sr_Latn.adoc +4 -4
- data/data/locale/attributes-sv.adoc +4 -4
- data/data/locale/attributes-th.adoc +23 -0
- data/data/locale/attributes-tr.adoc +4 -3
- data/data/locale/attributes-uk.adoc +6 -5
- data/data/locale/attributes-vi.adoc +23 -0
- data/data/locale/attributes-zh_CN.adoc +4 -3
- data/data/locale/attributes-zh_TW.adoc +4 -3
- data/data/reference/syntax.adoc +296 -0
- data/data/stylesheets/asciidoctor-default.css +120 -114
- data/data/stylesheets/coderay-asciidoctor.css +15 -17
- data/lib/asciidoctor/abstract_block.rb +146 -140
- data/lib/asciidoctor/abstract_node.rb +152 -170
- data/lib/asciidoctor/attribute_list.rb +77 -89
- data/lib/asciidoctor/block.rb +29 -28
- data/lib/asciidoctor/callouts.rb +4 -2
- data/lib/asciidoctor/cli/invoker.rb +20 -24
- data/lib/asciidoctor/cli/options.rb +107 -96
- data/lib/asciidoctor/cli.rb +3 -2
- data/lib/asciidoctor/convert.rb +199 -0
- data/lib/asciidoctor/converter/composite.rb +40 -48
- data/lib/asciidoctor/converter/docbook5.rb +627 -644
- data/lib/asciidoctor/converter/html5.rb +1053 -951
- data/lib/asciidoctor/converter/manpage.rb +581 -532
- data/lib/asciidoctor/converter/template.rb +232 -271
- data/lib/asciidoctor/converter.rb +370 -185
- data/lib/asciidoctor/core_ext/float/truncate.rb +20 -0
- data/lib/asciidoctor/core_ext/hash/merge.rb +8 -0
- data/lib/asciidoctor/core_ext/match_data/names.rb +7 -0
- data/lib/asciidoctor/core_ext/nil_or_empty.rb +1 -0
- data/lib/asciidoctor/core_ext/regexp/is_match.rb +4 -2
- data/lib/asciidoctor/core_ext.rb +8 -17
- data/lib/asciidoctor/document.rb +503 -461
- data/lib/asciidoctor/extensions.rb +127 -174
- data/lib/asciidoctor/helpers.rb +184 -107
- data/lib/asciidoctor/inline.rb +9 -12
- data/lib/asciidoctor/list.rb +11 -29
- data/lib/asciidoctor/load.rb +119 -0
- data/lib/asciidoctor/logging.rb +22 -17
- data/lib/asciidoctor/parser.rb +673 -719
- data/lib/asciidoctor/path_resolver.rb +48 -33
- data/lib/asciidoctor/reader.rb +383 -338
- data/lib/asciidoctor/rouge_ext.rb +39 -0
- data/lib/asciidoctor/rx.rb +723 -0
- data/lib/asciidoctor/section.rb +17 -16
- data/lib/asciidoctor/stylesheets.rb +19 -37
- data/lib/asciidoctor/substitutors.rb +926 -1022
- data/lib/asciidoctor/syntax_highlighter/coderay.rb +88 -0
- data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +34 -0
- data/lib/asciidoctor/syntax_highlighter/html_pipeline.rb +10 -0
- data/lib/asciidoctor/syntax_highlighter/prettify.rb +30 -0
- data/lib/asciidoctor/syntax_highlighter/pygments.rb +157 -0
- data/lib/asciidoctor/syntax_highlighter/rouge.rb +143 -0
- data/lib/asciidoctor/syntax_highlighter.rb +253 -0
- data/lib/asciidoctor/table.rb +152 -114
- data/lib/asciidoctor/timings.rb +7 -5
- data/lib/asciidoctor/version.rb +2 -1
- data/lib/asciidoctor/writer.rb +30 -0
- data/lib/asciidoctor.rb +266 -1340
- data/man/asciidoctor.1 +49 -47
- data/man/asciidoctor.adoc +54 -45
- metadata +50 -245
- data/CONTRIBUTING.adoc +0 -185
- data/Gemfile +0 -60
- data/Rakefile +0 -129
- data/bin/asciidoctor-safe +0 -15
- data/features/open_block.feature +0 -92
- data/features/pass_block.feature +0 -66
- data/features/step_definitions.rb +0 -49
- data/features/text_formatting.feature +0 -57
- data/features/xref.feature +0 -1039
- data/lib/asciidoctor/converter/base.rb +0 -59
- data/lib/asciidoctor/converter/docbook45.rb +0 -93
- data/lib/asciidoctor/converter/factory.rb +0 -226
- data/lib/asciidoctor/core_ext/1.8.7/base64/strict_encode64.rb +0 -6
- data/lib/asciidoctor/core_ext/1.8.7/concurrent/hash.rb +0 -5
- data/lib/asciidoctor/core_ext/1.8.7/hash/key.rb +0 -4
- data/lib/asciidoctor/core_ext/1.8.7/io/binread.rb +0 -6
- data/lib/asciidoctor/core_ext/1.8.7/io/write.rb +0 -5
- data/lib/asciidoctor/core_ext/1.8.7/string/chr.rb +0 -6
- data/lib/asciidoctor/core_ext/1.8.7/string/limit_bytesize.rb +0 -29
- data/lib/asciidoctor/core_ext/1.8.7/symbol/empty.rb +0 -6
- data/lib/asciidoctor/core_ext/1.8.7/symbol/length.rb +0 -6
- data/lib/asciidoctor/core_ext/string/limit_bytesize.rb +0 -10
- data/test/api_test.rb +0 -1240
- data/test/attribute_list_test.rb +0 -242
- data/test/attributes_test.rb +0 -1623
- data/test/blocks_test.rb +0 -3870
- data/test/converter_test.rb +0 -470
- data/test/document_test.rb +0 -1853
- data/test/extensions_test.rb +0 -1560
- data/test/fixtures/asciidoc_index.txt +0 -521
- data/test/fixtures/basic-docinfo-footer.html +0 -6
- data/test/fixtures/basic-docinfo-footer.xml +0 -8
- data/test/fixtures/basic-docinfo.html +0 -1
- data/test/fixtures/basic-docinfo.xml +0 -4
- data/test/fixtures/basic.asciidoc +0 -5
- data/test/fixtures/chapter-a.adoc +0 -3
- data/test/fixtures/child-include.adoc +0 -5
- data/test/fixtures/circle.svg +0 -9
- data/test/fixtures/custom-backends/erb/html5/block_paragraph.html.erb +0 -6
- data/test/fixtures/custom-backends/haml/docbook45/block_paragraph.xml.haml +0 -6
- data/test/fixtures/custom-backends/haml/html5/block_paragraph.html.haml +0 -3
- data/test/fixtures/custom-backends/haml/html5/block_sidebar.html.haml +0 -5
- data/test/fixtures/custom-backends/haml/html5-tweaks/block_paragraph.html.haml +0 -1
- data/test/fixtures/custom-backends/slim/docbook45/block_paragraph.xml.slim +0 -6
- data/test/fixtures/custom-backends/slim/html5/block_paragraph.html.slim +0 -3
- data/test/fixtures/custom-backends/slim/html5/block_sidebar.html.slim +0 -5
- data/test/fixtures/custom-docinfodir/basic-docinfo.html +0 -1
- data/test/fixtures/custom-docinfodir/docinfo.html +0 -1
- data/test/fixtures/docinfo-footer.html +0 -1
- data/test/fixtures/docinfo-footer.xml +0 -9
- data/test/fixtures/docinfo.html +0 -1
- data/test/fixtures/docinfo.xml +0 -3
- data/test/fixtures/doctime-localtime.adoc +0 -2
- data/test/fixtures/dot.gif +0 -0
- data/test/fixtures/encoding.asciidoc +0 -13
- data/test/fixtures/file-with-missing-include.adoc +0 -1
- data/test/fixtures/grandchild-include.adoc +0 -3
- data/test/fixtures/hello-asciidoctor.pdf +0 -69
- data/test/fixtures/include-file.asciidoc +0 -24
- data/test/fixtures/include-file.jsx +0 -8
- data/test/fixtures/include-file.ml +0 -3
- data/test/fixtures/include-file.xml +0 -5
- data/test/fixtures/lists.adoc +0 -96
- data/test/fixtures/master.adoc +0 -5
- data/test/fixtures/mismatched-end-tag.adoc +0 -7
- data/test/fixtures/other-chapters.adoc +0 -11
- data/test/fixtures/outer-include.adoc +0 -5
- data/test/fixtures/parent-include-restricted.adoc +0 -5
- data/test/fixtures/parent-include.adoc +0 -5
- data/test/fixtures/sample.asciidoc +0 -30
- data/test/fixtures/section-a.adoc +0 -4
- data/test/fixtures/stylesheets/custom.css +0 -3
- data/test/fixtures/subdir/index.adoc +0 -3
- data/test/fixtures/subdir/inner-include.adoc +0 -3
- data/test/fixtures/subdir/middle-include.adoc +0 -5
- data/test/fixtures/subs-docinfo.html +0 -2
- data/test/fixtures/subs.adoc +0 -6
- data/test/fixtures/tagged-class-enclosed.rb +0 -25
- data/test/fixtures/tagged-class.rb +0 -23
- data/test/fixtures/tip.gif +0 -0
- data/test/fixtures/unclosed-tag.adoc +0 -3
- data/test/fixtures/unexpected-end-tag.adoc +0 -4
- data/test/invoker_test.rb +0 -745
- data/test/links_test.rb +0 -855
- data/test/lists_test.rb +0 -5151
- data/test/logger_test.rb +0 -211
- data/test/manpage_test.rb +0 -660
- data/test/options_test.rb +0 -262
- data/test/paragraphs_test.rb +0 -562
- data/test/parser_test.rb +0 -742
- data/test/paths_test.rb +0 -395
- data/test/preamble_test.rb +0 -173
- data/test/reader_test.rb +0 -2161
- data/test/sections_test.rb +0 -3575
- data/test/substitutions_test.rb +0 -2066
- data/test/tables_test.rb +0 -2036
- data/test/test_helper.rb +0 -447
- data/test/text_test.rb +0 -309
@@ -1,19 +1,16 @@
|
|
1
|
-
|
2
|
-
/* Uncomment
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
audio:not([controls]){display:none;height:0}
|
7
|
-
script{display:none!important}
|
8
|
-
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
|
9
|
-
a{background:transparent}
|
1
|
+
/*! Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */
|
2
|
+
/* Uncomment the following line when using as a custom stylesheet */
|
3
|
+
/* @import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700"; */
|
4
|
+
html{font-family:sans-serif;-webkit-text-size-adjust:100%}
|
5
|
+
a{background:none}
|
10
6
|
a:focus{outline:thin dotted}
|
11
7
|
a:active,a:hover{outline:0}
|
12
8
|
h1{font-size:2em;margin:.67em 0}
|
13
|
-
abbr[title]{border-bottom:1px dotted}
|
14
9
|
b,strong{font-weight:bold}
|
10
|
+
abbr{font-size:.9em}
|
11
|
+
abbr[title]{cursor:help;border-bottom:1px dotted #dddddf;text-decoration:none}
|
15
12
|
dfn{font-style:italic}
|
16
|
-
hr{
|
13
|
+
hr{height:0}
|
17
14
|
mark{background:#ff0;color:#000}
|
18
15
|
code,kbd,pre,samp{font-family:monospace;font-size:1em}
|
19
16
|
pre{white-space:pre-wrap}
|
@@ -25,20 +22,22 @@ sub{bottom:-.25em}
|
|
25
22
|
img{border:0}
|
26
23
|
svg:not(:root){overflow:hidden}
|
27
24
|
figure{margin:0}
|
25
|
+
audio,video{display:inline-block}
|
26
|
+
audio:not([controls]){display:none;height:0}
|
28
27
|
fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
|
29
28
|
legend{border:0;padding:0}
|
30
29
|
button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}
|
31
30
|
button,input{line-height:normal}
|
32
31
|
button,select{text-transform:none}
|
33
|
-
button,html input[type=
|
32
|
+
button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}
|
34
33
|
button[disabled],html input[disabled]{cursor:default}
|
35
|
-
input[type=
|
34
|
+
input[type=checkbox],input[type=radio]{padding:0}
|
36
35
|
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
|
37
36
|
textarea{overflow:auto;vertical-align:top}
|
38
37
|
table{border-collapse:collapse;border-spacing:0}
|
39
|
-
|
38
|
+
*,::before,::after{box-sizing:border-box}
|
40
39
|
html,body{font-size:100%}
|
41
|
-
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;
|
40
|
+
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;line-height:1;position:relative;cursor:auto;-moz-tab-size:4;-o-tab-size:4;tab-size:4;word-wrap:anywhere;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
|
42
41
|
a:hover{cursor:pointer}
|
43
42
|
img,object,embed{max-width:100%;height:auto}
|
44
43
|
object,embed{height:100%}
|
@@ -53,14 +52,12 @@ img{-ms-interpolation-mode:bicubic}
|
|
53
52
|
img,object,svg{display:inline-block;vertical-align:middle}
|
54
53
|
textarea{height:auto;min-height:50px}
|
55
54
|
select{width:100%}
|
56
|
-
.center{margin-left:auto;margin-right:auto}
|
57
|
-
.stretch{width:100%}
|
58
55
|
.subheader,.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em}
|
59
|
-
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
|
56
|
+
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}
|
60
57
|
a{color:#2156a5;text-decoration:underline;line-height:inherit}
|
61
58
|
a:hover,a:focus{color:#1d4b8f}
|
62
|
-
a img{border:
|
63
|
-
p{
|
59
|
+
a img{border:0}
|
60
|
+
p{line-height:1.6;margin-bottom:1.25em;text-rendering:optimizeLegibility}
|
64
61
|
p aside{font-size:.875em;line-height:1.35;font-style:italic}
|
65
62
|
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{font-family:"Open Sans","DejaVu Sans",sans-serif;font-weight:300;font-style:normal;color:#ba3925;text-rendering:optimizeLegibility;margin-top:1em;margin-bottom:.5em;line-height:1.0125em}
|
66
63
|
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}
|
@@ -69,14 +66,14 @@ h2{font-size:1.6875em}
|
|
69
66
|
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em}
|
70
67
|
h4,h5{font-size:1.125em}
|
71
68
|
h6{font-size:1em}
|
72
|
-
hr{border:solid #dddddf;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em
|
69
|
+
hr{border:solid #dddddf;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em}
|
73
70
|
em,i{font-style:italic;line-height:inherit}
|
74
71
|
strong,b{font-weight:bold;line-height:inherit}
|
75
72
|
small{font-size:60%;line-height:inherit}
|
76
73
|
code{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;color:rgba(0,0,0,.9)}
|
77
|
-
ul,ol,dl{
|
74
|
+
ul,ol,dl{line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit}
|
78
75
|
ul,ol{margin-left:1.5em}
|
79
|
-
ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0
|
76
|
+
ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0}
|
80
77
|
ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit}
|
81
78
|
ul.square{list-style-type:square}
|
82
79
|
ul.circle{list-style-type:circle}
|
@@ -84,36 +81,37 @@ ul.disc{list-style-type:disc}
|
|
84
81
|
ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0}
|
85
82
|
dl dt{margin-bottom:.3125em;font-weight:bold}
|
86
83
|
dl dd{margin-bottom:1.25em}
|
87
|
-
abbr,acronym{text-transform:uppercase;font-size:90%;color:rgba(0,0,0,.8);border-bottom:1px dotted #ddd;cursor:help}
|
88
|
-
abbr{text-transform:none}
|
89
84
|
blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
|
90
|
-
blockquote cite{display:block;font-size:.9375em;color:rgba(0,0,0,.6)}
|
91
|
-
blockquote cite::before{content:"\2014 \0020"}
|
92
|
-
blockquote cite a,blockquote cite a:visited{color:rgba(0,0,0,.6)}
|
93
85
|
blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)}
|
94
86
|
@media screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
|
95
87
|
h1{font-size:2.75em}
|
96
88
|
h2{font-size:2.3125em}
|
97
89
|
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
|
98
90
|
h4{font-size:1.4375em}}
|
99
|
-
table{background:#fff;margin-bottom:1.25em;border:solid
|
91
|
+
table{background:#fff;margin-bottom:1.25em;border:1px solid #dedede;word-wrap:normal}
|
100
92
|
table thead,table tfoot{background:#f7f8f7}
|
101
93
|
table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left}
|
102
94
|
table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
|
103
|
-
table tr.even,table tr.alt
|
104
|
-
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{
|
95
|
+
table tr.even,table tr.alt{background:#f8f8f7}
|
96
|
+
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{line-height:1.6}
|
105
97
|
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
|
106
98
|
h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
|
99
|
+
.center{margin-left:auto;margin-right:auto}
|
100
|
+
.stretch{width:100%}
|
107
101
|
.clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:" ";display:table}
|
108
102
|
.clearfix::after,.float-group::after{clear:both}
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
pre
|
103
|
+
:not(pre).nobreak{word-wrap:normal}
|
104
|
+
:not(pre).nowrap{white-space:nowrap}
|
105
|
+
:not(pre).pre-wrap{white-space:pre-wrap}
|
106
|
+
:not(pre):not([class^=L])>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background:#f7f7f8;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed}
|
107
|
+
pre{color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;line-height:1.45;text-rendering:optimizeSpeed}
|
108
|
+
pre code,pre pre{color:inherit;font-size:inherit;line-height:inherit}
|
109
|
+
pre>code{display:block}
|
110
|
+
pre.nowrap,pre.nowrap pre{white-space:pre;word-wrap:normal}
|
113
111
|
em em{font-style:normal}
|
114
112
|
strong strong{font-weight:400}
|
115
113
|
.keyseq{color:rgba(51,51,51,.8)}
|
116
|
-
kbd{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;display:inline-block;color:rgba(0,0,0,.8);font-size:.65em;line-height:1.45;background
|
114
|
+
kbd{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;display:inline-block;color:rgba(0,0,0,.8);font-size:.65em;line-height:1.45;background:#f7f7f7;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 0 0 .1em #fff;margin:0 .15em;padding:.2em .5em;vertical-align:middle;position:relative;top:-.1em;white-space:nowrap}
|
117
115
|
.keyseq kbd:first-child{margin-left:0}
|
118
116
|
.keyseq kbd:last-child{margin-right:0}
|
119
117
|
.menuseq,.menuref{color:#000}
|
@@ -125,7 +123,7 @@ b.button::before,b.button::after{position:relative;top:-1px;font-weight:400}
|
|
125
123
|
b.button::before{content:"[";padding:0 3px 0 2px}
|
126
124
|
b.button::after{content:"]";padding:0 2px 0 3px}
|
127
125
|
p a>code:hover{color:rgba(0,0,0,.9)}
|
128
|
-
#header,#content,#footnotes,#footer{width:100%;margin
|
126
|
+
#header,#content,#footnotes,#footer{width:100%;margin:0 auto;max-width:62.5em;*zoom:1;position:relative;padding-left:.9375em;padding-right:.9375em}
|
129
127
|
#header::before,#header::after,#content::before,#content::after,#footnotes::before,#footnotes::after,#footer::before,#footer::after{content:" ";display:table}
|
130
128
|
#header::after,#content::after,#footnotes::after,#footer::after{clear:both}
|
131
129
|
#content{margin-top:1.25em}
|
@@ -133,7 +131,7 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
133
131
|
#header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
|
134
132
|
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #dddddf}
|
135
133
|
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}
|
136
|
-
#header .details{border-bottom:1px solid #dddddf;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display
|
134
|
+
#header .details{border-bottom:1px solid #dddddf;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:flex;flex-flow:row wrap}
|
137
135
|
#header .details span:first-child{margin-left:-.125em}
|
138
136
|
#header .details span.email a{color:rgba(0,0,0,.85)}
|
139
137
|
#header .details br{display:none}
|
@@ -154,7 +152,7 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
154
152
|
#toctitle{color:#7a2518;font-size:1.2em}
|
155
153
|
@media screen and (min-width:768px){#toctitle{font-size:1.375em}
|
156
154
|
body.toc2{padding-left:15em;padding-right:0}
|
157
|
-
#toc.toc2{margin-top:0!important;background
|
155
|
+
#toc.toc2{margin-top:0!important;background:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #e7e7e9;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
|
158
156
|
#toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
|
159
157
|
#toc.toc2>ul{font-size:.9em;margin-bottom:0}
|
160
158
|
#toc.toc2 ul ul{margin-left:0;padding-left:1em}
|
@@ -167,11 +165,11 @@ body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #e7e7e9
|
|
167
165
|
#toc.toc2>ul{font-size:.95em}
|
168
166
|
#toc.toc2 ul ul{padding-left:1.25em}
|
169
167
|
body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
170
|
-
#content #toc{border
|
168
|
+
#content #toc{border:1px solid #e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;border-radius:4px}
|
171
169
|
#content #toc>:first-child{margin-top:0}
|
172
170
|
#content #toc>:last-child{margin-bottom:0}
|
173
|
-
#footer{max-width:
|
174
|
-
#footer-text{color:
|
171
|
+
#footer{max-width:none;background:rgba(0,0,0,.8);padding:1.25em}
|
172
|
+
#footer-text{color:hsla(0,0%,100%,.8);line-height:1.44}
|
175
173
|
#content{margin-bottom:.625em}
|
176
174
|
.sect1{padding-bottom:.625em}
|
177
175
|
@media screen and (min-width:768px){#content{margin-bottom:1.25em}
|
@@ -183,55 +181,62 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
183
181
|
#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}
|
184
182
|
#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}
|
185
183
|
#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}
|
186
|
-
|
184
|
+
details,.audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
|
185
|
+
details{margin-left:1.25rem}
|
186
|
+
details>summary{cursor:pointer;display:block;position:relative;line-height:1.6;margin-bottom:.625rem;outline:none;-webkit-tap-highlight-color:transparent}
|
187
|
+
details>summary::-webkit-details-marker{display:none}
|
188
|
+
details>summary::before{content:"";border:solid transparent;border-left:solid;border-width:.3em 0 .3em .5em;position:absolute;top:.5em;left:-1.25rem;transform:translateX(15%)}
|
189
|
+
details[open]>summary::before{border:solid transparent;border-top:solid;border-width:.5em .3em 0;transform:translateY(15%)}
|
190
|
+
details>summary::after{content:"";width:1.25rem;height:1em;position:absolute;top:.3em;left:-1.25rem}
|
187
191
|
.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{text-rendering:optimizeLegibility;text-align:left;font-family:"Noto Serif","DejaVu Serif",serif;font-size:1rem;font-style:italic}
|
188
192
|
table.tableblock.fit-content>caption.title{white-space:nowrap;width:0}
|
189
|
-
.paragraph.lead>p,#preamble>.sectionbody>[class=
|
190
|
-
table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font-size:inherit}
|
193
|
+
.paragraph.lead>p,#preamble>.sectionbody>[class=paragraph]:first-of-type p{font-size:1.21875em;line-height:1.6;color:rgba(0,0,0,.85)}
|
191
194
|
.admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%}
|
192
195
|
.admonitionblock>table td.icon{text-align:center;width:80px}
|
193
196
|
.admonitionblock>table td.icon img{max-width:none}
|
194
197
|
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
|
195
|
-
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6)}
|
198
|
+
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6);word-wrap:anywhere}
|
196
199
|
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
|
197
|
-
.exampleblock>.content{border
|
200
|
+
.exampleblock>.content{border:1px solid #e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;border-radius:4px}
|
198
201
|
.exampleblock>.content>:first-child{margin-top:0}
|
199
202
|
.exampleblock>.content>:last-child{margin-bottom:0}
|
200
|
-
.sidebarblock{border
|
203
|
+
.sidebarblock{border:1px solid #dbdbd6;margin-bottom:1.25em;padding:1.25em;background:#f3f3f2;border-radius:4px}
|
201
204
|
.sidebarblock>:first-child{margin-top:0}
|
202
205
|
.sidebarblock>:last-child{margin-bottom:0}
|
203
206
|
.sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
|
204
207
|
.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}
|
205
|
-
.literalblock pre,.listingblock
|
206
|
-
|
207
|
-
.literalblock pre,.
|
208
|
-
|
209
|
-
|
210
|
-
.literalblock pre.nowrap,.literalblock pre.nowrap pre,.listingblock pre.nowrap,.listingblock pre.nowrap pre{white-space:pre;word-wrap:normal}
|
211
|
-
.literalblock.output pre{color:#f7f7f8;background-color:rgba(0,0,0,.9)}
|
212
|
-
.listingblock pre.highlightjs{padding:0}
|
213
|
-
.listingblock pre.highlightjs>code{padding:1em;-webkit-border-radius:4px;border-radius:4px}
|
214
|
-
.listingblock pre.prettyprint{border-width:0}
|
208
|
+
.literalblock pre,.listingblock>.content>pre{border-radius:4px;overflow-x:auto;padding:1em;font-size:.8125em}
|
209
|
+
@media screen and (min-width:768px){.literalblock pre,.listingblock>.content>pre{font-size:.90625em}}
|
210
|
+
@media screen and (min-width:1280px){.literalblock pre,.listingblock>.content>pre{font-size:1em}}
|
211
|
+
.literalblock pre,.listingblock>.content>pre:not(.highlight),.listingblock>.content>pre[class=highlight],.listingblock>.content>pre[class^="highlight "]{background:#f7f7f8}
|
212
|
+
.literalblock.output pre{color:#f7f7f8;background:rgba(0,0,0,.9)}
|
215
213
|
.listingblock>.content{position:relative}
|
216
|
-
.listingblock code[data-lang]::before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color
|
214
|
+
.listingblock code[data-lang]::before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:inherit;opacity:.5}
|
217
215
|
.listingblock:hover code[data-lang]::before{display:block}
|
218
|
-
.listingblock.terminal pre .command::before{content:attr(data-prompt);padding-right:.5em;color
|
216
|
+
.listingblock.terminal pre .command::before{content:attr(data-prompt);padding-right:.5em;color:inherit;opacity:.5}
|
219
217
|
.listingblock.terminal pre .command:not([data-prompt])::before{content:"$"}
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
pre.
|
225
|
-
|
218
|
+
.listingblock pre.highlightjs{padding:0}
|
219
|
+
.listingblock pre.highlightjs>code{padding:1em;border-radius:4px}
|
220
|
+
.listingblock pre.prettyprint{border-width:0}
|
221
|
+
.prettyprint{background:#f7f7f8}
|
222
|
+
pre.prettyprint .linenums{line-height:1.45;margin-left:2em}
|
223
|
+
pre.prettyprint li{background:none;list-style-type:inherit;padding-left:0}
|
224
|
+
pre.prettyprint li code[data-lang]::before{opacity:1}
|
225
|
+
pre.prettyprint li:not(:first-child) code[data-lang]::before{display:none}
|
226
|
+
table.linenotable{border-collapse:separate;border:0;margin-bottom:0;background:none}
|
227
|
+
table.linenotable td[class]{color:inherit;vertical-align:top;padding:0;line-height:inherit;white-space:normal}
|
228
|
+
table.linenotable td.code{padding-left:.75em}
|
229
|
+
table.linenotable td.linenos,pre.pygments .linenos{border-right:1px solid;opacity:.35;padding-right:.5em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
230
|
+
pre.pygments span.linenos{display:inline-block;margin-right:.75em}
|
226
231
|
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
|
227
|
-
.quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
|
232
|
+
.quoteblock:not(.excerpt)>.title{margin-left:-1.5em;margin-bottom:.75em}
|
228
233
|
.quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
|
229
234
|
.quoteblock blockquote{margin:0;padding:0;border:0}
|
230
235
|
.quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
|
231
236
|
.quoteblock blockquote>.paragraph:last-child p{margin-bottom:0}
|
232
237
|
.quoteblock .attribution{margin-top:.75em;margin-right:.5ex;text-align:right}
|
233
238
|
.verseblock{margin:0 1em 1.25em}
|
234
|
-
.verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility}
|
239
|
+
.verseblock pre{font-family:"Open Sans","DejaVu Sans",sans-serif;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility}
|
235
240
|
.verseblock pre strong{font-weight:400}
|
236
241
|
.verseblock .attribution{margin-top:1.25rem;margin-left:.5ex}
|
237
242
|
.quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic}
|
@@ -241,25 +246,25 @@ table.pyhltable .linenodiv{background:none!important;padding-right:0!important}
|
|
241
246
|
.quoteblock.abstract blockquote,.quoteblock.abstract p,.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{line-height:1.6;word-spacing:0}
|
242
247
|
.quoteblock.abstract{margin:0 1em 1.25em;display:block}
|
243
248
|
.quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center}
|
244
|
-
.quoteblock.excerpt,.quoteblock .quoteblock{
|
249
|
+
.quoteblock.excerpt>blockquote,.quoteblock .quoteblock{padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
|
250
|
+
.quoteblock.excerpt,.quoteblock .quoteblock{margin-left:0}
|
245
251
|
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
|
246
|
-
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
|
247
|
-
table.tableblock{max-width:100%;border-collapse:separate}
|
252
|
+
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;font-size:.85rem;text-align:left;margin-right:0}
|
248
253
|
p.tableblock:last-child{margin-bottom:0}
|
249
|
-
td.tableblock>.content{margin-bottom
|
254
|
+
td.tableblock>.content{margin-bottom:1.25em;word-wrap:anywhere}
|
255
|
+
td.tableblock>.content>:last-child{margin-bottom:-1.25em}
|
250
256
|
table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
|
251
|
-
table.grid-all
|
252
|
-
table.grid-
|
253
|
-
table.grid-
|
254
|
-
table.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}
|
255
|
-
table.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}
|
256
|
-
table.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}
|
257
|
-
table.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}
|
257
|
+
table.grid-all>*>tr>*{border-width:1px}
|
258
|
+
table.grid-cols>*>tr>*{border-width:0 1px}
|
259
|
+
table.grid-rows>*>tr>*{border-width:1px 0}
|
258
260
|
table.frame-all{border-width:1px}
|
261
|
+
table.frame-ends{border-width:1px 0}
|
259
262
|
table.frame-sides{border-width:0 1px}
|
260
|
-
table.frame-
|
261
|
-
table.
|
262
|
-
table.
|
263
|
+
table.frame-none>colgroup+*>:first-child>*,table.frame-sides>colgroup+*>:first-child>*{border-top-width:0}
|
264
|
+
table.frame-none>:last-child>:last-child>*,table.frame-sides>:last-child>:last-child>*{border-bottom-width:0}
|
265
|
+
table.frame-none>*>tr>:first-child,table.frame-ends>*>tr>:first-child{border-left-width:0}
|
266
|
+
table.frame-none>*>tr>:last-child,table.frame-ends>*>tr>:last-child{border-right-width:0}
|
267
|
+
table.stripes-all>*>tr,table.stripes-odd>*>tr:nth-of-type(odd),table.stripes-even>*>tr:nth-of-type(even),table.stripes-hover>*>tr:hover{background:#f8f8f7}
|
263
268
|
th.halign-left,td.halign-left{text-align:left}
|
264
269
|
th.halign-right,td.halign-right{text-align:right}
|
265
270
|
th.halign-center,td.halign-center{text-align:center}
|
@@ -267,23 +272,23 @@ th.valign-top,td.valign-top{vertical-align:top}
|
|
267
272
|
th.valign-bottom,td.valign-bottom{vertical-align:bottom}
|
268
273
|
th.valign-middle,td.valign-middle{vertical-align:middle}
|
269
274
|
table thead th,table tfoot th{font-weight:bold}
|
270
|
-
tbody tr th{
|
275
|
+
tbody tr th{background:#f7f8f7}
|
271
276
|
tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold}
|
272
277
|
p.tableblock>code:only-child{background:none;padding:0}
|
273
278
|
p.tableblock{font-size:1em}
|
274
|
-
td>div.verse{white-space:pre}
|
275
279
|
ol{margin-left:1.75em}
|
276
280
|
ul li ol{margin-left:1.5em}
|
277
281
|
dl dd{margin-left:1.125em}
|
278
282
|
dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0}
|
279
|
-
|
283
|
+
li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}
|
280
284
|
ul.checklist,ul.none,ol.none,ul.no-bullet,ol.no-bullet,ol.unnumbered,ul.unstyled,ol.unstyled{list-style-type:none}
|
281
285
|
ul.no-bullet,ol.no-bullet,ol.unnumbered{margin-left:.625em}
|
282
286
|
ul.unstyled,ol.unstyled{margin-left:0}
|
283
|
-
|
284
|
-
ul.checklist
|
285
|
-
ul.checklist
|
286
|
-
ul.
|
287
|
+
li>p:empty:only-child::before{content:"";display:inline-block}
|
288
|
+
ul.checklist>li>p:first-child{margin-left:-1em}
|
289
|
+
ul.checklist>li>p:first-child>.fa-square-o:first-child,ul.checklist>li>p:first-child>.fa-check-square-o:first-child{width:1.25em;font-size:.8em;position:relative;bottom:.125em}
|
290
|
+
ul.checklist>li>p:first-child>input[type=checkbox]:first-child{margin-right:.25em}
|
291
|
+
ul.inline{display:flex;flex-flow:row wrap;list-style:none;margin:0 0 .625em -1.25em}
|
287
292
|
ul.inline>li{margin-left:1.25em}
|
288
293
|
.unstyled dl dt{font-weight:400;font-style:normal}
|
289
294
|
ol.arabic{list-style-type:decimal}
|
@@ -297,11 +302,12 @@ ol.lowergreek{list-style-type:lower-greek}
|
|
297
302
|
.hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none}
|
298
303
|
td.hdlist1,td.hdlist2{vertical-align:top;padding:0 .625em}
|
299
304
|
td.hdlist1{font-weight:bold;padding-bottom:1.25em}
|
305
|
+
td.hdlist2{word-wrap:anywhere}
|
300
306
|
.literalblock+.colist,.listingblock+.colist{margin-top:-.5em}
|
301
307
|
.colist td:not([class]):first-child{padding:.4em .75em 0;line-height:1;vertical-align:top}
|
302
308
|
.colist td:not([class]):first-child img{max-width:none}
|
303
309
|
.colist td:not([class]):last-child{padding:.25em 0}
|
304
|
-
.thumb,.th{line-height:0;display:inline-block;border:solid
|
310
|
+
.thumb,.th{line-height:0;display:inline-block;border:4px solid #fff;box-shadow:0 0 0 1px #ddd}
|
305
311
|
.imageblock.left{margin:.25em .625em 1.25em 0}
|
306
312
|
.imageblock.right{margin:.25em 0 1.25em .625em}
|
307
313
|
.imageblock>.title{margin-bottom:0}
|
@@ -321,8 +327,6 @@ sup.footnote a:active,sup.footnoteref a:active{text-decoration:underline}
|
|
321
327
|
#footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none;margin-left:-1.05em}
|
322
328
|
#footnotes .footnote:last-of-type{margin-bottom:0}
|
323
329
|
#content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0}
|
324
|
-
.gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0}
|
325
|
-
.gist .file-data>table td.line-data{width:99%}
|
326
330
|
div.unbreakable{page-break-inside:avoid}
|
327
331
|
.big{font-size:larger}
|
328
332
|
.small{font-size:smaller}
|
@@ -330,37 +334,37 @@ div.unbreakable{page-break-inside:avoid}
|
|
330
334
|
.overline{text-decoration:overline}
|
331
335
|
.line-through{text-decoration:line-through}
|
332
336
|
.aqua{color:#00bfbf}
|
333
|
-
.aqua-background{background
|
337
|
+
.aqua-background{background:#00fafa}
|
334
338
|
.black{color:#000}
|
335
|
-
.black-background{background
|
339
|
+
.black-background{background:#000}
|
336
340
|
.blue{color:#0000bf}
|
337
|
-
.blue-background{background
|
341
|
+
.blue-background{background:#0000fa}
|
338
342
|
.fuchsia{color:#bf00bf}
|
339
|
-
.fuchsia-background{background
|
343
|
+
.fuchsia-background{background:#fa00fa}
|
340
344
|
.gray{color:#606060}
|
341
|
-
.gray-background{background
|
345
|
+
.gray-background{background:#7d7d7d}
|
342
346
|
.green{color:#006000}
|
343
|
-
.green-background{background
|
347
|
+
.green-background{background:#007d00}
|
344
348
|
.lime{color:#00bf00}
|
345
|
-
.lime-background{background
|
349
|
+
.lime-background{background:#00fa00}
|
346
350
|
.maroon{color:#600000}
|
347
|
-
.maroon-background{background
|
351
|
+
.maroon-background{background:#7d0000}
|
348
352
|
.navy{color:#000060}
|
349
|
-
.navy-background{background
|
353
|
+
.navy-background{background:#00007d}
|
350
354
|
.olive{color:#606000}
|
351
|
-
.olive-background{background
|
355
|
+
.olive-background{background:#7d7d00}
|
352
356
|
.purple{color:#600060}
|
353
|
-
.purple-background{background
|
357
|
+
.purple-background{background:#7d007d}
|
354
358
|
.red{color:#bf0000}
|
355
|
-
.red-background{background
|
359
|
+
.red-background{background:#fa0000}
|
356
360
|
.silver{color:#909090}
|
357
|
-
.silver-background{background
|
361
|
+
.silver-background{background:#bcbcbc}
|
358
362
|
.teal{color:#006060}
|
359
|
-
.teal-background{background
|
363
|
+
.teal-background{background:#007d7d}
|
360
364
|
.white{color:#bfbfbf}
|
361
|
-
.white-background{background
|
365
|
+
.white-background{background:#fafafa}
|
362
366
|
.yellow{color:#bfbf00}
|
363
|
-
.yellow-background{background
|
367
|
+
.yellow-background{background:#fafa00}
|
364
368
|
span.icon>.fa{cursor:default}
|
365
369
|
a span.icon>.fa{cursor:inherit}
|
366
370
|
.admonitionblock td.icon [class^="fa icon-"]{font-size:2.5em;text-shadow:1px 1px 2px rgba(0,0,0,.5);cursor:default}
|
@@ -369,7 +373,7 @@ a span.icon>.fa{cursor:inherit}
|
|
369
373
|
.admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900}
|
370
374
|
.admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400}
|
371
375
|
.admonitionblock td.icon .icon-important::before{content:"\f06a";color:#bf0000}
|
372
|
-
.conum[data-value]{display:inline-block;color:#fff!important;background
|
376
|
+
.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);border-radius:50%;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
|
373
377
|
.conum[data-value] *{color:#fff!important}
|
374
378
|
.conum[data-value]+b{display:none}
|
375
379
|
.conum[data-value]::after{content:attr(data-value)}
|
@@ -377,25 +381,27 @@ pre .conum[data-value]{position:relative;top:-.125em}
|
|
377
381
|
b.conum *{color:inherit!important}
|
378
382
|
.conum:not([data-value]):empty{display:none}
|
379
383
|
dt,th.tableblock,td.content,div.footnote{text-rendering:optimizeLegibility}
|
380
|
-
h1,h2,p,td.content,span.alt{letter-spacing:-.01em}
|
384
|
+
h1,h2,p,td.content,span.alt,summary{letter-spacing:-.01em}
|
381
385
|
p strong,td.content strong,div.footnote strong{letter-spacing:-.005em}
|
382
|
-
p,blockquote,dt,td.content,span.alt{font-size:1.0625rem}
|
386
|
+
p,blockquote,dt,td.content,span.alt,summary{font-size:1.0625rem}
|
383
387
|
p{margin-bottom:1.25rem}
|
384
388
|
.sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em}
|
385
|
-
.exampleblock>.content{background
|
389
|
+
.exampleblock>.content{background:#fffef7;border-color:#e0e0dc;box-shadow:0 1px 4px #e0e0dc}
|
386
390
|
.print-only{display:none!important}
|
387
391
|
@page{margin:1.25cm .75cm}
|
388
|
-
@media print{*{
|
392
|
+
@media print{*{box-shadow:none!important;text-shadow:none!important}
|
389
393
|
html{font-size:80%}
|
390
394
|
a{color:inherit!important;text-decoration:underline!important}
|
391
395
|
a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important}
|
392
396
|
a[href^="http:"]:not(.bare)::after,a[href^="https:"]:not(.bare)::after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em}
|
397
|
+
abbr[title]{border-bottom:1px dotted}
|
393
398
|
abbr[title]::after{content:" (" attr(title) ")"}
|
394
399
|
pre,blockquote,tr,img,object,svg{page-break-inside:avoid}
|
395
400
|
thead{display:table-header-group}
|
396
401
|
svg{max-width:100%}
|
397
402
|
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
|
398
403
|
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
|
404
|
+
#header,#content,#footnotes,#footer{max-width:none}
|
399
405
|
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
|
400
406
|
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
|
401
407
|
body.book #header{text-align:center}
|
@@ -412,7 +418,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
|
|
412
418
|
.print-only{display:block!important}
|
413
419
|
.hide-for-print{display:none!important}
|
414
420
|
.show-for-print{display:inherit!important}}
|
415
|
-
@media
|
421
|
+
@media amzn-kf8,print{#header>h1:first-child{margin-top:1.25rem}
|
416
422
|
.sect1{padding:0!important}
|
417
423
|
.sect1+.sect1{border:0}
|
418
424
|
#footer{background:none}
|
@@ -1,17 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.CodeRay .line-numbers{border-right:1px solid
|
4
|
-
.CodeRay span.line-numbers{display:inline-block;margin-right:.
|
5
|
-
.CodeRay .line-numbers strong{color
|
6
|
-
table.CodeRay{border-collapse:separate;border
|
7
|
-
table.CodeRay td{vertical-align:
|
1
|
+
/*! Stylesheet for CodeRay to loosely match GitHub themes | MIT License */
|
2
|
+
pre.CodeRay{background:#f7f7f8}
|
3
|
+
.CodeRay .line-numbers{border-right:1px solid;opacity:.35;padding:0 .5em 0 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
4
|
+
.CodeRay span.line-numbers{display:inline-block;margin-right:.75em}
|
5
|
+
.CodeRay .line-numbers strong{color:#000}
|
6
|
+
table.CodeRay{border-collapse:separate;border:0;margin-bottom:0;background:none}
|
7
|
+
table.CodeRay td{vertical-align:top;line-height:inherit}
|
8
8
|
table.CodeRay td.line-numbers{text-align:right}
|
9
|
-
table.CodeRay td.
|
10
|
-
|
11
|
-
table.CodeRay td.code>pre{padding:0}
|
12
|
-
.CodeRay .debug{color:#fff !important;background:#000080 !important}
|
9
|
+
table.CodeRay td.code{padding:0 0 0 .75em}
|
10
|
+
.CodeRay .debug{color:#fff!important;background:navy!important}
|
13
11
|
.CodeRay .annotation{color:#007}
|
14
|
-
.CodeRay .attribute-name{color
|
12
|
+
.CodeRay .attribute-name{color:navy}
|
15
13
|
.CodeRay .attribute-value{color:#700}
|
16
14
|
.CodeRay .binary{color:#509}
|
17
15
|
.CodeRay .comment{color:#998;font-style:italic}
|
@@ -20,7 +18,7 @@ table.CodeRay td.code>pre{padding:0}
|
|
20
18
|
.CodeRay .char .delimiter{color:#039}
|
21
19
|
.CodeRay .class{color:#458;font-weight:bold}
|
22
20
|
.CodeRay .complex{color:#a08}
|
23
|
-
.CodeRay .constant,.CodeRay .predefined-constant{color
|
21
|
+
.CodeRay .constant,.CodeRay .predefined-constant{color:teal}
|
24
22
|
.CodeRay .color{color:#099}
|
25
23
|
.CodeRay .class-variable{color:#369}
|
26
24
|
.CodeRay .decorator{color:#b0b}
|
@@ -35,7 +33,7 @@ table.CodeRay td.code>pre{padding:0}
|
|
35
33
|
.CodeRay .exception{color:inherit}
|
36
34
|
.CodeRay .filename{color:#099}
|
37
35
|
.CodeRay .function{color:#900;font-weight:bold}
|
38
|
-
.CodeRay .global-variable{color
|
36
|
+
.CodeRay .global-variable{color:teal}
|
39
37
|
.CodeRay .hex{color:#058}
|
40
38
|
.CodeRay .integer,.CodeRay .float{color:#099}
|
41
39
|
.CodeRay .include{color:#555}
|
@@ -46,7 +44,7 @@ table.CodeRay td.code>pre{padding:0}
|
|
46
44
|
.CodeRay .inline-delimiter{color:#d14}
|
47
45
|
.CodeRay .important{color:#555;font-weight:bold}
|
48
46
|
.CodeRay .interpreted{color:#b2b}
|
49
|
-
.CodeRay .instance-variable{color
|
47
|
+
.CodeRay .instance-variable{color:teal}
|
50
48
|
.CodeRay .label{color:#970}
|
51
49
|
.CodeRay .local-variable{color:#963}
|
52
50
|
.CodeRay .octal{color:#40e}
|
@@ -56,7 +54,7 @@ table.CodeRay td.code>pre{padding:0}
|
|
56
54
|
.CodeRay .directive{font-weight:bold}
|
57
55
|
.CodeRay .type{font-weight:bold}
|
58
56
|
.CodeRay .predefined-type{color:inherit}
|
59
|
-
.CodeRay .reserved,.CodeRay .keyword
|
57
|
+
.CodeRay .reserved,.CodeRay .keyword{color:#000;font-weight:bold}
|
60
58
|
.CodeRay .key{color:#808}
|
61
59
|
.CodeRay .key .delimiter{color:#606}
|
62
60
|
.CodeRay .key .char{color:#80f}
|
@@ -76,7 +74,7 @@ table.CodeRay td.code>pre{padding:0}
|
|
76
74
|
.CodeRay .symbol{color:#990073}
|
77
75
|
.CodeRay .symbol .content{color:#a60}
|
78
76
|
.CodeRay .symbol .delimiter{color:#630}
|
79
|
-
.CodeRay .tag{color
|
77
|
+
.CodeRay .tag{color:teal}
|
80
78
|
.CodeRay .tag-special{color:#d70}
|
81
79
|
.CodeRay .variable{color:#036}
|
82
80
|
.CodeRay .insert{background:#afa}
|