diff --git a/client/src/document/index.scss b/client/src/document/index.scss index 3607cc039a88..4754fcfe9c33 100644 --- a/client/src/document/index.scss +++ b/client/src/document/index.scss @@ -65,7 +65,13 @@ color: var(--text-link); width: fit-content; - &:active { + &:visited:not([href^="#"]) { + // Distinguish visited links (excl. anchor links). + color: revert; + } + + &:active, + &:active:visited { background-color: var(--text-link); color: #fff;