From f63c1d4342792553bd87fe1158ab1f0ac04d6fa3 Mon Sep 17 00:00:00 2001 From: Cole Bemis <colebemis@gmail.com> Date: Sun, 26 Feb 2017 12:27:46 -0800 Subject: [PATCH] Add base icon styles --- _includes/icons.html | 4 +++- style.scss | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/_includes/icons.html b/_includes/icons.html index 537ba74..a6e1c93 100644 --- a/_includes/icons.html +++ b/_includes/icons.html @@ -1,6 +1,8 @@ <section> {% for icon in site.data.icons %} {% capture icon_path %}icons/{{ icon }}.svg{% endcapture %} - {% include_relative {{ icon_path }} %} + <div class="feather-icon"> + {% include_relative {{ icon_path }} %} + </div> {% endfor %} </section> \ No newline at end of file diff --git a/style.scss b/style.scss index 93a48ad..74e23e3 100644 --- a/style.scss +++ b/style.scss @@ -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; + } +} + -- 2.21.0