WordPress.org

Make WordPress Core

Changeset 46853


Ignore:
Timestamp:
12/09/2019 03:31:02 PM (8 months ago)
Author:
SergeyBiryukov
Message:

Help/About: Add a hover effect for links on About pages.

  • Add a color that passes WCAG color contrast criteria to every link.
  • Add an underline for links in credits list only on hover/focus.

Props audrasjb, ixkaito, mukesh27, melchoyce, SergeyBiryukov.
Merges [46852] to the 5.3 branch.
Fixes #48582.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/src/wp-admin/css/about.css

    r46710 r46853  
    306306}
    307307
    308 .about__section a,
     308.about__section a {
     309    color: #5f1b29;
     310    text-decoration: underline;
     311}
     312
    309313.about__section a:hover,
    310314.about__section a:active,
    311315.about__section a:focus {
    312     color: inherit;
     316    text-decoration: none;
     317}
     318
     319.wp-credits-list a {
     320    text-decoration: none;
     321}
     322
     323.wp-credits-list a:hover,
     324.wp-credits-list a:active,
     325.wp-credits-list a:focus {
     326    text-decoration: underline;
    313327}
    314328
     
    428442    -ms-grid-row: 1;
    429443    grid-row: 1;
    430     background-color: #5F1B29;
     444    background-color: #5f1b29;
    431445    background-color: var(--accent-2);
    432446    margin: 0;
Note: See TracChangeset for help on using the changeset viewer.