##// END OF EJS Templates
Remove unused imports in IPython.kernel
Remove unused imports in IPython.kernel

File last commit:

r11086:c137395d
r11130:de5468b5
Show More
reveal.tpl
180 lines | 4.5 KiB | application/vnd.groove-tool-template | SmartyLexer
damianavila
A new implementation of reveal converter with jinja templates.
r9662 {%- extends 'slides.tpl' -%}
Matthias BUSSONNIER
reveal converter
r9644
damianavila
A new implementation of reveal converter with jinja templates.
r9662 {% block header %}
<!DOCTYPE html>
Matthias BUSSONNIER
reveal converter
r9644 <html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
damianavila
Fixed reveal in the new nbconvert to make it work.
r10823 <link rel="stylesheet" href="reveal.js/css/reveal.css">
<link rel="stylesheet" href="reveal.js/css/theme/simple.css" id="theme">
Matthias BUSSONNIER
reveal converter
r9644
<!-- For syntax highlighting -->
damianavila
Fixed reveal in the new nbconvert to make it work.
r10823 <link rel="stylesheet" href="reveal.js/lib/css/zenburn.css">
Matthias BUSSONNIER
reveal converter
r9644
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
damianavila
Fixed reveal in the new nbconvert to make it work.
r10823 document.write( '<link rel="stylesheet" href="reveal.js/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
Matthias BUSSONNIER
reveal converter
r9644 </script>
<!--[if lt IE 9]>
damianavila
Fixed reveal in the new nbconvert to make it work.
r10823 <script src="reveal.js/lib/js/html5shiv.js"></script>
Matthias BUSSONNIER
reveal converter
r9644 <![endif]-->
Matthias BUSSONNIER
move html header out
r9654 {% for css in resources.inlining.css -%}
Matthias BUSSONNIER
reveal converter
r9644 <style type="text/css">
Matthias BUSSONNIER
extract css from ipython dir
r9645 {{css}}
Matthias BUSSONNIER
reveal converter
r9644 </style>
Matthias BUSSONNIER
extract css from ipython dir
r9645 {% endfor %}
Matthias BUSSONNIER
reveal converter
r9644
<style type="text/css">
Matthias BUSSONNIER
extract css from ipython dir
r9645 /* Overrides of notebook CSS for static HTML export */
Matthias BUSSONNIER
reveal converter
r9644 .reveal {
damianavila
Added overflow-y to the slides.
r10949 font-size: 20px;
overflow-y: auto;
overflow-x: hidden;
Matthias BUSSONNIER
reveal converter
r9644 }
.reveal pre {
Damián Avila
Just fixing a css property....
r10976 width: 95%;
damianavila
Fixed css in template and call() in reveal help.
r10851 padding: 0.4em;
margin: 0px;
damianavila
Fixed css in reveal template and move static_html css to full_html template.
r9563 font-family: monospace, sans-serif;
font-size: 80%;
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
Matthias BUSSONNIER
reveal converter
r9644 }
.reveal section img {
damianavila
Fixed css in reveal template and move static_html css to full_html template.
r9563 border: 0px solid black;
box-shadow: 0 0 10px rgba(0, 0, 0, 0);
}
.reveal .slides {
text-align: left;
Matthias BUSSONNIER
reveal converter
r9644 }
Jessica B. Hamrick
Override ipython css for .fade...
r11053 .reveal.fade {
opacity: 1;
}
Matthias BUSSONNIER
reveal converter
r9644 div.input_area {
damianavila
Fixed css in reveal template and move static_html css to full_html template.
r9563 padding: 0.06em;
Matthias BUSSONNIER
reveal converter
r9644 }
div.code_cell {
damianavila
Fixed css in reveal template and move static_html css to full_html template.
r9563 background-color: transparent;
Matthias BUSSONNIER
reveal converter
r9644 }
div.prompt {
damianavila
Fixed css in reveal template and move static_html css to full_html template.
r9563 width: 11ex;
padding: 0.4em;
margin: 0px;
font-family: monospace, sans-serif;
font-size: 80%;
text-align: right;
}
div.output_area pre {
font-family: monospace, sans-serif;
font-size: 80%;
Matthias BUSSONNIER
reveal converter
r9644 }
div.output_prompt {
/* 5px right shift to account for margin in parent container */
margin: 5px 5px 0 -5px;
}
damianavila
Added some css changes to make it work.
r10950 .rendered_html p {
text-align: inherit;
}
Matthias BUSSONNIER
reveal converter
r9644 </style>
damianavila
A new implementation of reveal converter with jinja templates.
r9662 </head>
{% endblock header%}
{% block body %}
<body>
<div class="reveal"><div class="slides">
{{ super() }}
</div></div>
damianavila
Fix comment.
r10977 <!--
Uncomment the following block and the addthis_widget.js (see below inside dependencies)
to get enable social buttons.
-->
damianavila
Erase zoom.js because is unstable.
r10975 <!--
damianavila
A new implementation of reveal converter with jinja templates.
r9662 <div class="addthis_toolbox addthis_floating_style addthis_32x32_style" style="left:20px;top:20px;">
<a class="addthis_button_twitter"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_linkedin"></a>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_more"></a>
</div>
damianavila
Erase zoom.js because is unstable.
r10975 -->
damianavila
A new implementation of reveal converter with jinja templates.
r9662
damianavila
Fixed reveal in the new nbconvert to make it work.
r10823 <script src="reveal.js/lib/js/head.min.js"></script>
damianavila
A new implementation of reveal converter with jinja templates.
r9662
damianavila
Fixed reveal in the new nbconvert to make it work.
r10823 <script src="reveal.js/js/reveal.min.js"></script>
damianavila
A new implementation of reveal converter with jinja templates.
r9662
<script>
// Full list of configuration options available here: https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'linear', // default/cube/page/concave/zoom/linear/none
// Optional libraries used to extend on reveal.js
dependencies: [
damianavila
Fixed reveal in the new nbconvert to make it work.
r10823 { src: 'reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'reveal.js/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
// { src: 'http://s7.addthis.com/js/300/addthis_widget.js', async: true},
damianavila
A new implementation of reveal converter with jinja templates.
r9662 ]
});
</script>
damianavila
Fixed reveal in the new nbconvert to make it work.
r10823 <!-- MathJax configuration -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
},
displayAlign: 'left', // Change this to 'center' to center equations.
"HTML-CSS": {
styles: {'.MathJax_Display': {"margin": 0}}
}
});
</script>
<!-- End of mathjax configuration -->
<script>
// We wait for the onload function to load MathJax after the page is completely loaded.
// MathJax is loaded 1 unit of time after the page is ready.
// This hack prevent problems when you load multiple js files (i.e. social button from addthis).
//
window.onload = function () {
setTimeout(function () {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML";
document.getElementsByTagName("head")[0].appendChild(script);
},1)
}
</script>
damianavila
A new implementation of reveal converter with jinja templates.
r9662 <script>
Reveal.addEventListener( 'slidechanged', function( event ) {
MathJax.Hub.Rerender(event.currentSlide);
});
</script>
</body>
{% endblock body %}
{% block footer %}
</html>
Matthias BUSSONNIER
Merge 'damianavila/reveal_css_fix' into templates...
r9691 {% endblock footer %}