Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional style for visited links #3

Open
twagoo opened this issue Jan 12, 2017 · 1 comment
Open

Additional style for visited links #3

twagoo opened this issue Jan 12, 2017 · 1 comment

Comments

@twagoo
Copy link
Member

twagoo commented Jan 12, 2017

Add something along the lines of

.mark-visited-links a, a.mark-visited:visited {
  color: lighten(@link-color, 20%); //example, evaluate actual colour to use!
}

so that visited links will be visually distinct if the right (container) class is applied, e.g.

<p>
    <a>Does not change colour if visited</a>
    <a class="mark-visited">Changes colour if visited</a>
</p>

<p class="mark-visited-links">
   <a>Changes colour if visited</a>
</p>
@twagoo
Copy link
Member Author

twagoo commented Jan 12, 2017

Other colour functions like @desaturate or @mix might be better options than lightening, see http://lesscss.org/functions/#color-operations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant