Improve appearance of CodeSponsor with new preludes

This commit is contained in:
Rico Sta. Cruz 2017-10-11 08:39:01 +08:00
parent a98d5269c8
commit 9fae72451d
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
3 changed files with 12 additions and 10 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=319'
s.src='https://app.codesponsor.io/scripts/{{ site.data.codesponsor.id }}?theme=light&image=hide&height=130&width=319'
setTimeout(function(){r.parentNode.insertBefore(s,r)})
})(document, 'code-sponsor-embed')</script>
</aside>

View File

@ -2,7 +2,7 @@
& {
text-align: center;
position: relative;
height: 100px;
height: 130px;
}
/* Prelude */

View File

@ -41,14 +41,16 @@
margin-top: 16px;
}
& > .adbox > .ad.-codesponsor::before {
content: '';
display: block;
margin: 8px auto 24px auto;
width: 64px;
height: 1px;
background: lighten($gray-text, 40%);
}
// Horizontal line
// (no need for now)
// & > .adbox > .ad.-codesponsor::before {
// content: '';
// display: block;
// margin: 8px auto 24px auto;
// width: 64px;
// height: 1px;
// background: lighten($gray-text, 40%);
// }
}
/**