Making WordPress.org

Changeset 11925


Ignore:
Timestamp:
06/29/2022 07:43:22 PM (23 months ago)
Author:
ryelle
Message:

Breathe: Revert only necessary header styles.

Reverting the font-size and line-height overrides the header styles, so remove those. This also reverts the outline style on buttons in the header to bring back a visible focus style.

Props weboccults, varshil151189.
Fixes #6382.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r11895 r11925  
    116116 */
    117117.wp-block-group.global-header button,
    118 .wp-block-group.global-header html input[type="button"],
     118.wp-block-group.global-header input[type="button"],
    119119.wp-block-group.global-header input[type="reset"],
    120120.wp-block-group.global-header input[type="submit"] {
    121121    /* Revert styles that should only apply to the content area. */
    122     border-radius: initial;
    123     box-shadow: initial;
    124     font-size: initial;
    125     line-height: initial;
    126     text-shadow: initial;
     122    border-radius: revert;
     123    box-shadow: revert;
     124    text-shadow: revert;
     125}
     126
     127.wp-block-group.global-header button:focus,
     128.wp-block-group.global-header input[type="button"]:focus,
     129.wp-block-group.global-header input[type="reset"]:focus,
     130.wp-block-group.global-header input[type="submit"]:focus {
     131    /* Bring back the browser focus style */
     132    outline: revert;
    127133}
    128134
     
    131137.wp-block-group.global-header ol {
    132138    /* Revert styles that should only apply to the content area. */
    133     font-size: inherit;
    134     line-height: inherit;
     139    font-size: revert;
     140    line-height: revert;
    135141}
    136142
Note: See TracChangeset for help on using the changeset viewer.