From 14f3d5da0de60dea8b0a24f68c2e658d92268e3a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 8 Nov 2021 16:40:22 +0300 Subject: Add some styling for the Jupyter links --- wqflask/wqflask/static/new/css/jupyter_notebooks.css | 12 ++++++++++++ wqflask/wqflask/templates/jupyter_notebooks.html | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 wqflask/wqflask/static/new/css/jupyter_notebooks.css 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%} + +{%endblock} + {%block content%}