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

爱来自星云工艺喵!(づ。◕◡◡◕。)づ
无编辑摘要
无编辑摘要
第26行: 第26行:
left: 0;
left: 0;
border-radius: 8px;
border-radius: 8px;
overflow: hidden;
}
}


第37行: 第38行:
.landmark-image img:hover {
.landmark-image img:hover {
transform: scale(1.2);
transform: scale(1.2);
transition: cubic-bezier(0,0,0,1) 0.2s;
}
}



2023年9月19日 (二) 22:57的版本

#home-landmark {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.landmark-flexcontainer {
	display: flex;
	flex-direction: column;
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid #ddd !important;
}

.landmark-card {
	width: 100%;
	position: relative;
	height: 200px;
}

.landmark-image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 8px;
	overflow: hidden;
}

.landmark-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 8px;
}
.landmark-image img:hover {
	transform: scale(1.2);
	transition: cubic-bezier(0,0,0,1) 0.2s;
}

.landmark-foreground {
	position: absolute;
	bottom: 0px;
}

.landmark-foreground-title {
	color: white;
	font-size: 16px !important;
	font-weight: 500;
	margin: 2px 0px 6px 12px !important;
}

.landmark-foreground-subtitle {
	color: white;
	font-size: 14px !important;
	opacity: .75;
	margin: 0px 0px 0px 12px !important;
}