More mobile improvements
This commit is contained in:
parent
c453a4bbef
commit
9882ba22ac
|
@ -4,7 +4,7 @@
|
||||||
if (window.localStorage && window.localStorage._NOADS) return
|
if (window.localStorage && window.localStorage._NOADS) return
|
||||||
var s=d.createElement('script'),r=d.getElementById(id)
|
var s=d.createElement('script'),r=d.getElementById(id)
|
||||||
s.async=true
|
s.async=true
|
||||||
s.src='https://app.codesponsor.io/scripts/{{ site.data.codesponsor.id }}?theme=light&image=hide&height=100&width=300'
|
s.src='https://app.codesponsor.io/scripts/{{ site.data.codesponsor.id }}?theme=light&image=hide&height=100&width=319'
|
||||||
setTimeout(function(){r.parentNode.insertBefore(s,r)})
|
setTimeout(function(){r.parentNode.insertBefore(s,r)})
|
||||||
})(document, 'code-sponsor-embed')</script>
|
})(document, 'code-sponsor-embed')</script>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
|
@ -13,10 +13,11 @@
|
||||||
height: 64px;
|
height: 64px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
flex: 1 0 auto;
|
flex: 1 1 auto;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: $base-head;
|
color: $base-head;
|
||||||
|
min-width: 48px;
|
||||||
|
|
||||||
&::placeholder {
|
&::placeholder {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|
|
@ -33,4 +33,11 @@
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
margin-bottom: -16px;
|
margin-bottom: -16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
& > .adbox {
|
||||||
|
margin-left: -16px;
|
||||||
|
margin-right: -16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,8 +97,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Offset so it doesn't look misasligned
|
// Offset so it doesn't look misasligned
|
||||||
|
@media (min-width: $area-width) {
|
||||||
& > .left > .home {
|
& > .left > .home {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: -16px;
|
left: -16px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue