fix hover a bit
This commit is contained in:
parent
57afa2ce4b
commit
dede4299dc
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user