“模板:Artical Issues/style.css”与“模板:交通系统/styles.css”:页面之间的差异

来自NebulaeWiki
< 模板:Artical Issues(页面间差异)
无编辑摘要
 
无编辑摘要
 
第1行: 第1行:
.flex-container {
.transport-card {
display: flex;
display: flex;
    align-items: center;
position: relative;
    justify-content: center;
height: 150px;
background: var( --color-surface-1 );
border-radius: 8px;
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
}
}


.issues-card {
.transport-image {
display: flex;
position: absolute;
margin: 0px;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 8px;
border-radius: 8px;
box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 6px 0px, rgba(0, 0, 0, 0.06) 0px 3px 6px 0px;
overflow: hidden;
border-top: 1px solid #ddd;
margin-top: 6px;
padding-top: 6px;
}
}


.issues-card .image p{
.transport-image img {
margin: 0px;
width: 100%;
height: 48px;
height: 100%;
width: 48px;
object-fit: cover;
object-position: center;
border-radius: 8px;
transition: cubic-bezier(0,.8,.2,1) 0.5s;
}
}
 
.transport-image img:hover {
.issues-card .image{
transform: scale(1.1);
margin: 16px;
transition: cubic-bezier(0,.8,.2,1) 0.5s;
display: flex;
justify-content: center;
}
 
.issues-card .text .title {
margin: 16px 0px 4px 0px;
font-size: 20px !important;
}
 
.issues-card .text .description {
margin: 0px 0px 16px 0px;
font-size: 16px !important;
}
}

2023年9月20日 (三) 22:02的版本

.transport-card {
	display: flex;
	position: relative;
	height: 150px;
	background: var( --color-surface-1 );
	border-radius: 8px;
	box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
}

.transport-image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 8px;
	overflow: hidden;
	border-top: 1px solid #ddd;
	margin-top: 6px;
	padding-top: 6px;
}

.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;
}