Adding 1em spacing above and below tables in rendered html.

This commit is contained in:
Brian E. Granger 2013-09-20 14:18:54 -07:00
parent 8d9f2e367a
commit 4b8ccb37e1
3 changed files with 12 additions and 0 deletions

View File

@ -75,6 +75,14 @@
margin-top: 1em;
}
p + table {
margin-top: 1em;
}
table + p {
margin-top: 1em;
}
img {
display: block;
margin-left: auto;

View File

@ -176,6 +176,8 @@ div.quickhelp{float:left;width:50%;}
.rendered_html th{font-weight:bold;}
.rendered_html p{text-align:justify;}
.rendered_html p+p{margin-top:1em;}
.rendered_html p+table{margin-top:1em;}
.rendered_html table+p{margin-top:1em;}
.rendered_html img{display:block;margin-left:auto;margin-right:auto;}
.rendered_html .MathJax_Display{text-align:center !important;}
span#save_widget{padding:0px 5px;margin-top:12px;}

View File

@ -1557,6 +1557,8 @@ div.quickhelp{float:left;width:50%;}
.rendered_html th{font-weight:bold;}
.rendered_html p{text-align:justify;}
.rendered_html p+p{margin-top:1em;}
.rendered_html p+table{margin-top:1em;}
.rendered_html table+p{margin-top:1em;}
.rendered_html img{display:block;margin-left:auto;margin-right:auto;}
.rendered_html .MathJax_Display{text-align:center !important;}
span#save_widget{padding:0px 5px;margin-top:12px;}