wp/wp-includes/blocks/post-featured-image/style.css
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    39 /**
    39 /**
    40  * React Native specific.
    40  * React Native specific.
    41  * These variables do not appear to be used anywhere else.
    41  * These variables do not appear to be used anywhere else.
    42  */
    42  */
    43 /**
    43 /**
       
    44 *  Converts a hex value into the rgb equivalent.
       
    45 *
       
    46 * @param {string} hex - the hexadecimal value to convert
       
    47 * @return {string} comma separated rgb values
       
    48 */
       
    49 /**
    44  * Breakpoint mixins
    50  * Breakpoint mixins
    45  */
    51  */
    46 /**
    52 /**
    47  * Long content fade mixin
    53  * Long content fade mixin
    48  *
    54  *
    71 .wp-block-post-featured-image {
    77 .wp-block-post-featured-image {
    72   margin-left: 0;
    78   margin-left: 0;
    73   margin-right: 0;
    79   margin-right: 0;
    74 }
    80 }
    75 .wp-block-post-featured-image a {
    81 .wp-block-post-featured-image a {
    76   display: inline-block;
    82   display: block;
    77 }
    83 }
    78 .wp-block-post-featured-image img {
    84 .wp-block-post-featured-image img {
    79   max-width: 100%;
    85   max-width: 100%;
       
    86   width: 100%;
    80   height: auto;
    87   height: auto;
       
    88   vertical-align: bottom;
    81 }
    89 }
    82 .wp-block-post-featured-image.alignwide img, .wp-block-post-featured-image.alignfull img {
    90 .wp-block-post-featured-image.alignwide img, .wp-block-post-featured-image.alignfull img {
    83   width: 100%;
    91   width: 100%;
    84 }
    92 }