1835
This commit is contained in:
1 parent
591abf5877
commit
f70b603cf7
3 files changed
+56
-38
No files matched your search
@@ -5711,12 +5711,23 @@ a.link-card:hover .link-card-arrow {
|
||||
color: var(--accent, #3b82f6) !important;
|
||||
}
|
||||
|
||||
/* ==================== 视频样式(简约风格) ==================== */
|
||||
/* ==================== 视频样式(Amigo 风格) ==================== */
|
||||
|
||||
.video-wrap {
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
/* GIF 模式:透明背景,图片显示 */
|
||||
.gif-image {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 12px;
|
||||
margin: 0 auto;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* 视频播放器 */
|
||||
.video-player {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@@ -5845,17 +5856,6 @@ a.link-card:hover .link-card-arrow {
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
/* GIF 模式:自动播放、循环、无控制栏 */
|
||||
.video-player.gif-mode {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.video-player.gif-mode video {
|
||||
width: 100%;
|
||||
max-height: 500px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .video-player {
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user