aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/__init__.py4
-rw-r--r--wqflask/wqflask/templates/references.html25
2 files changed, 22 insertions, 7 deletions
diff --git a/wqflask/wqflask/__init__.py b/wqflask/wqflask/__init__.py
index 39a36fa3..d7da3755 100644
--- a/wqflask/wqflask/__init__.py
+++ b/wqflask/wqflask/__init__.py
@@ -8,6 +8,8 @@ from flask import Flask
from utility import formatting
from wqflask.markdown_routes import glossary_blueprint
from wqflask.markdown_routes import references_blueprint
+from wqflask.markdown_routes import links_blueprint
+from wqflask.markdown_routes import policies_blueprint
app = Flask(__name__)
@@ -21,6 +23,8 @@ app.jinja_env.globals.update(
# Registering blueprints
app.register_blueprint(glossary_blueprint, url_prefix="/glossary")
app.register_blueprint(references_blueprint,url_prefix="/references")
+app.register_blueprint(links_blueprint,url_prefix="/links")
+app.register_blueprint(policies_blueprint,url_prefix="/policies")
@app.before_request
def before_request():
diff --git a/wqflask/wqflask/templates/references.html b/wqflask/wqflask/templates/references.html
index 5e86d95b..c10576d8 100644
--- a/wqflask/wqflask/templates/references.html
+++ b/wqflask/wqflask/templates/references.html
@@ -3,13 +3,13 @@
{% block title %}Reference{% endblock %}
{% block css %}
-<link rel="stylesheet" type="text/css" href="/static/new/css/markdown.css" />
+<!-- <link rel="stylesheet" type="text/css" href="/static/new/css/markdown.css" /> -->
{% endblock %}
{% block content %}
<div class="github-btn">
- <a href="https://github.com/genenetwork/genenetwork2">Edit on Github</a>
+ <a href="https://raw.githubusercontent.com/genenetwork/gn-docs/master/general/glossary/glos">Edit on Github</a>
</div>
<div id="markdown" class="container">
@@ -18,12 +18,23 @@
</div>
<style type="text/css">
-
-
-/*html{
+<!-- -->
+.container {
+width:80vw;
+margin: auto;
+max-width:80vw;
- scroll-behavior: smooth;
-}*/
+}
+
+p {
+ font-size: 17px;
+ word-spacing: 0.2em;
+}
+@media(max-width:650px){
+ .container{
+ width: 100vw;
+ }
+}
</style>
<link rel="stylesheet" type="text/css" href="/static/new/css/markdown.css" />