summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/ebook.less
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-06-06 21:47:59 +0200
committerSamy Pessé <samypesse@gmail.com>2014-06-06 21:47:59 +0200
commit2c5ddbcd8fb80190ba98b7444e15b2915016fa4d (patch)
treeaefbe7c7e8b186c662db0ce6a97d268b3ec668e6 /theme/stylesheets/ebook.less
parentbe4fd74f901d605f899cc125dda5188e141c220e (diff)
downloadgitbook-2c5ddbcd8fb80190ba98b7444e15b2915016fa4d.zip
gitbook-2c5ddbcd8fb80190ba98b7444e15b2915016fa4d.tar.gz
gitbook-2c5ddbcd8fb80190ba98b7444e15b2915016fa4d.tar.bz2
Use base style for ebook instead of bootstrap
Diffstat (limited to 'theme/stylesheets/ebook.less')
-rwxr-xr-xtheme/stylesheets/ebook.less10
1 files changed, 2 insertions, 8 deletions
diff --git a/theme/stylesheets/ebook.less b/theme/stylesheets/ebook.less
index 39e903c..520461c 100755
--- a/theme/stylesheets/ebook.less
+++ b/theme/stylesheets/ebook.less
@@ -1,4 +1,3 @@
-@import "vendors/bootstrap/bootstrap.less";
@import "mixins.less";
@import "ebook/variables.less";
@@ -12,16 +11,11 @@ article {
page-break-after: always;
}
-h1 { font-size: floor(@font-size-base * 2.15); }
-h2 { font-size: floor(@font-size-base * 1.70); }
-h3 { font-size: ceil(@font-size-base * 1.25); }
-h4 { font-size: ceil(@font-size-base * 1); }
-h5 { font-size: ceil(@font-size-base * 0.85); }
-h6 { font-size: ceil(@font-size-base * 0.65); }
-
pre, blockquote {
border: 1px solid #999;
page-break-inside: avoid;
+ background: #f1f1f1;
+ padding: 8px;
}
img {