Improve appearance of CodeSponsor with new preludes
This commit is contained in:
parent
a98d5269c8
commit
9fae72451d
|
@ -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>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
& {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
height: 100px;
|
||||
height: 130px;
|
||||
}
|
||||
|
||||
/* Prelude */
|
||||
|
|
|
@ -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%);
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue