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