From 0422cea46205ef6477949b1f0dc188f94024f8cf Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 11 Nov 2020 14:21:15 +0300 Subject: Add basic markdown styling * wqflask/wqflask/static/new/css/markdown.css: New file. * wqflask/wqflask/templates/glossary.html: add markdown id to markdown container. --- wqflask/wqflask/static/new/css/markdown.css | 13 +++++++++++++ wqflask/wqflask/templates/glossary.html | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 wqflask/wqflask/static/new/css/markdown.css diff --git a/wqflask/wqflask/static/new/css/markdown.css b/wqflask/wqflask/static/new/css/markdown.css new file mode 100644 index 00000000..91167908 --- /dev/null +++ b/wqflask/wqflask/static/new/css/markdown.css @@ -0,0 +1,13 @@ +#markdown { + padding: 20px; +} + +#markdown h2, #markdown h3, #markdown h4, #markdown h5 { + font-weight: bold; +} + +#markdown img { + display: block; + margin-right: auto; + margin-left: auto; +} diff --git a/wqflask/wqflask/templates/glossary.html b/wqflask/wqflask/templates/glossary.html index 3b29f20e..146c7e86 100644 --- a/wqflask/wqflask/templates/glossary.html +++ b/wqflask/wqflask/templates/glossary.html @@ -2,9 +2,13 @@ {% block title %}Glossary{% endblock %} +{% block css %} + +{% endblock %} + {% block content %} -