
CSS代码:
/* logo扫光 */
.navbar-brand{position:relative;overflow:hidden;margin: 0px 0 0 0px;}.navbar-brand:before{content:""; position: absolute; left: -665px; top: -460px; width: 200px; height: 15px; background-color: rgba(255,255,255,.5); -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-animation: searchLights 6s ease-in 0s infinite; -o-animation: searchLights 6s ease-in 0s infinite; animation: searchLights 6s ease-in 0s infinite;}@-moz-keyframes searchLights{50%{left: -100px; top: 0;} 65%{left: 120px; top: 100px;}}@keyframes searchLights{40%{left: -100px; top: 0;} 60%{left: 120px; top: 100px;} 80%{left: -100px; top: 0px;}}
CSS代码:
/*导航栏字体加粗*/
ul.nav {font-weight: 700;}
CSS代码:(字体样式一:)
/*字体*/
@font-face{font-family:"ziti";src:url(https://www.cunshao.com/666666/meihua/adjzRQKK4rMhqM7T.ttf);}
*{font-family:"ziti"}
CSS代码(字体样式二):
/*全站字体美化*/
@font-face{
font-family: 'moe';
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.ttf');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.otf');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.dfont');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.eot');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.svg');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.woff');
src: url('https://cdn.jsdelivr.net/gh/muwenhuan/Coolimg/fzlty.woff2');
}
body{
font-family:'moe';
}
.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;
}
}
注:(非常重要)font-family是自定义字体名称(自己修改),url这是字体文件的地址(自己修改),*这是全局显示。
© 版权声明
THE END
文章不错?点个赞呗
相关推荐
暂无评论内容