模板:Main page/imagetext/styles.css:修订间差异

来自Dollan Infinity TH Wiki
无编辑摘要
无编辑摘要
第6行: 第6行:
left: 0;
left: 0;
background: #242a31;
background: #242a31;
border-radius: 10px;
border-radius: 5px;
}
}



2023年8月17日 (四) 21:03的版本

#home-nav .home-card__background {
	position: absolute;
	top: -20px;
	right: 0;
	bottom: 0;
	left: 0;
	background: #242a31;
	border-radius: 5px;
}

#home-nav .home-card__background img{
	background-position: center center;
}
#home-nav .home-card__background:after {
	position: absolute;
	pointer-events: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    content: "";
}

#home-nav .home-card__foreground {
   pointer-events: none;
	height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #fff;
    font-weight: 400;
}