##// END OF EJS Templates
Merge pull request #4325 from damianavila/cleaning...
Matthias Bussonnier -
r12908:f3d4ed12 merge
parent child Browse files
Show More
@@ -5,8 +5,10 b''
5 5 <!DOCTYPE html>
6 6 <html>
7 7 <head>
8 <meta charset="UTF-8">
9 <title>[{{nb.metadata.name}}]</title>
8
9 <meta charset="utf-8" />
10 <title>{{resources['metadata']['name']}}</title>
11
10 12 {% for css in resources.inlining.css -%}
11 13 <style type="text/css">
12 14 {{ css }}
@@ -24,10 +26,10 b' body {'
24 26 }
25 27
26 28 pre {
27 padding: 0.2em;
28 border: none;
29 margin: 0px;
30 font-size: 13px;
29 padding: 0.2em;
30 border: none;
31 margin: 0px;
32 font-size: 13px;
31 33 }
32 34 </style>
33 35
@@ -7,11 +7,13 b''
7 7 <head>
8 8
9 9 <meta charset="utf-8" />
10 <meta http-equiv="X-UA-Compatible" content="chrome=1">
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 <title>{{resources['metadata']['name']}} slides</title>
16
15 17 <!-- General and theme style sheets -->
16 18 <link rel="stylesheet" href="{{resources.reveal.url_prefix}}/css/reveal.css">
17 19 <link rel="stylesheet" href="{{resources.reveal.url_prefix}}/css/theme/simple.css" id="theme">
@@ -37,53 +39,53 b' document.write( \'<link rel="stylesheet" href="{{resources.reveal.url_prefix}}/cs'
37 39 <style type="text/css">
38 40 /* Overrides of notebook CSS for static HTML export */
39 41 html {
40 overflow-y: auto;
42 overflow-y: auto;
41 43 }
42 44 .reveal {
43 font-size: 20px;
45 font-size: 20px;
44 46 }
45 47 .reveal pre {
46 width: 95%;
47 padding: 0.4em;
48 margin: 0px;
49 font-family: monospace, sans-serif;
50 font-size: 80%;
51 box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
48 width: 95%;
49 padding: 0.4em;
50 margin: 0px;
51 font-family: monospace, sans-serif;
52 font-size: 80%;
53 box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
52 54 }
53 55 .reveal section img {
54 border: 0px solid black;
55 box-shadow: 0 0 10px rgba(0, 0, 0, 0);
56 border: 0px solid black;
57 box-shadow: 0 0 10px rgba(0, 0, 0, 0);
56 58 }
57 59 .reveal .slides {
58 text-align: left;
60 text-align: left;
59 61 }
60 62 .reveal.fade {
61 opacity: 1;
63 opacity: 1;
62 64 }
63 65 div.input_area {
64 padding: 0.06em;
66 padding: 0.06em;
65 67 }
66 68 div.code_cell {
67 background-color: transparent;
69 background-color: transparent;
68 70 }
69 71 div.prompt {
70 width: 11ex;
71 padding: 0.4em;
72 margin: 0px;
73 font-family: monospace, sans-serif;
74 font-size: 80%;
75 text-align: right;
72 width: 11ex;
73 padding: 0.4em;
74 margin: 0px;
75 font-family: monospace, sans-serif;
76 font-size: 80%;
77 text-align: right;
76 78 }
77 79 div.output_area pre {
78 font-family: monospace, sans-serif;
79 font-size: 80%;
80 font-family: monospace, sans-serif;
81 font-size: 80%;
80 82 }
81 83 div.output_prompt {
82 /* 5px right shift to account for margin in parent container */
83 margin: 5px 5px 0 0;
84 /* 5px right shift to account for margin in parent container */
85 margin: 5px 5px 0 0;
84 86 }
85 87 .rendered_html p {
86 text-align: inherit;
88 text-align: inherit;
87 89 }
88 90 </style>
89 91
@@ -129,14 +131,14 b' dependencies: ['
129 131 <!-- MathJax configuration -->
130 132 <script type="text/x-mathjax-config">
131 133 MathJax.Hub.Config({
132 tex2jax: {
133 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
134 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
135 },
136 displayAlign: 'left', // Change this to 'center' to center equations.
137 "HTML-CSS": {
138 styles: {'.MathJax_Display': {"margin": 0}}
139 }
134 tex2jax: {
135 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
136 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
137 },
138 displayAlign: 'left', // Change this to 'center' to center equations.
139 "HTML-CSS": {
140 styles: {'.MathJax_Display': {"margin": 0}}
141 }
140 142 });
141 143 </script>
142 144 <!-- End of mathjax configuration -->
@@ -145,7 +147,7 b' MathJax.Hub.Config({'
145 147 // We wait for the onload function to load MathJax after the page is completely loaded.
146 148 // MathJax is loaded 1 unit of time after the page is ready.
147 149 // This hack prevent problems when you load multiple js files.
148 //
150
149 151 window.onload = function () {
150 152 setTimeout(function () {
151 153 var script = document.createElement("script");
General Comments 0
You need to be logged in to leave comments. Login now