diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-01-26 19:05:11 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-01-26 19:06:26 -0700 |
| commit | 6edd9e0437f3dc9a1dd4d597fd81ae70dd26f741 (patch) | |
| tree | fb76b7c3370a1aadc3e390b4dfd20bea3c63895b /data | |
| parent | 7cb74679da7634d4aa2508f4c488cffd9c835295 (diff) | |
ensure linenos class is always added to linenos column when source highlighter is pygments
Diffstat (limited to 'data')
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index dbc4e786..74b96ae1 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -226,10 +226,10 @@ pre.prettyprint li:not(:first-child) code[data-lang]::before{display:none} table.pygments-table{border-collapse:separate;border:0;margin-bottom:0;background:none} table.pygments-table td{color:inherit;vertical-align:top;padding:0;line-height:inherit;white-space:normal} table.pygments-table td.code{padding-left:.75em} -pre.pygments .lineno,table.pygments-table td:not(.code){border-right:1px solid currentColor;opacity:.35} +pre.pygments .lineno,table.pygments-table td.linenos{border-right:1px solid currentColor;opacity:.35} pre.pygments .lineno{display:inline-block;margin-right:.75em} pre.pygments .lineno::before{content:"";margin-right:-.125em} -table.pygments-table td:not(.code){padding-right:.5em} +table.pygments-table td.linenos{padding-right:.5em} .quoteblock{margin:0 1em 1.25em 1.5em;display:table} .quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em} .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} |
