Added attribute selector hovers for a tags

This fixes problems when note anchors are effected by a parents hover
state.