summaryrefslogtreecommitdiffstats
path: root/theme/templates
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2015-10-03 20:24:56 +0200
committerSamy Pessé <samypesse@gmail.com>2015-10-06 09:47:04 +0200
commit33593c13ae4e7b4db62a56d76ffee48a2e5f5d5e (patch)
tree30d6a0feaac4cd93751c86f6b9fb87bb305b1d83 /theme/templates
parenteef82c18c2959a09ea65a5440e007a82d1414ee3 (diff)
downloadgitbook-33593c13ae4e7b4db62a56d76ffee48a2e5f5d5e.zip
gitbook-33593c13ae4e7b4db62a56d76ffee48a2e5f5d5e.tar.gz
gitbook-33593c13ae4e7b4db62a56d76ffee48a2e5f5d5e.tar.bz2
Inline css for footer/header templates
Diffstat (limited to 'theme/templates')
-rw-r--r--theme/templates/ebook/footer.html12
-rw-r--r--theme/templates/ebook/header.html10
2 files changed, 15 insertions, 7 deletions
diff --git a/theme/templates/ebook/footer.html b/theme/templates/ebook/footer.html
index 7ddf091..8592213 100644
--- a/theme/templates/ebook/footer.html
+++ b/theme/templates/ebook/footer.html
@@ -1,4 +1,8 @@
-<div style="font-family: sans-serif;margin-top: 20px;padding-top: 10px;border-top: 1px solid #eee;color:#aaa;">
- <span>_SECTION_</span>
- <span style="float:right;">_PAGENUM_</span>
-</div> \ No newline at end of file
+<html>
+ <body>
+ <div class="pdf-footer">
+ <span>_SECTION_</span>
+ <span class="footer-pages-count">_PAGENUM_</span>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/theme/templates/ebook/header.html b/theme/templates/ebook/header.html
index f6eda79..6b5d295 100644
--- a/theme/templates/ebook/header.html
+++ b/theme/templates/ebook/header.html
@@ -1,3 +1,7 @@
-<div style="font-family: sans-serif;margin-top: 20px;padding-bottom: 10px;border-bottom: 1px solid #eee;color: #aaa;">
- <span>_TITLE_</span>
-</div> \ No newline at end of file
+<html>
+ <body>
+ <div class="pdf-header">
+ <span>_TITLE_</span>
+ </div>
+ </body>
+</html> \ No newline at end of file