summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-04 16:40:21 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-04 16:40:21 -0700
commit9fbe2408432bfeed1db330bc69372a43f0bb0506 (patch)
treeabd6902eb4b6a8bcc8c4a90e332330ace97c1c19 /theme/stylesheets
parent0c7e2b3557526bf74842096f5af0bba911380662 (diff)
downloadgitbook-9fbe2408432bfeed1db330bc69372a43f0bb0506.zip
gitbook-9fbe2408432bfeed1db330bc69372a43f0bb0506.tar.gz
gitbook-9fbe2408432bfeed1db330bc69372a43f0bb0506.tar.bz2
Add summary to page generator
Diffstat (limited to 'theme/stylesheets')
-rw-r--r--theme/stylesheets/print.less10
1 files changed, 10 insertions, 0 deletions
diff --git a/theme/stylesheets/print.less b/theme/stylesheets/print.less
index 5a4d06f..ca2dc3f 100644
--- a/theme/stylesheets/print.less
+++ b/theme/stylesheets/print.less
@@ -7,4 +7,14 @@ body {
@page {
margin: 1.5cm;
+}
+
+section {
+ page-break-after: always;
+
+ article {
+ &:after {
+ border-bottom: 1px solid #ccc;
+ }
+ }
} \ No newline at end of file