main.min.css 添加/修改下面内容,实现了如siren主题那样给首页图片加“滤镜”,试了下和暗夜模式不冲突
这里主要是加了个条纹的效果
/*
cxy add .cover-bg::before
edit @keyframes fadein: opacity: .3; --> opacity: .7;
edit cover-bg: opacity: .3; --> opacity: .7;
如果需要条件亮度,除了添加下面的代码
上面两个也需要同时修改,否则刚进入网页的时候背景会跳亮
*/
.cover-bg::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 3;
background-attachment: fixed;
background-image: url(https://cdn.jsdelivr.net/gh/cxying/ying-blog-cdn@1.0.7/files/static/images/grid.png);
#background-color: rgba(0,0,0,0.1);
}