模板:卡片/Card.css

来自吾萌百科
< 模板:卡片
Rmolives讨论 | 贡献2022年2月10日 (四) 19:50的版本 (创建页面,内容为“.isekai-card { position: relative; display: flex; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; border: 1px solid rgba(0,0,0,.125); border-radius: .25rem; } .isekai-card .card-header:first-child { border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0; } .isekai-card .card-header { padding: .75rem 1.25rem; margin-bottom: 0; background-color: rgba(0,0,0,.03); border-bottom: 1px…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.isekai-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgba(0,0,0,.125);
	border-radius: .25rem;
}

.isekai-card .card-header:first-child {
	border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

.isekai-card .card-header {
	padding: .75rem 1.25rem;
	margin-bottom: 0;
	background-color: rgba(0,0,0,.03);
	border-bottom: 1px solid rgba(0,0,0,.125);
	font-size: 1.25em;
}

.isekai-card .card-body {
	flex: 1 1 auto;
	padding: 1.25rem;
}

.isekai-card .card-title {
    margin-bottom: .75rem;
	font-size: 1.25em;
}