diff options
author | 2014-11-12 16:42:00 +1300 | |
---|---|---|
committer | 2014-11-12 16:42:00 +1300 | |
commit | 404ddf26e5e36951cbf9f212ce685896ec714a08 (patch) | |
tree | 893e88171c8b70b240873c15bd1e06dbd2a729d5 /_includes/svg-icons/facebook.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/facebook.html')
-rw-r--r-- | _includes/svg-icons/facebook.html | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/_includes/svg-icons/facebook.html b/_includes/svg-icons/facebook.html deleted file mode 100644 index a0a9891..0000000 --- a/_includes/svg-icons/facebook.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.112290344,30 C0.112290344,13.4314567 13.3426506,0 29.663129,0 C45.9836073,0 59.2139676,13.4314567 59.2139676,30 C59.2139676,46.5685433 45.9836073,60 29.663129,60 C13.3426506,60 0.112290344,46.5685433 0.112290344,30 Z M0.112290344,30" fill="#3B5998" sketch:type="MSShapeGroup"></path> - <path d="M32.1341457,46.3196729 L32.1341457,29.9980891 L36.5657565,29.9980891 L37.1530406,24.3735809 L32.1341457,24.3735809 L32.141675,21.5584604 C32.141675,20.091502 32.2787707,19.3054722 34.351206,19.3054722 L37.1216686,19.3054722 L37.1216686,13.6803271 L32.6894304,13.6803271 C27.3655995,13.6803271 25.491749,16.4088187 25.491749,20.9972835 L25.491749,24.3742179 L22.1732173,24.3742179 L22.1732173,29.998726 L25.491749,29.998726 L25.491749,46.3196729 L32.1341457,46.3196729 Z M32.1341457,46.3196729" id="Path" fill="#FFFFFF" sketch:type="MSShapeGroup"></path> - <path d="M59.2139676,30 C59.2139676,46.5685433 45.9836073,60 29.663129,60 C23.6102502,60 17.9824147,58.1525134 13.2970341,54.9827754 L47.1572554,5.81941103 C54.4691534,11.2806503 59.2139676,20.0777973 59.2139676,30 Z M59.2139676,30" id="reflec" fill-opacity="0.08" fill="#000000" sketch:type="MSShapeGroup"></path> -</svg>
\ No newline at end of file |