/*行代码*/
.wp-posts-content code:not([class]) {
font-size: 100%;
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
color: #005299;
background-color: rgba(249,220,116);
margin: 2px 2px 2px 2px;
}
/*文章随机彩色标签*/
.article-tags{margin-bottom: 10px}.article-tags a{padding: 4px 10px;background-color: #19B5FE;color: white;font-size: 12px;line-height: 16px;font-weight: 400;margin: 0 5px 5px 0;border-radius: 2px;display: inline-block}.article-tags a:nth-child(5n){background-color: #4A4A4A;color: #FFF}.article-tags a:nth-child(5n+1){background-color: #ff5e5c;color: #FFF}.article-tags a:nth-child(5n+2){background-color: #ffbb50;color: #FFF}.article-tags a:nth-child(5n+3){background-color: #1ac756;color: #FFF}.article-tags a:nth-child(5n+4){background-color: #19B5FE;color: #FFF}.article-tags a:hover{background-color: #1B1B1B;color: #FFF}
/*滚动条显示样式*/
::-webkit-scrollbar-thumb{
background-color:#005299; /*更改喜欢的十六进制颜色*/
height:50px;
outline-offset:-2px;
outline:2px solid #fff;
-webkit-border-radius:4px;
border: 2px solid #fff;
}
/*滚动条大小*/
::-webkit-scrollbar{
width:10px;
height:8px;
}
/*滚动框背景样式*/
::-webkit-scrollbar-track-piece{
background-color:#fff;
-webkit-border-radius:0;
}
/*鼠标移动图片外发光*/
.wp-posts-content img:hover {
box-shadow:0px 0px 8px #63B8FF;
}
/*标题样式*/
.wp-posts-content h2 {
color:#2b7acd;
border-bottom: 1px solid #2b7acd;/*边框宽度 *颜色定义*/
margin:30px 0 20px 0;
}
.wp-posts-content h3 {
color:#2b7acd;
margin:30px 0 20px 0;
}
/*文章标题加上渐变彩色文字 开始*/
.item-heading :hover,
.text-ellipsis :hover,
.text-ellipsis-2 :hover,
.links-lists :hover {
background-image: -webkit-linear-gradient(30deg, #32c5ff 25%, #b620e0 50%, #f7b500 75%, #20e050 100%);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-background-size: 200% 100%;
-webkit-animation: maskedAnimation 4s infinite linear;
}
@keyframes maskedAnimation {
0% {
background-position: 0 0
}
100% {
background-position: -100% 0
}
}
/*文章标题加上渐变彩色文字 结束*/
/***日间主题模式***/
body {
background-image: url("https://chyp.oss-cn-hongkong.aliyuncs.com/%E5%9B%BE%E7%89%87/-4ad3ef5e5816aaa0.jpg");/**这里改为你自己的图片地址**/
background-position-x: center;
background-position-y: center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
/***夜间主题模式***/
.dark-theme {
background-position-x: center;
background-position-y: center;
background-repeat: no-repeat;
background-attachment: fixed;
background-image: url("https://chyp.oss-cn-hongkong.aliyuncs.com/%E5%9B%BE%E7%89%87/-4ad3ef5e5816aaa0.jpg");/**这里改为你自己的图片地址**/
background-size: cover;
}
隐藏文章阅读数量
.meta-view{display:none;} //不显示浏览量
隐藏导航和搜索框
header {
display: none;
}
「如果文章对您有用,欢迎点赞分享。」 © 版权声明
1.文章版权归作者所有,可以不经允许任意转载。
2.如有侵权请告知,我会第一时间删除。
THE END
请登录后查看评论内容