From f8f7ca6ac65f14c5ac838739e343fe8a3f24530b Mon Sep 17 00:00:00 2001 From: tombye Date: Mon, 1 Jul 2013 16:58:24 +0100 Subject: [PATCH 1/3] Make OGL logo clickable --- app/assets/stylesheets/_footer.scss | 31 +++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) 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; + } } } } From c407edafa2c257aafa8950afe972023b317c08d3 Mon Sep 17 00:00:00 2001 From: tombye Date: Tue, 2 Jul 2013 13:12:48 +0100 Subject: [PATCH 2/3] Make logo link match the direct link --- app/views/root/_footer_meta.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ From ee0dcf01bdc7f66135308733a11643a842b0dc8f Mon Sep 17 00:00:00 2001 From: tombye Date: Tue, 2 Jul 2013 13:14:23 +0100 Subject: [PATCH 3/3] Remove unused logo image --- app/assets/images/open-government-licence.png | Bin 1222 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/assets/images/open-government-licence.png diff --git a/app/assets/images/open-government-licence.png b/app/assets/images/open-government-licence.png deleted file mode 100644 index eeb5243a2b2d101786bd467d29f115ced6e497ba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1222 zcmV;%1UdVOP)w zK~zY`b(Tx0RaG3uf8W0MYDuB=&`PMlD8j6p_CN^2=xokD%gAXB3LNDmBx=;CLC~;> z3Iqq55Ya5!XP@?okmx~WnIJu&B#Nxm>S|eo^n4BW+K+oYZ8)6$_`lZo|Nh@v0!Xs} zKw0F(=cj@DjjtD)0RIB-1Fw`t{#j)+pe%-@{XjX2e*Lfu@gQ)cje$h+A<(O3k-rJh z>j%cIee0VIb^sg8V)!gmm(na?U|i&+S=b5Qi@~*lraa7H!yV(%a8f5pv%$T!;h z;TS}!-?0R`sVwpnH83?Oy=?FI-h3Y zqN>2K3v@8rSaDT?)?c#C8t|`a7H+M(mS$mlngt8C#XJ*cTuE8v^!kHGz&q&xSV7Ue zn8aIEv25&(sj|(Hv>z^ud7f)LZEVk~k@>2n+UF)v)8@a8 z4+xzC?gO?06HMZ2*_X)vw&8B_OH9~(NpRn0F9u1E*eC#r5 zHi%WbZ8BFj6@jGFWs&#liI2plEb=c5k7Cqz(2CTUV3;m2%>v^hUou=#7Q=Pp(ePMT zMOfas4*#c+l-N+ut&JpJoDMWDhNM|gS>*eB{lUJ5wG{_r2A9hU><56P*B=P@t(S$Q zmIooqBA+Z5jXLCPPOf(|jR5>G8}yphoz+@(s}jWVKyX_2lI$gkC8WO)A9ae3ll}j^Oh8}N zx@&{&$2&UK<<>;vnW#W&xLF}H4=ncjVQpvEVmun&g*XFR09FDk1q;B6Wla(7RLm}t z1F_AH+Uqn6ry>XG6#NA6q$Lwej6rKjJTLKcnuTk+oVNX##R4!_x7|2dhGbjmxmiUj zuG-7kWG0|Q;*jlAk~RZtfr)V)wtkB*Ds zrd~gMEO94P0fDm;XR6r}h6Ta?dgAVOJ7h>C@qUY>6u7cM-l{@~FU!$zRW;v@ck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