##// END OF EJS Templates
some css fixes due to pygment highlighter...
Matthias BUSSONNIER -
Show More
@@ -1,58 +1,64 b''
1 {%- extends 'basichtml.tpl' -%}
1 {%- extends 'basichtml.tpl' -%}
2
2
3 {%- block header -%}<!DOCTYPE html>
3 {%- block header -%}<!DOCTYPE html>
4 <html>
4 <html>
5 <head>
5 <head>
6 <meta charset="UTF-8">
6 <meta charset="UTF-8">
7 <title>[{{nb.metadata.name}}]</title>
7 <title>[{{nb.metadata.name}}]</title>
8 {% for css in resources.inlining.css -%}
8 {% for css in resources.inlining.css -%}
9 <style type="text/css">
9 <style type="text/css">
10 {{css}}
10 {{css}}
11 </style>
11 </style>
12 {% endfor %}
12 {% endfor %}
13
13
14 <style type="text/css">
14 <style type="text/css">
15 /* Overrides of notebook CSS for static HTML export */
15 /* Overrides of notebook CSS for static HTML export */
16 body {
16 body {
17 overflow: visible;
17 overflow: visible;
18 padding: 8px;
18 padding: 8px;
19 }
19 }
20 .input_area {
20 .input_area {
21 padding: 0.4em;
21 padding: 0.2em;
22 }
23
24 pre {
25 border: none;
26 margin: 0px;
27 font-size: 13px;
22 }
28 }
23 </style>
29 </style>
24
30
25 <script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" type="text/javascript">
31 <script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" type="text/javascript">
26
32
27 </script>
33 </script>
28 <script type="text/javascript">
34 <script type="text/javascript">
29 init_mathjax = function() {
35 init_mathjax = function() {
30 if (window.MathJax) {
36 if (window.MathJax) {
31 // MathJax loaded
37 // MathJax loaded
32 MathJax.Hub.Config({
38 MathJax.Hub.Config({
33 tex2jax: {
39 tex2jax: {
34 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
40 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
35 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
41 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
36 },
42 },
37 displayAlign: 'left', // Change this to 'center' to center equations.
43 displayAlign: 'left', // Change this to 'center' to center equations.
38 "HTML-CSS": {
44 "HTML-CSS": {
39 styles: {'.MathJax_Display': {"margin": 0}}
45 styles: {'.MathJax_Display': {"margin": 0}}
40 }
46 }
41 });
47 });
42 MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
48 MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
43 }
49 }
44 }
50 }
45 init_mathjax();
51 init_mathjax();
46 </script>
52 </script>
47 </head>
53 </head>
48 {%- endblock header -%}
54 {%- endblock header -%}
49
55
50
56
51 {% block body %}
57 {% block body %}
52 <body>{{ super() }}
58 <body>{{ super() }}
53 </body>
59 </body>
54 {%- endblock body %}
60 {%- endblock body %}
55
61
56
62
57 {% block footer %}
63 {% block footer %}
58 </html>{% endblock footer %}
64 </html>{% endblock footer %}
General Comments 0
You need to be logged in to leave comments. Login now