diff options
author | Alexander_Kabui | 2024-01-08 17:35:50 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-01-08 17:35:50 +0300 |
commit | e41f17ec974e613ddfbe4232669c878b598d71e9 (patch) | |
tree | 3fa76a93447e1f1d7b456aa4c1316d80be921e03 /gn2/wqflask/templates/gnqa_answer.html | |
parent | 44e1a64ed6e9510bae6182adc6f3d19ff315a26e (diff) | |
download | genenetwork2-e41f17ec974e613ddfbe4232669c878b598d71e9.tar.gz |
code refactoring for gn llm ui
Diffstat (limited to 'gn2/wqflask/templates/gnqa_answer.html')
-rw-r--r-- | gn2/wqflask/templates/gnqa_answer.html | 87 |
1 files changed, 3 insertions, 84 deletions
diff --git a/gn2/wqflask/templates/gnqa_answer.html b/gn2/wqflask/templates/gnqa_answer.html index 99242b29..c8ec9bbb 100644 --- a/gn2/wqflask/templates/gnqa_answer.html +++ b/gn2/wqflask/templates/gnqa_answer.html @@ -4,96 +4,15 @@ {% block content %} <!-- Start of body --> - <style> - - - - #gnqna_search { - padding:15px 10px; - border-radius: 15px; - border:1px solid blue; - } - - #gnqna_search{ - font-weight: bold; - font-weight: 18px; - } - - #main-search-controller{ - display: flex; - justify-content: center; - align-items: center; -} - - -</style> + {% block css %} <link rel="stylesheet" type="text/css" href="/static/new/css/markdown.css" /> +<link rel="stylesheet" type="text/css" href="/static/new/css/llm.css"> {% endblock %} <style type="text/css"> - - #gnqa_ref { - height: 90vh; - overflow: hidden; - overflow-y: scroll; - } - - - #gnqa_ref_item{ - border-bottom: 1px solid lightgrey; - padding:12px; - } - - - #gnqa_query { - font-size: 24px; - font-family: serif; - color: #3071a9; - font-style: italic; - letter-spacing: 0.3em; - text-transform: capitalize; - - text-decoration: underline; - } - - #gnqa_query::first-letter { - font-size: 30px; - font-style: italic; - - } - - #gnqa_answer { - text-transform: capitalize; - } - - #gnqa_answer::first-letter{ - font-weight: bold; - - - } - #gnqna_search_home{ - display: flex; - justify-content: center; - align-items: center; - } - - - #gnqna_search_home input{ - padding:7px 5px; - border-radius: 10px; - border:1px solid blue; - } - - #gnqna_search_home input{ - font-weight: bold; - } - - .container{ - / box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px; */ - } #loader { display: none; @@ -121,7 +40,7 @@ <h1 id="gnqa_query" style="font-weight: bolder">{{query}}<h1> </div> - <div style="width:40vw;overflow-wrap: normal; margin-top: 5px;"> + <div style="width:80vw;overflow-wrap: normal; margin-top: 5px;"> <p style="word-spacing: 0.7em;" id="gnqa_answer">{{answer}} <p> </div> </div> |