summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-10-06 10:00:49 +0200
committerSamy Pessé <samypesse@gmail.com>2015-10-06 10:00:49 +0200
commita1c03c18a52b68ea466cd8d25086f27421923e7a (patch)
treecf06c47b889b1b236480b182090eee8ed723fd9a /theme/stylesheets
parent5d376b054f01884eeadb71e3c107c53f592d8698 (diff)
downloadgitbook-a1c03c18a52b68ea466cd8d25086f27421923e7a.zip
gitbook-a1c03c18a52b68ea466cd8d25086f27421923e7a.tar.gz
gitbook-a1c03c18a52b68ea466cd8d25086f27421923e7a.tar.bz2
Improve support of glossary page in pdf
Diffstat (limited to 'theme/stylesheets')
-rwxr-xr-xtheme/stylesheets/ebook.less6
1 files changed, 5 insertions, 1 deletions
diff --git a/theme/stylesheets/ebook.less b/theme/stylesheets/ebook.less
index cfbbfe5..b7d6a60 100755
--- a/theme/stylesheets/ebook.less
+++ b/theme/stylesheets/ebook.less
@@ -57,7 +57,7 @@ body {
// First page: table of contents
&.page-toc {
- h1 {
+ > h1 {
text-align: center;
}
@@ -97,6 +97,10 @@ body {
// Glossary page
&.page-glossary {
+ > h1 {
+ text-align: center;
+ }
+
.glossary {
margin-bottom: 40px;