mp-design-system 1.2.24 → 1.2.26
Sign up to get free protection for your applications and to get access to all the features.
- 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/footer/footer.scss +4 -0
- package/src/_includes/components/hero/hero.scss +14 -0
- package/src/_includes/components/meta-box/meta-box.scss +0 -24
- package/src/_includes/includes/system-footer.njk +1 -1
- package/src/assets/scss/objects/grid.scss +10 -0
- package/src/brand/typography.md +1 -1
package/package.json
CHANGED
@@ -129,6 +129,20 @@
|
|
129
129
|
@media (min-width: 38em) {
|
130
130
|
background: linear-gradient(84.46deg, color('petrol', 'step--1') 7.52%, color('petrol') 44.84%, rgba(35, 80, 87, 0.8) 51.02%, rgba(52, 82, 87, 0.62) 54.99%, rgba(78, 86, 87, 0.2209) 59.54%, rgba(87, 87, 87, 0) 65.59%);
|
131
131
|
}
|
132
|
+
|
133
|
+
&::after {
|
134
|
+
position: absolute;
|
135
|
+
content: '';
|
136
|
+
top: 0;
|
137
|
+
left: 0;
|
138
|
+
background: rgba(black, 0.33);
|
139
|
+
width: 100%;
|
140
|
+
height: 100%;
|
141
|
+
|
142
|
+
@media (min-width: 38em) {
|
143
|
+
background: radial-gradient(circle farthest-side at top right, rgba(46, 50, 51, 0) 0%, rgba(46, 50, 51, 0) 15.16%, rgba(46, 50, 51, 0.2) 27.66%, rgba(41, 54, 56, 0.55) 39.61%, rgba(35, 66, 71, 0.8) 49.78%, #005461 59.87%, #003039 100%);
|
144
|
+
}
|
145
|
+
}
|
132
146
|
|
133
147
|
.u-wrap {
|
134
148
|
@include padding-bottom('l-3xl');
|
@@ -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
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<footer class="mp c-footer" role="contentinfo">
|
4
4
|
<nav class="c-footer__primary u-wrap" aria-label="Footer">
|
5
|
-
<div class="o-grid o-grid--8/3-switch o-grid--push">
|
5
|
+
<div class="o-grid o-grid--8/3-switch o-grid--push o-grid--layout">
|
6
6
|
<ol class="u-flow--xs u-margin-top-2xs">
|
7
7
|
<li><h3>Quick links</h3></li>
|
8
8
|
<li><a href="/brand/resources">Brand resources</a></li>
|
@@ -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:
|