a[href] {
    text-decoration: none;
    color: inherit;
}

a[href]:hover {
    text-decoration: underline;
    text-underline-offset: .3rem;
}