mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-12 16:19:45 +00:00
feat: add instagram icon
merge from original theme ahonn/hexo-theme-even@c91e68825d
This commit is contained in:
parent
9347a9d2f4
commit
7cab923ef6
2 changed files with 15 additions and 8 deletions
|
@ -86,6 +86,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
|
||||||
j-douban = "http://localhost:1313"
|
j-douban = "http://localhost:1313"
|
||||||
k-pocket = "http://localhost:1313"
|
k-pocket = "http://localhost:1313"
|
||||||
l-tumblr = "http://localhost:1313"
|
l-tumblr = "http://localhost:1313"
|
||||||
|
m-instagram = "http://localhost:1313"
|
||||||
|
|
||||||
# 将下面这段配置取消注释可以使 hugo 生成 .md 文件
|
# 将下面这段配置取消注释可以使 hugo 生成 .md 文件
|
||||||
# Uncomment these options to make hugo output .md files.
|
# Uncomment these options to make hugo output .md files.
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'iconfont'; /* project id 96542 */
|
font-family: 'iconfont'; /* project id 96542 */
|
||||||
src: url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot');
|
src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot');
|
||||||
src: url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.eot?#iefix') format('embedded-opentype'),
|
src: url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.eot?#iefix') format('embedded-opentype'),
|
||||||
url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.woff') format('woff'),
|
url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.woff') format('woff'),
|
||||||
url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.ttf') format('truetype'),
|
url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.ttf') format('truetype'),
|
||||||
url('//at.alicdn.com/t/font_96542_d5q5xyswt0kq33di.svg#iconfont') format('svg');
|
url('//at.alicdn.com/t/font_96542_ixz9jngnf1sb57b9.svg#iconfont') format('svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconfont {
|
.iconfont {
|
||||||
|
@ -20,6 +20,12 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-instagram:before {
|
||||||
|
font-size: .95em;
|
||||||
|
content: "\e611";
|
||||||
|
position: relative;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
.icon-douban:before {
|
.icon-douban:before {
|
||||||
content: "\e610";
|
content: "\e610";
|
||||||
}
|
}
|
||||||
|
@ -80,13 +86,13 @@
|
||||||
|
|
||||||
/* Generic Icon */
|
/* Generic Icon */
|
||||||
.icon-heart:before {
|
.icon-heart:before {
|
||||||
content: "\e608";
|
content: "\e608";
|
||||||
}
|
}
|
||||||
.icon-right:before {
|
.icon-right:before {
|
||||||
content: "\e60a";
|
content: "\e60a";
|
||||||
}
|
}
|
||||||
.icon-left:before {
|
.icon-left:before {
|
||||||
content: "\e60b";
|
content: "\e60b";
|
||||||
}
|
}
|
||||||
.icon-up:before {
|
.icon-up:before {
|
||||||
content: "\e60c";
|
content: "\e60c";
|
||||||
|
|
Loading…
Reference in a new issue