feat: add instagram icon

merge from original theme ahonn/hexo-theme-even@c91e68825d
This commit is contained in:
olOwOlo 2017-09-11 17:27:52 +08:00
parent 9347a9d2f4
commit 7cab923ef6
No known key found for this signature in database
GPG key ID: 456394B6E7A15EA6
2 changed files with 15 additions and 8 deletions

View file

@ -86,6 +86,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
j-douban = "http://localhost:1313"
k-pocket = "http://localhost:1313"
l-tumblr = "http://localhost:1313"
m-instagram = "http://localhost:1313"
# 将下面这段配置取消注释可以使 hugo 生成 .md 文件
# Uncomment these options to make hugo output .md files.

View file

@ -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";