diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2014-07-15 03:01:03 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2014-07-15 03:01:03 -0600 |
| commit | 2c2c658c5ae938867b4936fea66019d8f4d22f01 (patch) | |
| tree | 4bc6c7449ff83288c66a43783d7d81a4657a3b58 /data | |
| parent | be3306ee60dd802c71b8f12e8f4d8b012584992b (diff) | |
fix padding top on toc
Diffstat (limited to 'data')
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index c1bd6e4d..914349cf 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -133,7 +133,7 @@ p a > code:hover { color: #561309; } #header br + span:before { content: "\2013 \0020"; } #header br + span.author { padding-left: 0; } #header br + span.author:before { content: ", "; } -#toc { border-bottom: 3px double #e5e5e5; padding-bottom: 1.25em; } +#toc { border-bottom: 3px double #e5e5e5; padding-top: 1em; padding-bottom: 1.25em; } #toc > ul { margin-left: 0.25em; } #toc ul.sectlevel0 > li > a { font-style: italic; } #toc ul.sectlevel0 ul.sectlevel1 { margin-left: 0; margin-top: 0.5em; margin-bottom: 0.5em; } @@ -141,7 +141,6 @@ p a > code:hover { color: #561309; } #toc a { text-decoration: none; } #toc a:active { text-decoration: underline; } #toctitle { color: #7a2518; } -#header #toc { padding-top: 1.25em; } @media only screen and (min-width: 768px) { body.toc2 { padding-left: 15em; padding-right: 0; } #toc.toc2 { background-color: #fafaf9; position: fixed; width: 15em; left: 0; top: 0; border-right: 1px solid #e5e5e5; border-bottom: 0; z-index: 1000; padding: 1.25em 1em; height: 100%; overflow: auto; } #toc.toc2 #toctitle { margin-top: 0; font-size: 1.2em; } |
