diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2015-07-04 19:25:24 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2015-07-05 16:57:13 -0600 |
| commit | 2893d1666060fbb360e717fd503e06f8cc0f6f32 (patch) | |
| tree | 4d13534b1cc76f03422a2614b6f6965c5be410fe /data | |
| parent | 48cd2e921876f70399668b91ce2ff1b6c067aa66 (diff) | |
resolves #1170 and #841 expand tabs properly
- introduce tabsize attribute to control size of tab character
- expand tabs in verbatim blocks if tab present and value of tabsize attribute is positive
- rename reset_block_indent! to adjust_indentation!
- only use adjust_indentation! on include if indent is specified
- only expand tabs in included content if indent attribute is set
- use adjust_indentation! to remove left margin in paragraphs marked normal
- don't add indentation to empty lines
- set tab-size property to 4 in default stylesheet
- increase letter spacing in blockquote cite in default stylesheet
- add and fix tests
Diffstat (limited to 'data')
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index b9675787..f49e7b03 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -107,6 +107,7 @@ table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding: table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)} table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f8f8f7} 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} +body{tab-size:4} h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em} h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400} .clearfix:before,.clearfix:after,.float-group:before,.float-group:after{content:" ";display:table} @@ -227,7 +228,7 @@ table.pyhltable .linenodiv{background:none!important;padding-right:0!important} .verseblock .attribution{margin-top:1.25rem;margin-left:.5ex} .quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic} .quoteblock .attribution br,.verseblock .attribution br{display:none} -.quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.05em;color:rgba(0,0,0,.6)} +.quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.025em;color:rgba(0,0,0,.6)} .quoteblock.abstract{margin:0 0 1.25em 0;display:block} .quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{text-align:left;word-spacing:0} .quoteblock.abstract blockquote:before,.quoteblock.abstract blockquote p:first-of-type:before{display:none} |
