Simpler add style
This commit is contained in:
parent
de6200d576
commit
8fb0989e0c
|
@ -38,8 +38,3 @@ not_found:
|
||||||
title: Not found
|
title: Not found
|
||||||
description: Sorry, we don't have a cheatsheet for this yet. Try searching!
|
description: Sorry, we don't have a cheatsheet for this yet. Try searching!
|
||||||
home: Back to home
|
home: Back to home
|
||||||
|
|
||||||
code_sponsor:
|
|
||||||
recommender_name: "@rstacruz"
|
|
||||||
recommender_url: "https://twitter.com/rstacruz"
|
|
||||||
recommender_suffix: "recommends:"
|
|
||||||
|
|
|
@ -1,11 +1,3 @@
|
||||||
<aside class='code-sponsor'>
|
<aside class='code-sponsor'>
|
||||||
{% unless include.noprelude %}
|
|
||||||
<span class='prelude'>
|
|
||||||
<a href='{{ site.data.content.code_sponsor.recommender_url }}'>
|
|
||||||
{{ site.data.content.code_sponsor.recommender_name }}
|
|
||||||
</a>
|
|
||||||
{{ site.data.content.code_sponsor.recommender_suffix }}
|
|
||||||
</span>
|
|
||||||
{% endunless %}
|
|
||||||
<div id='code-sponsor-widget'></div><script src='https://app.codesponsor.io/scripts/{{ site.data.codesponsor.id }}?theme=light&image=hide&height=100&width=330'></script>
|
<div id='code-sponsor-widget'></div><script src='https://app.codesponsor.io/scripts/{{ site.data.codesponsor.id }}?theme=light&image=hide&height=100&width=330'></script>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
|
@ -40,4 +40,13 @@
|
||||||
& > .adbox > .ad.-carbon {
|
& > .adbox > .ad.-carbon {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > .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