Update ribbon

This commit is contained in:
azu
2018-02-25 18:09:37 +09:00
parent efdc3b5174
commit b69ce9a20d

View File

@ -7,6 +7,9 @@ document.addEventListener("DOMContentLoaded", function(event) {
anchors.add(".dict h2");
});
</script>
<a href="https://github.com/dciccale/css3-github-ribbon" class="github-ribbon">
Fork me on GitHub
</a>
<style>
.dict-title {
padding-bottom: 0.3em;
@ -15,6 +18,9 @@ document.addEventListener("DOMContentLoaded", function(event) {
}
</style>
<div class="body">
{% if site.github %}
<a href="{{site.github.repository_url}}"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
{% endif %}
{% for dict_hash in site.data.dict %}
{% assign dict = dict_hash[1] %}
<div class="dict">
@ -70,4 +76,4 @@ document.addEventListener("DOMContentLoaded", function(event) {
{% endif %}
</div>
{% endfor %}
</div>
</div>