moj_template 0.4.1

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