##// END OF EJS Templates
Centering for tables/images/math in Markdown.
Brian E. Granger -
Show More
@@ -43,7 +43,15 b''
43 margin: 1em 2em;
43 margin: 1em 2em;
44 }
44 }
45
45
46 table, tr, th, td {
46 table {
47 // Center tables horizontally
48 margin-left: auto;
49 margin-right: auto;
50 border: 1px solid black;
51 border-collapse: collapse;
52 }
53
54 tr, th, td {
47 border: 1px solid black;
55 border: 1px solid black;
48 border-collapse: collapse;
56 border-collapse: collapse;
49 margin: 1em 2em;
57 margin: 1em 2em;
@@ -67,8 +75,15 b''
67 margin-top: 1em;
75 margin-top: 1em;
68 }
76 }
69
77
78 img {
79 display: block;
80 margin-left: auto;
81 margin-right: auto;
82 }
83
70 .MathJax_Display {
84 .MathJax_Display {
71 margin-left: 12ex;
85 text-align: center !important;
86 // margin-left: 12ex;
72 }
87 }
73
88
74 }
89 }
@@ -170,12 +170,14 b' div.quickhelp{float:left;width:50%;}'
170 .rendered_html pre{margin:1em 2em;}
170 .rendered_html pre{margin:1em 2em;}
171 .rendered_html pre,.rendered_html code{border:0;background-color:#ffffff;color:#000000;font-size:100%;padding:0px;}
171 .rendered_html pre,.rendered_html code{border:0;background-color:#ffffff;color:#000000;font-size:100%;padding:0px;}
172 .rendered_html blockquote{margin:1em 2em;}
172 .rendered_html blockquote{margin:1em 2em;}
173 .rendered_html table,.rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid black;border-collapse:collapse;margin:1em 2em;}
173 .rendered_html table{margin-left:auto;margin-right:auto;border:1px solid black;border-collapse:collapse;}
174 .rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid black;border-collapse:collapse;margin:1em 2em;}
174 .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px;}
175 .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px;}
175 .rendered_html th{font-weight:bold;}
176 .rendered_html th{font-weight:bold;}
176 .rendered_html p{text-align:justify;}
177 .rendered_html p{text-align:justify;}
177 .rendered_html p+p{margin-top:1em;}
178 .rendered_html p+p{margin-top:1em;}
178 .rendered_html .MathJax_Display{margin-left:12ex;}
179 .rendered_html img{display:block;margin-left:auto;margin-right:auto;}
180 .rendered_html .MathJax_Display{text-align:center !important;}
179 span#save_widget{padding:0px 5px;margin-top:12px;}
181 span#save_widget{padding:0px 5px;margin-top:12px;}
180 span#checkpoint_status,span#autosave_status{font-size:small;}
182 span#checkpoint_status,span#autosave_status{font-size:small;}
181 @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;}
183 @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;}
@@ -1551,12 +1551,14 b' div.quickhelp{float:left;width:50%;}'
1551 .rendered_html pre{margin:1em 2em;}
1551 .rendered_html pre{margin:1em 2em;}
1552 .rendered_html pre,.rendered_html code{border:0;background-color:#ffffff;color:#000000;font-size:100%;padding:0px;}
1552 .rendered_html pre,.rendered_html code{border:0;background-color:#ffffff;color:#000000;font-size:100%;padding:0px;}
1553 .rendered_html blockquote{margin:1em 2em;}
1553 .rendered_html blockquote{margin:1em 2em;}
1554 .rendered_html table,.rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid black;border-collapse:collapse;margin:1em 2em;}
1554 .rendered_html table{margin-left:auto;margin-right:auto;border:1px solid black;border-collapse:collapse;}
1555 .rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid black;border-collapse:collapse;margin:1em 2em;}
1555 .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px;}
1556 .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px;}
1556 .rendered_html th{font-weight:bold;}
1557 .rendered_html th{font-weight:bold;}
1557 .rendered_html p{text-align:justify;}
1558 .rendered_html p{text-align:justify;}
1558 .rendered_html p+p{margin-top:1em;}
1559 .rendered_html p+p{margin-top:1em;}
1559 .rendered_html .MathJax_Display{margin-left:12ex;}
1560 .rendered_html img{display:block;margin-left:auto;margin-right:auto;}
1561 .rendered_html .MathJax_Display{text-align:center !important;}
1560 span#save_widget{padding:0px 5px;margin-top:12px;}
1562 span#save_widget{padding:0px 5px;margin-top:12px;}
1561 span#checkpoint_status,span#autosave_status{font-size:small;}
1563 span#checkpoint_status,span#autosave_status{font-size:small;}
1562 @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;}
1564 @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