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