Skip to content

Improve link styling in PHPInfo #15077

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

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Improve link styling in PHPInfo #15077

merged 2 commits into from
Jul 31, 2024

Conversation

TimWolla
Copy link
Member

The previous styling with the fixed background color didn't work well in dark mode. Remove the background and make links inherit the regular text color. To make them visually detectable the underlining behavior is reversed. The underline is now shown when not hovering and hidden when hovering.


Before (linking the “Zend Scripting” text as an example):

image
image

After:

image
image

/cc @Ayesh who made the latest change to the CSS.

The previous styling with the fixed background color didn't work well in dark
mode. Remove the background and make links inherit the regular text color. To
make them visually detectable the underlining behavior is reversed. The
underline is now shown when not hovering and hidden when hovering.
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me

@TimWolla TimWolla merged commit a578c27 into php:master Jul 31, 2024
11 checks passed
@TimWolla TimWolla deleted the phpinfo-css branch July 31, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants