##// END OF EJS Templates
Just fixing a css property....
Damián Avila -
Show More
@@ -1,171 +1,171
1 1 {%- extends 'slides.tpl' -%}
2 2
3 3
4 4 {% block header %}
5 5 <!DOCTYPE html>
6 6 <html>
7 7 <head>
8 8
9 9 <meta charset="utf-8" />
10 10 <meta http-equiv="X-UA-Compatible" content="chrome=1">
11 11
12 12 <meta name="apple-mobile-web-app-capable" content="yes" />
13 13 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
14 14
15 15 <link rel="stylesheet" href="reveal.js/css/reveal.css">
16 16 <link rel="stylesheet" href="reveal.js/css/theme/simple.css" id="theme">
17 17
18 18 <!-- For syntax highlighting -->
19 19 <link rel="stylesheet" href="reveal.js/lib/css/zenburn.css">
20 20
21 21 <!-- If the query includes 'print-pdf', use the PDF print sheet -->
22 22 <script>
23 23 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">' );
24 24 </script>
25 25
26 26 <!--[if lt IE 9]>
27 27 <script src="reveal.js/lib/js/html5shiv.js"></script>
28 28 <![endif]-->
29 29
30 30 {% for css in resources.inlining.css -%}
31 31 <style type="text/css">
32 32 {{css}}
33 33 </style>
34 34 {% endfor %}
35 35
36 36 <style type="text/css">
37 37 /* Overrides of notebook CSS for static HTML export */
38 38 .reveal {
39 39 font-size: 20px;
40 40 overflow-y: auto;
41 41 overflow-x: hidden;
42 42 }
43 43 .reveal pre {
44 width: 98%;
44 width: 95%;
45 45 padding: 0.4em;
46 46 margin: 0px;
47 47 font-family: monospace, sans-serif;
48 48 font-size: 80%;
49 49 box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
50 50 }
51 51 .reveal section img {
52 52 border: 0px solid black;
53 53 box-shadow: 0 0 10px rgba(0, 0, 0, 0);
54 54 }
55 55 .reveal .slides {
56 56 text-align: left;
57 57 }
58 58 div.input_area {
59 59 padding: 0.06em;
60 60 }
61 61 div.code_cell {
62 62 background-color: transparent;
63 63 }
64 64 div.prompt {
65 65 width: 11ex;
66 66 padding: 0.4em;
67 67 margin: 0px;
68 68 font-family: monospace, sans-serif;
69 69 font-size: 80%;
70 70 text-align: right;
71 71 }
72 72 div.output_area pre {
73 73 font-family: monospace, sans-serif;
74 74 font-size: 80%;
75 75 }
76 76 div.output_prompt {
77 77 /* 5px right shift to account for margin in parent container */
78 78 margin: 5px 5px 0 -5px;
79 79 }
80 80 </style>
81 81 </head>
82 82 {% endblock header%}
83 83
84 84
85 85 {% block body %}
86 86 <body>
87 87 <div class="reveal"><div class="slides">
88 88
89 89 {{ super() }}
90 90
91 91 </div></div>
92 92
93 93 <!-- Social buttons
94 94 <div class="addthis_toolbox addthis_floating_style addthis_32x32_style" style="left:20px;top:20px;">
95 95 <a class="addthis_button_twitter"></a>
96 96 <a class="addthis_button_google_plusone_share"></a>
97 97 <a class="addthis_button_linkedin"></a>
98 98 <a class="addthis_button_facebook"></a>
99 99 <a class="addthis_button_more"></a>
100 100 </div>
101 101 End of social buttons -->
102 102
103 103 <script src="reveal.js/lib/js/head.min.js"></script>
104 104
105 105 <script src="reveal.js/js/reveal.min.js"></script>
106 106
107 107 <script>
108 108
109 109 // Full list of configuration options available here: https://github.com/hakimel/reveal.js#configuration
110 110 Reveal.initialize({
111 111 controls: true,
112 112 progress: true,
113 113 history: true,
114 114
115 115 theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
116 116 transition: Reveal.getQueryHash().transition || 'linear', // default/cube/page/concave/zoom/linear/none
117 117
118 118 // Optional libraries used to extend on reveal.js
119 119 dependencies: [
120 120 { src: 'reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
121 121 { src: 'reveal.js/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
122 122 { src: 'reveal.js/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
123 123 { src: 'reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
124 124 // { src: 'http://s7.addthis.com/js/300/addthis_widget.js', async: true},
125 125 // { src: 'js/mathjax-onload.js', async: true}
126 126 ]
127 127 });
128 128 </script>
129 129
130 130 <!-- MathJax configuration -->
131 131 <script type="text/x-mathjax-config">
132 132 MathJax.Hub.Config({
133 133 tex2jax: {
134 134 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
135 135 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
136 136 },
137 137 displayAlign: 'left', // Change this to 'center' to center equations.
138 138 "HTML-CSS": {
139 139 styles: {'.MathJax_Display': {"margin": 0}}
140 140 }
141 141 });
142 142 </script>
143 143 <!-- End of mathjax configuration -->
144 144
145 145 <script>
146 146 // We wait for the onload function to load MathJax after the page is completely loaded.
147 147 // MathJax is loaded 1 unit of time after the page is ready.
148 148 // This hack prevent problems when you load multiple js files (i.e. social button from addthis).
149 149 //
150 150 window.onload = function () {
151 151 setTimeout(function () {
152 152 var script = document.createElement("script");
153 153 script.type = "text/javascript";
154 154 script.src = "https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML";
155 155 document.getElementsByTagName("head")[0].appendChild(script);
156 156 },1)
157 157 }
158 158 </script>
159 159
160 160 <script>
161 161 Reveal.addEventListener( 'slidechanged', function( event ) {
162 162 MathJax.Hub.Rerender(event.currentSlide);
163 163 });
164 164 </script>
165 165
166 166 </body>
167 167 {% endblock body %}
168 168
169 169 {% block footer %}
170 170 </html>
171 171 {% endblock footer %}
General Comments 0
You need to be logged in to leave comments. Login now