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

爱来自星云工艺喵!(づ。◕◡◡◕。)づ
无编辑摘要
无编辑摘要
第57行: 第57行:


.landmark-foreground-subtitle {
.landmark-foreground-subtitle {
color: #BABABA;
color: rgba(255,255,255,.75);
font-size: 15px !important;
font-size: 15px !important;
margin: 0px 0px 0px 12px !important;
margin: 0px 0px 0px 12px !important;
text-shadow: 2px 2px 4px #000000;
text-shadow: 2px 2px 4px #000000;
}
}

2023年9月19日 (二) 23:09的版本

#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;
	margin-bottom: 8px;
}

.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;
	transition: cubic-bezier(0,0,0,1) 0.2s;
}
.landmark-image img:hover {
	transform: scale(1.1);
	transition: cubic-bezier(0,0,0,1) 0.2s;
}

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

.landmark-foreground-title {
	color: white;
	font-size: 18px !important;
	font-weight: 800 !important;
	margin: 2px 0px 6px 12px !important;
	text-shadow: 2px 2px 4px #000000;
}

.landmark-foreground-subtitle {
	color: rgba(255,255,255,.75);
	font-size: 15px !important;
	margin: 0px 0px 0px 12px !important;
	text-shadow: 2px 2px 4px #000000;
}