diff options
author | BonfaceKilz | 2020-12-03 00:23:23 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-12-03 01:36:59 +0300 |
commit | bf4b901fe7ebd02416b026974ed784970d8023dd (patch) | |
tree | 0aaa26e88787c8f6443b1a91d6f710be332605dc /wqflask | |
parent | 1cf0edb0719e4cf1c8410d8a910b199bb10180ef (diff) | |
download | genenetwork2-bf4b901fe7ebd02416b026974ed784970d8023dd.tar.gz |
Move css from environment.html to markdown.css
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/static/new/css/markdown.css | 19 | ||||
-rw-r--r-- | wqflask/wqflask/templates/environment.html | 16 |
2 files changed, 18 insertions, 17 deletions
diff --git a/wqflask/wqflask/static/new/css/markdown.css b/wqflask/wqflask/static/new/css/markdown.css index dca3e31d..e10dd9d3 100644 --- a/wqflask/wqflask/static/new/css/markdown.css +++ b/wqflask/wqflask/static/new/css/markdown.css @@ -57,8 +57,25 @@ word-spacing: 0.2em; } +#markdown table { + width: 100%; +} + +#markdown table, +#markdown td, +#markdown th { + border: solid 2px black; +} + +#markdown td, +#markdown th { + padding-top: 8px; + padding-bottom: 8px; + text-align: center; +} + @media(max-width:650px) { .container { width: 100vw; } -}
\ No newline at end of file +} diff --git a/wqflask/wqflask/templates/environment.html b/wqflask/wqflask/templates/environment.html index 34ebf36e..cd30e768 100644 --- a/wqflask/wqflask/templates/environment.html +++ b/wqflask/wqflask/templates/environment.html @@ -13,20 +13,4 @@ <div class="cls-table-style">{{ rendered_markdown|safe }} </div> </div> -<style type="text/css"> -table { - width: 100%; -} -table, th, td { - border: 1px solid black; - -} - -td,th{ - padding-top:8px; - padding-bottom: 8px; - text-align: center; -} - -</style> {% endblock %} |