From 9d59d16defe1a1b497144b1f615ecdda949ccd9d 2013-02-13 04:26:13 From: damianavila Date: 2013-02-13 04:26:13 Subject: [PATCH] Fixed to work with new ipython css. --- diff --git a/converters/reveal.py b/converters/reveal.py index 618a455..2a13fac 100644 --- a/converters/reveal.py +++ b/converters/reveal.py @@ -208,9 +208,7 @@ class ConverterReveal(ConverterHTML): # 'jquery-ui.min.css'), # os.path.join(static, 'prettify', 'prettify.css'), os.path.join(css, 'boilerplate.css'), - os.path.join(css, 'fbm.css'), - os.path.join(css, 'notebook.css'), - os.path.join(css, 'renderedhtml.css'), + os.path.join(css, 'style.min.css'), # our overrides: os.path.join(here, '..', 'css', 'reveal_html.css'), ]: diff --git a/css/reveal_html.css b/css/reveal_html.css index 7cd9e5c..f94428d 100644 --- a/css/reveal_html.css +++ b/css/reveal_html.css @@ -7,10 +7,10 @@ } .reveal pre { width: 100%; -padding: 0.2em; +padding: 0.3em; margin: 0px auto; font-family: monospace, sans-serif; -font-size: 60%; +font-size: 80%; box-shadow: 0px 0px 0px rgba(0, 0, 0, 0); } .reveal section img { @@ -18,20 +18,24 @@ border: 0px solid black; box-shadow: 0 0 10px rgba(0, 0, 0, 0); } div.input_area { -padding: 0.2em; +padding: 0.06em; } div.code_cell { background-color: transparent; } div.prompt { width: 11ex; -padding: 0.0em; +padding: 0.4em; margin: 0px; -font-family: monospace; -font-size: 60%; -text-align: center; +font-family: monospace, sans-serif; +font-size: 80%; +text-align: right; +} +div.output_area pre { +font-family: monospace, sans-serif; +font-size: 80%; } div.output_prompt { /* 5px right shift to account for margin in parent container */ margin: 5px 5px 0 -5px; -} +} \ No newline at end of file diff --git a/tests/ipynbref/reveal.orig_slides.html b/tests/ipynbref/reveal.orig_slides.html index 8ac3dd2..9a453bf 100644 --- a/tests/ipynbref/reveal.orig_slides.html +++ b/tests/ipynbref/reveal.orig_slides.html @@ -104,562 +104,977 @@ b,strong { font-weight: bold; } - -