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

Mark :target entry using border #7477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kukimik
Copy link
Contributor

@kukimik kukimik commented Jan 7, 2025

Commit a3762f6 marked the current (:target) entry using background color. But then 11e736f set the background color for all entries. Thus we need another way to highlight the entry pointed at by the URL fragment.

See #7377 (comment).

Closes #7299 (see #7299 (comment)).

Screenshots:

screen1

screen2

Commit a3762f6 marked the current (:target) entry using background color. But then 11e736f set the background color for all entries. Thus we need another way to highlight the entry pointed at by the URL fragment.

Signed-off-by: Michał Kukieła <[email protected]>
@rtfeldman
Copy link
Contributor

I don't have strong opinions on this - what do you think @gamebox?

@gamebox
Copy link
Collaborator

gamebox commented Jan 15, 2025

I think I would just have a flash of that border after scrolled into view

It’s nice but a little garish to keep around IMO

As another option, I’ve seen other docs raise the background’s brightness for a few hundred millis.

Could you try animating the border back to the normal state after some time?

@gamebox
Copy link
Collaborator

gamebox commented Jan 15, 2025

I'm happy to help if you need it

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

Successfully merging this pull request may close these issues.

web docs: use of link that ends with #something should briefly highlight the function something
3 participants