wp/wp-includes/blocks/latest-posts/style.css
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    38  */
    38  */
    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 /**
       
    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 */
    43 /**
    49 /**
    44  * Breakpoint mixins
    50  * Breakpoint mixins
    45  */
    51  */
    46 /**
    52 /**
    47  * Long content fade mixin
    53  * Long content fade mixin
   126 }
   132 }
   127 
   133 
   128 .wp-block-latest-posts__post-date,
   134 .wp-block-latest-posts__post-date,
   129 .wp-block-latest-posts__post-author {
   135 .wp-block-latest-posts__post-author {
   130   display: block;
   136   display: block;
   131   color: #555;
       
   132   font-size: 0.8125em;
   137   font-size: 0.8125em;
   133 }
   138 }
   134 
   139 
   135 .wp-block-latest-posts__post-excerpt {
   140 .wp-block-latest-posts__post-excerpt {
   136   margin-top: 0.5em;
   141   margin-top: 0.5em;
   146   max-width: 100%;
   151   max-width: 100%;
   147 }
   152 }
   148 .wp-block-latest-posts__featured-image.alignleft {
   153 .wp-block-latest-posts__featured-image.alignleft {
   149   /*rtl:ignore*/
   154   /*rtl:ignore*/
   150   margin-right: 1em;
   155   margin-right: 1em;
       
   156   /*rtl:ignore*/
       
   157   float: left;
   151 }
   158 }
   152 .wp-block-latest-posts__featured-image.alignright {
   159 .wp-block-latest-posts__featured-image.alignright {
   153   /*rtl:ignore*/
   160   /*rtl:ignore*/
   154   margin-left: 1em;
   161   margin-left: 1em;
       
   162   /*rtl:ignore*/
       
   163   float: right;
   155 }
   164 }
   156 .wp-block-latest-posts__featured-image.aligncenter {
   165 .wp-block-latest-posts__featured-image.aligncenter {
   157   margin-bottom: 1em;
   166   margin-bottom: 1em;
   158   text-align: center;
   167   text-align: center;
   159 }
   168 }
   160 
       
   161 .block-editor-image-alignment-control__row .components-base-control__field {
       
   162   display: flex;
       
   163   justify-content: space-between;
       
   164   align-items: center;
       
   165 }
       
   166 .block-editor-image-alignment-control__row .components-base-control__field .components-base-control__label {
       
   167   margin-bottom: 0;
       
   168 }