Archived
1
0

fix hover a bit

This commit is contained in:
Jeff Becker 2016-04-26 09:23:38 -04:00
parent 57afa2ce4b
commit dede4299dc
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
2 changed files with 7 additions and 1 deletions

View File

@ -99,6 +99,7 @@ function inject_hover(prefix, el, parent) {
wrapper.setAttribute("class", "hover "+linkhash); wrapper.setAttribute("class", "hover "+linkhash);
if (j == null) { if (j == null) {
// not found? // not found?
wrapper.setAttribute("class", "hover notfound-hover "+linkhash);
wrapper.appendChild(document.createTextNode("not found")); wrapper.appendChild(document.createTextNode("not found"));
} else { } else {
// wrap backlink // wrap backlink

View File

@ -21,7 +21,12 @@ section {
position: absolute; position: absolute;
} }
.hover > div > .post { .notfound-hover {
background: #EEF2FF;
padding: 10px;
}
.hover > div > .post , .notfound-hover {
box-shadow: 0 0 10px rgba(0,0,0,0.55); box-shadow: 0 0 10px rgba(0,0,0,0.55);
} }