diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2014-08-07 04:25:33 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2014-08-07 04:25:33 -0600 |
| commit | 4b0db5313cbb10cca35c6f2c682edcab1afa195d (patch) | |
| tree | 3bb64fbdcc21cf98af965824ea737a4be91dc54b | |
| parent | e46179cbdf2c459c3d675d8f9fed497e6907e2f8 (diff) | |
tweak header spacing, reduce font size of inline code
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index 9c1756b4..30d548a1 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -107,7 +107,7 @@ table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f9f9f9} 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} .clearfix:before,.clearfix:after,.float-group:before,.float-group:after{content:" ";display:table} .clearfix:after,.float-group:after{clear:both} -*:not(pre)>code{font-size:inherit;padding:.15em .3em;word-spacing:-.15em;white-space:nowrap;background-color:#f9f9fa;-webkit-border-radius:4px;border-radius:4px;text-shadow:none;line-height:1.45;text-rendering:optimizeSpeed} +*:not(pre)>code{font-size:.95em;padding:.15em .5ex;word-spacing:-.15em;white-space:nowrap;background-color:#f9f9fa;-webkit-border-radius:4px;border-radius:4px;text-shadow:none;line-height:1.45;text-rendering:optimizeSpeed} pre,pre>code{line-height:1.45;color:rgba(0,0,0,.9);font-family:'Droid Sans Mono','DejaVu Sans Mono',monospace;font-weight:400;text-rendering:optimizeSpeed} .keyseq{color:rgba(51,51,51,.8)} kbd{display:inline-block;color:rgba(0,0,0,.8);font-size:.75em;line-height:1.4;background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em white inset;box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em #fff inset;margin:-.15em .15em 0 .15em;padding:.2em .6em .2em .5em;vertical-align:middle;white-space:nowrap} @@ -124,9 +124,9 @@ p a>code:hover{color:rgba(0,0,0,.9)} #content:before{content:none} #header{margin-bottom:1.875em} #header>h1:first-child{color:rgba(0,0,0,.85);font-weight:300;margin-bottom:0} -#header>h1:first-child+#toc{margin-top:10px;border-top:1px solid #d8d8d8} -#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #d8d8d8;padding-bottom:10px} -#header .details{border-bottom:1px solid #d8d8d8;line-height:1.45;padding-top:.3em;padding-bottom:.3em;padding-left:.5em;color:rgba(0,0,0,.5);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap} +#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #d8d8d8} +#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #d8d8d8;padding-bottom:8px} +#header .details{border-bottom:1px solid #d8d8d8;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.5em;color:rgba(0,0,0,.5);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap} #header .details span:first-child{margin-left:-.5em} #header .details span.email a{color:rgba(0,0,0,.65)} #header .details br{display:none} |
