Making WordPress.org

Changeset 9623


Ignore:
Timestamp:
03/24/2020 05:38:19 AM (7 years ago)
Author:
dd32
Message:

Make: Hide the gravatar-hover preview images that have a mismatched size.

This also removes a circle -> square upon hover that seems irrelevant.

Fixes #4635, #4918.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe
Files:
2 edited

Legend:

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

    r9556 r9623  
    9999
    100100        // Cacheing hack
    101         wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '20200301' );
     101        wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '20200324' );
    102102}
    103103add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\styles', 11 );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r9553 r9623  
    547547}
    548548
    549 .author-avatar img.avatar:hover {
    550         border-radius: 0 !important;
    551 }
    552 
    553549article.post a.author-avatar img.avatar,
    554550article#post-new a.author-avatar img.avatar,
    … …  
    557553        width: 50px !important;
    558554}
     555
     556/* Don't show the on-hover gravatar previews */
     557body > .author-avatar,
     558body > #grav-throbber {
     559    display: none;
     560}
     561
    559562
    560563/* See .entry-meta .entry-date */
Note: See TracChangeset for help on using the changeset viewer.