提交 3223cab2 编写于 作者: EvanOne(文一)'s avatar EvanOne(文一)

refactor: Modify the style of icon in footer

上级 2ff71904
......@@ -14,6 +14,8 @@ if footerCopyright || footerBeian
span!= `© ${startYear}` + (startYear != endYear ? `-${endYear}` : "")
if footer.icon.enable
span(class=`${fa_prefix} fa-${footer.icon.name} footer-icon`)
else
span= " "
span= footer.copyright.text || config.author + "."
if footerCopyright && footerBeian
span= " | "
......
.footer {
&-icon {
margin: 0 .3rem;
font-size: 1em;
color: convert(hexo-config('footer.icon.color') || '#ff0000');
if (hexo-config('footer.icon.animation')) {
animation: footer-heart-beat 1.2s infinite;
}
}
}
.footer-inner {
padding: 1rem;
font-size: $font-size-footer;
......@@ -23,14 +35,4 @@
.separator {
margin: 0 .5rem;
}
.footer-icon {
margin: 0 .2rem;
font-size: .9em;
color: convert(hexo-config('footer.icon.color') || '#ff0000');
if (hexo-config('footer.icon.animation')) {
animation: footer-heart-beat 1.2s infinite;
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册