diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 224859f..827d8af 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -99,6 +99,7 @@ function inject_hover(prefix, el, parent) { wrapper.setAttribute("class", "hover "+linkhash); if (j == null) { // not found? + wrapper.setAttribute("class", "hover notfound-hover "+linkhash); wrapper.appendChild(document.createTextNode("not found")); } else { // wrap backlink diff --git a/contrib/static/site.css b/contrib/static/site.css index bcdf1ab..dba9d50 100644 --- a/contrib/static/site.css +++ b/contrib/static/site.css @@ -21,7 +21,12 @@ section { 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); }