diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-20 11:29:26 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-20 11:29:26 +0100 |
commit | 238cd9f7f09f11ecdb1717a5d07fc33642d29043 (patch) | |
tree | 72eac94839bda4f32cb41441b2b88532eed52603 /theme/stylesheets/ebook.less | |
parent | bac25cdf297a7fa54f21977aa17d455e439cdf51 (diff) | |
download | gitbook-238cd9f7f09f11ecdb1717a5d07fc33642d29043.zip gitbook-238cd9f7f09f11ecdb1717a5d07fc33642d29043.tar.gz gitbook-238cd9f7f09f11ecdb1717a5d07fc33642d29043.tar.bz2 |
Add back theme
Diffstat (limited to 'theme/stylesheets/ebook.less')
-rwxr-xr-x | theme/stylesheets/ebook.less | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/theme/stylesheets/ebook.less b/theme/stylesheets/ebook.less new file mode 100755 index 0000000..46fe4bd --- /dev/null +++ b/theme/stylesheets/ebook.less @@ -0,0 +1,63 @@ +@import "mixins.less"; + +@import "ebook/variables.less"; +@import "ebook/highlight.less"; + +.page { + &.page-toc { + ol { + margin: 0px; + } + } + + .book-chapter { + display: none; + } + + .exercise, .quiz { + margin: 1cm 0cm; + border: 2px solid #ddd; + + .exercise-header { + padding: 0.1cm 0.3cm; + background: #f5f5f5; + border-bottom: 1px solid #ddd; + font-weight: bold; + page-break-inside: avoid; + } + + .exercise-inner { + padding: 0.15cm 0.3cm; + + p:last-child { + margin: 0px; + } + } + + hr { + height: 2px; + } + + .question { + margin-top: 0.1cm; + border-top: 1px solid #ddd; + + .question-base { + + } + + .question-solution { + + } + } + } +} + + + +body { + .page { + font-family: sans-serif; + .markdown-content(#333, 1.6); + } +} |