summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-10-02 11:20:32 +0200
committerSamy Pessé <samypesse@gmail.com>2015-10-06 09:44:54 +0200
commit51c79f294ca8ef9bc3205a7c81454d7a3fd2722c (patch)
treed2e22d9bfe9020e0db6d8bc2cbd20d45977ee303 /theme/stylesheets
parentce1e0e187339976fc3cae7ef70bcfdd0eaf68981 (diff)
downloadgitbook-51c79f294ca8ef9bc3205a7c81454d7a3fd2722c.zip
gitbook-51c79f294ca8ef9bc3205a7c81454d7a3fd2722c.tar.gz
gitbook-51c79f294ca8ef9bc3205a7c81454d7a3fd2722c.tar.bz2
Add css to footer/header for pdf
Diffstat (limited to 'theme/stylesheets')
-rwxr-xr-xtheme/stylesheets/ebook.less54
1 files changed, 25 insertions, 29 deletions
diff --git a/theme/stylesheets/ebook.less b/theme/stylesheets/ebook.less
index 92bc915..f167fd0 100755
--- a/theme/stylesheets/ebook.less
+++ b/theme/stylesheets/ebook.less
@@ -2,42 +2,38 @@
@import "ebook/variables.less";
-.page {
- &.page-toc {
- .glossary {
- margin-bottom: 40px;
+body {
+ .page {
+ font-family: sans-serif;
+ .markdown-content(#000, 1.6);
+
+ &.page-toc {
+ .glossary {
+ margin-bottom: 40px;
- h2 {
- a, a:hover {
- color: inherit;
- text-decoration: none;
+ h2 {
+ a, a:hover {
+ color: inherit;
+ text-decoration: none;
+ }
}
- }
- .glossary-index {
- list-style: none;
- margin: 0px;
- padding: 0px;
+ .glossary-index {
+ list-style: none;
+ margin: 0px;
+ padding: 0px;
- li {
- display: inline;
- margin: 0px 8px;
- white-space: nowrap;
+ li {
+ display: inline;
+ margin: 0px 8px;
+ white-space: nowrap;
+ }
}
}
}
- }
- .book-chapter {
- display: none;
- }
-}
-
-
-
-body {
- .page {
- font-family: sans-serif;
- .markdown-content(#000, 1.6);
+ .book-chapter {
+ display: none;
+ }
}
}