wp/wp-includes/blocks/pullquote/style-rtl.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  *
    70  */
    76  */
    71 .wp-block-pullquote {
    77 .wp-block-pullquote {
    72   margin: 0 0 1em 0;
    78   margin: 0 0 1em 0;
    73   padding: 3em 0;
    79   padding: 3em 0;
    74   text-align: center;
    80   text-align: center;
       
    81   overflow-wrap: break-word;
       
    82   box-sizing: border-box;
    75 }
    83 }
    76 .wp-block-pullquote.alignleft, .wp-block-pullquote.alignright {
    84 .wp-block-pullquote p,
       
    85 .wp-block-pullquote blockquote,
       
    86 .wp-block-pullquote cite {
       
    87   color: inherit;
       
    88 }
       
    89 .wp-block-pullquote.has-text-align-left, .wp-block-pullquote.has-text-align-right, .wp-block-pullquote.alignleft, .wp-block-pullquote.alignright {
    77   max-width: 420px;
    90   max-width: 420px;
    78 }
    91 }
    79 .wp-block-pullquote.alignleft p, .wp-block-pullquote.alignright p {
    92 .wp-block-pullquote.has-text-align-left p, .wp-block-pullquote.has-text-align-right p, .wp-block-pullquote.alignleft p, .wp-block-pullquote.alignright p {
    80   font-size: 1.25em;
    93   font-size: 1.25em;
    81 }
    94 }
    82 .wp-block-pullquote p {
    95 .wp-block-pullquote p {
    83   font-size: 1.75em;
    96   font-size: 1.75em;
    84   line-height: 1.6;
    97   line-height: 1.6;
    89 }
   102 }
    90 .wp-block-pullquote .has-text-color a {
   103 .wp-block-pullquote .has-text-color a {
    91   color: inherit;
   104   color: inherit;
    92 }
   105 }
    93 
   106 
    94 .wp-block-pullquote:not(.is-style-solid-color) {
   107 .wp-block-pullquote.has-text-align-left blockquote {
    95   background: none;
   108   text-align: right;
       
   109 }
       
   110 
       
   111 .wp-block-pullquote.has-text-align-right blockquote {
       
   112   text-align: left;
    96 }
   113 }
    97 
   114 
    98 .wp-block-pullquote.is-style-solid-color {
   115 .wp-block-pullquote.is-style-solid-color {
    99   border: none;
   116   border: none;
   100 }
   117 }
   101 .wp-block-pullquote.is-style-solid-color blockquote {
   118 .wp-block-pullquote.is-style-solid-color blockquote {
   102   margin-right: auto;
   119   margin-right: auto;
   103   margin-left: auto;
   120   margin-left: auto;
   104   text-align: right;
       
   105   max-width: 60%;
   121   max-width: 60%;
   106 }
   122 }
   107 .wp-block-pullquote.is-style-solid-color blockquote p {
   123 .wp-block-pullquote.is-style-solid-color blockquote p {
   108   margin-top: 0;
   124   margin-top: 0;
   109   margin-bottom: 0;
   125   margin-bottom: 0;