36
36
h2 ,
37
37
h3 ,
38
38
h4 {
39
- text-wrap : balance ;
39
+ text-wrap : balance ;
40
40
}
41
41
42
42
/* Make bold styles look a bit nicer. */
@@ -87,18 +87,18 @@ select {
87
87
/* Inline code and keyboard input styles. Need to explicitly exclude the Code block. */
88
88
* :not (.wp-block-code ) > code ,
89
89
kbd {
90
- background-color : var (--wp--preset--color--neutral-100 );
91
- border-radius : 4px ;
90
+ background-color : var (--wp--preset--color--neutral-100 );
91
+ border-radius : 4px ;
92
92
color : var (--wp--preset--color--primary );
93
93
font-family : var (--wp--preset--font-family--monospace );
94
- font-size : 0.8em ;
95
- padding : 0.2rem 0.35rem ;
96
- position : relative ;
94
+ font-size : 0.8em ;
95
+ padding : 0.2rem 0.35rem ;
96
+ position : relative ;
97
97
}
98
98
99
99
* .has-dark-code :not (.wp-block-code ) code ,
100
100
.has-dark-code kbd {
101
- background-color : var (--wp--preset--color--primary-light );
101
+ background-color : var (--wp--preset--color--primary-light );
102
102
color : var (--wp--preset--color--neutral );
103
103
}
104
104
@@ -130,52 +130,63 @@ span.required {
130
130
131
131
/* Box Shadow */
132
132
.box-shadow {
133
- & --small {
134
- box-shadow : var (--wp--preset--shadow--small );
135
- }
133
+ & --small {
134
+ box-shadow : var (--wp--preset--shadow--small );
135
+ }
136
136
137
- & --medium {
138
- box-shadow : var (--wp--preset--shadow--medium );
139
- }
137
+ & --medium {
138
+ box-shadow : var (--wp--preset--shadow--medium );
139
+ }
140
+ }
141
+
142
+ /* Text Wrap */
143
+ .text-wrap {
144
+ & --balance {
145
+ text-wrap : balance ;
146
+ }
147
+
148
+ & --pretty {
149
+ text-wrap : pretty;
150
+ }
140
151
}
141
152
142
153
/* Border */
143
154
.border-radius {
144
- & --default {
145
- border-radius : var (--wp--custom--border-radius--default );
146
- overflow : hidden ;
147
- }
155
+ & --default {
156
+ border-radius : var (--wp--custom--border-radius--default );
157
+ overflow : hidden ;
158
+ }
148
159
149
160
& --button {
150
- border-radius : var (--wp--custom--border-radius--button );
151
- overflow : hidden ;
152
- }
161
+ border-radius : var (--wp--custom--border-radius--button );
162
+ overflow : hidden ;
163
+ }
153
164
154
- & --round {
155
- border-radius : var (--wp--custom--border-radius--round );
156
- overflow : hidden ;
157
- }
165
+ & --round {
166
+ border-radius : var (--wp--custom--border-radius--round );
167
+ overflow : hidden ;
168
+ }
158
169
}
159
170
160
171
/* Links */
161
172
.text-decoration--none {
162
- a {
163
- text-decoration-thickness : 0 !important ;
164
- text-decoration : none !important ;
165
- }
173
+ a {
174
+ text-decoration-thickness : 0 !important ;
175
+ text-decoration : none !important ;
176
+ }
166
177
}
167
178
168
179
.has-hidden-links {
169
- a {
170
- text-decoration-thickness : 0 !important ;
171
- text-decoration : none !important ;
172
-
173
- & :hover {
174
- text-decoration : underline !important ;
175
- text-decoration-thickness : 1px !important ;
176
- text-underline-offset : 0.5ch !important ;
177
- }
178
- }
180
+ a {
181
+ text-decoration-thickness : 0 !important ;
182
+ text-decoration : none !important ;
183
+
184
+ & :hover {
185
+ text-decoration : underline !important ;
186
+ text-decoration-thickness : 1px !important ;
187
+ text-underline-offset : 0.5ch !important ;
188
+ }
189
+ }
179
190
}
180
191
181
192
a .has-arrow-right ,
@@ -249,11 +260,11 @@ a.has-arrow-left,
249
260
250
261
/* Remove image border on mobile. */
251
262
.has-no-mobile-border {
252
- img {
253
- @media (max-width : 782px ) {
254
- border : none !important ;
255
- }
256
- }
263
+ img {
264
+ @media (max-width : 782px ) {
265
+ border : none !important ;
266
+ }
267
+ }
257
268
}
258
269
259
270
/* Conditionally display content based on browser width. */
@@ -295,11 +306,18 @@ a.has-arrow-left,
295
306
296
307
/* Jetpack Social */
297
308
.sd-like {
298
- margin-top : var (--wp--preset--spacing--large );
309
+ margin-top : var (--wp--preset--spacing--large );
299
310
}
300
311
301
312
.sd-title {
302
- display : none !important ;
313
+ display : none !important ;
314
+ }
315
+
316
+ /* Jetpack Subscriptions */
317
+ .wp-block-jetpack-subscriptions {
318
+ .wp-block-button__link {
319
+ border-radius : var (--wp--custom--border-radius--button ) !important
320
+ }
303
321
}
304
322
305
323
/* Jetpack VideoPress */
@@ -309,10 +327,10 @@ a.has-arrow-left,
309
327
310
328
/* Lightbox */
311
329
.wp-lightbox-overlay .close-button :focus {
312
- outline : none ;
330
+ outline : none ;
313
331
}
314
332
315
333
.wp-lightbox-overlay .close-button svg {
316
- height : 24px ;
317
- width : 24px ;
334
+ height : 24px ;
335
+ width : 24px ;
318
336
}
0 commit comments