moj_template 0.22.0 → 0.23.0

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.
@@ -21,7 +21,7 @@ html {
21
21
  -ms-filter: none; }
22
22
 
23
23
  body {
24
- font-family: "nta", Arial, sans-serif;
24
+ font-family: sans-serif;
25
25
  font-size: 11pt;
26
26
  line-height: 1.42857;
27
27
  font-weight: 400;
@@ -60,6 +60,9 @@ html, body, div, h1, h2, h3, h4, h5, h6, article, aside, footer, header, hgroup,
60
60
  padding: 0;
61
61
  vertical-align: baseline; }
62
62
 
63
+ main {
64
+ display: block; }
65
+
63
66
  .group:before,
64
67
  .group:after {
65
68
  content: "\0020";
@@ -89,13 +92,21 @@ html {
89
92
  /* 1 */
90
93
  -ms-text-size-adjust: 100%;
91
94
  /* 1 */
92
- background: white; }
95
+ background-color: #dee0e2; }
96
+
97
+ /*
98
+ Force the scrollbar to always display in IE10/11
99
+ */
100
+ html {
101
+ -ms-overflow-style: scrollbar; }
93
102
 
94
103
  body {
104
+ background: white;
95
105
  color: #0b0c0c;
96
106
  line-height: 1.5;
97
107
  font-weight: 400;
98
- -webkit-font-smoothing: antialiased; }
108
+ -webkit-font-smoothing: antialiased;
109
+ -moz-osx-font-smoothing: grayscale; }
99
110
 
100
111
  ol, ul, nav ol, nav ul {
101
112
  list-style: inherit; }
@@ -108,7 +119,7 @@ a:link {
108
119
  color: #005ea5; }
109
120
 
110
121
  a:visited {
111
- color: #2e8aca; }
122
+ color: #4c2c92; }
112
123
 
113
124
  a:hover {
114
125
  color: #2e8aca; }
@@ -184,9 +195,6 @@ strong {
184
195
  img {
185
196
  border: 0; }
186
197
 
187
- button {
188
- *overflow: visible; }
189
-
190
198
  abbr[title] {
191
199
  cursor: help; }
192
200
 
@@ -390,13 +398,15 @@ button:focus,
390
398
  text-decoration: none; }
391
399
  @media (max-width: 640px) {
392
400
  #global-header .header-proposition #proposition-name {
393
- font-size: 20px;
401
+ font-size: 18px;
394
402
  line-height: 1.2; } }
403
+ #global-header .header-proposition a#proposition-name:hover {
404
+ text-decoration: underline; }
395
405
  #global-header .header-proposition a.menu {
396
406
  font-family: "nta", Arial, sans-serif;
397
407
  font-size: 16px;
398
408
  line-height: 1.25;
399
- font-weight: 300;
409
+ font-weight: 400;
400
410
  text-transform: none;
401
411
  color: white;
402
412
  display: block;
@@ -456,9 +466,8 @@ button:focus,
456
466
  font-family: "nta", Arial, sans-serif;
457
467
  font-size: 14px;
458
468
  line-height: 1.42857;
459
- font-weight: 400;
460
- text-transform: none;
461
- font-weight: 700; }
469
+ font-weight: 700;
470
+ text-transform: none; }
462
471
  @media (max-width: 640px) {
463
472
  #global-header .header-proposition #proposition-links li a {
464
473
  font-size: 12px;
@@ -468,9 +477,8 @@ button:focus,
468
477
  font-family: "nta", Arial, sans-serif;
469
478
  font-size: 16px;
470
479
  line-height: 1.25;
471
- font-weight: 300;
472
- text-transform: none;
473
480
  font-weight: 700;
481
+ text-transform: none;
474
482
  line-height: 23px; } }
475
483
  @media (min-width: 769px) and (max-width: 640px) {
476
484
  #global-header .header-proposition #proposition-links li a {
@@ -523,7 +531,7 @@ button:focus,
523
531
  font-family: "nta", Arial, sans-serif;
524
532
  font-size: 16px;
525
533
  line-height: 1.25;
526
- font-weight: 300;
534
+ font-weight: 400;
527
535
  text-transform: none;
528
536
  margin: 0; }
529
537
  @media (max-width: 640px) {
@@ -560,7 +568,7 @@ button:focus,
560
568
  margin: 0; }
561
569
  @media (max-width: 640px) {
562
570
  #footer h2 {
563
- font-size: 20px;
571
+ font-size: 18px;
564
572
  line-height: 1.2; } }
565
573
  #footer h2 a {
566
574
  color: inherit; }
@@ -586,7 +594,7 @@ button:focus,
586
594
  font-family: "nta", Arial, sans-serif;
587
595
  font-size: 16px;
588
596
  line-height: 1.5;
589
- font-weight: 300;
597
+ font-weight: 400;
590
598
  text-transform: none;
591
599
  display: inline-block;
592
600
  list-style: none;
@@ -608,16 +616,17 @@ button:focus,
608
616
  @media (min-width: 641px) {
609
617
  #footer .footer-meta .footer-meta-inner .open-government-licence {
610
618
  padding-left: 53px; } }
611
- #footer .footer-meta .footer-meta-inner .open-government-licence h2 {
612
- margin-bottom: 1em; }
619
+ #footer .footer-meta .footer-meta-inner .open-government-licence .logo {
620
+ margin-bottom: 1em;
621
+ padding-top: 0; }
613
622
  @media (min-width: 641px) {
614
- #footer .footer-meta .footer-meta-inner .open-government-licence h2 {
623
+ #footer .footer-meta .footer-meta-inner .open-government-licence .logo {
615
624
  position: absolute;
616
625
  left: 0;
617
626
  top: 0;
618
627
  width: 41px;
619
628
  height: 100%; } }
620
- #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
629
+ #footer .footer-meta .footer-meta-inner .open-government-licence .logo a {
621
630
  display: block;
622
631
  width: 41px;
623
632
  height: 17px;
@@ -625,14 +634,14 @@ button:focus,
625
634
  text-indent: -999em;
626
635
  background: url(<%= asset_path 'images/open-government-licence.png' %>) 0 0 no-repeat; }
627
636
  @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 20 / 10), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
628
- #footer .footer-meta .footer-meta-inner .open-government-licence h2 a {
637
+ #footer .footer-meta .footer-meta-inner .open-government-licence .logo a {
629
638
  background-image: url(<%= asset_path 'images/open-government-licence_2x.png' %>);
630
639
  background-size: 41px 17px; } }
631
640
  #footer .footer-meta .footer-meta-inner .open-government-licence p {
632
641
  font-family: "nta", Arial, sans-serif;
633
642
  font-size: 16px;
634
643
  line-height: 1.25;
635
- font-weight: 300;
644
+ font-weight: 400;
636
645
  text-transform: none;
637
646
  margin: 0;
638
647
  padding-top: 0.1em; }
@@ -644,7 +653,7 @@ button:focus,
644
653
  font-family: "nta", Arial, sans-serif;
645
654
  font-size: 16px;
646
655
  line-height: 1.25;
647
- font-weight: 300;
656
+ font-weight: 400;
648
657
  text-transform: none;
649
658
  margin: 30px 0 0 0;
650
659
  width: 100%;
@@ -14,91 +14,24 @@
14
14
  @-o-viewport {
15
15
  width: device-width; }
16
16
 
17
- /* CSS 3 Mixins
18
-
19
- Add them as you need them. This should let us manage vendor prefixes in one place.
20
- */
21
- /* Cross-browser shims
22
-
23
- Ways of normalising properties across browsers.
24
- */
25
17
  @-ms-viewport {
26
18
  width: device-width; }
27
19
 
28
20
  @-o-viewport {
29
21
  width: device-width; }
30
22
 
31
- /* Usage:
32
- @include inline-block
33
-
34
- or
35
-
36
- @include inline-block("250px")
37
-
38
- which gives a min-height to the inline-block elements.
39
- */
40
- /* Contain floats usage:
41
-
42
- .this-has-floated-children {
43
- @extend %contain-floats;
44
- }
45
-
46
- */
47
- /* Cross-browser shims
48
-
49
- Ways of normalising properties across browsers.
50
- */
51
23
  @-ms-viewport {
52
24
  width: device-width; }
53
25
 
54
26
  @-o-viewport {
55
27
  width: device-width; }
56
28
 
57
- /* Usage:
58
- @include inline-block
59
-
60
- or
61
-
62
- @include inline-block("250px")
63
-
64
- which gives a min-height to the inline-block elements.
65
- */
66
- /* Contain floats usage:
67
-
68
- .this-has-floated-children {
69
- @extend %contain-floats;
70
- }
71
-
72
- */
73
- /* CSS 3 Mixins
74
-
75
- Add them as you need them. This should let us manage vendor prefixes in one place.
76
- */
77
29
  @-ms-viewport {
78
30
  width: device-width; }
79
31
 
80
32
  @-o-viewport {
81
33
  width: device-width; }
82
34
 
83
- /*
84
-
85
- Mixin and defaults for making buttons on GOV.UK services.
86
-
87
- For guidance, see: https://www.gov.uk/service-manual/design-and-content/resources/buttons.html
88
-
89
- Example usage:
90
-
91
- .button{
92
- @include button;
93
- }
94
- .button-secondary{
95
- @include button($grey-3);
96
- }
97
- .button-warning{
98
- @include button($red);
99
- }
100
-
101
- */
102
35
  @font-face {
103
36
  font-family: GDS-Logo;
104
37
  src: local("HelveticaNeue"), local("Helvetica Neue"), local("Arial"), local("Helvetica"); }
@@ -109,32 +42,24 @@ Example usage:
109
42
  @-o-viewport {
110
43
  width: device-width; }
111
44
 
112
- /* Cross-browser shims
113
-
114
- Ways of normalising properties across browsers.
115
- */
116
45
  @-ms-viewport {
117
46
  width: device-width; }
118
47
 
119
48
  @-o-viewport {
120
49
  width: device-width; }
121
50
 
122
- /* Usage:
123
- @include inline-block
124
-
125
- or
51
+ @-ms-viewport {
52
+ width: device-width; }
126
53
 
127
- @include inline-block("250px")
54
+ @-o-viewport {
55
+ width: device-width; }
128
56
 
129
- which gives a min-height to the inline-block elements.
130
- */
131
- /* Contain floats usage:
57
+ @-ms-viewport {
58
+ width: device-width; }
132
59
 
133
- .this-has-floated-children {
134
- @extend %contain-floats;
135
- }
60
+ @-o-viewport {
61
+ width: device-width; }
136
62
 
137
- */
138
63
  .clearfix, .cf {
139
64
  zoom: 1; }
140
65
  .clearfix:before, .cf:before, .clearfix:after, .cf:after {
@@ -176,26 +101,27 @@ header.page-header h1 {
176
101
  color: #6f777b; }
177
102
  @media (max-width: 640px) {
178
103
  header.page-header h1 span {
179
- font-size: 18px;
104
+ font-size: 20px;
180
105
  line-height: 1.11111; } }
181
106
  header.page-header h1 .alpha {
182
107
  display: -moz-inline-stack;
183
108
  display: inline-block;
184
109
  zoom: 1;
185
110
  display: inline;
186
- background-color: #d53880;
187
- color: #fff;
111
+ vertical-align: top;
112
+ vertical-align: baseline;
113
+ margin: 0 8px 0 0;
114
+ padding: 2px 5px 0;
188
115
  font-family: "nta", Arial, sans-serif;
189
116
  font-size: 16px;
190
117
  line-height: 1.25;
191
- font-weight: 300;
192
- text-transform: none;
193
118
  font-weight: 700;
119
+ text-transform: none;
194
120
  text-transform: uppercase;
195
121
  letter-spacing: 1px;
196
122
  text-decoration: none;
197
- margin: 3px 10px 0 5px;
198
- padding: 2px 5px 0; }
123
+ color: #fff;
124
+ background-color: #d53880; }
199
125
  @media (max-width: 640px) {
200
126
  header.page-header h1 .alpha {
201
127
  font-size: 14px;
@@ -205,19 +131,20 @@ header.page-header h1 {
205
131
  display: inline-block;
206
132
  zoom: 1;
207
133
  display: inline;
208
- background-color: #f47738;
209
- color: #fff;
134
+ vertical-align: top;
135
+ vertical-align: baseline;
136
+ margin: 0 8px 0 0;
137
+ padding: 2px 5px 0;
210
138
  font-family: "nta", Arial, sans-serif;
211
139
  font-size: 16px;
212
140
  line-height: 1.25;
213
- font-weight: 300;
214
- text-transform: none;
215
141
  font-weight: 700;
142
+ text-transform: none;
216
143
  text-transform: uppercase;
217
144
  letter-spacing: 1px;
218
145
  text-decoration: none;
219
- margin: 3px 10px 0 5px;
220
- padding: 2px 5px 0; }
146
+ color: #fff;
147
+ background-color: #f47738; }
221
148
  @media (max-width: 640px) {
222
149
  header.page-header h1 .beta {
223
150
  font-size: 14px;
@@ -260,19 +187,20 @@ h2, h3, h4 {
260
187
  display: inline-block;
261
188
  zoom: 1;
262
189
  display: inline;
263
- background-color: #d53880;
264
- color: #fff;
190
+ vertical-align: top;
191
+ vertical-align: baseline;
192
+ margin: 0 8px 0 0;
193
+ padding: 2px 5px 0;
265
194
  font-family: "nta", Arial, sans-serif;
266
195
  font-size: 16px;
267
196
  line-height: 1.25;
268
- font-weight: 300;
269
- text-transform: none;
270
197
  font-weight: 700;
198
+ text-transform: none;
271
199
  text-transform: uppercase;
272
200
  letter-spacing: 1px;
273
201
  text-decoration: none;
274
- margin: 3px 10px 0 5px;
275
- padding: 2px 5px 0; }
202
+ color: #fff;
203
+ background-color: #d53880; }
276
204
  @media (max-width: 640px) {
277
205
  body.alpha #global-header .header-proposition .proposition-phase {
278
206
  font-size: 14px;
@@ -282,19 +210,20 @@ h2, h3, h4 {
282
210
  display: inline-block;
283
211
  zoom: 1;
284
212
  display: inline;
285
- background-color: #f47738;
286
- color: #fff;
213
+ vertical-align: top;
214
+ vertical-align: baseline;
215
+ margin: 0 8px 0 0;
216
+ padding: 2px 5px 0;
287
217
  font-family: "nta", Arial, sans-serif;
288
218
  font-size: 16px;
289
219
  line-height: 1.25;
290
- font-weight: 300;
291
- text-transform: none;
292
220
  font-weight: 700;
221
+ text-transform: none;
293
222
  text-transform: uppercase;
294
223
  letter-spacing: 1px;
295
224
  text-decoration: none;
296
- margin: 3px 10px 0 5px;
297
- padding: 2px 5px 0; }
225
+ color: #fff;
226
+ background-color: #f47738; }
298
227
  @media (max-width: 640px) {
299
228
  body.beta #global-header .header-proposition .proposition-phase {
300
229
  font-size: 14px;
@@ -318,7 +247,7 @@ h2, h3, h4 {
318
247
  font-family: "nta", Arial, sans-serif;
319
248
  font-size: 16px;
320
249
  line-height: 1.25;
321
- font-weight: 300;
250
+ font-weight: 400;
322
251
  text-transform: none;
323
252
  background: url(https://assets.digital.cabinet-office.gov.uk/static/separator-73822610794bc3a64871f144d93d6526.png) 100% 50% no-repeat;
324
253
  float: left;
@@ -345,7 +274,7 @@ h2, h3, h4 {
345
274
  display: inline-block;
346
275
  zoom: 1;
347
276
  display: inline;
348
- padding: 0.35em 0.5em 0.15em 0.5em;
277
+ padding: 0.3em 0.6em 0.2em 0.6em;
349
278
  border: none;
350
279
  -webkit-border-radius: 0;
351
280
  -moz-border-radius: 0;
@@ -416,7 +345,7 @@ h2, h3, h4 {
416
345
  display: inline-block;
417
346
  zoom: 1;
418
347
  display: inline;
419
- padding: 0.35em 0.5em 0.15em 0.5em;
348
+ padding: 0.3em 0.6em 0.2em 0.6em;
420
349
  border: none;
421
350
  -webkit-border-radius: 0;
422
351
  -moz-border-radius: 0;
@@ -487,7 +416,7 @@ h2, h3, h4 {
487
416
  display: inline-block;
488
417
  zoom: 1;
489
418
  display: inline;
490
- padding: 0.35em 0.5em 0.15em 0.5em;
419
+ padding: 0.3em 0.6em 0.2em 0.6em;
491
420
  border: none;
492
421
  -webkit-border-radius: 0;
493
422
  -moz-border-radius: 0;
@@ -555,12 +484,11 @@ h2, h3, h4 {
555
484
  font-family: "nta", Arial, sans-serif;
556
485
  font-size: 24px;
557
486
  line-height: 1.25;
558
- font-weight: 400;
559
- text-transform: none;
560
- font-weight: 700; }
487
+ font-weight: 700;
488
+ text-transform: none; }
561
489
  @media (max-width: 640px) {
562
490
  #footer h2 {
563
- font-size: 20px;
491
+ font-size: 18px;
564
492
  line-height: 1.2; } }
565
493
  #footer .footer-categories {
566
494
  font-size: 0;
@@ -574,7 +502,7 @@ h2, h3, h4 {
574
502
  font-family: "nta", Arial, sans-serif;
575
503
  font-size: 16px;
576
504
  line-height: 1.25;
577
- font-weight: 300;
505
+ font-weight: 400;
578
506
  text-transform: none;
579
507
  list-style: none;
580
508
  border-top: 1px solid #a1acb2;