From 7a498a2c54e0bd1b1f7cdb5ff59fb547566f44ea Mon Sep 17 00:00:00 2001 From: Raniere Silva Date: Sat, 14 Jun 2014 00:10:02 -0300 Subject: [PATCH] Update IPython Notebook template - Improve to handle err class - Improve pandoc support --- lesson.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/lesson.css b/lesson.css index 2c07db8..64ee952 100644 --- a/lesson.css +++ b/lesson.css @@ -3,6 +3,31 @@ pre { color: inherit; } +/* Work around to issue when create EPUB with pandoc for IPython Notebook + * template. + */ +div.out { + display: block; + padding: 9.5px; + margin-bottom: 10px; + font-size: 13px; + line-height: 20px; + word-break: break-all; + word-wrap: break-word; + background-color: #f5f5f5; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +div.out pre { + padding: 0px; + margin: 0px; + border: 0px; +} + /* Comments in code. */ .comment { color: purple;