Show More
@@ -25,7 +25,7 b' IPython.mathjaxutils = (function (IPython) {' | |||||
25 | processEscapes: true, |
|
25 | processEscapes: true, | |
26 | processEnvironments: true |
|
26 | processEnvironments: true | |
27 | }, |
|
27 | }, | |
28 |
displayAlign: ' |
|
28 | displayAlign: 'center', // Change this to 'center' to center equations. | |
29 | "HTML-CSS": { |
|
29 | "HTML-CSS": { | |
30 | styles: {'.MathJax_Display': {"margin": 0}} |
|
30 | styles: {'.MathJax_Display': {"margin": 0}} | |
31 | } |
|
31 | } |
@@ -3,6 +3,25 b' div.output_area {' | |||||
3 | padding: 0px; |
|
3 | padding: 0px; | |
4 | page-break-inside: avoid; |
|
4 | page-break-inside: avoid; | |
5 | .hbox(); |
|
5 | .hbox(); | |
|
6 | ||||
|
7 | .MathJax_Display { | |||
|
8 | // Inside a CodeCell, elements are left justified | |||
|
9 | text-align: left !important; | |||
|
10 | } | |||
|
11 | ||||
|
12 | .rendered_html { | |||
|
13 | // Inside a CodeCell, elements are left justified | |||
|
14 | table { | |||
|
15 | // Center tables horizontally | |||
|
16 | margin-left: 0; | |||
|
17 | margin-right: 0; | |||
|
18 | } | |||
|
19 | ||||
|
20 | img { | |||
|
21 | margin-left: 0; | |||
|
22 | margin-right: 0; | |||
|
23 | } | |||
|
24 | } | |||
6 | } |
|
25 | } | |
7 |
|
26 | |||
8 |
|
27 |
@@ -1,4 +1,4 b'' | |||||
1 | .rendered_html{ |
|
1 | .rendered_html { | |
2 |
|
2 | |||
3 | color: black; |
|
3 | color: black; | |
4 | em {font-style: italic;} |
|
4 | em {font-style: italic;} | |
@@ -71,26 +71,22 b'' | |||||
71 | text-align: justify; |
|
71 | text-align: justify; | |
72 | } |
|
72 | } | |
73 |
|
73 | |||
74 |
|
|
74 | img { | |
75 | margin-top: 1em; |
|
75 | display: block; | |
|
76 | margin-left: auto; | |||
|
77 | margin-right: auto; | |||
76 | } |
|
78 | } | |
77 |
|
79 | |||
78 |
|
|
80 | * + p { | |
79 | margin-top: 1em; |
|
81 | margin-top: 1em; | |
80 | } |
|
82 | } | |
81 |
|
83 | |||
82 |
table |
|
84 | * + table { | |
83 | margin-top: 1em; |
|
85 | margin-top: 1em; | |
84 | } |
|
86 | } | |
85 |
|
87 | |||
86 | img { |
|
88 | * + img { | |
87 | display: block; |
|
89 | margin-top: 1em; | |
88 | margin-left: auto; |
|
|||
89 | margin-right: auto; |
|
|||
90 | } |
|
|||
91 |
|
||||
92 | .MathJax_Display { |
|
|||
93 | text-align: center !important; |
|
|||
94 | } |
|
90 | } | |
95 |
|
91 | |||
96 | } |
|
92 | } |
@@ -129,7 +129,9 b' p{margin-bottom:0;}' | |||||
129 | .end_space{height:200px;} |
|
129 | .end_space{height:200px;} | |
130 | #notification_area{z-index:10;} |
|
130 | #notification_area{z-index:10;} | |
131 | .notification_widget{color:#777777;padding:1px 12px;margin:2px 4px;z-index:10;border:1px solid #ccc;border-radius:4px;background:rgba(240, 240, 240, 0.5);} |
|
131 | .notification_widget{color:#777777;padding:1px 12px;margin:2px 4px;z-index:10;border:1px solid #ccc;border-radius:4px;background:rgba(240, 240, 240, 0.5);} | |
132 | div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;} |
|
132 | div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}div.output_area .MathJax_Display{text-align:left !important;} | |
|
133 | div.output_area .rendered_html table{margin-left:0;margin-right:0;} | |||
|
134 | div.output_area .rendered_html img{margin-left:0;margin-right:0;} | |||
133 | div.output_area pre{font-family:monospace;margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;color:black;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;line-height:inherit;} |
|
135 | div.output_area pre{font-family:monospace;margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;color:black;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;line-height:inherit;} | |
134 | div.output_subarea{padding:0.44em 0.4em 0.4em 1px;margin-left:6px;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;} |
|
136 | div.output_subarea{padding:0.44em 0.4em 0.4em 1px;margin-left:6px;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;} | |
135 | div.output_text{text-align:left;color:#000000;font-family:monospace;line-height:1.231em;} |
|
137 | div.output_text{text-align:left;color:#000000;font-family:monospace;line-height:1.231em;} | |
@@ -175,11 +177,10 b' div.quickhelp{float:left;width:50%;}' | |||||
175 | .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px;} |
|
177 | .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px;} | |
176 | .rendered_html th{font-weight:bold;} |
|
178 | .rendered_html th{font-weight:bold;} | |
177 | .rendered_html p{text-align:justify;} |
|
179 | .rendered_html p{text-align:justify;} | |
178 | .rendered_html p+p{margin-top:1em;} |
|
|||
179 | .rendered_html p+table{margin-top:1em;} |
|
|||
180 | .rendered_html table+p{margin-top:1em;} |
|
|||
181 | .rendered_html img{display:block;margin-left:auto;margin-right:auto;} |
|
180 | .rendered_html img{display:block;margin-left:auto;margin-right:auto;} | |
182 | .rendered_html .MathJax_Display{text-align:center !important;} |
|
181 | .rendered_html *+p{margin-top:1em;} | |
|
182 | .rendered_html *+table{margin-top:1em;} | |||
|
183 | .rendered_html *+img{margin-top:1em;} | |||
183 | span#save_widget{padding:0px 5px;margin-top:12px;} |
|
184 | span#save_widget{padding:0px 5px;margin-top:12px;} | |
184 | span#checkpoint_status,span#autosave_status{font-size:small;} |
|
185 | span#checkpoint_status,span#autosave_status{font-size:small;} | |
185 | @media (max-width:767px){span#save_widget{font-size:small;} span#checkpoint_status,span#autosave_status{font-size:x-small;}}@media (max-width:767px){span#checkpoint_status,span#autosave_status{display:none;}}@media (min-width:768px) and (max-width:979px){span#checkpoint_status{display:none;} span#autosave_status{font-size:x-small;}}div.text_cell{padding:5px 5px 5px 5px;} |
|
186 | @media (max-width:767px){span#save_widget{font-size:small;} span#checkpoint_status,span#autosave_status{font-size:x-small;}}@media (max-width:767px){span#checkpoint_status,span#autosave_status{display:none;}}@media (min-width:768px) and (max-width:979px){span#checkpoint_status{display:none;} span#autosave_status{font-size:x-small;}}div.text_cell{padding:5px 5px 5px 5px;} |
@@ -1510,7 +1510,9 b' p{margin-bottom:0;}' | |||||
1510 | .end_space{height:200px;} |
|
1510 | .end_space{height:200px;} | |
1511 | #notification_area{z-index:10;} |
|
1511 | #notification_area{z-index:10;} | |
1512 | .notification_widget{color:#777777;padding:1px 12px;margin:2px 4px;z-index:10;border:1px solid #ccc;border-radius:4px;background:rgba(240, 240, 240, 0.5);} |
|
1512 | .notification_widget{color:#777777;padding:1px 12px;margin:2px 4px;z-index:10;border:1px solid #ccc;border-radius:4px;background:rgba(240, 240, 240, 0.5);} | |
1513 | div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;} |
|
1513 | div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}div.output_area .MathJax_Display{text-align:left !important;} | |
|
1514 | div.output_area .rendered_html table{margin-left:0;margin-right:0;} | |||
|
1515 | div.output_area .rendered_html img{margin-left:0;margin-right:0;} | |||
1514 | div.output_area pre{font-family:monospace;margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;color:black;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;line-height:inherit;} |
|
1516 | div.output_area pre{font-family:monospace;margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;color:black;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;line-height:inherit;} | |
1515 | div.output_subarea{padding:0.44em 0.4em 0.4em 1px;margin-left:6px;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;} |
|
1517 | div.output_subarea{padding:0.44em 0.4em 0.4em 1px;margin-left:6px;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;} | |
1516 | div.output_text{text-align:left;color:#000000;font-family:monospace;line-height:1.231em;} |
|
1518 | div.output_text{text-align:left;color:#000000;font-family:monospace;line-height:1.231em;} | |
@@ -1556,11 +1558,10 b' div.quickhelp{float:left;width:50%;}' | |||||
1556 | .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px;} |
|
1558 | .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px;} | |
1557 | .rendered_html th{font-weight:bold;} |
|
1559 | .rendered_html th{font-weight:bold;} | |
1558 | .rendered_html p{text-align:justify;} |
|
1560 | .rendered_html p{text-align:justify;} | |
1559 | .rendered_html p+p{margin-top:1em;} |
|
|||
1560 | .rendered_html p+table{margin-top:1em;} |
|
|||
1561 | .rendered_html table+p{margin-top:1em;} |
|
|||
1562 | .rendered_html img{display:block;margin-left:auto;margin-right:auto;} |
|
1561 | .rendered_html img{display:block;margin-left:auto;margin-right:auto;} | |
1563 | .rendered_html .MathJax_Display{text-align:center !important;} |
|
1562 | .rendered_html *+p{margin-top:1em;} | |
|
1563 | .rendered_html *+table{margin-top:1em;} | |||
|
1564 | .rendered_html *+img{margin-top:1em;} | |||
1564 | span#save_widget{padding:0px 5px;margin-top:12px;} |
|
1565 | span#save_widget{padding:0px 5px;margin-top:12px;} | |
1565 | span#checkpoint_status,span#autosave_status{font-size:small;} |
|
1566 | span#checkpoint_status,span#autosave_status{font-size:small;} | |
1566 | @media (max-width:767px){span#save_widget{font-size:small;} span#checkpoint_status,span#autosave_status{font-size:x-small;}}@media (max-width:767px){span#checkpoint_status,span#autosave_status{display:none;}}@media (min-width:768px) and (max-width:979px){span#checkpoint_status{display:none;} span#autosave_status{font-size:x-small;}}div.text_cell{padding:5px 5px 5px 5px;} |
|
1567 | @media (max-width:767px){span#save_widget{font-size:small;} span#checkpoint_status,span#autosave_status{font-size:x-small;}}@media (max-width:767px){span#checkpoint_status,span#autosave_status{display:none;}}@media (min-width:768px) and (max-width:979px){span#checkpoint_status{display:none;} span#autosave_status{font-size:x-small;}}div.text_cell{padding:5px 5px 5px 5px;} |
General Comments 0
You need to be logged in to leave comments.
Login now