优化界面;修复异常

This commit is contained in:
2026-07-29 00:17:31 +08:00
parent d575d584cb
commit 4b70da9ac3
7 changed files with 105 additions and 25 deletions
+16 -6
View File
@@ -888,7 +888,7 @@
.equipments_page #post_item .equipment_item {
width: 100%;
margin: 0;
padding: 20px 40px;
padding: 10px 40px;
border: 0;
display: flex;
align-items: center;
@@ -966,6 +966,19 @@
line-height: 1.6;
white-space: pre-wrap;
overflow-wrap: anywhere;
font-size: 16px;
}
@media only screen and (max-width:1366px) {
.equipments_page #post_item {
grid-template-columns: 1fr;
}
.equipments_page #post_item .equipment_item {
width: 70%;
margin-left: auto;
margin-right: auto;
}
}
@media only screen and (max-width:540px) {
@@ -974,14 +987,11 @@
}
.equipments_page #post_item .equipment_item {
padding: 20px;
width: 100%;
padding: 10px 20px;
}
.equipments_page #post_item .equipment_overlay {
padding: 24px;
}
.equipments_page #post_item .equipment_description {
font-size: 14px;
}
}
+19 -1
View File
@@ -6485,7 +6485,7 @@ a#listree-click.current,
height: 100dvh;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.1);
background-color: rgba(0, 0, 0, 0.5);
z-index: 9999;
box-sizing: border-box;
padding: 20px;
@@ -6985,6 +6985,8 @@ a#listree-click.current,
}
.common-fixed-bg {
position: relative;
z-index: 0;
background-size: cover;
background-attachment: fixed;
background-position: center center;
@@ -6994,6 +6996,22 @@ a#listree-click.current,
padding: 0;
}
.fixed-background-layer {
position: fixed;
z-index: -1;
inset: 0;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
opacity: 0;
pointer-events: none;
transition: opacity .6s ease;
}
.fixed-background-layer.is-visible {
opacity: 1;
}
/* 侧边栏订阅 */
.subscribe-widget {
padding: 16px;