移动设备改进

This commit is contained in:
2026-04-05 05:11:10 +08:00
parent 3206519910
commit 91a71dd6a5
4 changed files with 125 additions and 67 deletions

View File

@@ -19,6 +19,45 @@ html {
scrollbar-gutter: stable;
}
@media (max-width: 640px) {
#index-table th:nth-child(5) {
display: none;
}
#index-table td:nth-child(6) {
display: none;
}
.ellipsis {
display: -webkit-box;
-webkit-box-orient: vertical;
line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
}
.desktoponly {
display: none;
}
#index-table th:last-child,
#index-table td:last-child {
text-align: right;
padding: 0.25em 0 !important;
}
#index-table th:nth-child(2),
#index-table td:nth-child(3) {
width: 52%;
}
#index-table th:nth-child(3),
#index-table td:nth-child(4) {
display: none;
}
}
*,
*::before,
*::after {