mp-design-system 1.2.25 → 1.2.26
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/dist/build/js/app.js.map +1 -1
- package/dist/build/scss/library.css +1 -1
- package/dist/build/scss/library.css.map +1 -1
- package/dist/build/scss/main.css +1 -1
- package/dist/build/scss/main.css.map +1 -1
- package/package.json +1 -1
- package/src/_includes/components/meta-box/meta-box.scss +0 -24
- package/src/assets/scss/objects/grid.scss +10 -0
- package/src/brand/typography.md +1 -1
package/package.json
CHANGED
|
@@ -7,28 +7,4 @@
|
|
|
7
7
|
.u-wrap--fields {
|
|
8
8
|
@include padding-right(0)
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
@media only screen and (min-width: 35em) and (max-width: 54.95em) {
|
|
12
|
-
column-width: 18em;
|
|
13
|
-
display: grid;
|
|
14
|
-
grid-template-columns: 1fr 1fr;
|
|
15
|
-
grid-gap: 0 var(--gutter);
|
|
16
|
-
grid-template-rows: auto max-content auto;
|
|
17
|
-
|
|
18
|
-
h2 {
|
|
19
|
-
grid-column: 1/3;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
li {
|
|
23
|
-
break-inside: avoid;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.u-grey-step-1 {
|
|
27
|
-
grid-row: 2/4;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.c-button {
|
|
31
|
-
align-self: start;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
10
|
}
|
|
@@ -185,6 +185,16 @@ $grid-gutter-width: 36;
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
// Prevents overlap on floated sticky elements when stacked
|
|
189
|
+
@media (max-width: 55em) {
|
|
190
|
+
&--float:not([class*="switch"]) > :nth-child(2n + 1),
|
|
191
|
+
&--float[class*="switch"] > :nth-child(2n + 2),
|
|
192
|
+
&--float:not([class*="switch"]) > :nth-child(2n + 2),
|
|
193
|
+
&--float[class*="switch"] > :nth-child(2n + 1) {
|
|
194
|
+
position: static;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
188
198
|
@media (min-width: 55em) {
|
|
189
199
|
&--4\/7 > :nth-child(2n + 2),
|
|
190
200
|
&--4\/7-switch > :nth-child(2n + 2) {
|
package/src/brand/typography.md
CHANGED
|
@@ -38,7 +38,7 @@ abcdefghijklmnopqrstuvwxyz @ $ € £ ¥ & © ® ™ μ ± °
|
|
|
38
38
|
|
|
39
39
|
- Inter Light for printed materials
|
|
40
40
|
- Inter Regular for web/software
|
|
41
|
-
-
|
|
41
|
+
- Calibri for office (e.g. Powerpoint)
|
|
42
42
|
- Color: 100% black for printed materials, [MP21Charcoal](/brand/visual/colors) for digital
|
|
43
43
|
- <span class="c-library__semi">Inter Semi Bold</span> for emphasis
|
|
44
44
|
- Recommended font sizes for body text:
|