diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2018-04-29 17:00:36 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-29 17:00:36 -0600 |
| commit | a07dc76db853aa268d0b78b460febfde4a097c23 (patch) | |
| tree | 583448b6526782e62eab1aff1e923071a0082aa9 /data | |
| parent | 9936010d1f5f03e01b2a14c6093ef1415b5eb8b0 (diff) | |
fix the styling of the abstract (PR #2732)
- remove negative margin from title
- center title
- reduce line height
- indent block by 1em
- simplify selectors
Diffstat (limited to 'data')
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index 3425f3ff..55aa6c06 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -240,9 +240,10 @@ table.pyhltable .linenodiv{background:none!important;padding-right:0!important} .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:-.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} +.quoteblock.abstract{margin:0 1em 1.25em;display:block} +.quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center} +.quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{word-spacing:0;line-height:1.6} +.quoteblock.abstract blockquote::before,.quoteblock.abstract p::before{display:none} table.tableblock{max-width:100%;border-collapse:separate} p.tableblock:last-child{margin-bottom:0} td.tableblock>.content{margin-bottom:-1.25em} |
