The editors' meeting has been canceled for technical reasons.

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

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

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

.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{
	position: relative; 
	box-shadow: 0 2px 5px #aaa;
	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;
    bottom: 0;
    width: 100%;
    height: 64px;
    color: white;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}