summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/print.less
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-05 18:42:21 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-05 18:42:21 -0700
commitf38d68c3555abddd30481018230c2c3c915d4517 (patch)
treea03e392387a3bc9a7816e91500f13cff509274dc /theme/stylesheets/print.less
parent865bf40e1a761f09383294b1f3d5d70b24bc4a4b (diff)
downloadgitbook-f38d68c3555abddd30481018230c2c3c915d4517.zip
gitbook-f38d68c3555abddd30481018230c2c3c915d4517.tar.gz
gitbook-f38d68c3555abddd30481018230c2c3c915d4517.tar.bz2
Improve style of exercises in pdf format
Diffstat (limited to 'theme/stylesheets/print.less')
-rw-r--r--theme/stylesheets/print.less11
1 files changed, 10 insertions, 1 deletions
diff --git a/theme/stylesheets/print.less b/theme/stylesheets/print.less
index 1c59ce6..33fe3d8 100644
--- a/theme/stylesheets/print.less
+++ b/theme/stylesheets/print.less
@@ -65,8 +65,17 @@ section {
}
.exercise {
+ margin: 1cm 0cm;
+ padding: 0.4cm;
+ page-break-inside: avoid;
+
border: 3px solid #ddd;
-
+
+ .exercise-header {
+ margin-bottom: 0.4cm;
+ padding-bottom: 0.2cm;
+ border-bottom: 1px solid #ddd;
+ }
}
}
} \ No newline at end of file