aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/css/markdown.css19
-rw-r--r--wqflask/wqflask/templates/environment.html16
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 %}