diff options
author | Ben Abbott <jaminscript@gmail.com> | 2014-11-12 16:42:00 +1300 |
---|---|---|
committer | Ben Abbott <jaminscript@gmail.com> | 2014-11-12 16:42:00 +1300 |
commit | 404ddf26e5e36951cbf9f212ce685896ec714a08 (patch) | |
tree | 893e88171c8b70b240873c15bd1e06dbd2a729d5 /_includes/svg-icons/email.html | |
parent | 8e81837d1c6daaa5d255226df02f6252a46d3ddb (diff) | |
download | kompetenzbolzen.github.io-404ddf26e5e36951cbf9f212ce685896ec714a08.tar.gz |
Change how SVG icons are included in pages
Normally you include a .html file containing SVG data to show social
media icons on the page, but this means adding up to 27KB of bloat to
every single page.
With this commit I have moved the SVG data into a .scss file and
converted them into Data URIs so they work on multiple browsers. This
means the CSS file will contain the SVG data rather than each and every
page on the site.
Diffstat (limited to '_includes/svg-icons/email.html')
-rw-r--r-- | _includes/svg-icons/email.html | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/_includes/svg-icons/email.html b/_includes/svg-icons/email.html deleted file mode 100644 index 7e42165..0000000 --- a/_includes/svg-icons/email.html +++ /dev/null @@ -1,5 +0,0 @@ -<svg width="40px" height="40px" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> - <path d="M0.224580688,30 C0.224580688,13.4314567 13.454941,0 29.7754193,0 C46.0958976,0 59.3262579,13.4314567 59.3262579,30 C59.3262579,46.5685433 46.0958976,60 29.7754193,60 C13.454941,60 0.224580688,46.5685433 0.224580688,30 Z M0.224580688,30" fill="#FFFFFF" sketch:type="MSShapeGroup"></path> - <path d="M35.0384324,31.6384006 L47.2131148,40.5764264 L47.2131148,20 L35.0384324,31.6384006 Z M13.7704918,20 L13.7704918,40.5764264 L25.9449129,31.6371491 L13.7704918,20 Z M30.4918033,35.9844891 L27.5851037,33.2065217 L13.7704918,42 L47.2131148,42 L33.3981762,33.2065217 L30.4918033,35.9844891 Z M46.2098361,20 L14.7737705,20 L30.4918033,32.4549304 L46.2098361,20 Z M46.2098361,20" id="Shape" fill="#333333" sketch:type="MSShapeGroup"></path> - <path d="M59.3262579,30 C59.3262579,46.5685433 46.0958976,60 29.7754193,60 C23.7225405,60 18.0947051,58.1525134 13.4093244,54.9827754 L47.2695458,5.81941103 C54.5814438,11.2806503 59.3262579,20.0777973 59.3262579,30 Z M59.3262579,30" id="reflec" fill-opacity="0.08" fill="#000000" sketch:type="MSShapeGroup"></path> -</svg>
\ No newline at end of file |