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

Improve CSS UX of links #215

Open
ericholscher opened this issue Jul 20, 2022 · 2 comments
Open

Improve CSS UX of links #215

ericholscher opened this issue Jul 20, 2022 · 2 comments
Labels
Design Design or UX/UI related

Comments

@ericholscher
Copy link
Member

ericholscher commented Jul 20, 2022

I'd love to have a more visible UX indicator that a link on the page is hoverxref-enabled. I'd love a very obvious custom underline CSS style, as a start. Perhaps also an optional icon at the end of the link? Many sites do this for badging external links, so could be something similar.

This should also be documented for theme authors so they can make similar UX updates.

@ericholscher ericholscher changed the title Improve UX of links Improve CSS UX of links Jul 20, 2022
@humitos
Copy link
Member

humitos commented Jul 21, 2022

We talked about this some time ago and I suggested to use a small 💡 icon. See #11 (comment)

It should not be hard to make this change, but I'd like to receive some feedback and opinions about the style/look&feel to make it good under different circumstances.

@humitos humitos added the Design Design or UX/UI related label Jul 21, 2022
@humitos
Copy link
Member

humitos commented Jan 9, 2023

I found this nice idea in https://myst.tools/sandbox

Peek 2023-01-09 11-33

  • you have to click, so it's not hover
  • that makes it to work on mobile
  • it changes the cursor to a magnifier with a plus sign inside it
  • the popup shows a link at the top right to go directly to that section
  • you have to click outside to make it disappear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design Design or UX/UI related
Projects
None yet
Development

No branches or pull requests

2 participants