Skip to content

Commit

Permalink
Update IPython Notebook template
Browse files Browse the repository at this point in the history
- Improve to handle err class
- Improve pandoc support
  • Loading branch information
Raniere Silva committed Jun 28, 2014
1 parent c30aecb commit 7a498a2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions lesson.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7a498a2

Please sign in to comment.