美化url和mp4链接

This commit is contained in:
Vaica committed 2026-06-02 12:44:47 +08:00
1 parent 791be8bd4f
commit cc5887a74d
8 files changed
+244 -2641

No files matched your search

+106 -69
View File
@@ -4994,26 +4994,89 @@ html[data-theme="light"] .atk-loading-spinner svg circle {
/* Lazy Load Animation */
.lazyload {
opacity: 1;
transform: none;
filter: none;
transition: none;
will-change: auto;
/* Link Card */
a.link-card {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
margin: 1rem 0;
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 12px;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.015), rgba(0, 0, 0, 0.005));
text-decoration: none !important;
color: #1e1e1e;
font-size: 14px;
line-height: 1.5;
max-width: 100%;
transition: all 0.2s ease;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.lazyload.lazy-loaded {
opacity: 1;
transform: none;
filter: none;
a.link-card:hover {
border-color: rgba(0, 0, 0, 0.15);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
transform: translateY(-1px);
text-decoration: none !important;
}
[data-theme="dark"] .ai-comment-card .atk-content p {
color: var(--text-content-dark-color);
.link-card-icon {
width: 24px;
height: 24px;
border-radius: 5px;
flex-shrink: 0;
object-fit: contain;
}
.link-card-body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 1px;
}
.link-card-title {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 13.5px;
color: rgba(30, 30, 30, 0.92);
}
.link-card-url {
font-size: 11px;
color: rgba(30, 30, 30, 0.45);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.link-card-arrow {
flex-shrink: 0;
color: rgba(30, 30, 30, 0.3);
font-size: 13px;
transition: color 0.2s;
}
a.link-card:hover .link-card-arrow {
color: rgba(30, 30, 30, 0.6);
}
[data-theme="dark"] a.link-card {
border-color: rgba(148, 163, 184, 0.15);
background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.5));
color: #e2e8f0;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
[data-theme="dark"] a.link-card:hover {
border-color: rgba(148, 163, 184, 0.3);
}
[data-theme="dark"] .link-card-title {
color: rgba(226, 232, 240, 0.96);
}
[data-theme="dark"] .link-card-url {
color: rgba(226, 232, 240, 0.4);
}
[data-theme="dark"] .link-card-arrow {
color: rgba(226, 232, 240, 0.3);
}
[data-theme="dark"] a.link-card:hover .link-card-arrow {
color: rgba(226, 232, 240, 0.6);
}
/* Reward System */
.reward-container {
@@ -5168,39 +5231,28 @@ html[data-theme="light"] .atk-loading-spinner svg circle {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
gap: 10px;
}
.reward-qr-img-wrapper {
width: 160px;
height: 160px;
background: rgba(255,255,255,0.5);
border-radius: 16px;
width: 180px;
height: 180px;
border-radius: 12px;
overflow: hidden;
padding: 10px;
/* border: 1px solid rgba(0,0,0,0.05); */
transition: transform 0.3s ease;
border: 2px solid var(--line);
transition: transform 0.3s ease, box-shadow 0.3s ease;
background: #fff;
}
.reward-qr-img-wrapper:hover {
transform: translateY(-5px);
}
[data-theme='dark'] .reward-qr-img-wrapper {
background: rgba(255,255,255,0.05);
border-color: rgba(255,255,255,0.1);
}
.reward-qr-item img {
.reward-qr-img-wrapper img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
border-radius: 8px;
object-fit: cover;
}
.reward-qr-img-wrapper:hover {
transform: translateY(-5px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.reward-qr-item span {
font-size: 0.9rem;
font-size: 14px;
color: #666;
font-weight: 500;
}
@@ -5219,34 +5271,19 @@ html[data-theme="light"] .atk-loading-spinner svg circle {
.reward-qr-group {
gap: 15px;
}
.reward-qr-img-wrapper {
width: 120px;
height: 120px;
}
.reward-title {
font-size: 1.1rem;
margin-bottom: 20px;
}
}
/* Dark Mode Background Mask */
body {
position: relative;
/* Post Video */
.post-video {
display: block;
max-width: 100%;
margin: 1rem 0;
border-radius: 12px;
border: 1px solid rgba(0, 0, 0, 0.08);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
background: #000;
}
[data-theme='dark'] body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
z-index: -1;
pointer-events: none;
transition: background 0.3s ease;
[data-theme="dark"] .post-video {
border-color: rgba(148, 163, 184, 0.15);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}