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