| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /** 2 * Typography 3 */ 4 /** 5 * SCSS Variables. 6 * 7 * Please use variables from this sheet to ensure consistency across the UI. 8 * Don't add to this sheet unless you're pretty sure the value will be reused in many places. 9 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI. 10 */ 11 /** 12 * Colors 13 */ 14 /** 15 * Fonts & basic variables. 16 */ 17 /** 18 * Typography 19 */ 20 /** 21 * Grid System. 22 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ 23 */ 24 /** 25 * Radius scale. 26 */ 27 /** 28 * Elevation scale. 29 */ 30 /** 31 * Dimensions. 32 */ 33 /** 34 * Mobile specific styles 35 */ 36 /** 37 * Editor styles. 38 */ 39 /** 40 * Block & Editor UI. 41 */ 42 /** 43 * Block paddings. 44 */ 45 /** 46 * React Native specific. 47 * These variables do not appear to be used anywhere else. 48 */ 49 /** 50 * Breakpoints & Media Queries 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 /** 87 * Creates a checkerboard pattern background to indicate transparency. 88 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px. 89 */ 90 .editor-styles-wrapper :where(:not(.is-layout-flex, .is-layout-grid)) > .wp-block { 91 margin-left: auto; 92 margin-right: auto; 93 } 94 95 .editor-styles-wrapper { 96 padding: 8px; 97 } 98 99 html :where(.editor-styles-wrapper) .block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] { 100 margin-left: -8px; 101 margin-right: -8px; 102 } 103 104 html :where(.wp-block) { 105 max-width: 840px; 106 margin-top: 28px; 107 margin-bottom: 28px; 108 } 109 html :where(.wp-block)[data-align=wide] { 110 max-width: 1100px; 111 } 112 html :where(.wp-block)[data-align=full] { 113 max-width: none; 114 } 115 html :where(.wp-block)[data-align=left], html :where(.wp-block)[data-align=right] { 116 width: 100%; 117 height: 0; 118 } 119 html :where(.wp-block)[data-align=left]::before, html :where(.wp-block)[data-align=right]::before { 120 content: none; 121 } 122 html :where(.wp-block)[data-align=left] > * { 123 /*!rtl:begin:ignore*/ 124 float: left; 125 margin-right: 2em; 126 /*!rtl:end:ignore*/ 127 } 128 html :where(.wp-block)[data-align=right] > * { 129 /*!rtl:begin:ignore*/ 130 float: right; 131 margin-left: 2em; 132 /*!rtl:end:ignore*/ 133 } 134 html :where(.wp-block)[data-align=full], html :where(.wp-block)[data-align=wide] { 135 clear: both; 136 } 137 138 .wp-block-group > [data-align=full] { 139 margin-left: auto; 140 margin-right: auto; 141 } 142 143 .wp-block-group.has-background > [data-align=full] { 144 margin-left: -30px; 145 width: calc(100% + 60px); 146 } 147 148 /** 149 * Group: Full Width Alignment 150 */ 151 [data-align=full] .wp-block-group > .wp-block { 152 padding-left: 14px; 153 padding-right: 14px; 154 } 155 @media (min-width: 600px) { 156 [data-align=full] .wp-block-group > .wp-block { 157 padding-left: 0; 158 padding-right: 0; 159 } 160 } 161 [data-align=full] .wp-block-group > [data-align=full] { 162 padding-right: 0; 163 padding-left: 0; 164 left: 0; 165 width: 100%; 166 max-width: none; 167 } 168 [data-align=full] .wp-block-group.has-background > [data-align=full] { 169 width: calc(100% + 60px); 170 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Thu Jun 25 08:20:12 2026 | Cross-referenced by PHPXref |