diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-03-31 12:10:26 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-03-31 12:10:26 -0700 |
commit | 19a39814752dba872a2a1ff9544e2ca34bc9a3a0 (patch) | |
tree | 91fbc72d0eee945467fdb260a13e8b5698b832cd /assets/stylesheets/book/body.less | |
parent | 1f3f06284193fa6da12629966e0438f5a1f75bf6 (diff) | |
download | gitbook-19a39814752dba872a2a1ff9544e2ca34bc9a3a0.zip gitbook-19a39814752dba872a2a1ff9544e2ca34bc9a3a0.tar.gz gitbook-19a39814752dba872a2a1ff9544e2ca34bc9a3a0.tar.bz2 |
Copy assets to build
Diffstat (limited to 'assets/stylesheets/book/body.less')
-rw-r--r-- | assets/stylesheets/book/body.less | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/assets/stylesheets/book/body.less b/assets/stylesheets/book/body.less new file mode 100644 index 0000000..731a0e3 --- /dev/null +++ b/assets/stylesheets/book/body.less @@ -0,0 +1,33 @@ +.book { + .book-body { + position: fixed; + top: 40px; + right: 0px; + left: 0px; + bottom: 0px; + overflow-y: auto; + + .transition(left 0.5s ease); + + background: #edece4; + + .page-inner { + max-width: 800px; + margin: 0px auto; + + section { + margin: 10px 0px; + padding: 5px 15px; + background: #fff; + } + } + } + + &.with-summary { + @media (min-width: 800px) { + .book-body { + left: 250px; + } + } + } +}
\ No newline at end of file |