More mobile improvements

This commit is contained in:
Rico Sta. Cruz 2017-09-24 04:58:34 +08:00
parent c453a4bbef
commit 9882ba22ac
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
4 changed files with 15 additions and 5 deletions

View File

@ -4,7 +4,7 @@
if (window.localStorage && window.localStorage._NOADS) return
var s=d.createElement('script'),r=d.getElementById(id)
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)})
})(document, 'code-sponsor-embed')</script>
</aside>

View File

@ -13,10 +13,11 @@
height: 64px;
background: transparent;
border: 0;
flex: 1 0 auto;
flex: 1 1 auto;
padding-left: 0;
font-weight: bold;
color: $base-head;
min-width: 48px;
&::placeholder {
font-weight: normal;

View File

@ -33,4 +33,11 @@
margin-top: 32px;
margin-bottom: -16px;
}
@media (max-width: 480px) {
& > .adbox {
margin-left: -16px;
margin-right: -16px;
}
}
}

View File

@ -97,8 +97,10 @@
}
// Offset so it doesn't look misasligned
@media (min-width: $area-width) {
& > .left > .home {
position: relative;
left: -16px;
}
}
}