diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-17 11:27:21 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-17 11:27:21 +0200 |
commit | 457a83282fb8cfbcbc70f1ec8cef5879890cff4c (patch) | |
tree | edf44f1462bfe76c973c35b64c2a581de71d1e64 /theme/stylesheets/print.less | |
parent | 48e94c937df48a9ac6e30759a9c2962221b7c096 (diff) | |
download | gitbook-457a83282fb8cfbcbc70f1ec8cef5879890cff4c.zip gitbook-457a83282fb8cfbcbc70f1ec8cef5879890cff4c.tar.gz gitbook-457a83282fb8cfbcbc70f1ec8cef5879890cff4c.tar.bz2 |
Improve style for pdf and ebook
Diffstat (limited to 'theme/stylesheets/print.less')
-rwxr-xr-x | theme/stylesheets/print.less | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/theme/stylesheets/print.less b/theme/stylesheets/print.less index 33fe3d8..0cc9b2a 100755 --- a/theme/stylesheets/print.less +++ b/theme/stylesheets/print.less @@ -1,3 +1,31 @@ +@import "vendors/bootstrap/bootstrap.less"; +@import "vendors/fontawesome/font-awesome.less"; + +@import "mixins.less"; +@import "variables.less"; +@import "fonts.less"; + +@import "page/highlight.less"; + +* { + -webkit-overflow-scrolling: touch; + -webkit-tap-highlight-color: transparent; + -webkit-text-size-adjust: none; + -webkit-touch-callout: none; + -webkit-font-smoothing: antialiased; +} + +html, body { + height: 100%; +} + +body { + text-rendering: optimizeLegibility; + font-smoothing: antialiased; + font-family: @font-family-base; +} + + h1, h2 { page-break-after: avoid; page-break-before: auto; @@ -57,8 +85,6 @@ section { text-align: center; padding: 3cm 0cm; - border-top: 1px solid #ccc; - @media print { border: none; } |