add padding to images with align

This commit is contained in:
Parabola 2017-10-12 15:02:14 +08:00 committed by GitHub
parent 3d272011a5
commit dfc7a4c041

View File

@ -591,6 +591,14 @@
background-color: #fff; background-color: #fff;
} }
.markdown-body img[align=right]{
padding-left: 20px;
}
.markdown-body img[align=left]{
padding-right: 20px;
}
.markdown-body code { .markdown-body code {
padding: 0; padding: 0;
padding-top: 0.2em; padding-top: 0.2em;