卡片标注改为白边黑字,字号更小,英文 Consolas / 中文微软雅黑

This commit is contained in:
gallery
2026-11-15 20:39:19 +08:00
parent 329ede1325
commit c59d74774d
@@ -140,14 +140,15 @@ const Caption = styled.div`
position: absolute; position: absolute;
right: 6px; right: 6px;
bottom: 4px; bottom: 4px;
color: #ffd400; color: #000;
font-size: 12px; font-family: Consolas, 'Microsoft YaHei', '微软雅黑', monospace;
font-size: 10px;
font-weight: 600; font-weight: 600;
line-height: 1.2; line-height: 1.2;
white-space: nowrap; white-space: nowrap;
pointer-events: none; pointer-events: none;
text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
1px 1px 0 #fff, 0 0 2px rgba(0, 0, 0, 0.35); 1px 1px 0 #fff;
` `
type MediaThumbnailProps = { type MediaThumbnailProps = {