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

爱来自星云工艺喵!(づ。◕◡◡◕。)づ
无编辑摘要
(已保护“模板:Main page/landmark/styles.css”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
 
(未显示2个用户的20个中间版本)
第2行: 第2行:
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: space-between;
justify-content: flex-start;
}
}


第9行: 第9行:
flex-direction: column;
flex-direction: column;
margin-top: 8px;
margin-top: 8px;
padding-top: 4px;
border-top: 1px solid #ddd !important;
border-top: 1px solid #ddd !important;
}
}
第16行: 第15行:
width: 100%;
width: 100%;
position: relative;
position: relative;
height: 350px;
height: 200px;
margin-top: 12px;
}
}


第26行: 第26行:
left: 0;
left: 0;
border-radius: 8px;
border-radius: 8px;
overflow: hidden;
}
}


第34行: 第35行:
object-position: center;
object-position: center;
border-radius: 8px;
border-radius: 8px;
transition: cubic-bezier(0,.8,.2,1) 0.5s;
}
.landmark-image img:hover {
transform: scale(1.1);
transition: cubic-bezier(0,.8,.2,1) 0.5s;
}
}


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


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

2023年9月23日 (六) 22:20的最新版本

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

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

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

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

.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: rgb(230,230,230);
	font-size: 15px !important;
	margin: 0px 0px 0px 12px !important;
	text-shadow: 2px 2px 4px #000000;
}