diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2017-10-11 23:48:45 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2017-10-11 23:48:45 -0600 |
| commit | 2c3a9858fefcf6956261033ce85b3e3a30f71914 (patch) | |
| tree | 4bbccc54f69d6ee238e1eee4ac442ba9c9c0bb5e /data | |
| parent | 675b316d9043e89eedcf0c64a3c224721b9a4135 (diff) | |
apply same bottom margin regardless of whether document has sections
Diffstat (limited to 'data')
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index 2252984c..c8246447 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -176,8 +176,11 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}} #content #toc>:last-child{margin-bottom:0} #footer{max-width:100%;background-color:rgba(0,0,0,.8);padding:1.25em} #footer-text{color:rgba(255,255,255,.8);line-height:1.44} +#content{margin-bottom:.625em} .sect1{padding-bottom:.625em} -@media only screen and (min-width:768px){.sect1{padding-bottom:1.25em}} +@media only screen and (min-width:768px){#content{margin-bottom:1.25em} +.sect1{padding-bottom:1.25em}} +.sect1:last-child{padding-bottom:0} .sect1+.sect1{border-top:1px solid #efefed} #content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400} #content h1>a.anchor:before,h2>a.anchor:before,h3>a.anchor:before,#toctitle>a.anchor:before,.sidebarblock>.content>.title>a.anchor:before,h4>a.anchor:before,h5>a.anchor:before,h6>a.anchor:before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em} |
