Commit d02142ac by xinla

小程序去除简版不兼容暗黑方案

1 parent 3e5a9b34
......@@ -33,7 +33,8 @@ td {
padding: 0;
}
body,input, select, textarea /* for ie */ {
font: 14px "PingFang SC", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Source Han Sans", "Noto Sans CJK Sc", "Microsoft YaHei", "Microsoft Jhenghei", sans-serif;
font: 14px 'PingFang SC', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Helvetica, Arial,
'Hiragino Sans GB', 'Source Han Sans', 'Noto Sans CJK Sc', 'Microsoft YaHei', 'Microsoft Jhenghei', sans-serif;
line-height: 1.15;
color: #333; /*touch-action: none*/
background: #fff;
......@@ -426,22 +427,3 @@ ais {
.mar20 {
margin: 20px;
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
body,img,video {
filter: invert(1) hue-rotate(180deg);
}
/* 不使用暗黑模式 */
.no-dark {
position: relative;
}
.no-dark::before{
content: " ";
position: absolute;
display: block;
height: 100%;
width: 100%;
backdrop-filter: invert(1) hue-rotate(180deg);
}
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!