diff options
author | Munyoki Kilyungi | 2024-03-27 16:30:39 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-03-27 17:59:06 +0300 |
commit | aabf792b5bbc78a954a2ddcb4314699c635b94f4 (patch) | |
tree | 98c1cd39ffa83743bc7e7389e834efe3b7c3b105 /gn2/wqflask/templates/gnqa.html | |
parent | 25653e55770fbae959c9734beb297acbaededfd8 (diff) | |
download | genenetwork2-aabf792b5bbc78a954a2ddcb4314699c635b94f4.tar.gz |
Add some styling to gnqa answer page.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
Diffstat (limited to 'gn2/wqflask/templates/gnqa.html')
-rw-r--r-- | gn2/wqflask/templates/gnqa.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/gnqa.html b/gn2/wqflask/templates/gnqa.html index 5688655d..31a04aac 100644 --- a/gn2/wqflask/templates/gnqa.html +++ b/gn2/wqflask/templates/gnqa.html @@ -3,6 +3,7 @@ {% block css %} <style> + .htmx-indicator{ display:none; opacity: 0; @@ -53,6 +54,28 @@ .answers { width: 75%; } + + details > summary { + padding: 2px 6px; + width: 15em; + background-color: #ddd; + border: none; + box-shadow: 3px 3px 4px black; + cursor: pointer; + } + + details > p { + border-radius: 0 0 10px 10px; + background-color: #ddd; + padding: 2px 6px; + margin: 0; + box-shadow: 3px 3px 4px black; + } + + details[open] > summary { + background-color: #ccf; + } + </style> {% endblock %} |