diff --git a/md_pdf/assets/static/style.scss b/md_pdf/assets/static/style.scss index 92b0380..2295a1b 100644 --- a/md_pdf/assets/static/style.scss +++ b/md_pdf/assets/static/style.scss @@ -1,4 +1,4 @@ -$image_spacing: 30px; +$image-spacing: 30px; body.cover { @@ -25,12 +25,12 @@ body.content { font-size: 12px; img { + margin-top: $image-spacing; width: 100%; - margin-top: $image_spacing } p.caption { - margin: 1px 5px $image_spacing; + margin: 1px 5px $image-spacing; padding: 0; font-style: italic; } diff --git a/md_pdf/build/template.py b/md_pdf/build/template.py index 7533106..b74a1d3 100644 --- a/md_pdf/build/template.py +++ b/md_pdf/build/template.py @@ -47,5 +47,3 @@ def parse_template(doc, config): ]: parsed_doc = parser(parsed_doc, config) return render_template(parsed_doc, config) - -