aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-11-08 16:40:22 +0300
committerFrederick Muriuki Muriithi2021-11-08 16:41:43 +0300
commit14f3d5da0de60dea8b0a24f68c2e658d92268e3a (patch)
tree3d4ad01d1ddef8f7bb83ee31abbf8c796fafedb3
parent9f7e3035d13b286238d878a0baa45cb4c1708cee (diff)
downloadgenenetwork2-14f3d5da0de60dea8b0a24f68c2e658d92268e3a.tar.gz
Add some styling for the Jupyter links
-rw-r--r--wqflask/wqflask/static/new/css/jupyter_notebooks.css12
-rw-r--r--wqflask/wqflask/templates/jupyter_notebooks.html4
2 files changed, 16 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/css/jupyter_notebooks.css b/wqflask/wqflask/static/new/css/jupyter_notebooks.css
new file mode 100644
index 00000000..b916f03b
--- /dev/null
+++ b/wqflask/wqflask/static/new/css/jupyter_notebooks.css
@@ -0,0 +1,12 @@
+.jupyter-links .main-link:nth-of-type(2n) {
+ background: #EEEEEE;
+}
+
+.jupyter-links .main-link {
+ font-size: larger;
+ display: block;
+}
+
+.jupyter-links .src-link {
+ font-size: smaller;
+}
diff --git a/wqflask/wqflask/templates/jupyter_notebooks.html b/wqflask/wqflask/templates/jupyter_notebooks.html
index 4dce0f27..da250b2a 100644
--- a/wqflask/wqflask/templates/jupyter_notebooks.html
+++ b/wqflask/wqflask/templates/jupyter_notebooks.html
@@ -4,6 +4,10 @@
Jupyter Notebooks
{%endblock%}
+{%block css%}
+<link rel="stylesheet" type="text/css" href="/static/new/css/jupyter_notebooks.css" />
+{%endblock}
+
{%block content%}
<div class="container">