wp/wp-includes/css/dist/block-library/theme.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  *
    66  * This is a WP-admin agnostic reset
    72  * This is a WP-admin agnostic reset
    67  */
    73  */
    68 /**
    74 /**
    69  * Reset the WP Admin page styles for Gutenberg-like pages.
    75  * Reset the WP Admin page styles for Gutenberg-like pages.
    70  */
    76  */
    71 #start-resizable-editor-section {
       
    72   display: none;
       
    73 }
       
    74 
       
    75 .wp-block-audio figcaption {
    77 .wp-block-audio figcaption {
    76   color: #555;
    78   color: #555;
    77   font-size: 13px;
    79   font-size: 13px;
    78   text-align: center;
    80   text-align: center;
    79 }
    81 }
    80 .is-dark-theme .wp-block-audio figcaption {
    82 .is-dark-theme .wp-block-audio figcaption {
    81   color: rgba(255, 255, 255, 0.65);
    83   color: rgba(255, 255, 255, 0.65);
    82 }
    84 }
    83 
    85 
    84 .wp-block-code {
    86 .wp-block-code {
       
    87   border: 1px solid #ccc;
       
    88   border-radius: 4px;
    85   font-family: Menlo, Consolas, monaco, monospace;
    89   font-family: Menlo, Consolas, monaco, monospace;
    86   color: #1e1e1e;
       
    87   padding: 0.8em 1em;
    90   padding: 0.8em 1em;
    88   border: 1px solid #ddd;
       
    89   border-radius: 4px;
       
    90 }
    91 }
    91 
    92 
    92 .wp-block-embed figcaption {
    93 .wp-block-embed figcaption {
    93   color: #555;
    94   color: #555;
    94   font-size: 13px;
    95   font-size: 13px;
   150 }
   151 }
   151 .wp-block-quote.has-text-align-center {
   152 .wp-block-quote.has-text-align-center {
   152   border: none;
   153   border: none;
   153   padding-left: 0;
   154   padding-left: 0;
   154 }
   155 }
   155 .wp-block-quote.is-style-large, .wp-block-quote.is-large {
   156 .wp-block-quote.is-style-plain, .wp-block-quote.is-style-large, .wp-block-quote.is-large {
   156   border: none;
   157   border: none;
   157 }
   158 }
   158 
   159 
   159 .wp-block-search .wp-block-search__label {
   160 .wp-block-search .wp-block-search__label {
   160   font-weight: bold;
   161   font-weight: bold;
   161 }
   162 }
   162 
   163 
   163 .wp-block-group.has-background {
   164 :where(.wp-block-group.has-background) {
   164   padding: 1.25em 2.375em;
   165   padding: 1.25em 2.375em;
   165   margin-top: 0;
   166 }
   166   margin-bottom: 0;
   167 
       
   168 .wp-block-separator.has-css-opacity {
       
   169   opacity: 0.4;
   167 }
   170 }
   168 
   171 
   169 .wp-block-separator {
   172 .wp-block-separator {
   170   border: none;
   173   border: none;
   171   border-bottom: 2px solid currentColor;
   174   border-bottom: 2px solid currentColor;
   172   margin-left: auto;
   175   margin-left: auto;
   173   margin-right: auto;
   176   margin-right: auto;
   174   opacity: 0.4;
   177 }
       
   178 .wp-block-separator.has-alpha-channel-opacity {
       
   179   opacity: initial;
   175 }
   180 }
   176 .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
   181 .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
   177   width: 100px;
   182   width: 100px;
   178 }
   183 }
   179 .wp-block-separator.has-background:not(.is-style-dots) {
   184 .wp-block-separator.has-background:not(.is-style-dots) {
   217 .wp-block-template-part.has-background {
   222 .wp-block-template-part.has-background {
   218   padding: 1.25em 2.375em;
   223   padding: 1.25em 2.375em;
   219   margin-top: 0;
   224   margin-top: 0;
   220   margin-bottom: 0;
   225   margin-bottom: 0;
   221 }
   226 }
   222 
       
   223 #end-resizable-editor-section {
       
   224   display: none;
       
   225 }