diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-06 13:03:52 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-06 13:03:52 +0200 |
commit | 761200529fd6239c7a04e2526dd718f12ee4f19a (patch) | |
tree | 6fe919f2dcbbcbe9504414f60ec2114ab98278a4 /theme/stylesheets/base | |
parent | 770351916e1142ab5ce3245165896d7c59b621d8 (diff) | |
download | gitbook-761200529fd6239c7a04e2526dd718f12ee4f19a.zip gitbook-761200529fd6239c7a04e2526dd718f12ee4f19a.tar.gz gitbook-761200529fd6239c7a04e2526dd718f12ee4f19a.tar.bz2 |
Adapt glossary and summary for pdf/epub to new markup style
Diffstat (limited to 'theme/stylesheets/base')
-rw-r--r-- | theme/stylesheets/base/markdown.less | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/theme/stylesheets/base/markdown.less b/theme/stylesheets/base/markdown.less index 6b3a656..8e4a2d8 100644 --- a/theme/stylesheets/base/markdown.less +++ b/theme/stylesheets/base/markdown.less @@ -4,6 +4,7 @@ // Spacing between blocks @spacing: @md-line-height * 2 * @scale * 1em; + @spacing-lg: @md-line-height * 3 * @scale * 1em; display: block; @@ -94,7 +95,7 @@ /* Headings */ h1, h2, h3, h4, h5, h6 { - margin-top: 2 * @spacing; + margin-top: @spacing-lg; margin-bottom: @spacing; font-weight: bold; } @@ -137,7 +138,7 @@ word-wrap: normal; margin: 0px; padding: 0.85em 1em; - margin-bottom: 2 * @spacing; + margin-bottom: @spacing-lg; background: @md-code-background; > code { |