[Ticket/12735] Remove all :link, :visited, :active states

[Ticket/12735] Remove all :link, :visited, :active link states

https://tracker.phpbb.com/browse/PHPBB3-12735

PHPBB3-12735
Unrelated? Besides this, looks ok to merge.