diff --git a/app/assets/images/open-government-licence.png b/app/assets/images/open-government-licence.png deleted file mode 100644 index eeb5243a2..000000000 Binary files a/app/assets/images/open-government-licence.png and /dev/null differ diff --git a/app/assets/stylesheets/_footer.scss b/app/assets/stylesheets/_footer.scss index f34a7e38c..0c7435240 100644 --- a/app/assets/stylesheets/_footer.scss +++ b/app/assets/stylesheets/_footer.scss @@ -226,25 +226,40 @@ .open-government-licence { clear: left; - background: transparent image-url("open-government-licence.png") no-repeat 0 center; - padding: 8px 0 0 53px; - - @include media(mobile) { - background-image: image-url("open-government-licence_2x.png"); - background-size: 41px 17px; - } + position: relative; + padding-left: 53px; h2 { position: absolute; - left: -9999em; + left: 0; + top: 0; + width: 41px; + height: 100%; + + @include media-down(mobile) { + position: static; + width: auto; + margin-bottom: 1em; + } + + a, img { + display: block; + width: 43px; + height: 17px; + } } p { @include core-16; margin: 0; + padding-top: 0.1em; a { @include core-14; + + @include media-down(mobile) { + font-size: 1em; + } } } } diff --git a/app/views/root/_footer_meta.html.erb b/app/views/root/_footer_meta.html.erb index ff8ed259b..76634c4e2 100644 --- a/app/views/root/_footer_meta.html.erb +++ b/app/views/root/_footer_meta.html.erb @@ -11,7 +11,7 @@
-

<%= image_tag 'open-government-licence_2x.png', alt: 'OGL' %>

+

<%= image_tag 'open-government-licence_2x.png', alt: 'OGL' %>

All content is available under the Open Government Licence v2.0, except where otherwise stated