Add cc icon in post-copyright

This commit is contained in:
Mimi 2022-11-14 15:07:28 +08:00
parent 5165b3e8b6
commit f9dd9869de
2 changed files with 13 additions and 1 deletions

View File

@ -21,8 +21,20 @@
if (hexo-config('creative_commons.post')) {
.post-copyright ul {
list-style: none;
overflow: hidden;
padding: .5em 1em;
position: relative;
post-card();
&::after {
content: '\f25e';
font-family: 'Font Awesome 6 Brands';
font-size: 200px;
opacity: .1;
position: absolute;
right: -50px;
top: -150px;
}
}
}

View File

@ -103,7 +103,7 @@ font-family-icons($icon = '') {
if ($icon) {
content: $icon;
}
font-family: 'Font Awesome 5 Free';
font-family: 'Font Awesome 6 Free';
font-weight: 900;
}