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
|
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=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)})
|
setTimeout(function(){r.parentNode.insertBefore(s,r)})
|
||||||
})(document, 'code-sponsor-embed')</script>
|
})(document, 'code-sponsor-embed')</script>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
& {
|
& {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100px;
|
height: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prelude */
|
/* Prelude */
|
||||||
|
|
|
@ -41,14 +41,16 @@
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .adbox > .ad.-codesponsor::before {
|
// Horizontal line
|
||||||
content: '';
|
// (no need for now)
|
||||||
display: block;
|
// & > .adbox > .ad.-codesponsor::before {
|
||||||
margin: 8px auto 24px auto;
|
// content: '';
|
||||||
width: 64px;
|
// display: block;
|
||||||
height: 1px;
|
// margin: 8px auto 24px auto;
|
||||||
background: lighten($gray-text, 40%);
|
// width: 64px;
|
||||||
}
|
// height: 1px;
|
||||||
|
// background: lighten($gray-text, 40%);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue