diff --git a/src/css/security-link.less b/src/css/security-link.less deleted file mode 100644 index 518997a..0000000 --- a/src/css/security-link.less +++ /dev/null @@ -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; - } - - } - - } - - } - - - } -} \ No newline at end of file diff --git a/templates/assets/css/security-link.min.css b/templates/assets/css/security-link.min.css deleted file mode 100644 index 1afa871..0000000 --- a/templates/assets/css/security-link.min.css +++ /dev/null @@ -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} \ No newline at end of file diff --git a/templates/security_link.html b/templates/security_link.html index e12ee00..85c411c 100644 --- a/templates/security_link.html +++ b/templates/security_link.html @@ -31,7 +31,7 @@ } 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; } @@ -121,11 +121,6 @@ background-color: #abedd8; } - /* 暗黑主题 */ - html.dark body { - /*background: linear-gradient(135deg, #364f6b, #222831);*/ - } - html.dark .loading { background: #393e46; box-shadow: 0 4px 8px rgba(100, 100, 100, 0.1);