add no link coloring to replies

This commit is contained in:
Mystikfluu 2022-07-10 13:45:39 +02:00
parent 844164d95d
commit 7b3d4eb2e8
2 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,7 @@ li a:hover {
a {
text-decoration: none;
}
a:link, a:visited {
a:link:not(.no-link-style), a:visited:not(.no-link-style) {
color: var(--green);
}
a:hover {

View File

@ -133,6 +133,8 @@ async function createPost(username,text,time,specialtext,postid,isbot,reply_id)
replyA.innerHTML += filterPost(reply_text.replace("\n"," ").substring(0,20))
replyA.appendChild(replyBr)
replyA.classList.add("no-link-style")
replyDiv.appendChild(replyA)
newDiv.appendChild(replyDiv)