Make WordPress Core


Ignore:
Timestamp:
02/23/2021 08:15:02 PM (4 years ago)
Author:
adamsilverstein
Message:

Twenty Twenty-One: Improve transparent PNG logo visible on focus.

This ensures a transparent logo remains visible while focused. Also cleans up dark mode CSS, consolidating styles and removing overrides that are no longer needed.

Follow up to [50154].

Props poena, sabernhardt, ryelle.
Fixes #52257.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/style-dark-mode.scss

    r50154 r50423  
    1616        --table--stripes-border-color: rgba(240, 240, 240, 0.15);
    1717        --table--stripes-background-color: rgba(240, 240, 240, 0.15);
    18 
    19         .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button),
    20         .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) .meta-nav {
    21             background: #000;
    22             color: #fff;
    23             text-decoration: none;
    24 
    25             &.custom-logo-link {
    26 
    27                 &:focus {
    28                     background: none;
    29                 }
    30             }
    31         }
    3218
    3319        img {
Note: See TracChangeset for help on using the changeset viewer.