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

来自NebulaeWiki
(已保护“模板:交通系统/styles.css”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
(已保护“模板:交通系统/styles.css”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
 
(没有差异)

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

.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 {
	border-radius: 8px;
	box-shadow: 0 3px 6px rgba(0,0,0,0.04), 0 3px 6px rgba(0,0,0,0.0575);
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 15px;
}

.bus-image {
	flex-basis: 300px;
	flex-shrink: 1;
	flex-grow: 1;
	border-radius: 8px;
	overflow: hidden;
}

.bus-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	transform: scale(1);
	transition: cubic-bezier(0,.8,.2,1) 0.5s;
}

.bus-image img:hover {
	transform: scale(1.1);
}

.bus-description {
	flex-basis: 300px;
	flex-shrink: 1;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.bus-description p {
	margin-top: 0px;
	font-size: 16px;
}