diff options
author | Frederick Muriuki Muriithi | 2021-11-08 16:40:22 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-11-08 16:41:43 +0300 |
commit | 14f3d5da0de60dea8b0a24f68c2e658d92268e3a (patch) | |
tree | 3d4ad01d1ddef8f7bb83ee31abbf8c796fafedb3 | |
parent | 9f7e3035d13b286238d878a0baa45cb4c1708cee (diff) | |
download | genenetwork2-14f3d5da0de60dea8b0a24f68c2e658d92268e3a.tar.gz |
Add some styling for the Jupyter links
-rw-r--r-- | wqflask/wqflask/static/new/css/jupyter_notebooks.css | 12 | ||||
-rw-r--r-- | wqflask/wqflask/templates/jupyter_notebooks.html | 4 |
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"> |