| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /** 2 * Breakpoints & Media Queries 3 */ 4 /** 5 * Typography 6 */ 7 /** 8 * SCSS Variables. 9 * 10 * Please use variables from this sheet to ensure consistency across the UI. 11 * Don't add to this sheet unless you're pretty sure the value will be reused in many places. 12 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. 13 */ 14 /** 15 * Colors 16 */ 17 /** 18 * Fonts & basic variables. 19 */ 20 /** 21 * Typography 22 */ 23 /** 24 * Grid System. 25 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ 26 */ 27 /** 28 * Radius scale. 29 */ 30 /** 31 * Elevation scale. 32 */ 33 /** 34 * Dimensions. 35 */ 36 /** 37 * Mobile specific styles 38 */ 39 /** 40 * Editor styles. 41 */ 42 /** 43 * Block & Editor UI. 44 */ 45 /** 46 * Block paddings. 47 */ 48 /** 49 * React Native specific. 50 * These variables do not appear to be used anywhere else. 51 */ 52 /** 53 * Converts a hex value into the rgb equivalent. 54 * 55 * @param {string} hex - the hexadecimal value to convert 56 * @return {string} comma separated rgb values 57 */ 58 /** 59 * Long content fade mixin 60 * 61 * Creates a fading overlay to signify that the content is longer 62 * than the space allows. 63 */ 64 /** 65 * Breakpoint mixins 66 */ 67 /** 68 * Focus styles. 69 */ 70 /** 71 * Applies editor left position to the selector passed as argument 72 */ 73 /** 74 * Styles that are reused verbatim in a few places 75 */ 76 /** 77 * Allows users to opt-out of animations via OS-level preferences. 78 */ 79 /** 80 * Reset default styles for JavaScript UI based pages. 81 * This is a WP-admin agnostic reset 82 */ 83 /** 84 * Reset the WP Admin page styles for Gutenberg-like pages. 85 */ 86 .wp-block[data-align=left] > [data-type="core/embed"], 87 .wp-block[data-align=right] > [data-type="core/embed"], 88 .wp-block-embed.alignleft, 89 .wp-block-embed.alignright { 90 max-width: 360px; 91 width: 100%; 92 } 93 .wp-block[data-align=left] > [data-type="core/embed"] .wp-block-embed__wrapper, 94 .wp-block[data-align=right] > [data-type="core/embed"] .wp-block-embed__wrapper, 95 .wp-block-embed.alignleft .wp-block-embed__wrapper, 96 .wp-block-embed.alignright .wp-block-embed__wrapper { 97 min-width: 280px; 98 } 99 100 .wp-block-cover .wp-block-embed { 101 min-width: 320px; 102 min-height: 240px; 103 } 104 105 .wp-block-group.is-layout-flex .wp-block-embed { 106 flex: 1 1 0%; 107 min-width: 0; 108 } 109 110 .wp-block-embed { 111 overflow-wrap: break-word; 112 } 113 .wp-block-embed :where(figcaption) { 114 margin-top: 0.5em; 115 margin-bottom: 1em; 116 } 117 .wp-block-embed iframe { 118 max-width: 100%; 119 } 120 121 .wp-block-embed__wrapper { 122 position: relative; 123 } 124 125 .wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper::before { 126 content: ""; 127 display: block; 128 padding-top: 50%; 129 } 130 .wp-embed-responsive .wp-has-aspect-ratio iframe { 131 position: absolute; 132 top: 0; 133 right: 0; 134 bottom: 0; 135 left: 0; 136 height: 100%; 137 width: 100%; 138 } 139 140 .wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper::before { 141 padding-top: 42.85%; 142 } 143 .wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper::before { 144 padding-top: 50%; 145 } 146 .wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before { 147 padding-top: 56.25%; 148 } 149 .wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper::before { 150 padding-top: 75%; 151 } 152 .wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper::before { 153 padding-top: 100%; 154 } 155 .wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper::before { 156 padding-top: 177.77%; 157 } 158 .wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper::before { 159 padding-top: 200%; 160 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Wed Apr 15 08:20:10 2026 | Cross-referenced by PHPXref |