From a0bb3633c0288e9636e8abb1185d051ac02ea446 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Thu, 26 Nov 2020 12:41:14 +0300 Subject: move css to markdown and add references --- wqflask/wqflask/static/new/css/markdown.css | 33 +++++++++++++++++ wqflask/wqflask/templates/reference.html | 56 ----------------------------- wqflask/wqflask/templates/references.html | 30 ++++++++++++++++ 3 files changed, 63 insertions(+), 56 deletions(-) delete mode 100644 wqflask/wqflask/templates/reference.html create mode 100644 wqflask/wqflask/templates/references.html (limited to 'wqflask') diff --git a/wqflask/wqflask/static/new/css/markdown.css b/wqflask/wqflask/static/new/css/markdown.css index 91167908..d8dd4776 100644 --- a/wqflask/wqflask/static/new/css/markdown.css +++ b/wqflask/wqflask/static/new/css/markdown.css @@ -11,3 +11,36 @@ margin-right: auto; margin-left: auto; } +#markdown { + background: red; +} + + + + .github-btn{ + margin:20px 10px; + display: flex; + width: 90vw; + justify-content: flex-end; + } + .github-btn a{ + display: inline-block; + align-self:center; + text-decoration: none; + transition-property:all; + transition-duration:0.5s; + padding:8px 12px; + color:#fff; + /*background: #27407a;*/ + background: blue; + border-radius: 20px; + background: red; + /*text-align: center;*/ + + + } + .github-btn a:hover{ + + background: #333; + + } diff --git a/wqflask/wqflask/templates/reference.html b/wqflask/wqflask/templates/reference.html deleted file mode 100644 index e04deed5..00000000 --- a/wqflask/wqflask/templates/reference.html +++ /dev/null @@ -1,56 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Reference{% endblock %} - -{% block css %} - -{% endblock %} - -{% block content %} - -
- Edit on Github -
- -
- {{ rendered_markdown|safe }} - -
- - - -{% endblock %} \ No newline at end of file diff --git a/wqflask/wqflask/templates/references.html b/wqflask/wqflask/templates/references.html new file mode 100644 index 00000000..5e86d95b --- /dev/null +++ b/wqflask/wqflask/templates/references.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} + +{% block title %}Reference{% endblock %} + +{% block css %} + +{% endblock %} + +{% block content %} + +
+ Edit on Github +
+ +
+ {{ rendered_markdown|safe }} + +
+ + + +{% endblock %} \ No newline at end of file -- cgit v1.2.3