govuk_publishing_components 24.9.1 → 24.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics/pii.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +7 -0
- data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +36 -6
- data/app/assets/javascripts/govuk_publishing_components/components/show-password.js +12 -0
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +34 -34
- data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +0 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +0 -37
- data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss +1 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +1 -11
- data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +4 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +20 -20
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss +27 -24
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +17 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_form-download.scss +19 -16
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_fraction.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +30 -27
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_legislative-list.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +26 -21
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_stat-headline.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_steps.scss +19 -16
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_summary.scss +21 -18
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_px-to-em.scss +2 -0
- data/app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss +15 -0
- data/app/views/govuk_publishing_components/component_guide/index.html.erb +2 -2
- data/app/views/govuk_publishing_components/component_guide/show.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_accordion.html.erb +25 -0
- data/app/views/govuk_publishing_components/components/_government_navigation.html.erb +7 -7
- data/app/views/govuk_publishing_components/components/_highlight_boxes.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_header.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/_metadata.html.erb +6 -6
- data/app/views/govuk_publishing_components/components/_notice.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/_print_link.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_show_password.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/_step_by_step_nav.html.erb +4 -4
- data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +5 -5
- data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +4 -4
- data/app/views/govuk_publishing_components/components/_success_alert.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_translation_nav.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +9 -27
- data/app/views/govuk_publishing_components/components/docs/accordion.yml +73 -73
- data/app/views/govuk_publishing_components/components/docs/show_password.yml +10 -0
- data/app/views/govuk_publishing_components/components/docs/success_alert.yml +5 -0
- data/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +4 -3
- data/config/locales/cy.yml +0 -5
- data/config/locales/en.yml +11 -8
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +36 -3
- data/app/assets/javascripts/component_guide/visual-regression.js +0 -71
@@ -53,8 +53,8 @@ $large-input-size: 50px;
|
|
53
53
|
@include govuk-font($size: 19, $line-height: (28 / 19));
|
54
54
|
margin: 0;
|
55
55
|
width: 100%;
|
56
|
-
height: em(40, 16);
|
57
|
-
padding: em(6, 16);
|
56
|
+
height: govuk-em(40, 16);
|
57
|
+
padding: govuk-em(6, 16);
|
58
58
|
border: $govuk-border-width-form-element solid $govuk-input-border-colour;
|
59
59
|
background: govuk-colour("white");
|
60
60
|
border-radius: 0; //otherwise iphones apply an automatic border radius
|
@@ -63,8 +63,8 @@ $large-input-size: 50px;
|
|
63
63
|
-moz-appearance: none;
|
64
64
|
appearance: none;
|
65
65
|
@include govuk-media-query($from: tablet) {
|
66
|
-
height: em(40, 19);
|
67
|
-
padding: em(6, 19);
|
66
|
+
height: govuk-em(40, 19);
|
67
|
+
padding: govuk-em(6, 19);
|
68
68
|
}
|
69
69
|
|
70
70
|
// the .focus class is added by JS and ensures that the input remains above the label once clicked/filled in
|
@@ -15,12 +15,12 @@ $top-border: solid 1px govuk-colour("mid-grey", $legacy: "grey-3");
|
|
15
15
|
|
16
16
|
@mixin step-nav-line-position {
|
17
17
|
left: 0;
|
18
|
-
margin-left: em(($number-circle-size / 2) - ($stroke-width / 2), 16);
|
18
|
+
margin-left: govuk-em(($number-circle-size / 2) - ($stroke-width / 2), 16);
|
19
19
|
}
|
20
20
|
|
21
21
|
@mixin step-nav-line-position-large {
|
22
22
|
left: 0;
|
23
|
-
margin-left: em(($number-circle-size-large / 2) - ($stroke-width / 2), 16);
|
23
|
+
margin-left: govuk-em(($number-circle-size-large / 2) - ($stroke-width / 2), 16);
|
24
24
|
}
|
25
25
|
|
26
26
|
// custom mixin as govuk-font does undesirable things at different breakpoints
|
@@ -136,10 +136,10 @@ $top-border: solid 1px govuk-colour("mid-grey", $legacy: "grey-3");
|
|
136
136
|
.gem-c-step-nav__chevron {
|
137
137
|
display: inline-block;
|
138
138
|
vertical-align: middle;
|
139
|
-
margin-left: em(5, 14);
|
139
|
+
margin-left: govuk-em(5, 14);
|
140
140
|
|
141
141
|
.gem-c-step-nav--large & {
|
142
|
-
margin-left: em(5, 16);
|
142
|
+
margin-left: govuk-em(5, 16);
|
143
143
|
}
|
144
144
|
|
145
145
|
svg {
|
@@ -150,18 +150,18 @@ $top-border: solid 1px govuk-colour("mid-grey", $legacy: "grey-3");
|
|
150
150
|
.gem-c-step-nav__button-text {
|
151
151
|
display: inline-block;
|
152
152
|
text-align: left;
|
153
|
-
min-width: em(35, 14);
|
153
|
+
min-width: govuk-em(35, 14);
|
154
154
|
|
155
155
|
.gem-c-step-nav--large & {
|
156
|
-
min-width: em(40, 16);
|
156
|
+
min-width: govuk-em(40, 16);
|
157
157
|
}
|
158
158
|
}
|
159
159
|
|
160
160
|
.gem-c-step-nav__button-text--all {
|
161
|
-
min-width: em(87, 14);
|
161
|
+
min-width: govuk-em(87, 14);
|
162
162
|
|
163
163
|
.gem-c-step-nav--large & {
|
164
|
-
min-width: em(100, 16);
|
164
|
+
min-width: govuk-em(100, 16);
|
165
165
|
}
|
166
166
|
}
|
167
167
|
|
@@ -172,23 +172,23 @@ $top-border: solid 1px govuk-colour("mid-grey", $legacy: "grey-3");
|
|
172
172
|
|
173
173
|
.gem-c-step-nav__step {
|
174
174
|
position: relative;
|
175
|
-
padding-left: em(govuk-spacing(6) + govuk-spacing(3), 16);
|
175
|
+
padding-left: govuk-em(govuk-spacing(6) + govuk-spacing(3), 16);
|
176
176
|
list-style: none;
|
177
177
|
|
178
178
|
// line down the side of a step
|
179
179
|
&:after {
|
180
180
|
@include step-nav-vertical-line;
|
181
181
|
@include step-nav-line-position;
|
182
|
-
top: em(govuk-spacing(3), 16);
|
182
|
+
top: govuk-em(govuk-spacing(3), 16);
|
183
183
|
}
|
184
184
|
|
185
185
|
.gem-c-step-nav--large & {
|
186
186
|
@include govuk-media-query($from: tablet) {
|
187
|
-
padding-left: em(govuk-spacing(9), 16);
|
187
|
+
padding-left: govuk-em(govuk-spacing(9), 16);
|
188
188
|
|
189
189
|
&:after { // stylelint-disable-line max-nesting-depth
|
190
190
|
@include step-nav-line-position-large;
|
191
|
-
top: em(govuk-spacing(6), 16);
|
191
|
+
top: govuk-em(govuk-spacing(6), 16);
|
192
192
|
}
|
193
193
|
}
|
194
194
|
}
|
@@ -246,8 +246,8 @@ $top-border: solid 1px govuk-colour("mid-grey", $legacy: "grey-3");
|
|
246
246
|
z-index: 5;
|
247
247
|
top: 3px;
|
248
248
|
left: 0;
|
249
|
-
width: em($number-circle-size, 16);
|
250
|
-
height: em($number-circle-size, 16);
|
249
|
+
width: govuk-em($number-circle-size, 16);
|
250
|
+
height: govuk-em($number-circle-size, 16);
|
251
251
|
color: govuk-colour("black");
|
252
252
|
background: govuk-colour("white");
|
253
253
|
border-radius: 100px;
|
@@ -256,8 +256,8 @@ $top-border: solid 1px govuk-colour("mid-grey", $legacy: "grey-3");
|
|
256
256
|
.gem-c-step-nav--large & {
|
257
257
|
@include govuk-media-query($from: tablet) {
|
258
258
|
top: 11px;
|
259
|
-
width: em($number-circle-size-large, 19);
|
260
|
-
height: em($number-circle-size-large, 19);
|
259
|
+
width: govuk-em($number-circle-size-large, 19);
|
260
|
+
height: govuk-em($number-circle-size-large, 19);
|
261
261
|
}
|
262
262
|
}
|
263
263
|
}
|
@@ -283,15 +283,15 @@ $top-border: solid 1px govuk-colour("mid-grey", $legacy: "grey-3");
|
|
283
283
|
.gem-c-step-nav__circle--logic {
|
284
284
|
@include step-nav-font(19, $weight: bold, $line-height: 28px);
|
285
285
|
left: 3px;
|
286
|
-
width: em($number-circle-size, 19);
|
287
|
-
height: em($number-circle-size, 19);
|
286
|
+
width: govuk-em($number-circle-size, 19);
|
287
|
+
height: govuk-em($number-circle-size, 19);
|
288
288
|
|
289
289
|
.gem-c-step-nav--large & {
|
290
290
|
@include step-nav-font(19, $tablet-size: 24, $weight: bold, $line-height: 28px, $tablet-line-height: 34px);
|
291
291
|
|
292
292
|
@include govuk-media-query($from: tablet) {
|
293
|
-
width: em($number-circle-size-large, 24);
|
294
|
-
height: em($number-circle-size-large, 24);
|
293
|
+
width: govuk-em($number-circle-size-large, 24);
|
294
|
+
height: govuk-em($number-circle-size-large, 24);
|
295
295
|
}
|
296
296
|
}
|
297
297
|
}
|
@@ -1,33 +1,36 @@
|
|
1
1
|
$info-background: #d5e8f3;
|
2
2
|
$high-alert-border: #cc0000;
|
3
3
|
|
4
|
-
.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
4
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
5
|
+
.gem-c-govspeak {
|
6
|
+
.advisory {
|
7
|
+
background-image: image-url("govuk_publishing_components/icon-important.svg");
|
8
|
+
background-repeat: no-repeat;
|
9
|
+
background-size: 30px 30px;
|
10
|
+
background-position: 98% center;
|
11
|
+
background-color: $info-background;
|
12
|
+
line-height: 1.3em;
|
13
|
+
margin: 0 -1em 1em;
|
14
|
+
padding: govuk-spacing(3) govuk-spacing(8) govuk-spacing(3) govuk-spacing(3);
|
15
|
+
text-align: left;
|
14
16
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
p {
|
18
|
+
margin: 0 .75em 0 0;
|
19
|
+
min-height: 1.75em;
|
20
|
+
padding-right: 3em;
|
21
|
+
}
|
20
22
|
|
21
|
-
|
22
|
-
|
23
|
-
|
23
|
+
strong {
|
24
|
+
font-weight: 400;
|
25
|
+
}
|
24
26
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
27
|
+
&.high-alert {
|
28
|
+
background-color: govuk-colour("light-grey", $legacy: "grey-3");
|
29
|
+
border: 1px solid $high-alert-border;
|
30
|
+
}
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
+
@include govuk-media-query($until: tablet) {
|
33
|
+
margin: 0 0 1em;
|
34
|
+
}
|
32
35
|
}
|
33
36
|
}
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss
CHANGED
@@ -7,8 +7,8 @@
|
|
7
7
|
|
8
8
|
// stylelint-disable max-nesting-depth
|
9
9
|
|
10
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
10
11
|
.gem-c-govspeak {
|
11
|
-
|
12
12
|
// Scope attachment and attachment-link component styles to gem-c-govspeak
|
13
13
|
@import "../attachment-link";
|
14
14
|
@import "../attachment";
|
@@ -1,7 +1,22 @@
|
|
1
|
-
@import "govuk/components/button/button";
|
2
|
-
|
3
1
|
// stylelint-disable scss/at-extend-no-missing-placeholder
|
2
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
4
3
|
.gem-c-govspeak {
|
4
|
+
@import "govuk/components/button/button";
|
5
|
+
|
6
|
+
// Some links in Govspeak should look like buttons[1] when using:
|
7
|
+
// ```
|
8
|
+
// {button}[Random page](https://gov.uk/random){/button}
|
9
|
+
// ```.
|
10
|
+
//
|
11
|
+
// To make sure that the link styles don't override the button styles this
|
12
|
+
// needs more specificity.
|
13
|
+
//
|
14
|
+
// Govspeak targets link by using element selectors; so the selector
|
15
|
+
// `.gem-c-govspeak a:link` will override `.govuk-button`. Extending
|
16
|
+
// `govuk-button` here gives `gem-c-govspeak .gem-c-button` and prevents the
|
17
|
+
// link-that-looks-like-a-button from being overriden.
|
18
|
+
|
19
|
+
// [1]: https://github.com/alphagov/govspeak#button
|
5
20
|
.gem-c-button {
|
6
21
|
@extend .govuk-button;
|
7
22
|
}
|
@@ -11,6 +11,7 @@
|
|
11
11
|
|
12
12
|
// stylelint-disable max-nesting-depth
|
13
13
|
|
14
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
14
15
|
.gem-c-govspeak {
|
15
16
|
// DEFAULT CHART STYLES
|
16
17
|
|
@@ -271,7 +272,6 @@
|
|
271
272
|
}
|
272
273
|
|
273
274
|
.mc-toggle-button {
|
274
|
-
@extend %govuk-body-s;
|
275
275
|
border: 1px solid $govuk-border-colour;
|
276
276
|
color: $govuk-link-colour;
|
277
277
|
cursor: pointer;
|
@@ -7,6 +7,7 @@
|
|
7
7
|
|
8
8
|
// stylelint-disable max-nesting-depth
|
9
9
|
|
10
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
10
11
|
.gem-c-govspeak {
|
11
12
|
// .address is used by the `$A` markdown pattern
|
12
13
|
.address,
|
@@ -5,6 +5,7 @@
|
|
5
5
|
// - alphagov/whitehall: ✔︎
|
6
6
|
// - alphagov/govspeak: ✔︎
|
7
7
|
|
8
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
8
9
|
.gem-c-govspeak {
|
9
10
|
.example {
|
10
11
|
border-left: 10px solid govuk-colour("mid-grey", $legacy: "grey-3");
|
@@ -11,6 +11,7 @@
|
|
11
11
|
|
12
12
|
// stylelint-disable max-nesting-depth
|
13
13
|
|
14
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
14
15
|
.gem-c-govspeak {
|
15
16
|
.footnotes {
|
16
17
|
border-top: 1px solid govuk-colour("mid-grey", $legacy: "grey-2");
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_form-download.scss
CHANGED
@@ -1,21 +1,24 @@
|
|
1
|
-
.
|
2
|
-
|
1
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
2
|
+
.gem-c-govspeak {
|
3
|
+
.form-download {
|
4
|
+
padding: .25em 0;
|
3
5
|
|
4
|
-
|
5
|
-
|
6
|
-
|
6
|
+
@include govuk-media-query($until: tablet) {
|
7
|
+
margin: 1em 0 1.5em;
|
8
|
+
}
|
7
9
|
|
8
|
-
|
9
|
-
|
10
|
-
|
10
|
+
p {
|
11
|
+
padding-right: 3em;
|
12
|
+
}
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
14
|
+
a {
|
15
|
+
display: block;
|
16
|
+
font-weight: 600;
|
17
|
+
background-image: image-url("govuk_publishing_components/icon-file-download.svg");
|
18
|
+
background-repeat: no-repeat;
|
19
|
+
background-size: 40px 40px;
|
20
|
+
min-height: 2.5em;
|
21
|
+
padding: 0 0 0 50px;
|
22
|
+
}
|
20
23
|
}
|
21
24
|
}
|
data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss
CHANGED
@@ -3,41 +3,44 @@
|
|
3
3
|
$highlight-answer-bg-color: govuk-colour("green");
|
4
4
|
$highlight-answer-color: govuk-colour("white");
|
5
5
|
|
6
|
-
.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
padding: 1.75em .75em 1.25em;
|
11
|
-
margin: 0 -1em 1em;
|
12
|
-
|
13
|
-
p {
|
14
|
-
@include govuk-font($size: 24, $weight: bold);
|
6
|
+
.govspeak, // Legacy class name that's still used in some content items - needs to be kept until `.govspeak` is removed from the content items.
|
7
|
+
.gem-c-govspeak {
|
8
|
+
.highlight-answer {
|
9
|
+
background-color: $highlight-answer-bg-color;
|
15
10
|
color: $highlight-answer-color;
|
11
|
+
text-align: center;
|
12
|
+
padding: 1.75em .75em 1.25em;
|
13
|
+
margin: 0 -1em 1em;
|
16
14
|
|
17
|
-
|
18
|
-
@include govuk-font($size:
|
19
|
-
display: block;
|
20
|
-
padding-top: .1em;
|
15
|
+
p {
|
16
|
+
@include govuk-font($size: 24, $weight: bold);
|
21
17
|
color: $highlight-answer-color;
|
22
|
-
}
|
23
|
-
}
|
24
18
|
|
25
|
-
|
26
|
-
|
27
|
-
|
19
|
+
em {
|
20
|
+
@include govuk-font($size: 80, $weight: bold);
|
21
|
+
display: block;
|
22
|
+
padding-top: .1em;
|
23
|
+
color: $highlight-answer-color;
|
24
|
+
}
|
25
|
+
}
|
28
26
|
|
29
|
-
|
30
|
-
|
31
|
-
|
27
|
+
p:last-child {
|
28
|
+
margin-bottom: 0;
|
29
|
+
}
|
32
30
|
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
@include govuk-media-query($until: tablet) {
|
32
|
+
margin: 0 0 1em;
|
33
|
+
@include govuk-font($size: 48);
|
36
34
|
|
37
|
-
|
35
|
+
p {
|
38
36
|
font-size: 1em;
|
39
|
-
|
40
|
-
|
37
|
+
line-height: inherit;
|
38
|
+
|
39
|
+
em {
|
40
|
+
font-size: 1em;
|
41
|
+
padding-top: 0;
|
42
|
+
display: inline;
|
43
|
+
}
|
41
44
|
}
|
42
45
|
}
|
43
46
|
}
|