From 7cab923ef6c93a22c3f9983831f3f07795d8f118 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Mon, 11 Sep 2017 17:27:52 +0800 Subject: feat: add instagram icon merge from original theme ahonn/hexo-theme-even@c91e68825dbf624e3398509c6856f644955a3129 --- src/css/_partial/_iconfont.scss | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'src/css') diff --git a/src/css/_partial/_iconfont.scss b/src/css/_partial/_iconfont.scss index 3f3c794..cf8c967 100644 --- a/src/css/_partial/_iconfont.scss +++ b/src/css/_partial/_iconfont.scss @@ -4,11 +4,11 @@ @font-face { font-family: 'iconfont'; /* project id 96542 */ - src: url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot'); - src: url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot?#iefix') format('embedded-opentype'), - url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.woff') format('woff'), - url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.ttf') format('truetype'), - url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.svg#iconfont') format('svg'); + src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot'); + src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot?#iefix') format('embedded-opentype'), + url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.woff') format('woff'), + url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.ttf') format('truetype'), + url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.svg#iconfont') format('svg'); } .iconfont { @@ -20,6 +20,12 @@ cursor: pointer; } +.icon-instagram:before { + font-size: .95em; + content: "\e611"; + position: relative; + top: -1px; +} .icon-douban:before { content: "\e610"; } @@ -80,13 +86,13 @@ /* Generic Icon */ .icon-heart:before { - content: "\e608"; + content: "\e608"; } -.icon-right:before { +.icon-right:before { content: "\e60a"; } .icon-left:before { - content: "\e60b"; + content: "\e60b"; } .icon-up:before { content: "\e60c"; -- cgit v1.2.3