wordpress给网站更改鸿蒙字体
代码展示
@font-face{
font-family: 'HarmonyOS';
src: url('https://image.eke.ink/fonts/HarmonyOS_Sans_SC_Regular.ttf');
src: url('https://image.eke.ink/fonts/HarmonyOS_Sans_SC_Regular_1.otf');
src: url('https://image.eke.ink/fonts/HarmonyOS_Sans_SC_Regular.dfont');
src: url('https://image.eke.ink/fonts/HarmonyOS_Sans_SC_Regular.eot');
src: url('https://image.eke.ink/fonts/HarmonyOS_Sans_SC_Regular.svg');
src: url('https://image.eke.ink/fonts/HarmonyOS_Sans_SC_Regular.woff');
src: url('https://image.eke.ink/fonts/HarmonyOS_Sans_SC_Regular.woff2');
}
body{
font-family:'HarmonyOS';
}
.enlighter-default .enlighter{max-height:400px;overflow-y:auto !important;}.lazyloading:not(.swiper-lazy-loaded){opacity: 0;}@media (max-width:640px) {
.meta-right .meta-view{
display: unset !important;
}
}
使用教程
把代码复制到自定义CSS样式内即可
相关文章
暂无评论...