Clearer when archive links are N/A.
This commit is contained in:
parent
0fac43ee46
commit
f7b4e0556d
@ -177,6 +177,9 @@ a[href="javascript:;"] {
|
||||
#header.bottom #header-bar.autohide #toggle-header-bar {
|
||||
cursor: n-resize;
|
||||
}
|
||||
#header-bar a.inactive {
|
||||
color: inherit !important;
|
||||
}
|
||||
#header-bar a:not(.entry) {
|
||||
text-decoration: none;
|
||||
padding: 1px;
|
||||
|
||||
@ -140,8 +140,12 @@ Header =
|
||||
else
|
||||
a.textContent
|
||||
|
||||
if /-archive/.test(t) and href = Redirect.to 'board', {boardID}
|
||||
a.href = href
|
||||
if /-archive/.test(t)
|
||||
if href = Redirect.to 'board', {boardID}
|
||||
a.href = href
|
||||
else
|
||||
$.addClass a, 'inactive'
|
||||
a.removeAttribute 'href'
|
||||
|
||||
$.addClass a, 'navSmall' if boardID is '@'
|
||||
return a
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user