hexo/css/partial/fonts.css

54 lines
1.1 KiB
CSS

@font-face {
font-family: 'chinese-zodiac';
font-display: swap;
src: url("../fonts/chinese-zodiac.eot");
src: url("../fonts/chinese-zodiac.eot") format('embedded-opentype'), url("../fonts/chinese-zodiac.woff2") format('woff2'), url("../fonts/chinese-zodiac.woff") format('woff');
font-weight: normal;
font-style: normal;
}
.symbolic-animals {
display: inline-block;
font: normal normal normal 14px/1 chinese-zodiac;
font-size: larger;
float: right;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-dragon:before {
content: '\e806';
}
.icon-tiger:before {
content: '\e809';
}
.icon-pig:before {
content: '\e810';
}
.icon-horse:before {
content: '\e813';
}
.icon-rat:before {
content: '\e816';
}
.icon-goat:before {
content: '\e818';
}
.icon-snake:before {
content: '\e820';
}
.icon-ox:before {
content: '\e822';
}
.icon-dog:before {
content: '\e825';
}
.icon-rabbit:before {
content: '\e826';
}
.icon-monkey:before {
content: '\e829';
}
.icon-rooster:before {
content: '\e82f';
}