-
Notifications
You must be signed in to change notification settings - Fork 315
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
a:visited
in code blocks messes up highlighting
#989
Comments
Thank you, but I'm not sure what point you are making. The best way forward might be for you to file a pull request that fixes what you see to be the problem. Go well, – P
…________________________________
From: adql ***@***.***>
Sent: 02 May 2024 09:58
To: plfa/plfa.github.io ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [plfa/plfa.github.io] `a:visited` in code blocks messes up highlighting (Issue #989)
This email was sent to you by someone outside the University.
You should only click on links or attachments if you are certain that the email is genuine and the content is safe.
The css has a general a:visited defined to a tint of blue, which applies to code blocks and thus changes highlighting:
code_block.png (view on web)<https://github.com/plfa/plfa.github.io/assets/6893125/eedebf8f-88b4-46cf-986d-02343903f597>
Here to, from, Set and extensionality have been visited. This is less critical for function and type names but, as can be seen, changes the color for record fields (and would do for the refl type constructor as well) significantly.
—
Reply to this email directly, view it on GitHub<#989>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABFJ7MT7G2Y67DSAHMQP6MTZAH53XAVCNFSM6AAAAABHDJWXBWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TIOJXGE2TKMI>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
|
@wadler The issue is that clicking a definition for more info and then coming back messes up syntax highlighting. |
I believe we use variants of Agda's CSS file. Rather than changing the Seems like this wouldn't just be a PLFA issue. |
Yes, that's right. Clicking the definitions changes the highlighting, which then remains wrong until the browser forgets the visited target, whenever that may be.
As for PLFA itself, it seems like the "blame" is on |
No, I'm suggesting adding rules for |
I agree, my last paragraph was only for context. |
I believe this is not an issue upstream in Agda after all, but rather a too low specificity of the selectors in PLFA's |
The css has a general
a:visited
defined to a tint of blue, which applies to code blocks and thus changes highlighting:Here
to
,from
,Set
andextensionality
have been visited. This is less critical for function and type names but, as can be seen, changes the color for record fields (and would do for therefl
type constructor as well) significantly.The text was updated successfully, but these errors were encountered: