卡片标注改为白边黑字,字号更小,英文 Consolas / 中文微软雅黑
This commit is contained in:
@@ -140,14 +140,15 @@ const Caption = styled.div`
|
||||
position: absolute;
|
||||
right: 6px;
|
||||
bottom: 4px;
|
||||
color: #ffd400;
|
||||
font-size: 12px;
|
||||
color: #000;
|
||||
font-family: Consolas, 'Microsoft YaHei', '微软雅黑', monospace;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
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 = {
|
||||
|
||||
Reference in New Issue
Block a user