模板:交通系统/styles.css:修订间差异

爱来自星云工艺喵!(づ。◕◡◡◕。)づ
无编辑摘要
无编辑摘要
第45行: 第45行:
height: auto;
height: auto;
border-radius: 8px;
border-radius: 8px;
}
.bus-description {
flex-basis: 400px;
flex-shrink: 1;
flex-grow: 1;
}
}



2023年9月21日 (四) 00:10的版本

.transport-card {
	display: flex;
	position: relative;
	height: 150px;
	margin-top: 2px;
	border-top: 1px solid #ddd !important;
}

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

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

.bus-card {
	display: flex;
	flex-wrap: wrap;
}

.bus-image {
	flex-basis: 400px;
	flex-shrink: 1;
}

.bus-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.bus-description {
	flex-basis: 400px;
	flex-shrink: 1;
	flex-grow: 1;
}

.bus-description p {
	
}