asciidoctor 2.0.10 → 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/CHANGELOG.adoc +294 -30
- data/LICENSE +1 -1
- data/README-de.adoc +16 -20
- data/README-fr.adoc +15 -22
- data/README-jp.adoc +15 -26
- data/README-zh_CN.adoc +21 -25
- data/README.adoc +161 -138
- data/asciidoctor.gemspec +6 -13
- 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 +4 -4
- 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 +14 -7
- data/data/stylesheets/asciidoctor-default.css +76 -76
- data/data/stylesheets/coderay-asciidoctor.css +9 -9
- data/lib/asciidoctor/abstract_block.rb +20 -13
- data/lib/asciidoctor/abstract_node.rb +23 -12
- data/lib/asciidoctor/attribute_list.rb +64 -72
- data/lib/asciidoctor/block.rb +6 -6
- data/lib/asciidoctor/cli/invoker.rb +3 -2
- data/lib/asciidoctor/cli/options.rb +32 -31
- data/lib/asciidoctor/convert.rb +168 -162
- data/lib/asciidoctor/converter/docbook5.rb +49 -34
- data/lib/asciidoctor/converter/html5.rb +180 -139
- data/lib/asciidoctor/converter/manpage.rb +118 -90
- data/lib/asciidoctor/converter/template.rb +15 -13
- data/lib/asciidoctor/converter.rb +19 -16
- data/lib/asciidoctor/core_ext/hash/merge.rb +1 -1
- data/lib/asciidoctor/document.rb +77 -86
- data/lib/asciidoctor/extensions.rb +22 -16
- data/lib/asciidoctor/helpers.rb +20 -15
- data/lib/asciidoctor/list.rb +2 -6
- data/lib/asciidoctor/load.rb +103 -101
- data/lib/asciidoctor/logging.rb +10 -8
- data/lib/asciidoctor/parser.rb +211 -220
- data/lib/asciidoctor/path_resolver.rb +17 -15
- data/lib/asciidoctor/reader.rb +87 -79
- data/lib/asciidoctor/rx.rb +9 -7
- data/lib/asciidoctor/section.rb +7 -0
- data/lib/asciidoctor/substitutors.rb +167 -148
- data/lib/asciidoctor/syntax_highlighter/coderay.rb +3 -2
- data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +13 -5
- data/lib/asciidoctor/syntax_highlighter/prettify.rb +7 -4
- data/lib/asciidoctor/syntax_highlighter/pygments.rb +19 -11
- data/lib/asciidoctor/syntax_highlighter/rouge.rb +35 -20
- data/lib/asciidoctor/syntax_highlighter.rb +16 -16
- data/lib/asciidoctor/table.rb +70 -43
- data/lib/asciidoctor/timings.rb +3 -3
- data/lib/asciidoctor/version.rb +1 -1
- data/lib/asciidoctor.rb +45 -19
- data/man/asciidoctor.1 +29 -31
- data/man/asciidoctor.adoc +35 -29
- metadata +17 -70
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: 附录
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: 注意
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: 示例
|
8
8
|
:figure-caption: 图表
|
9
9
|
:important-caption: 重要
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: 列表]
|
12
12
|
ifdef::manname-title[:manname-title: 名称]
|
13
13
|
:note-caption: 笔记
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: 序言]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: 表格
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: 附錄
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: 注意
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: 示例
|
8
8
|
:figure-caption: 圖表
|
9
9
|
:important-caption: 重要
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: 列表]
|
12
12
|
ifdef::manname-title[:manname-title: 名稱]
|
13
13
|
:note-caption: 筆記
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: 序言]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: 表格
|
data/data/reference/syntax.adoc
CHANGED
@@ -17,7 +17,7 @@ Line breaks are not preserved.
|
|
17
17
|
A blank line separates paragraphs.
|
18
18
|
|
19
19
|
[%hardbreaks]
|
20
|
-
This paragraph
|
20
|
+
This paragraph is marked with the `hardbreaks` option.
|
21
21
|
Notice how line breaks are now preserved.
|
22
22
|
|
23
23
|
An indented (literal) paragraph disables text formatting,
|
@@ -25,14 +25,14 @@ Notice how line breaks are now preserved.
|
|
25
25
|
monospaced font.
|
26
26
|
|
27
27
|
[sidebar#id.role]
|
28
|
-
|
28
|
+
Adding a style, ID, and/or role gives a paragraph (or block) special meaning, like this sidebar.
|
29
29
|
|
30
30
|
NOTE: An admonition paragraph, like this note, grabs the reader's attention.
|
31
31
|
|
32
32
|
TIP: Convert this document using the `asciidoctor` command to see the output produced from it.
|
33
33
|
|
34
34
|
== Text Formatting
|
35
|
-
:hardbreaks:
|
35
|
+
:hardbreaks-option:
|
36
36
|
|
37
37
|
.Constrained (applied at word boundaries)
|
38
38
|
*strong importance* (aka bold)
|
@@ -41,17 +41,24 @@ _stress emphasis_ (aka italic)
|
|
41
41
|
"`double`" and '`single`' typographic quotes
|
42
42
|
+passthrough text+ (substitutions disabled)
|
43
43
|
`+literal text+` (monospaced with substitutions disabled)
|
44
|
+
a #mark# to remember (highlighted for notation)
|
44
45
|
|
45
46
|
.Unconstrained (applied anywhere)
|
46
|
-
**C**reate
|
47
|
+
**C**reate, **R**ead, **U**pdate, and **D**elete (CRUD)
|
47
48
|
fan__freakin__tastic
|
48
49
|
``mono``culture
|
50
|
+
##mark##up your text
|
49
51
|
|
50
52
|
.Replacements
|
51
53
|
A long time ago in a galaxy far, far away...
|
52
54
|
(C) 1976 Arty Artisan
|
53
55
|
I believe I shall--no, actually I won't.
|
54
56
|
|
57
|
+
.ID and roles for phrases
|
58
|
+
[.line-through]#delete me#
|
59
|
+
the [.path]_images_ directory
|
60
|
+
a [#wibble.term]*wibble* does wobble
|
61
|
+
|
55
62
|
.Macros
|
56
63
|
// where c=specialchars, q=quotes, a=attributes, r=replacements, m=macros, p=post_replacements, etc.
|
57
64
|
The European icon:flag[role=blue] is blue & contains pass:[************] arranged in a icon:circle-o[role=yellow].
|
@@ -60,7 +67,7 @@ Since `pass:[++]` has strong priority in AsciiDoc, you can rewrite pass:c,a,r[C+
|
|
60
67
|
// activate stem support by adding `:stem:` to the document header
|
61
68
|
stem:[sqrt(4) = 2]
|
62
69
|
|
63
|
-
:!hardbreaks:
|
70
|
+
:!hardbreaks-option:
|
64
71
|
== Attributes
|
65
72
|
|
66
73
|
// define attributes in the document header; must be flush with left margin
|
@@ -242,7 +249,7 @@ comment - content which is not included in the output document
|
|
242
249
|
== Tables
|
243
250
|
|
244
251
|
.Table Attributes
|
245
|
-
[cols=>1h;2d,width=50%,frame=
|
252
|
+
[cols=>1h;2d,width=50%,frame=ends]
|
246
253
|
|===
|
247
254
|
| Attribute Name | Values
|
248
255
|
|
@@ -256,7 +263,7 @@ comment - content which is not included in the output document
|
|
256
263
|
| all \| cols \| rows \| none
|
257
264
|
|
258
265
|
| frame
|
259
|
-
| all \| sides \|
|
266
|
+
| all \| sides \| ends \| none
|
260
267
|
|
261
268
|
| stripes
|
262
269
|
| all \| even \| odd \| none
|
@@ -1,18 +1,16 @@
|
|
1
|
-
|
2
|
-
/* Uncomment
|
3
|
-
|
4
|
-
|
5
|
-
audio,video{display:inline-block}
|
6
|
-
audio:not([controls]){display:none;height:0}
|
7
|
-
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
|
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%}
|
8
5
|
a{background:none}
|
9
6
|
a:focus{outline:thin dotted}
|
10
7
|
a:active,a:hover{outline:0}
|
11
8
|
h1{font-size:2em;margin:.67em 0}
|
12
|
-
abbr[title]{border-bottom:1px dotted}
|
13
9
|
b,strong{font-weight:bold}
|
10
|
+
abbr{font-size:.9em}
|
11
|
+
abbr[title]{cursor:help;border-bottom:1px dotted #dddddf;text-decoration:none}
|
14
12
|
dfn{font-style:italic}
|
15
|
-
hr{
|
13
|
+
hr{height:0}
|
16
14
|
mark{background:#ff0;color:#000}
|
17
15
|
code,kbd,pre,samp{font-family:monospace;font-size:1em}
|
18
16
|
pre{white-space:pre-wrap}
|
@@ -24,20 +22,22 @@ sub{bottom:-.25em}
|
|
24
22
|
img{border:0}
|
25
23
|
svg:not(:root){overflow:hidden}
|
26
24
|
figure{margin:0}
|
25
|
+
audio,video{display:inline-block}
|
26
|
+
audio:not([controls]){display:none;height:0}
|
27
27
|
fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
|
28
28
|
legend{border:0;padding:0}
|
29
29
|
button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}
|
30
30
|
button,input{line-height:normal}
|
31
31
|
button,select{text-transform:none}
|
32
|
-
button,html input[type=
|
32
|
+
button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}
|
33
33
|
button[disabled],html input[disabled]{cursor:default}
|
34
|
-
input[type=
|
34
|
+
input[type=checkbox],input[type=radio]{padding:0}
|
35
35
|
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
|
36
36
|
textarea{overflow:auto;vertical-align:top}
|
37
37
|
table{border-collapse:collapse;border-spacing:0}
|
38
|
-
|
38
|
+
*,::before,::after{box-sizing:border-box}
|
39
39
|
html,body{font-size:100%}
|
40
|
-
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}
|
41
41
|
a:hover{cursor:pointer}
|
42
42
|
img,object,embed{max-width:100%;height:auto}
|
43
43
|
object,embed{height:100%}
|
@@ -52,14 +52,12 @@ img{-ms-interpolation-mode:bicubic}
|
|
52
52
|
img,object,svg{display:inline-block;vertical-align:middle}
|
53
53
|
textarea{height:auto;min-height:50px}
|
54
54
|
select{width:100%}
|
55
|
-
.center{margin-left:auto;margin-right:auto}
|
56
|
-
.stretch{width:100%}
|
57
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}
|
58
|
-
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}
|
59
57
|
a{color:#2156a5;text-decoration:underline;line-height:inherit}
|
60
58
|
a:hover,a:focus{color:#1d4b8f}
|
61
59
|
a img{border:0}
|
62
|
-
p{
|
60
|
+
p{line-height:1.6;margin-bottom:1.25em;text-rendering:optimizeLegibility}
|
63
61
|
p aside{font-size:.875em;line-height:1.35;font-style:italic}
|
64
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}
|
65
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}
|
@@ -68,14 +66,14 @@ h2{font-size:1.6875em}
|
|
68
66
|
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em}
|
69
67
|
h4,h5{font-size:1.125em}
|
70
68
|
h6{font-size:1em}
|
71
|
-
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}
|
72
70
|
em,i{font-style:italic;line-height:inherit}
|
73
71
|
strong,b{font-weight:bold;line-height:inherit}
|
74
72
|
small{font-size:60%;line-height:inherit}
|
75
73
|
code{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;color:rgba(0,0,0,.9)}
|
76
|
-
ul,ol,dl{
|
74
|
+
ul,ol,dl{line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit}
|
77
75
|
ul,ol{margin-left:1.5em}
|
78
|
-
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}
|
79
77
|
ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit}
|
80
78
|
ul.square{list-style-type:square}
|
81
79
|
ul.circle{list-style-type:circle}
|
@@ -83,31 +81,29 @@ ul.disc{list-style-type:disc}
|
|
83
81
|
ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0}
|
84
82
|
dl dt{margin-bottom:.3125em;font-weight:bold}
|
85
83
|
dl dd{margin-bottom:1.25em}
|
86
|
-
abbr,acronym{text-transform:uppercase;font-size:90%;color:rgba(0,0,0,.8);border-bottom:1px dotted #ddd;cursor:help}
|
87
|
-
abbr{text-transform:none}
|
88
84
|
blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
|
89
|
-
blockquote cite{display:block;font-size:.9375em;color:rgba(0,0,0,.6)}
|
90
|
-
blockquote cite::before{content:"\2014 \0020"}
|
91
|
-
blockquote cite a,blockquote cite a:visited{color:rgba(0,0,0,.6)}
|
92
85
|
blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)}
|
93
86
|
@media screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
|
94
87
|
h1{font-size:2.75em}
|
95
88
|
h2{font-size:2.3125em}
|
96
89
|
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
|
97
90
|
h4{font-size:1.4375em}}
|
98
|
-
table{background:#fff;margin-bottom:1.25em;border:solid
|
91
|
+
table{background:#fff;margin-bottom:1.25em;border:1px solid #dedede;word-wrap:normal}
|
99
92
|
table thead,table tfoot{background:#f7f8f7}
|
100
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}
|
101
94
|
table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
|
102
95
|
table tr.even,table tr.alt{background:#f8f8f7}
|
103
|
-
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{
|
96
|
+
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{line-height:1.6}
|
104
97
|
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
|
105
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%}
|
106
101
|
.clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:" ";display:table}
|
107
102
|
.clearfix::after,.float-group::after{clear:both}
|
108
|
-
:not(pre)
|
109
|
-
:not(pre)
|
110
|
-
:not(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}
|
111
107
|
pre{color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;line-height:1.45;text-rendering:optimizeSpeed}
|
112
108
|
pre code,pre pre{color:inherit;font-size:inherit;line-height:inherit}
|
113
109
|
pre>code{display:block}
|
@@ -115,7 +111,7 @@ pre.nowrap,pre.nowrap pre{white-space:pre;word-wrap:normal}
|
|
115
111
|
em em{font-style:normal}
|
116
112
|
strong strong{font-weight:400}
|
117
113
|
.keyseq{color:rgba(51,51,51,.8)}
|
118
|
-
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
|
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}
|
119
115
|
.keyseq kbd:first-child{margin-left:0}
|
120
116
|
.keyseq kbd:last-child{margin-right:0}
|
121
117
|
.menuseq,.menuref{color:#000}
|
@@ -127,7 +123,7 @@ b.button::before,b.button::after{position:relative;top:-1px;font-weight:400}
|
|
127
123
|
b.button::before{content:"[";padding:0 3px 0 2px}
|
128
124
|
b.button::after{content:"]";padding:0 2px 0 3px}
|
129
125
|
p a>code:hover{color:rgba(0,0,0,.9)}
|
130
|
-
#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}
|
131
127
|
#header::before,#header::after,#content::before,#content::after,#footnotes::before,#footnotes::after,#footer::before,#footer::after{content:" ";display:table}
|
132
128
|
#header::after,#content::after,#footnotes::after,#footer::after{clear:both}
|
133
129
|
#content{margin-top:1.25em}
|
@@ -135,7 +131,7 @@ p a>code:hover{color:rgba(0,0,0,.9)}
|
|
135
131
|
#header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
|
136
132
|
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #dddddf}
|
137
133
|
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}
|
138
|
-
#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}
|
139
135
|
#header .details span:first-child{margin-left:-.125em}
|
140
136
|
#header .details span.email a{color:rgba(0,0,0,.85)}
|
141
137
|
#header .details br{display:none}
|
@@ -169,11 +165,11 @@ body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #e7e7e9
|
|
169
165
|
#toc.toc2>ul{font-size:.95em}
|
170
166
|
#toc.toc2 ul ul{padding-left:1.25em}
|
171
167
|
body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
172
|
-
#content #toc{border
|
168
|
+
#content #toc{border:1px solid #e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;border-radius:4px}
|
173
169
|
#content #toc>:first-child{margin-top:0}
|
174
170
|
#content #toc>:last-child{margin-bottom:0}
|
175
|
-
#footer{max-width:
|
176
|
-
#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}
|
177
173
|
#content{margin-bottom:.625em}
|
178
174
|
.sect1{padding-bottom:.625em}
|
179
175
|
@media screen and (min-width:768px){#content{margin-bottom:1.25em}
|
@@ -186,29 +182,33 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
186
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}
|
187
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}
|
188
184
|
details,.audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
|
189
|
-
details
|
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}
|
190
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}
|
191
192
|
table.tableblock.fit-content>caption.title{white-space:nowrap;width:0}
|
192
|
-
.paragraph.lead>p,#preamble>.sectionbody>[class=
|
193
|
-
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)}
|
194
194
|
.admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%}
|
195
195
|
.admonitionblock>table td.icon{text-align:center;width:80px}
|
196
196
|
.admonitionblock>table td.icon img{max-width:none}
|
197
197
|
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
|
198
|
-
.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}
|
199
199
|
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
|
200
|
-
.exampleblock>.content{border
|
200
|
+
.exampleblock>.content{border:1px solid #e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;border-radius:4px}
|
201
201
|
.exampleblock>.content>:first-child{margin-top:0}
|
202
202
|
.exampleblock>.content>:last-child{margin-bottom:0}
|
203
|
-
.sidebarblock{border
|
203
|
+
.sidebarblock{border:1px solid #dbdbd6;margin-bottom:1.25em;padding:1.25em;background:#f3f3f2;border-radius:4px}
|
204
204
|
.sidebarblock>:first-child{margin-top:0}
|
205
205
|
.sidebarblock>:last-child{margin-bottom:0}
|
206
206
|
.sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
|
207
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}
|
208
|
-
.literalblock pre,.listingblock>.content>pre{
|
208
|
+
.literalblock pre,.listingblock>.content>pre{border-radius:4px;overflow-x:auto;padding:1em;font-size:.8125em}
|
209
209
|
@media screen and (min-width:768px){.literalblock pre,.listingblock>.content>pre{font-size:.90625em}}
|
210
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=
|
211
|
+
.literalblock pre,.listingblock>.content>pre:not(.highlight),.listingblock>.content>pre[class=highlight],.listingblock>.content>pre[class^="highlight "]{background:#f7f7f8}
|
212
212
|
.literalblock.output pre{color:#f7f7f8;background:rgba(0,0,0,.9)}
|
213
213
|
.listingblock>.content{position:relative}
|
214
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}
|
@@ -216,7 +216,7 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
216
216
|
.listingblock.terminal pre .command::before{content:attr(data-prompt);padding-right:.5em;color:inherit;opacity:.5}
|
217
217
|
.listingblock.terminal pre .command:not([data-prompt])::before{content:"$"}
|
218
218
|
.listingblock pre.highlightjs{padding:0}
|
219
|
-
.listingblock pre.highlightjs>code{padding:1em
|
219
|
+
.listingblock pre.highlightjs>code{padding:1em;border-radius:4px}
|
220
220
|
.listingblock pre.prettyprint{border-width:0}
|
221
221
|
.prettyprint{background:#f7f7f8}
|
222
222
|
pre.prettyprint .linenums{line-height:1.45;margin-left:2em}
|
@@ -226,9 +226,8 @@ pre.prettyprint li:not(:first-child) code[data-lang]::before{display:none}
|
|
226
226
|
table.linenotable{border-collapse:separate;border:0;margin-bottom:0;background:none}
|
227
227
|
table.linenotable td[class]{color:inherit;vertical-align:top;padding:0;line-height:inherit;white-space:normal}
|
228
228
|
table.linenotable td.code{padding-left:.75em}
|
229
|
-
table.linenotable td.linenos{border-right:1px solid
|
230
|
-
pre.pygments .
|
231
|
-
pre.pygments .lineno::before{content:"";margin-right:-.125em}
|
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}
|
232
231
|
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
|
233
232
|
.quoteblock:not(.excerpt)>.title{margin-left:-1.5em;margin-bottom:.75em}
|
234
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}
|
@@ -237,7 +236,7 @@ pre.pygments .lineno::before{content:"";margin-right:-.125em}
|
|
237
236
|
.quoteblock blockquote>.paragraph:last-child p{margin-bottom:0}
|
238
237
|
.quoteblock .attribution{margin-top:.75em;margin-right:.5ex;text-align:right}
|
239
238
|
.verseblock{margin:0 1em 1.25em}
|
240
|
-
.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}
|
241
240
|
.verseblock pre strong{font-weight:400}
|
242
241
|
.verseblock .attribution{margin-top:1.25rem;margin-left:.5ex}
|
243
242
|
.quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic}
|
@@ -250,23 +249,22 @@ pre.pygments .lineno::before{content:"";margin-right:-.125em}
|
|
250
249
|
.quoteblock.excerpt>blockquote,.quoteblock .quoteblock{padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
|
251
250
|
.quoteblock.excerpt,.quoteblock .quoteblock{margin-left:0}
|
252
251
|
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
|
253
|
-
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
|
254
|
-
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}
|
255
253
|
p.tableblock:last-child{margin-bottom:0}
|
254
|
+
td.tableblock>.content{margin-bottom:1.25em;word-wrap:anywhere}
|
256
255
|
td.tableblock>.content>:last-child{margin-bottom:-1.25em}
|
257
|
-
td.tableblock>.content>:last-child.sidebarblock{margin-bottom:0}
|
258
256
|
table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
|
259
|
-
table.grid-all
|
260
|
-
table.grid-
|
261
|
-
table.grid-
|
262
|
-
table.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}
|
263
|
-
table.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}
|
264
|
-
table.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}
|
265
|
-
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}
|
266
260
|
table.frame-all{border-width:1px}
|
261
|
+
table.frame-ends{border-width:1px 0}
|
267
262
|
table.frame-sides{border-width:0 1px}
|
268
|
-
table.frame-
|
269
|
-
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}
|
270
268
|
th.halign-left,td.halign-left{text-align:left}
|
271
269
|
th.halign-right,td.halign-right{text-align:right}
|
272
270
|
th.halign-center,td.halign-center{text-align:center}
|
@@ -274,7 +272,7 @@ th.valign-top,td.valign-top{vertical-align:top}
|
|
274
272
|
th.valign-bottom,td.valign-bottom{vertical-align:bottom}
|
275
273
|
th.valign-middle,td.valign-middle{vertical-align:middle}
|
276
274
|
table thead th,table tfoot th{font-weight:bold}
|
277
|
-
tbody tr th{
|
275
|
+
tbody tr th{background:#f7f8f7}
|
278
276
|
tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold}
|
279
277
|
p.tableblock>code:only-child{background:none;padding:0}
|
280
278
|
p.tableblock{font-size:1em}
|
@@ -282,14 +280,15 @@ ol{margin-left:1.75em}
|
|
282
280
|
ul li ol{margin-left:1.5em}
|
283
281
|
dl dd{margin-left:1.125em}
|
284
282
|
dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0}
|
285
|
-
|
283
|
+
li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}
|
286
284
|
ul.checklist,ul.none,ol.none,ul.no-bullet,ol.no-bullet,ol.unnumbered,ul.unstyled,ol.unstyled{list-style-type:none}
|
287
285
|
ul.no-bullet,ol.no-bullet,ol.unnumbered{margin-left:.625em}
|
288
286
|
ul.unstyled,ol.unstyled{margin-left:0}
|
289
|
-
|
290
|
-
ul.checklist
|
291
|
-
ul.checklist
|
292
|
-
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}
|
293
292
|
ul.inline>li{margin-left:1.25em}
|
294
293
|
.unstyled dl dt{font-weight:400;font-style:normal}
|
295
294
|
ol.arabic{list-style-type:decimal}
|
@@ -303,11 +302,12 @@ ol.lowergreek{list-style-type:lower-greek}
|
|
303
302
|
.hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none}
|
304
303
|
td.hdlist1,td.hdlist2{vertical-align:top;padding:0 .625em}
|
305
304
|
td.hdlist1{font-weight:bold;padding-bottom:1.25em}
|
305
|
+
td.hdlist2{word-wrap:anywhere}
|
306
306
|
.literalblock+.colist,.listingblock+.colist{margin-top:-.5em}
|
307
307
|
.colist td:not([class]):first-child{padding:.4em .75em 0;line-height:1;vertical-align:top}
|
308
308
|
.colist td:not([class]):first-child img{max-width:none}
|
309
309
|
.colist td:not([class]):last-child{padding:.25em 0}
|
310
|
-
.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}
|
311
311
|
.imageblock.left{margin:.25em .625em 1.25em 0}
|
312
312
|
.imageblock.right{margin:.25em 0 1.25em .625em}
|
313
313
|
.imageblock>.title{margin-bottom:0}
|
@@ -327,8 +327,6 @@ sup.footnote a:active,sup.footnoteref a:active{text-decoration:underline}
|
|
327
327
|
#footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none;margin-left:-1.05em}
|
328
328
|
#footnotes .footnote:last-of-type{margin-bottom:0}
|
329
329
|
#content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0}
|
330
|
-
.gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0}
|
331
|
-
.gist .file-data>table td.line-data{width:99%}
|
332
330
|
div.unbreakable{page-break-inside:avoid}
|
333
331
|
.big{font-size:larger}
|
334
332
|
.small{font-size:smaller}
|
@@ -375,7 +373,7 @@ a span.icon>.fa{cursor:inherit}
|
|
375
373
|
.admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900}
|
376
374
|
.admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400}
|
377
375
|
.admonitionblock td.icon .icon-important::before{content:"\f06a";color:#bf0000}
|
378
|
-
.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8)
|
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}
|
379
377
|
.conum[data-value] *{color:#fff!important}
|
380
378
|
.conum[data-value]+b{display:none}
|
381
379
|
.conum[data-value]::after{content:attr(data-value)}
|
@@ -383,25 +381,27 @@ pre .conum[data-value]{position:relative;top:-.125em}
|
|
383
381
|
b.conum *{color:inherit!important}
|
384
382
|
.conum:not([data-value]):empty{display:none}
|
385
383
|
dt,th.tableblock,td.content,div.footnote{text-rendering:optimizeLegibility}
|
386
|
-
h1,h2,p,td.content,span.alt{letter-spacing:-.01em}
|
384
|
+
h1,h2,p,td.content,span.alt,summary{letter-spacing:-.01em}
|
387
385
|
p strong,td.content strong,div.footnote strong{letter-spacing:-.005em}
|
388
|
-
p,blockquote,dt,td.content,span.alt{font-size:1.0625rem}
|
386
|
+
p,blockquote,dt,td.content,span.alt,summary{font-size:1.0625rem}
|
389
387
|
p{margin-bottom:1.25rem}
|
390
388
|
.sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em}
|
391
|
-
.exampleblock>.content{background:#fffef7;border-color:#e0e0dc
|
389
|
+
.exampleblock>.content{background:#fffef7;border-color:#e0e0dc;box-shadow:0 1px 4px #e0e0dc}
|
392
390
|
.print-only{display:none!important}
|
393
391
|
@page{margin:1.25cm .75cm}
|
394
|
-
@media print{*{
|
392
|
+
@media print{*{box-shadow:none!important;text-shadow:none!important}
|
395
393
|
html{font-size:80%}
|
396
394
|
a{color:inherit!important;text-decoration:underline!important}
|
397
395
|
a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important}
|
398
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}
|
399
398
|
abbr[title]::after{content:" (" attr(title) ")"}
|
400
399
|
pre,blockquote,tr,img,object,svg{page-break-inside:avoid}
|
401
400
|
thead{display:table-header-group}
|
402
401
|
svg{max-width:100%}
|
403
402
|
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
|
404
403
|
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
|
404
|
+
#header,#content,#footnotes,#footer{max-width:none}
|
405
405
|
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
|
406
406
|
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
|
407
407
|
body.book #header{text-align:center}
|
@@ -418,7 +418,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
|
|
418
418
|
.print-only{display:block!important}
|
419
419
|
.hide-for-print{display:none!important}
|
420
420
|
.show-for-print{display:inherit!important}}
|
421
|
-
@media
|
421
|
+
@media amzn-kf8,print{#header>h1:first-child{margin-top:1.25rem}
|
422
422
|
.sect1{padding:0!important}
|
423
423
|
.sect1+.sect1{border:0}
|
424
424
|
#footer{background:none}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
|
1
|
+
/*! Stylesheet for CodeRay to loosely match GitHub themes | MIT License */
|
2
2
|
pre.CodeRay{background:#f7f7f8}
|
3
|
-
.CodeRay .line-numbers{border-right:1px solid
|
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
4
|
.CodeRay span.line-numbers{display:inline-block;margin-right:.75em}
|
5
5
|
.CodeRay .line-numbers strong{color:#000}
|
6
6
|
table.CodeRay{border-collapse:separate;border:0;margin-bottom:0;background:none}
|
7
7
|
table.CodeRay td{vertical-align:top;line-height:inherit}
|
8
8
|
table.CodeRay td.line-numbers{text-align:right}
|
9
9
|
table.CodeRay td.code{padding:0 0 0 .75em}
|
10
|
-
.CodeRay .debug{color:#fff
|
10
|
+
.CodeRay .debug{color:#fff!important;background:navy!important}
|
11
11
|
.CodeRay .annotation{color:#007}
|
12
|
-
.CodeRay .attribute-name{color
|
12
|
+
.CodeRay .attribute-name{color:navy}
|
13
13
|
.CodeRay .attribute-value{color:#700}
|
14
14
|
.CodeRay .binary{color:#509}
|
15
15
|
.CodeRay .comment{color:#998;font-style:italic}
|
@@ -18,7 +18,7 @@ table.CodeRay td.code{padding:0 0 0 .75em}
|
|
18
18
|
.CodeRay .char .delimiter{color:#039}
|
19
19
|
.CodeRay .class{color:#458;font-weight:bold}
|
20
20
|
.CodeRay .complex{color:#a08}
|
21
|
-
.CodeRay .constant,.CodeRay .predefined-constant{color
|
21
|
+
.CodeRay .constant,.CodeRay .predefined-constant{color:teal}
|
22
22
|
.CodeRay .color{color:#099}
|
23
23
|
.CodeRay .class-variable{color:#369}
|
24
24
|
.CodeRay .decorator{color:#b0b}
|
@@ -33,7 +33,7 @@ table.CodeRay td.code{padding:0 0 0 .75em}
|
|
33
33
|
.CodeRay .exception{color:inherit}
|
34
34
|
.CodeRay .filename{color:#099}
|
35
35
|
.CodeRay .function{color:#900;font-weight:bold}
|
36
|
-
.CodeRay .global-variable{color
|
36
|
+
.CodeRay .global-variable{color:teal}
|
37
37
|
.CodeRay .hex{color:#058}
|
38
38
|
.CodeRay .integer,.CodeRay .float{color:#099}
|
39
39
|
.CodeRay .include{color:#555}
|
@@ -44,7 +44,7 @@ table.CodeRay td.code{padding:0 0 0 .75em}
|
|
44
44
|
.CodeRay .inline-delimiter{color:#d14}
|
45
45
|
.CodeRay .important{color:#555;font-weight:bold}
|
46
46
|
.CodeRay .interpreted{color:#b2b}
|
47
|
-
.CodeRay .instance-variable{color
|
47
|
+
.CodeRay .instance-variable{color:teal}
|
48
48
|
.CodeRay .label{color:#970}
|
49
49
|
.CodeRay .local-variable{color:#963}
|
50
50
|
.CodeRay .octal{color:#40e}
|
@@ -54,7 +54,7 @@ table.CodeRay td.code{padding:0 0 0 .75em}
|
|
54
54
|
.CodeRay .directive{font-weight:bold}
|
55
55
|
.CodeRay .type{font-weight:bold}
|
56
56
|
.CodeRay .predefined-type{color:inherit}
|
57
|
-
.CodeRay .reserved,.CodeRay .keyword
|
57
|
+
.CodeRay .reserved,.CodeRay .keyword{color:#000;font-weight:bold}
|
58
58
|
.CodeRay .key{color:#808}
|
59
59
|
.CodeRay .key .delimiter{color:#606}
|
60
60
|
.CodeRay .key .char{color:#80f}
|
@@ -74,7 +74,7 @@ table.CodeRay td.code{padding:0 0 0 .75em}
|
|
74
74
|
.CodeRay .symbol{color:#990073}
|
75
75
|
.CodeRay .symbol .content{color:#a60}
|
76
76
|
.CodeRay .symbol .delimiter{color:#630}
|
77
|
-
.CodeRay .tag{color
|
77
|
+
.CodeRay .tag{color:teal}
|
78
78
|
.CodeRay .tag-special{color:#d70}
|
79
79
|
.CodeRay .variable{color:#036}
|
80
80
|
.CodeRay .insert{background:#afa}
|