PluginProbe
Gutenberg / 23.6.2
Gutenberg v23.6.2
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / build / styles / block-library / theme.css

theme.css in Gutenberg 23.6.2, at build/styles/block-library/theme.css

261 lines 5.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 * Standard focus rings for the WordPress Design System.
72 *
73 * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74 * e.g. `&:focus { @include outset-ring__focus(); }`.
75 */
76 /**
77 * Applies editor left position to the selector passed as argument
78 */
79 /**
80 * Styles that are reused verbatim in a few places
81 */
82 /**
83 * Allows users to opt-out of animations via OS-level preferences.
84 */
85 /**
86 * Reset default styles for JavaScript UI based pages.
87 * This is a WP-admin agnostic reset
88 */
89 /**
90 * Reset the WP Admin page styles for Gutenberg-like pages.
91 */
92 /**
93 * Creates a checkerboard pattern background to indicate transparency.
94 * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
95 */
96 .wp-block-audio :where(figcaption) {
97 color: #555;
98 font-size: 13px;
99 text-align: center;
100 }
101 .is-dark-theme .wp-block-audio :where(figcaption) {
102 color: rgba(255, 255, 255, 0.65);
103 }
104
105 .wp-block-audio {
106 margin: 0 0 1em 0;
107 }
108
109 .wp-block-code {
110 border: 1px solid #ccc;
111 border-radius: 4px;
112 font-family: Menlo, Consolas, monaco, monospace;
113 padding: 0.8em 1em;
114 }
115
116 .wp-block-embed :where(figcaption) {
117 color: #555;
118 font-size: 13px;
119 text-align: center;
120 }
121 .is-dark-theme .wp-block-embed :where(figcaption) {
122 color: rgba(255, 255, 255, 0.65);
123 }
124
125 .wp-block-embed {
126 margin: 0 0 1em 0;
127 }
128
129 .blocks-gallery-caption {
130 color: #555;
131 font-size: 13px;
132 text-align: center;
133 }
134 .is-dark-theme .blocks-gallery-caption {
135 color: rgba(255, 255, 255, 0.65);
136 }
137
138 :root :where(.wp-block-image figcaption) {
139 color: #555;
140 font-size: 13px;
141 text-align: center;
142 }
143 .is-dark-theme :root :where(.wp-block-image figcaption) {
144 color: rgba(255, 255, 255, 0.65);
145 }
146
147 .wp-block-image {
148 margin: 0 0 1em 0;
149 }
150
151 .wp-block-pullquote {
152 border-top: 4px solid currentColor;
153 border-bottom: 4px solid currentColor;
154 margin-bottom: 1.75em;
155 color: currentColor;
156 }
157 .wp-block-pullquote :where(cite),
158 .wp-block-pullquote :where(footer), .wp-block-pullquote__citation {
159 color: currentColor;
160 text-transform: uppercase;
161 font-size: 0.8125em;
162 font-style: normal;
163 }
164
165 .wp-block-quote {
166 border-left: 0.25em solid currentColor;
167 margin: 0 0 1.75em 0;
168 padding-left: 1em;
169 }
170 .wp-block-quote cite,
171 .wp-block-quote footer {
172 color: currentColor;
173 font-size: 0.8125em;
174 position: relative;
175 font-style: normal;
176 }
177 .wp-block-quote:where(.has-text-align-right) {
178 border-left: none;
179 border-right: 0.25em solid currentColor;
180 padding-left: 0;
181 padding-right: 1em;
182 }
183 .wp-block-quote:where(.has-text-align-center) {
184 border: none;
185 padding-left: 0;
186 }
187 .wp-block-quote:where(.is-style-plain), .wp-block-quote.is-style-large, .wp-block-quote.is-large {
188 border: none;
189 }
190
191 .wp-block-search .wp-block-search__label {
192 font-weight: bold;
193 }
194
195 .wp-block-search__button {
196 border: 1px solid #ccc;
197 padding: 0.375em 0.625em;
198 }
199
200 :where(.wp-block-group.has-background) {
201 padding: 1.25em 2.375em;
202 }
203
204 .wp-block-separator.has-css-opacity {
205 opacity: 0.4;
206 }
207
208 .wp-block-separator {
209 border: none;
210 border-bottom: 2px solid currentColor;
211 margin-left: auto;
212 margin-right: auto;
213 }
214 .wp-block-separator.has-alpha-channel-opacity {
215 opacity: initial;
216 }
217 .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
218 width: 100px;
219 }
220 .wp-block-separator.has-background:not(.is-style-dots) {
221 border-bottom: none;
222 height: 1px;
223 }
224 .wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
225 height: 2px;
226 }
227
228 .wp-block-table {
229 margin: 0 0 1em 0;
230 }
231 .wp-block-table td,
232 .wp-block-table th {
233 word-break: normal;
234 }
235 .wp-block-table :where(figcaption) {
236 color: #555;
237 font-size: 13px;
238 text-align: center;
239 }
240 .is-dark-theme .wp-block-table :where(figcaption) {
241 color: rgba(255, 255, 255, 0.65);
242 }
243
244 .wp-block-video :where(figcaption) {
245 color: #555;
246 font-size: 13px;
247 text-align: center;
248 }
249 .is-dark-theme .wp-block-video :where(figcaption) {
250 color: rgba(255, 255, 255, 0.65);
251 }
252
253 .wp-block-video {
254 margin: 0 0 1em 0;
255 }
256
257 :root :where(.wp-block-template-part.has-background) {
258 padding: 1.25em 2.375em;
259 margin-top: 0;
260 margin-bottom: 0;
261 }