Browse Source

made links more similar to keywords and added clear function after generating score

master
Cristina Cochior 5 years ago
parent
commit
05b133f3d6
  1. 2
      contextualise.py
  2. 33
      static/css/style.css

2
contextualise.py

@ -378,6 +378,8 @@ def get_file():
file2.close()
outputfile.close()
clearSession()
try:
return send_file("pandoc/"+uniquename+"document-output.pdf", attachment_filename="olala.pdf")
except Exception as e:

33
static/css/style.css

@ -45,10 +45,6 @@ body{
margin: 0;
width: 100%;
height: 100%;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
background: #e4e4e4;
}
@ -120,16 +116,18 @@ div.homepage{
margin: 0 auto;
}
div.home a{
border-bottom: 1px dashed black;
padding: 0.1em;
padding: 0em 0.2em 0.1em 0.2em;
margin: 0.5em;
line-height: 1.8em;
color: white;
color: black;
background:white;
border-radius: 50px;
}
div.home a:visited{
color: black;
color: white;
background: black;
}
div.home a:hover{
@ -372,12 +370,20 @@ embed#plugin {
line-height: 1.45em;
}
.text a {
background: #e4e4e4;
border-radius: 50px;
padding: 0em 0.2em 0.1em 0.2em;
}
.text a:visited{
color: magenta;
color: white;
overflow:auto;
background: black;
}
.text a:hover{
background: : magenta;
color: white;
}
.item{
@ -467,6 +473,9 @@ span.folder-corner {
font-style: italic;
}
div.diverge_list > a:visited {
color: magenta;
}
/********************************************************/
/* ABOUT PAGE */
@ -546,11 +555,11 @@ a.li-index:hover {
/*all pages*/
body{
-webkit-hyphens: auto;
/* -webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
word-break: break-all;
word-break: break-all; */
}
#logobox{

Loading…
Cancel
Save