测试:修订间差异
来自SOKA CAFE
小 |
|||
| (未显示2个用户的88个中间版本) | |||
| 第1行: | 第1行: | ||
{{# | |||
<html lang="zh-CN"> | |||
<head> | |||
<meta charset="UTF-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |||
<title>B站视频卡片</title> | |||
}} | <style> | ||
* { | |||
margin: 0; | |||
padding: 0; | |||
box-sizing: border-box; | |||
} | |||
body { | |||
background-color: #f5f7fa; | |||
padding: 20px; | |||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; | |||
display: flex; | |||
justify-content: center; | |||
} | |||
.video-card-container { | |||
width: 100%; | |||
max-width: 60vw; | |||
margin: 0 auto; | |||
} | |||
@media (max-width: 768px) { | |||
body { | |||
padding: 12px; | |||
} | |||
.video-card-container { | |||
max-width: 100%; | |||
padding: 0 8px; | |||
margin: 0; | |||
} | |||
} | |||
.video-card { | |||
background: white; | |||
border-radius: 16px; | |||
overflow: hidden; | |||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); | |||
font-family: "Microsoft YaHei", sans-serif; | |||
} | |||
.bilibili-container { | |||
position: relative; | |||
width: 100%; | |||
padding-top: 56.25%; | |||
background: #000; | |||
border-radius: 16px 16px 0 0; | |||
overflow: hidden; | |||
} | |||
.bilibili-container iframe { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
border: none; | |||
} | |||
.info-section { | |||
padding: 18px; | |||
word-break: break-word; | |||
overflow-wrap: break-word; | |||
} | |||
.user-info { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
margin-bottom: 14px; | |||
flex-wrap: wrap; | |||
gap: 8px 0; | |||
} | |||
.user-left { | |||
display: flex; | |||
align-items: center; | |||
gap: 10px; | |||
flex-wrap: wrap; | |||
} | |||
.avatar { | |||
width: 36px; | |||
height: 36px; | |||
border-radius: 50%; | |||
background: linear-gradient(135deg, #ff4d85, #ff8a50); | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
color: white; | |||
font-weight: bold; | |||
font-size: 14px; | |||
flex-shrink: 0; | |||
} | |||
.username { | |||
font-size: 15px; | |||
font-weight: 600; | |||
color: #18191c; | |||
white-space: nowrap; | |||
} | |||
.detail-link { | |||
background: linear-gradient(120deg, #ff4d85, #ff6b6b); | |||
color: #ffffff !important; | |||
text-decoration: none; | |||
border-radius: 20px; | |||
padding: 5px 16px; | |||
font-size: 13px; | |||
font-weight: 500; | |||
display: inline-block; | |||
transition: all 0.2s; | |||
box-shadow: 0 2px 6px rgba(255, 77, 133, 0.3); | |||
-webkit-text-fill-color: #ffffff !important; | |||
text-fill-color: #ffffff !important; | |||
flex-shrink: 0; | |||
white-space: nowrap; | |||
} | |||
.detail-link:hover { | |||
transform: translateY(-1px); | |||
box-shadow: 0 3px 8px rgba(255, 77, 133, 0.4); | |||
} | |||
.title { | |||
font-size: 17px; | |||
font-weight: 700; | |||
color: #18191c; | |||
line-height: 1.5; | |||
margin-bottom: 10px; | |||
} | |||
.metadata { | |||
font-size: 12.5px; | |||
color: #8e8e93; | |||
margin-bottom: 14px; | |||
line-height: 1.6; | |||
} | |||
.tags { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 8px; | |||
} | |||
.tag { | |||
background: #f0f2f5; | |||
color: #51545d; | |||
border-radius: 14px; | |||
padding: 3px 10px; | |||
font-size: 12px; | |||
white-space: nowrap; | |||
text-decoration: none; | |||
} | |||
.tag:hover { | |||
background: #e6e8eb; | |||
} | |||
.bottom-message { | |||
margin-top: 16px; | |||
font-size: 14px; | |||
color: #18191c; | |||
line-height: 1.5; | |||
} | |||
</style> | |||
</head> | |||
<body> | |||
<div class="video-card-container"> | |||
<div class="video-card"> | |||
<div class="bilibili-container"> | |||
<iframe | |||
src="https://player.bilibili.com/player.html?bvid=BV1eXSMYVEcc&page=1&autoplay=0" | |||
allow="autoplay; fullscreen; picture-in-picture" | |||
allowfullscreen> | |||
</iframe> | |||
</div> | |||
<div class="info-section"> | |||
<div class="user-info"> | |||
<div class="user-left"> | |||
<div class="avatar">H</div> | |||
<span class="username">H娘</span> | |||
</div> | |||
<a href="https://www.bilibili.com/video/BV1eXSMYVEcc" | |||
target="_blank" | |||
rel="noopener noreferrer" | |||
class="detail-link"> | |||
+ 详情页 | |||
</a> | |||
</div> | |||
<div class="title">【创价】久本五月病 【久本信仰祭16】</div> | |||
<div class="metadata"> | |||
sm16495736 • 2016年5月3日 00:06 (UTC+9) | |||
</div> | |||
<div class="tags"> | |||
<a href="/wiki/宗教都市祭" class="tag">宗教都市祭</a> | |||
<a href="/wiki/久本投稿祭'25" class="tag">久本投稿祭'25</a> | |||
<a href="/wiki/エア本" class="tag">エア本</a> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
</body> | |||
</html> | |||
2026年3月19日 (四) 19:05的最新版本
【创价】久本五月病 【久本信仰祭16】
