MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第201行: | 第201行: | ||
/* 视频外链卡 */ | |||
.nc-video-card { | .nc-video-card { | ||
display: flex; | display: flex !important; | ||
align-items: center; | align-items: center !important; | ||
gap: | gap: 14px !important; | ||
max-width: | max-width: 640px; | ||
margin: | margin: 12px 0 18px !important; | ||
padding: | padding: 14px 16px !important; | ||
background: rgba(255,255,255,.62); | background: rgba(255,255,255,.62); | ||
border: 1px solid rgba(210,216,222,.9); | border: 1px solid rgba(210,216,222,.9); | ||
box-shadow: 0 | box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 32px -26px rgba(45,52,68,.55); | ||
} | } | ||
.nc-video-icon { | .nc-video-icon { | ||
flex: 0 0 | flex: 0 0 42px !important; | ||
width: | width: 42px !important; | ||
height: | height: 42px !important; | ||
display: flex; | display: flex !important; | ||
align-items: center; | align-items: center !important; | ||
justify-content: center; | justify-content: center !important; | ||
background: #0f4c5c; | background: #0f4c5c; | ||
color: #fff; | color: #fff; | ||
font-size: 1.2em; | |||
font-weight: 800; | font-weight: 800; | ||
} | |||
.nc-video-body { | |||
flex: 1 1 auto !important; | |||
min-width: 0; | |||
} | } | ||
.nc-video-title { | .nc-video-title { | ||
color: #24282f; | color: #24282f; | ||
font-size: 1.05em; | |||
font-weight: 800; | font-weight: 800; | ||
line-height: 1. | line-height: 1.45; | ||
} | } | ||
.nc-video-link { | .nc-video-link { | ||
margin-top: | margin-top: 5px; | ||
font-size: .94em; | font-size: .94em; | ||
} | } | ||
.nc-video-platform { | .nc-video-platform { | ||
margin-top: | margin-top: 4px; | ||
color: #7a828d; | color: #7a828d; | ||
font-size: . | font-size: .86em; | ||
font-weight: 650; | |||
} | |||
@media (max-width: 560px) { | |||
.nc-video-card { | |||
align-items: flex-start !important; | |||
} | |||
} | } | ||