idsk_template 0.24.0.idsk.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/LICENCE.txt +22 -0
  3. data/README.md +35 -0
  4. data/app/assets/images/apple-touch-icon-152x152.png +0 -0
  5. data/app/assets/images/apple-touch-icon-167x167.png +0 -0
  6. data/app/assets/images/apple-touch-icon-180x180.png +0 -0
  7. data/app/assets/images/apple-touch-icon.png +0 -0
  8. data/app/assets/images/favicon.ico +0 -0
  9. data/app/assets/images/gov.uk_logotype_crown.svg +7 -0
  10. data/app/assets/images/gov.uk_logotype_crown_invert.png +0 -0
  11. data/app/assets/images/gov.uk_logotype_crown_invert_trans.png +0 -0
  12. data/app/assets/images/opengraph-image.png +0 -0
  13. data/app/assets/javascripts/idsk-template.js +114 -0
  14. data/app/assets/javascripts/ie.js +494 -0
  15. data/app/assets/stylesheets/fonts.css.erb +48 -0
  16. data/app/assets/stylesheets/fonts/v1-2c037cf7e1-light.eot +0 -0
  17. data/app/assets/stylesheets/fonts/v1-357fdfbcc3-tabular-bold.eot +0 -0
  18. data/app/assets/stylesheets/fonts/v1-458f8ea81c-light.woff +0 -0
  19. data/app/assets/stylesheets/fonts/v1-498ea8ffe2-tabular-light.eot +0 -0
  20. data/app/assets/stylesheets/fonts/v1-62cc6f0a28-tabular-light.woff +0 -0
  21. data/app/assets/stylesheets/fonts/v1-784c21afb8-tabular-bold.woff +0 -0
  22. data/app/assets/stylesheets/fonts/v1-851b10ccdd-tabular-light.woff2 +0 -0
  23. data/app/assets/stylesheets/fonts/v1-a2452cb66f-bold.woff2 +0 -0
  24. data/app/assets/stylesheets/fonts/v1-b89238d840-tabular-bold.woff2 +0 -0
  25. data/app/assets/stylesheets/fonts/v1-f38ad40456-light.woff2 +0 -0
  26. data/app/assets/stylesheets/fonts/v1-f38c792ac2-bold.woff +0 -0
  27. data/app/assets/stylesheets/fonts/v1-fb2676462a-bold.eot +0 -0
  28. data/app/assets/stylesheets/idsk-template-ie6.css.erb +588 -0
  29. data/app/assets/stylesheets/idsk-template-ie7.css.erb +586 -0
  30. data/app/assets/stylesheets/idsk-template-ie8.css.erb +564 -0
  31. data/app/assets/stylesheets/idsk-template-print.css.erb +75 -0
  32. data/app/assets/stylesheets/idsk-template.css.erb +622 -0
  33. data/app/assets/stylesheets/images/close.png +0 -0
  34. data/app/assets/stylesheets/images/gov.uk_logotype_crown-1x.png +0 -0
  35. data/app/assets/stylesheets/images/gov.uk_logotype_crown.png +0 -0
  36. data/app/assets/stylesheets/images/govuk-crest-2x.png +0 -0
  37. data/app/assets/stylesheets/images/govuk-crest-ie.png +0 -0
  38. data/app/assets/stylesheets/images/govuk-crest.png +0 -0
  39. data/app/assets/stylesheets/images/open-government-licence.png +0 -0
  40. data/app/assets/stylesheets/images/open-government-licence_2x.png +0 -0
  41. data/app/views/layouts/idsk_template.html.erb +115 -0
  42. data/lib/idsk_template.rb +5 -0
  43. data/lib/idsk_template/engine.rb +21 -0
  44. data/lib/idsk_template/version.rb +3 -0
  45. metadata +243 -0
@@ -0,0 +1,75 @@
1
+ html {
2
+ font-size: 62.5%; }
3
+
4
+ /* Global print stylesheet */
5
+ /* reset everything */
6
+ * {
7
+ background: transparent;
8
+ color: black;
9
+ text-shadow: none;
10
+ filter: none;
11
+ -ms-filter: none; }
12
+
13
+ body {
14
+ font-family: sans-serif;
15
+ font-weight: 400;
16
+ text-transform: none;
17
+ font-size: 11pt;
18
+ line-height: 1.42857;
19
+ margin: 0;
20
+ padding: 0;
21
+ width: 100%; }
22
+
23
+ a, a:visited {
24
+ word-wrap: break-word; }
25
+
26
+ a[href^="/"]:after,
27
+ a[href^="http://"]:after,
28
+ a[href^="https://"]:after {
29
+ content: " (" attr(href) ")";
30
+ font-size: 90%; }
31
+
32
+ a[href^="javascript:"]:after,
33
+ a[href^="#"]:after {
34
+ content: ""; }
35
+
36
+ img {
37
+ max-width: 100% !important; }
38
+
39
+ select {
40
+ background: white; }
41
+
42
+ #global-header {
43
+ margin: 3px 0 1em; }
44
+ #global-header #logo {
45
+ font-family: sans-serif;
46
+ font-weight: 700;
47
+ text-transform: none;
48
+ font-size: 18pt;
49
+ line-height: 1.04167;
50
+ font-size: 28pt;
51
+ /* `bold-80` can be used instead when govuk_frontend_toolkit gem is >= 4.18.2,
52
+ see https://github.com/alphagov/govuk_frontend_toolkit/pull/328 */
53
+ text-rendering: optimizeLegibility; }
54
+ #global-header #logo img {
55
+ width: 45px;
56
+ height: 40px;
57
+ position: relative;
58
+ top: -3px;
59
+ vertical-align: bottom; }
60
+ #global-header .content {
61
+ margin: 0 !important; }
62
+ #global-header a, #global-header a:visited {
63
+ text-decoration: none; }
64
+ #global-header a:after {
65
+ content: ""; }
66
+ #global-header img {
67
+ border: 0;
68
+ vertical-align: middle; }
69
+
70
+ /* hide the unnecessary page elements */
71
+ body footer,
72
+ .visuallyhidden,
73
+ #global-cookie-message,
74
+ #skiplink-container {
75
+ display: none !important; }
@@ -0,0 +1,622 @@
1
+ /* govuk_frontend_toolkit includes */
2
+ #global-header .header-wrapper:after, #global-header .header-wrapper .header-global:after, #global-header .header-wrapper .header-global .header-logo:after, #global-header .header-proposition #proposition-link:after,
3
+ #global-header .header-proposition #proposition-links:after, #footer .footer-meta:after {
4
+ content: "";
5
+ display: block;
6
+ clear: both; }
7
+
8
+ #global-header-bar, #global-cookie-message p, #footer .footer-wrapper {
9
+ max-width: 960px;
10
+ margin: 0 15px; }
11
+ @media (min-width: 641px) {
12
+ #global-header-bar, #global-cookie-message p, #footer .footer-wrapper {
13
+ margin: 0 30px; } }
14
+ @media (min-width: 1020px) {
15
+ #global-header-bar, #global-cookie-message p, #footer .footer-wrapper {
16
+ margin: 0 auto; } }
17
+
18
+ #global-header .header-wrapper:after, #global-header .header-wrapper .header-global:after, #global-header .header-wrapper .header-global .header-logo:after, #global-header .header-proposition #proposition-link:after,
19
+ #global-header .header-proposition #proposition-links:after, #footer .footer-meta:after {
20
+ content: "";
21
+ display: block;
22
+ clear: both; }
23
+
24
+ /* local styleguide includes */
25
+ @-ms-viewport {
26
+ width: device-width; }
27
+
28
+ html, body, button, input, table, td, th {
29
+ font-family: "nta", Arial, sans-serif; }
30
+
31
+ html, body, div, h1, h2, h3, h4, h5, h6, article, aside, footer, header, hgroup, nav, section {
32
+ margin: 0;
33
+ padding: 0;
34
+ vertical-align: baseline; }
35
+
36
+ main {
37
+ display: block; }
38
+
39
+ .group:before,
40
+ .group:after {
41
+ content: "\0020";
42
+ display: block;
43
+ height: 0;
44
+ overflow: hidden; }
45
+
46
+ .group:after {
47
+ clear: both; }
48
+
49
+ .group {
50
+ zoom: 1; }
51
+
52
+ .content-fixed {
53
+ top: 0;
54
+ position: fixed; }
55
+
56
+ .shim {
57
+ display: block; }
58
+
59
+ /*
60
+ * 1. Prevents iOS text size adjust after orientation change, without disabling
61
+ * user zoom.
62
+ */
63
+ html {
64
+ -webkit-text-size-adjust: 100%;
65
+ /* 1 */
66
+ -ms-text-size-adjust: 100%;
67
+ /* 1 */
68
+ background-color: #dee0e2; }
69
+
70
+ /*
71
+ Force the scrollbar to always display in IE10/11
72
+ */
73
+ html {
74
+ -ms-overflow-style: scrollbar; }
75
+
76
+ body {
77
+ background: white;
78
+ color: #0b0c0c;
79
+ line-height: 1.5;
80
+ font-weight: 400;
81
+ -webkit-font-smoothing: antialiased;
82
+ -moz-osx-font-smoothing: grayscale; }
83
+
84
+ ol, ul, nav ol, nav ul {
85
+ list-style: inherit; }
86
+
87
+ fieldset {
88
+ border: none;
89
+ padding: 0; }
90
+
91
+ a:link {
92
+ color: #005ea5; }
93
+
94
+ a:visited {
95
+ color: #4c2c92; }
96
+
97
+ a:hover {
98
+ color: #2b8cc4; }
99
+
100
+ a:active {
101
+ color: #2b8cc4; }
102
+
103
+ /*
104
+ * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
105
+ * http://clagnut.com/blog/348/#c790
106
+ * note - font-size reduced to 62.5% to allow simple rem/px font-sizing and fallback
107
+ * http://snook.ca/archives/html_and_css/font-size-with-rem
108
+ * 2. Keeps page centred in all browsers regardless of content height
109
+ * 3. Removes Android and iOS tap highlight color to prevent entire container being highlighted
110
+ * www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
111
+ */
112
+ html {
113
+ font-size: 62.5%;
114
+ /* 1 */
115
+ overflow-y: scroll;
116
+ /* 2 */
117
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
118
+ /* 3 */ }
119
+
120
+ /*
121
+ * 1. Font-size increased to compensate for change to html element font-size in
122
+ * order to support beta typography which was set in ems
123
+ * (62.5% * 160% = 100%)
124
+ * 2. Addresses margins handled incorrectly in IE6/7
125
+ */
126
+ body {
127
+ font-size: 160%;
128
+ /* 1 */
129
+ margin: 0;
130
+ /* 2 */ }
131
+
132
+ b,
133
+ strong {
134
+ font-weight: 600; }
135
+
136
+ img {
137
+ border: 0; }
138
+
139
+ abbr[title] {
140
+ cursor: help; }
141
+
142
+ /*
143
+ * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
144
+ * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
145
+ * (include `-moz` to future-proof).
146
+ */
147
+ input[type="search"] {
148
+ -webkit-appearance: textfield;
149
+ /* 1 */
150
+ -moz-box-sizing: content-box;
151
+ -webkit-box-sizing: content-box;
152
+ /* 2 */
153
+ box-sizing: content-box; }
154
+
155
+ input[type="search"]::-webkit-search-cancel-button {
156
+ -webkit-appearance: searchfield-cancel-button;
157
+ margin-right: 2px; }
158
+
159
+ input[type="search"]::-webkit-search-decoration {
160
+ -webkit-appearance: none; }
161
+
162
+ /* For image replacement */
163
+ .ir {
164
+ display: block;
165
+ text-indent: -999em;
166
+ overflow: hidden;
167
+ background-repeat: no-repeat;
168
+ text-align: left;
169
+ direction: ltr; }
170
+ .ir br {
171
+ display: none; }
172
+
173
+ /* Hide for both screenreaders and browsers */
174
+ .hidden,
175
+ .js-enabled .js-hidden {
176
+ display: none;
177
+ visibility: hidden; }
178
+
179
+ /* Hide only visually, but have it available for screenreaders */
180
+ .visually-hidden,
181
+ .visuallyhidden {
182
+ position: absolute;
183
+ left: -9999em;
184
+ top: auto;
185
+ width: 1px;
186
+ height: 1px;
187
+ overflow: hidden;
188
+ /*
189
+ * Extends the .visuallyhidden class to allow the element to be
190
+ * focusable when navigated to via the keyboard
191
+ */ }
192
+ .visually-hidden.focusable:active, .visually-hidden.focusable:focus,
193
+ .visuallyhidden.focusable:active,
194
+ .visuallyhidden.focusable:focus {
195
+ clip: auto;
196
+ height: auto;
197
+ margin: 0;
198
+ overflow: visible;
199
+ position: static;
200
+ width: auto; }
201
+
202
+ /* Hide visually and from screenreaders, but maintain layout */
203
+ .invisible {
204
+ visibility: hidden; }
205
+
206
+ /* Give a strong clear visual idea as to what is currently in focus */
207
+ a {
208
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3); }
209
+
210
+ a:focus {
211
+ background-color: #ffbf47;
212
+ outline: 3px solid #ffbf47; }
213
+
214
+ /* Make links slightly darker when focused to improve contrast. */
215
+ a:link:focus {
216
+ color: #005798; }
217
+
218
+ /* Make skiplinks visible when they are tabbed to */
219
+ .skiplink {
220
+ position: absolute;
221
+ left: -9999em;
222
+ /* Default link colour doesn't have enough contrast against $focus-colour */ }
223
+ .skiplink:focus, .skiplink:visited {
224
+ color: #0b0c0c; }
225
+
226
+ .skiplink:focus {
227
+ left: 0;
228
+ z-index: 1; }
229
+
230
+ #skiplink-container {
231
+ text-align: center;
232
+ background: #0b0c0c; }
233
+ #skiplink-container div {
234
+ text-align: left;
235
+ margin: 0 auto;
236
+ max-width: 1020px; }
237
+ #skiplink-container .skiplink {
238
+ display: -moz-inline-stack;
239
+ display: inline-block;
240
+ margin: 0.75em 0 0 30px; }
241
+
242
+ input:focus,
243
+ textarea:focus,
244
+ select:focus,
245
+ button:focus {
246
+ outline: 3px solid #ffbf47;
247
+ outline-offset: 0; }
248
+
249
+ #global-header input[type=search]:focus {
250
+ outline: 3px solid #ffbf47;
251
+ /* Focus appears inside the input */
252
+ outline-offset: -2px; }
253
+ #global-header h1 a:focus {
254
+ background-color: transparent;
255
+ outline: none; }
256
+ #global-header a:focus {
257
+ color: #0b0c0c; }
258
+
259
+ #global-header .header-wrapper:after, #global-header .header-wrapper .header-global:after, #global-header .header-wrapper .header-global .header-logo:after, #global-header .header-proposition #proposition-link:after,
260
+ #global-header .header-proposition #proposition-links:after, #footer .footer-meta:after {
261
+ content: "";
262
+ display: block;
263
+ clear: both; }
264
+
265
+ #global-header {
266
+ background-color: #0b0c0c;
267
+ width: 100%; }
268
+ #global-header .header-wrapper {
269
+ background-color: #0b0c0c;
270
+ max-width: 990px;
271
+ margin: 0 auto;
272
+ padding-top: 8px;
273
+ padding-bottom: 8px; }
274
+ @media (min-width: 641px) {
275
+ #global-header .header-wrapper {
276
+ padding-left: 15px;
277
+ padding-right: 15px; } }
278
+ #global-header .header-wrapper .header-global .header-logo {
279
+ float: left; }
280
+ @media (min-width: 769px) {
281
+ #global-header .header-wrapper .header-global .header-logo {
282
+ width: 33.33%; } }
283
+ @media screen and (max-width: 379px) {
284
+ #global-header .header-wrapper .header-global .header-logo {
285
+ width: auto;
286
+ float: none; } }
287
+ #global-header .header-wrapper .header-global .header-logo .content {
288
+ margin: 0 15px; }
289
+ #global-header .header-wrapper .header-global .header-logo {
290
+ margin-top: 2px; }
291
+ @media (min-width: 769px) {
292
+ #global-header.with-proposition .header-wrapper .header-global {
293
+ float: left;
294
+ width: 33.33%; }
295
+ #global-header.with-proposition .header-wrapper .header-global .header-logo,
296
+ #global-header.with-proposition .header-wrapper .header-global .site-search {
297
+ width: 100%; } }
298
+ @media (min-width: 769px) {
299
+ #global-header.with-proposition .header-wrapper .header-proposition {
300
+ width: 66.66%;
301
+ float: left; } }
302
+ #global-header.with-proposition .header-wrapper .header-proposition .content {
303
+ margin: 0 15px; }
304
+ #global-header #logo {
305
+ float: left;
306
+ overflow: visible;
307
+ color: white;
308
+ font-weight: bold;
309
+ font-size: 30px;
310
+ line-height: 1;
311
+ text-decoration: none;
312
+ text-rendering: optimizeLegibility;
313
+ border-bottom: 1px solid transparent;
314
+ background: url(<%= asset_path 'images/gov.uk_logotype_crown.png' %>) no-repeat;
315
+ background-size: 36px 32px;
316
+ background-position: 0 0; }
317
+ #global-header #logo img {
318
+ margin: 2px 1px 0 0;
319
+ vertical-align: bottom;
320
+ visibility: hidden; }
321
+ #global-header #logo:hover, #global-header #logo:focus {
322
+ text-decoration: none;
323
+ border-bottom-color: white; }
324
+ #global-header .header-proposition {
325
+ padding-top: 10px; }
326
+ @media (min-width: 769px) {
327
+ #global-header .header-proposition {
328
+ padding-top: 0; } }
329
+ #global-header .header-proposition #proposition-name {
330
+ font-family: "nta", Arial, sans-serif;
331
+ font-weight: 400;
332
+ text-transform: none;
333
+ font-size: 18px;
334
+ line-height: 1.2;
335
+ font-weight: bold;
336
+ color: white;
337
+ text-decoration: none; }
338
+ @media (min-width: 641px) {
339
+ #global-header .header-proposition #proposition-name {
340
+ font-size: 24px;
341
+ line-height: 1.25; } }
342
+ #global-header .header-proposition a#proposition-name:hover {
343
+ text-decoration: underline; }
344
+ #global-header .header-proposition a#proposition-name:focus {
345
+ color: #0b0c0c; }
346
+ #global-header .header-proposition a.menu {
347
+ font-family: "nta", Arial, sans-serif;
348
+ font-weight: 400;
349
+ text-transform: none;
350
+ font-size: 14px;
351
+ line-height: 1.14286;
352
+ color: white;
353
+ display: block;
354
+ float: right;
355
+ text-decoration: none;
356
+ padding-top: 6px; }
357
+ @media (min-width: 641px) {
358
+ #global-header .header-proposition a.menu {
359
+ font-size: 16px;
360
+ line-height: 1.25; } }
361
+ @media (min-width: 769px) {
362
+ #global-header .header-proposition a.menu {
363
+ display: none; } }
364
+ #global-header .header-proposition a.menu:hover {
365
+ text-decoration: underline; }
366
+ #global-header .header-proposition a.menu:after {
367
+ display: inline-block;
368
+ font-size: 8px;
369
+ height: 8px;
370
+ padding-left: 5px;
371
+ vertical-align: middle;
372
+ content: " \25BC"; }
373
+ #global-header .header-proposition a.menu.js-visible:after {
374
+ content: " \25B2"; }
375
+ #global-header .header-proposition #proposition-menu {
376
+ margin-top: 5px; }
377
+ @media (min-width: 769px) {
378
+ #global-header .header-proposition #proposition-menu.no-proposition-name {
379
+ margin-top: 37px; } }
380
+ #global-header .header-proposition #proposition-link,
381
+ #global-header .header-proposition #proposition-links {
382
+ clear: both;
383
+ margin: 2px 0 0 0;
384
+ padding: 0; }
385
+ .js-enabled #global-header .header-proposition #proposition-link, .js-enabled
386
+ #global-header .header-proposition #proposition-links {
387
+ display: none; }
388
+ @media (min-width: 769px) {
389
+ .js-enabled #global-header .header-proposition #proposition-link, .js-enabled
390
+ #global-header .header-proposition #proposition-links {
391
+ display: block; } }
392
+ .js-enabled #global-header .header-proposition #proposition-link.js-visible, .js-enabled
393
+ #global-header .header-proposition #proposition-links.js-visible {
394
+ display: block; }
395
+ #global-header .header-proposition #proposition-link li,
396
+ #global-header .header-proposition #proposition-links li {
397
+ float: left;
398
+ width: 50%;
399
+ padding: 3px 0;
400
+ border-bottom: 1px solid #2e3133; }
401
+ @media (min-width: 769px) {
402
+ #global-header .header-proposition #proposition-link li,
403
+ #global-header .header-proposition #proposition-links li {
404
+ display: block;
405
+ width: auto;
406
+ padding: 0 15px 0 0;
407
+ border-bottom: 0; }
408
+ #global-header .header-proposition #proposition-link li.clear-child,
409
+ #global-header .header-proposition #proposition-links li.clear-child {
410
+ clear: left; } }
411
+ #global-header .header-proposition #proposition-link a,
412
+ #global-header .header-proposition #proposition-links a {
413
+ color: white;
414
+ text-decoration: none;
415
+ font-family: "nta", Arial, sans-serif;
416
+ font-weight: 700;
417
+ text-transform: none;
418
+ font-size: 12px;
419
+ line-height: 1.25; }
420
+ @media (min-width: 641px) {
421
+ #global-header .header-proposition #proposition-link a,
422
+ #global-header .header-proposition #proposition-links a {
423
+ font-size: 14px;
424
+ line-height: 1.42857; } }
425
+ @media (min-width: 769px) {
426
+ #global-header .header-proposition #proposition-link a,
427
+ #global-header .header-proposition #proposition-links a {
428
+ font-family: "nta", Arial, sans-serif;
429
+ font-weight: 700;
430
+ text-transform: none;
431
+ font-size: 14px;
432
+ line-height: 1.14286;
433
+ line-height: 23px; } }
434
+ @media (min-width: 769px) and (min-width: 641px) {
435
+ #global-header .header-proposition #proposition-link a,
436
+ #global-header .header-proposition #proposition-links a {
437
+ font-size: 16px;
438
+ line-height: 1.25; } }
439
+ #global-header .header-proposition #proposition-link a:hover,
440
+ #global-header .header-proposition #proposition-links a:hover {
441
+ text-decoration: underline; }
442
+ #global-header .header-proposition #proposition-link a.active,
443
+ #global-header .header-proposition #proposition-links a.active {
444
+ color: #1d8feb; }
445
+ #global-header .header-proposition #proposition-link a:focus,
446
+ #global-header .header-proposition #proposition-links a:focus {
447
+ color: #0b0c0c; }
448
+ #global-header .header-proposition #proposition-link {
449
+ float: right;
450
+ line-height: 22px; }
451
+ .js-enabled #global-header .header-proposition #proposition-link {
452
+ display: block; }
453
+ @media (min-width: 769px) {
454
+ #global-header .header-proposition #proposition-link {
455
+ float: none; } }
456
+
457
+ /* Global header bar */
458
+ #global-header-bar {
459
+ height: 10px;
460
+ background-color: #005ea5; }
461
+
462
+ /* Global cookie message */
463
+ .js-enabled #global-cookie-message {
464
+ display: none;
465
+ /* shown with JS, always on for non-JS */ }
466
+
467
+ #global-cookie-message {
468
+ width: 100%;
469
+ background-color: #d5e8f3;
470
+ padding-top: 10px;
471
+ padding-bottom: 10px; }
472
+ #global-cookie-message p {
473
+ font-family: "nta", Arial, sans-serif;
474
+ font-weight: 400;
475
+ text-transform: none;
476
+ font-size: 14px;
477
+ line-height: 1.14286;
478
+ margin-top: 0;
479
+ margin-bottom: 0; }
480
+ @media (min-width: 641px) {
481
+ #global-cookie-message p {
482
+ font-size: 16px;
483
+ line-height: 1.25; } }
484
+
485
+ /* Global footer */
486
+ #footer {
487
+ background-color: #dee0e2;
488
+ border-top: 1px solid #a1acb2; }
489
+ #footer .footer-wrapper {
490
+ background-color: #dee0e2;
491
+ padding-top: 20px; }
492
+ @media (min-width: 641px) {
493
+ #footer .footer-wrapper {
494
+ padding-top: 60px; } }
495
+ #footer a {
496
+ color: #454a4c; }
497
+ #footer a:hover {
498
+ color: #171819; }
499
+ #footer h2 {
500
+ font-family: "nta", Arial, sans-serif;
501
+ font-weight: 400;
502
+ text-transform: none;
503
+ font-size: 18px;
504
+ line-height: 1.2;
505
+ font-weight: bold;
506
+ color: #0b0c0c;
507
+ margin: 0; }
508
+ @media (min-width: 641px) {
509
+ #footer h2 {
510
+ font-size: 24px;
511
+ line-height: 1.25; } }
512
+ #footer h2 a {
513
+ color: inherit; }
514
+ #footer .footer-meta {
515
+ padding-bottom: 60px;
516
+ clear: both;
517
+ font-size: 0;
518
+ color: #454a4c; }
519
+ #footer .footer-meta .footer-meta-inner {
520
+ display: inline-block;
521
+ vertical-align: bottom;
522
+ width: 100%; }
523
+ @media (min-width: 641px) {
524
+ #footer .footer-meta .footer-meta-inner {
525
+ width: 75%; } }
526
+ #footer .footer-meta .footer-meta-inner ul {
527
+ font-family: "nta", Arial, sans-serif;
528
+ font-weight: 400;
529
+ text-transform: none;
530
+ font-size: 14px;
531
+ line-height: 1.5;
532
+ display: inline-block;
533
+ list-style: none;
534
+ margin: 0 0 1.5em 0;
535
+ padding: 0; }
536
+ @media (min-width: 641px) {
537
+ #footer .footer-meta .footer-meta-inner ul {
538
+ font-size: 16px;
539
+ line-height: 1.5; } }
540
+ @media (min-width: 641px) {
541
+ #footer .footer-meta .footer-meta-inner ul {
542
+ margin: 0 0 1em 0; } }
543
+ #footer .footer-meta .footer-meta-inner ul li {
544
+ display: inline-block;
545
+ margin: 0 15px 0 0; }
546
+ #footer .footer-meta .footer-meta-inner .open-government-licence {
547
+ clear: left;
548
+ position: relative; }
549
+ @media (min-width: 641px) {
550
+ #footer .footer-meta .footer-meta-inner .open-government-licence {
551
+ padding-left: 53px; } }
552
+ #footer .footer-meta .footer-meta-inner .open-government-licence .logo {
553
+ margin-bottom: 1em;
554
+ padding-top: 0; }
555
+ @media (min-width: 641px) {
556
+ #footer .footer-meta .footer-meta-inner .open-government-licence .logo {
557
+ position: absolute;
558
+ left: 0;
559
+ top: 0;
560
+ width: 41px;
561
+ height: 100%; } }
562
+ #footer .footer-meta .footer-meta-inner .open-government-licence .logo a {
563
+ display: block;
564
+ width: 41px;
565
+ height: 17px;
566
+ overflow: hidden;
567
+ text-indent: -999em;
568
+ background: url(<%= asset_path 'images/open-government-licence.png' %>) 0 0 no-repeat; }
569
+ @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) {
570
+ #footer .footer-meta .footer-meta-inner .open-government-licence .logo a {
571
+ background-image: url(<%= asset_path 'images/open-government-licence_2x.png' %>);
572
+ background-size: 41px 17px; } }
573
+ #footer .footer-meta .footer-meta-inner .open-government-licence p {
574
+ font-family: "nta", Arial, sans-serif;
575
+ font-weight: 400;
576
+ text-transform: none;
577
+ font-size: 14px;
578
+ line-height: 1.14286;
579
+ margin: 0;
580
+ padding-top: 0.1em; }
581
+ @media (min-width: 641px) {
582
+ #footer .footer-meta .footer-meta-inner .open-government-licence p {
583
+ font-size: 16px;
584
+ line-height: 1.25; } }
585
+ #footer .footer-meta .copyright {
586
+ font-family: "nta", Arial, sans-serif;
587
+ font-weight: 400;
588
+ text-transform: none;
589
+ font-size: 14px;
590
+ line-height: 1.14286;
591
+ margin: 30px 0 0 0;
592
+ width: 100%;
593
+ display: block; }
594
+ @media (min-width: 641px) {
595
+ #footer .footer-meta .copyright {
596
+ font-size: 16px;
597
+ line-height: 1.25; } }
598
+ @media (min-width: 641px) {
599
+ #footer .footer-meta .copyright {
600
+ display: inline-block;
601
+ text-align: inherit;
602
+ width: 25%;
603
+ padding-top: 15px;
604
+ margin-top: 0; } }
605
+ #footer .footer-meta .copyright a {
606
+ display: block;
607
+ background-image: url(<%= asset_path 'images/govuk-crest.png' %>);
608
+ background-repeat: no-repeat;
609
+ background-position: 50% 0%;
610
+ text-align: center;
611
+ text-decoration: none;
612
+ padding: 115px 0 0 0; }
613
+ @media (min-width: 641px) {
614
+ #footer .footer-meta .copyright a {
615
+ background-position: 100% 0%; } }
616
+ @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) {
617
+ #footer .footer-meta .copyright a {
618
+ background-image: url(<%= asset_path 'images/govuk-crest-2x.png' %>);
619
+ background-size: 125px 102px; } }
620
+ @media (min-width: 641px) {
621
+ #footer .footer-meta .copyright a {
622
+ text-align: right; } }