Make WordPress Core

Changeset 46852


Ignore:
Timestamp:
12/09/2019 03:29:47 PM (7 years 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.
Fixes #48582.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/about.css

    r46709 r46852  
    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.