The editors' meeting has been canceled for technical reasons.

首页/styles.css:修订间差异

来自NeuroWiki
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
第14行: 第14行:
height: 100%;
height: 100%;
object-fit: contain;
object-fit: contain;
}
.video_block .progress_bar{
position: absolute;
top: 100%; /* 相对于父元素的底部 */
left: 0;
width: 100%; /* 宽度和父元素相同 */
height: 64px; /* 固定高度 */
background-color: #007bff; /* 示例背景色 */
color: white;
text-align: center;
line-height: 64px; /* 垂直居中内容 */
}
}

2024年10月28日 (一) 20:38的版本

.base_block {
    max-width: 1600px;
    padding: 1.6em;
    margin: 0.8em auto;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px #aaa;
}
.base_block .video_block{
	margin: 0.8em auto;
	max-width: 800px;
}
.base_block .video_block p .mw-default-size span img {
	max-width: 100%;
	height: 100%;
	object-fit: contain;
}
.video_block .progress_bar{
	position: absolute;
	top: 100%; /* 相对于父元素的底部 */
	left: 0;
	width: 100%; /* 宽度和父元素相同 */
	height: 64px; /* 固定高度 */
	background-color: #007bff; /* 示例背景色 */
	color: white;
	text-align: center;
	line-height: 64px; /* 垂直居中内容 */
}