“MediaWiki:Common.css”的版本间的差异

来自智能法律合约
跳到导航 跳到搜索
第3行: 第3行:
 
body.page-index h1.firstHeading {
 
body.page-index h1.firstHeading {
 
     display: none;
 
     display: none;
 +
}
 +
/*视频*/
 +
.newplayer {
 +
    padding-bottom: 80%;
 +
    position: relative;
 +
    width: 100%;
 +
}
 +
.video-player {
 +
    width: 100%;
 +
    position: absolute;
 +
    height: 100%;
 +
}
 +
/*视频封面*/
 +
.img-video {
 +
    background-size: cover;
 +
    border-radius: 4px;
 +
    display: block;
 +
    width: 160px;
 +
    height: 100px;
 +
    overflow: hidden;
 +
    position: relative;
 
}
 
}

2021年4月11日 (日) 04:09的版本

/* 这里放置的CSS将应用于所有皮肤 */
/* Hide main page header */
body.page-index h1.firstHeading {
    display: none;
}
/*视频*/
.newplayer {
    padding-bottom: 80%;
    position: relative;
    width: 100%;
}
.video-player {
    width: 100%;
    position: absolute;
    height: 100%;
} 
/*视频封面*/
.img-video {
    background-size: cover;
    border-radius: 4px;
    display: block;
    width: 160px;
    height: 100px;
    overflow: hidden;
    position: relative;
}