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

来自Dollan Infinity TH Wiki
无编辑摘要
无编辑摘要
 
(未显示同一用户的37个中间版本)
第1行: 第1行:
#home-selected {
#home-selected {
margin-top: 1.25em;
margin-top: 0 !important;
}
}
#home-selected .home-card{
height: 100%;
}
#home-selected .home-card__background {
background-position: center center !important;
width: 100%;
height: 100%;
}
#home-selected .home-card__background img{
    margin-top: -0.2em !important;
}
#home-selected .home-card__background a {
display: block;
height: 100%;
}
#home-selected .home-card__background:after {
#home-selected .home-card__background:after {
position: absolute;
position: absolute;
pointer-events: none;
pointer-events: none;
    top: 0;
top: 0;
     right: 0;
     right: 0;
     bottom: 0;
     bottom: 0;
     left: 0;
     left: 0;
    width: 100%;
    height: 100%;
     display: block;
     display: block;
     content: "";
     content: "";
}
#home-selected .home-card__foreground__intro {
}
}


#home-selected .home-card__foreground {
#home-selected .home-card__foreground {
  pointer-events: none;
position: absolute;
height: 100%;
pointer-events: none;
    width: 100%;
right: 15px;
    display: flex;
left: 15px;
    align-items: center;
bottom: 20px;
    padding: 0 15px;
    color: #fff;
    font-weight: 400;
}
}

2023年8月17日 (四) 19:59的最新版本

#home-selected {
	margin-top: 0 !important;
}

#home-selected .home-card{
	height: 100%;
}

#home-selected .home-card__background {
	background-position: center center !important;
	width: 100%;
	height: 100%;
}

#home-selected .home-card__background img{
    margin-top: -0.2em !important;
}

#home-selected .home-card__background a {
	display: block;
	height: 100%;
}

#home-selected .home-card__background:after {
	position: absolute;
	pointer-events: none;
	top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    content: "";
}

#home-selected .home-card__foreground {
	position: absolute;
	pointer-events: none;
	right: 15px;
	left: 15px;
	bottom: 20px;
}