MediaWiki:Common.css:修订间差异

Baneq留言 | 贡献
无编辑摘要
Baneq留言 | 贡献
无编辑摘要
第201行: 第201行:




  ==========视频==========
  /* 视频外链卡 */
.nc-video-card {
.nc-video-card {
display: flex;
display: flex !important;
align-items: center;
align-items: center !important;
gap: 12px;
gap: 14px !important;
max-width: 520px;
max-width: 640px;
margin: 10px 0;
margin: 12px 0 18px !important;
padding: 12px 14px;
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 12px 28px -24px rgba(45,52,68,.55);
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 34px;
flex: 0 0 42px !important;
width: 34px;
width: 42px !important;
height: 34px;
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.4;
line-height: 1.45;
}
}


.nc-video-link {
.nc-video-link {
margin-top: 3px;
margin-top: 5px;
font-size: .94em;
font-size: .94em;
}
}


.nc-video-platform {
.nc-video-platform {
margin-top: 2px;
margin-top: 4px;
color: #7a828d;
color: #7a828d;
font-size: .85em;
font-size: .86em;
font-weight: 650;
}
 
@media (max-width: 560px) {
.nc-video-card {
align-items: flex-start !important;
}
}
}