移除无用样式,适当降低 安全中心 高亮状态下的曝光强度

This commit is contained in:
mjsoftware 2025-03-14 17:19:19 +08:00
parent 691b702040
commit 15a4ec1a6a
3 changed files with 1 additions and 140 deletions

View File

@ -1,133 +0,0 @@
@charset "utf-8";
// 移动设备最大宽度
@mobile-max-width: 768px;
// 平板最小宽度
@table-min-width: 769px;
// 笔记本电脑最小宽度
@laptop-min-width: 1024px;
// 桌面设备最小宽度
@desktop-min-width: 1216px;
// 显示器最小宽度
@display-min-width: 1700px;
// 宽屏设备最小宽度
@widescreen-min-width: 2200px;
html {
background-color: var(--bg-f);
color: var(--main);
font-family: "Dream Font", serif;
halo-contact-form-auto-loader, #live2d-plugin, #live2d-toggle {
display: none;
}
body {
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
@media (max-width: (@mobile-max-width - 1)) {
.content {
max-width: 90% !important;
min-width: auto !important;
.others-end {
justify-content: center !important;
}
}
}
.content {
max-width: 500px;
min-width: 360px;
margin-bottom: 10%;
&-title {
padding: 24px;
align-items: center;
display: flex;
justify-content: center;
img {
height: 3rem;
min-width: 3rem;
width: auto;
}
span {
font-size: 1.5rem;
margin-left: 10px;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
.others {
padding: 24px;
border-radius: 15px;
border: var(--theme) solid 1px;
background-color: var(--background);
&-tip {
display: flex;
padding: 20px;
background-color: var(--theme);
align-items: center;
border-radius: 10px;
img {
height: 2rem;
width: 2rem;
}
span {
margin-left: 10px;
color: #fafafa;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
}
&-topic {
margin-top: 20px;
word-break: break-all;
span {
color: var(--theme);
}
}
&-end {
justify-content: flex-end;
margin-top: 20px;
display: flex;
a {
border-radius: 2rem;
width: 4rem;
padding: 5px;
text-align: center;
color: var(--theme);
border: var(--theme) solid 1px;
text-decoration: none;
}
}
}
}
}
}

View File

@ -1 +0,0 @@
@charset "utf-8";html{background-color:var(--bg-f);color:var(--main);font-family:"Dream Font",serif}html #live2d-plugin,html #live2d-toggle,html halo-contact-form-auto-loader{display:none}html body{width:100%;height:100%;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute}@media (max-width:767px){html body .content{max-width:90%!important;min-width:auto!important}html body .content .others-end{-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}}html body .content{max-width:500px;min-width:360px;margin-bottom:10%}html body .content-title{padding:24px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}html body .content-title img{height:3rem;min-width:3rem;width:auto}html body .content-title span{font-size:1.5rem;margin-left:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}html body .content .others{padding:24px;border-radius:15px;border:var(--theme) solid 1px;background-color:var(--background)}html body .content .others-tip,html body .content-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}html body .content .others-tip{padding:20px;background-color:var(--theme);border-radius:10px}html body .content .others-tip img{height:2rem;width:2rem}html body .content .others-tip span{margin-left:10px;color:#fafafa;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}html body .content .others-topic{margin-top:20px;word-break:break-all}html body .content .others-topic span{color:var(--theme)}html body .content .others-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-top:20px;display:-webkit-box;display:-ms-flexbox;display:flex}html body .content .others-end a{border-radius:2rem;width:4rem;padding:5px;text-align:center;color:var(--theme);border:var(--theme) solid 1px;text-decoration:none}

View File

@ -31,7 +31,7 @@
} }
html.light body { html.light body {
background-image: linear-gradient(135deg, #ffffff 0%, #ebebeb 100%), url([[${#strings.defaultString(theme.config.security_link_config.security_link_site_img_background, '')}]]); background-image: linear-gradient(135deg, #a0a0a0 0%, #8c8c8c 100%), url([[${#strings.defaultString(theme.config.security_link_config.security_link_site_img_background, '')}]]);
background-blend-mode: overlay; background-blend-mode: overlay;
} }
@ -121,11 +121,6 @@
background-color: #abedd8; background-color: #abedd8;
} }
/* 暗黑主题 */
html.dark body {
/*background: linear-gradient(135deg, #364f6b, #222831);*/
}
html.dark .loading { html.dark .loading {
background: #393e46; background: #393e46;
box-shadow: 0 4px 8px rgba(100, 100, 100, 0.1); box-shadow: 0 4px 8px rgba(100, 100, 100, 0.1);