@asciidoctor/core 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,7 @@ textarea{overflow:auto;vertical-align:top}
37
37
  table{border-collapse:collapse;border-spacing:0}
38
38
  *,*::before,*::after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;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;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
40
+ body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;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,10 +52,8 @@ 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;direction:ltr}
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}
@@ -95,19 +93,22 @@ h1{font-size:2.75em}
95
93
  h2{font-size:2.3125em}
96
94
  h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
97
95
  h4{font-size:1.4375em}}
98
- table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede}
96
+ table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede;word-wrap:normal}
99
97
  table thead,table tfoot{background:#f7f8f7}
100
98
  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
99
  table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
102
100
  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{display:table-cell;line-height:1.6}
101
+ table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{line-height:1.6}
104
102
  h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
105
103
  h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
104
+ .center{margin-left:auto;margin-right:auto}
105
+ .stretch{width:100%}
106
106
  .clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:" ";display:table}
107
107
  .clearfix::after,.float-group::after{clear:both}
108
- :not(pre):not([class^=L])>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed;word-wrap:break-word}
109
- :not(pre)>code.nobreak{word-wrap:normal}
110
- :not(pre)>code.nowrap{white-space:nowrap}
108
+ :not(pre).nobreak{word-wrap:normal}
109
+ :not(pre).nowrap{white-space:nowrap}
110
+ :not(pre).pre-wrap{white-space:pre-wrap}
111
+ :not(pre):not([class^=L])>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed}
111
112
  pre{color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;line-height:1.45;text-rendering:optimizeSpeed}
112
113
  pre code,pre pre{color:inherit;font-size:inherit;line-height:inherit}
113
114
  pre>code{display:block}
@@ -172,7 +173,7 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
172
173
  #content #toc{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px}
173
174
  #content #toc>:first-child{margin-top:0}
174
175
  #content #toc>:last-child{margin-bottom:0}
175
- #footer{max-width:100%;background:rgba(0,0,0,.8);padding:1.25em}
176
+ #footer{max-width:none;background:rgba(0,0,0,.8);padding:1.25em}
176
177
  #footer-text{color:rgba(255,255,255,.8);line-height:1.44}
177
178
  #content{margin-bottom:.625em}
178
179
  .sect1{padding-bottom:.625em}
@@ -195,7 +196,7 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
195
196
  .admonitionblock>table td.icon{text-align:center;width:80px}
196
197
  .admonitionblock>table td.icon img{max-width:none}
197
198
  .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)}
199
+ .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
200
  .admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
200
201
  .exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px}
201
202
  .exampleblock>.content>:first-child{margin-top:0}
@@ -205,7 +206,7 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
205
206
  .sidebarblock>:last-child{margin-bottom:0}
206
207
  .sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
207
208
  .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{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;overflow-x:auto;padding:1em;font-size:.8125em}
209
+ .literalblock pre,.listingblock>.content>pre{-webkit-border-radius:4px;border-radius:4px;overflow-x:auto;padding:1em;font-size:.8125em}
209
210
  @media screen and (min-width:768px){.literalblock pre,.listingblock>.content>pre{font-size:.90625em}}
210
211
  @media screen and (min-width:1280px){.literalblock pre,.listingblock>.content>pre{font-size:1em}}
211
212
  .literalblock pre,.listingblock>.content>pre:not(.highlight),.listingblock>.content>pre[class="highlight"],.listingblock>.content>pre[class^="highlight "]{background:#f7f7f8}
@@ -251,21 +252,20 @@ pre.pygments .lineno::before{content:"";margin-right:-.125em}
251
252
  .quoteblock.excerpt,.quoteblock .quoteblock{margin-left:0}
252
253
  .quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
253
254
  .quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
254
- table.tableblock{max-width:100%;border-collapse:separate}
255
255
  p.tableblock:last-child{margin-bottom:0}
256
+ td.tableblock>.content{margin-bottom:1.25em;word-wrap:anywhere}
256
257
  td.tableblock>.content>:last-child{margin-bottom:-1.25em}
257
- td.tableblock>.content>:last-child.sidebarblock{margin-bottom:0}
258
258
  table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
259
- table.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0}
260
- table.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0}
261
- table.grid-cols>*>tr>.tableblock{border-width:0 1px 0 0}
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}
259
+ table.grid-all>*>tr>*{border-width:1px}
260
+ table.grid-cols>*>tr>*{border-width:0 1px}
261
+ table.grid-rows>*>tr>*{border-width:1px 0}
266
262
  table.frame-all{border-width:1px}
263
+ table.frame-ends{border-width:1px 0}
267
264
  table.frame-sides{border-width:0 1px}
268
- table.frame-topbot,table.frame-ends{border-width:1px 0}
265
+ table.frame-none>colgroup+*>:first-child>*,table.frame-sides>colgroup+*>:first-child>*{border-top-width:0}
266
+ table.frame-none>:last-child>:last-child>*,table.frame-sides>:last-child>:last-child>*{border-bottom-width:0}
267
+ table.frame-none>*>tr>:first-child,table.frame-ends>*>tr>:first-child{border-left-width:0}
268
+ table.frame-none>*>tr>:last-child,table.frame-ends>*>tr>:last-child{border-right-width:0}
269
269
  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
270
  th.halign-left,td.halign-left{text-align:left}
271
271
  th.halign-right,td.halign-right{text-align:right}
@@ -274,7 +274,7 @@ th.valign-top,td.valign-top{vertical-align:top}
274
274
  th.valign-bottom,td.valign-bottom{vertical-align:bottom}
275
275
  th.valign-middle,td.valign-middle{vertical-align:middle}
276
276
  table thead th,table tfoot th{font-weight:bold}
277
- tbody tr th{display:table-cell;line-height:1.6;background:#f7f8f7}
277
+ tbody tr th{background:#f7f8f7}
278
278
  tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold}
279
279
  p.tableblock>code:only-child{background:none;padding:0}
280
280
  p.tableblock{font-size:1em}
@@ -303,6 +303,7 @@ ol.lowergreek{list-style-type:lower-greek}
303
303
  .hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none}
304
304
  td.hdlist1,td.hdlist2{vertical-align:top;padding:0 .625em}
305
305
  td.hdlist1{font-weight:bold;padding-bottom:1.25em}
306
+ td.hdlist2{word-wrap:anywhere}
306
307
  .literalblock+.colist,.listingblock+.colist{margin-top:-.5em}
307
308
  .colist td:not([class]):first-child{padding:.4em .75em 0;line-height:1;vertical-align:top}
308
309
  .colist td:not([class]):first-child img{max-width:none}
@@ -375,7 +376,7 @@ a span.icon>.fa{cursor:inherit}
375
376
  .admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900}
376
377
  .admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400}
377
378
  .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);-webkit-border-radius:100px;border-radius:100px;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
+ .conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:50%;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
380
  .conum[data-value] *{color:#fff!important}
380
381
  .conum[data-value]+b{display:none}
381
382
  .conum[data-value]::after{content:attr(data-value)}
@@ -402,6 +403,7 @@ thead{display:table-header-group}
402
403
  svg{max-width:100%}
403
404
  p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
404
405
  h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
406
+ #header,#content,#footnotes,#footer{max-width:none}
405
407
  #toc,.sidebarblock,.exampleblock>.content{background:none!important}
406
408
  #toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
407
409
  body.book #header{text-align:center}