@primer/brand-css 0.70.0-rc.9ef718be → 0.70.0-rc.c27c2e9b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Footnotes/Footnotes.css +1 -1
- package/components/Hero/Hero.css +5 -3
- package/components/MediaPlaylist/MediaPlaylist.css +10 -0
- package/components/Pillar/Pillar.css +4 -0
- package/components/SectionIntroStacked/SectionIntroStacked.css +1 -1
- package/components/Tiles/Tiles.css +6 -0
- package/package.json +1 -1
package/components/Hero/Hero.css
CHANGED
|
@@ -380,8 +380,9 @@
|
|
|
380
380
|
|
|
381
381
|
/* Header column (eyebrow, heading) */
|
|
382
382
|
.Hero-expressive-header-column {
|
|
383
|
-
padding: var(--base-size-
|
|
384
|
-
padding-
|
|
383
|
+
padding: var(--base-size-36);
|
|
384
|
+
padding-inline: var(--base-size-20);
|
|
385
|
+
padding-block-end: var(--base-size-28);
|
|
385
386
|
border-block-end: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
|
|
386
387
|
display: flex;
|
|
387
388
|
align-items: center;
|
|
@@ -390,6 +391,7 @@
|
|
|
390
391
|
/* Body column (description, actions, trailing) */
|
|
391
392
|
.Hero-expressive-body-column {
|
|
392
393
|
padding: var(--base-size-32);
|
|
394
|
+
padding-inline: var(--base-size-20);
|
|
393
395
|
padding-block-start: var(--base-size-24);
|
|
394
396
|
}
|
|
395
397
|
|
|
@@ -423,7 +425,7 @@
|
|
|
423
425
|
}
|
|
424
426
|
|
|
425
427
|
.Hero--variant-gridline-expressive .Hero-actions {
|
|
426
|
-
margin-block-start: var(--base-size-
|
|
428
|
+
margin-block-start: var(--base-size-24);
|
|
427
429
|
}
|
|
428
430
|
|
|
429
431
|
.Hero--variant-gridline-expressive .Hero-trailing {
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
margin-inline: auto;
|
|
11
11
|
padding: 0;
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
.MediaPlaylist__panelContent :is(h1, h2, h3) + p {
|
|
15
|
+
margin-block-start: var(--base-size-12);
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
|
|
15
19
|
.MediaPlaylist__layout {
|
|
@@ -241,6 +245,12 @@
|
|
|
241
245
|
gap: var(--base-size-12);
|
|
242
246
|
}
|
|
243
247
|
|
|
248
|
+
@media screen and (max-width: 63.24rem) {
|
|
249
|
+
.MediaPlaylist__mediaPanels {
|
|
250
|
+
padding-block-end: var(--base-size-24);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
244
254
|
@media screen and (min-width: 38.625rem) {
|
|
245
255
|
.MediaPlaylist {
|
|
246
256
|
border-inline: var(--brand-borderWidth-thin) solid var(--brand-color-border-muted);
|