govuk_template 0.3.8

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