Add base icon styles

This commit is contained in:
Cole Bemis 2017-02-26 12:27:46 -08:00
parent 1e30c63b1a
commit f63c1d4342
2 changed files with 18 additions and 1 deletions

View File

@ -1,6 +1,8 @@
<section>
{% for icon in site.data.icons %}
{% capture icon_path %}icons/{{ icon }}.svg{% endcapture %}
<div class="feather-icon">
{% include_relative {{ icon_path }} %}
</div>
{% endfor %}
</section>

View File

@ -118,3 +118,18 @@ a {
}
}
}
.feather-icon {
display: inline-block;
width: 1.5rem;
height: 1.5rem;
stroke-width: 2px;
> svg {
width: 100%;
height: 100%;
stroke: currentColor;
stroke-width: inherit;
}
}