Template:曲包信息/styles.css

来自Arcaea中文维基
< Template:曲包信息
Chronowar讨论 | 贡献2024年11月25日 (一) 00:00的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.arcaeabox {
	display: grid;
	grid-template-columns: 1fr 2fr 2fr 2fr auto;
	text-align: center;
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	color: black;
	color: #202122;
	word-wrap: break-word;
	font: inherit;
	border-collapse: collapse;
	box-sizing: border-box;
	margin: 1em 0;
	overflow: auto;
	overflow-y: hidden;
	overflow-x: auto;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	position: relative;
	border: 1px solid #eaecf0;
	margin-bottom: 2em;
	width: 100%;
	max-width: 100% !important;
	border-spacing: 3px;
	font-size: small;
	line-height: 1.5em;
}

.arcaeabox>div {
	word-wrap: break-word;
	border-bottom: 1px solid #eaecf0;
	padding: 5px 5px;
	border-collapse: collapse;
	overflow-wrap: normal;
	box-sizing: border-box;
}

.arcaeabox>.header,
.arcaeabox>.label,
.arcaeabox>#right-image,
.arcaeabox>#top-image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.data {
	grid-column: 2 / 5;
}

.label {
	grid-column: 1 / 2;
}

.header {
	grid-column: 1 / 5;
	font-size: medium;
	height: 25px !important;
}

#top-image {
	margin: 4px 0;
	grid-column: 1 / 5;
}

#top-image>div>img,
#right-image>div>img {
	margin: 0 auto;
}

#title {
	font-size: large;
	grid-column: 1 / 6;
	padding: 7px 10px;
	max-width: 100%;
}

.img-text {
	font-weight: bold;
}

.img-tab-part {
	align-items: center;
	display: inline-flex;
	font-size: 14px;
	font-weight: 500;
	height: 40px;
	letter-spacing: 0.5px;
	margin: 0 11px;
	text-align: center;
	text-decoration: none;
	transition: color 0.1s;
	white-space: nowrap;
	margin-left: 3px;
	margin-right: 3px;
	cursor: default;
}

.img-tab-part.normal,
.img-tab-part.byd,
.img-tab-part.ftr {
	border-bottom: 1.5px solid #a040a0;
}

.tab-text-a,
.tab-text-b,
.tab-text-c {
	display: none;
}

.tab-text-a.active,
.tab-text-b.active,
.tab-text-c.active {
	display: block;
}

@media all and (min-width: 950px) {
	/* vector2022中占满全宽度 */
	body:not(.skin-vector-2022) .arcaeabox {
		width: min-content;
		min-width: 800px;
	}

	#top-image {
		display: none !important;
	}

	#right-image {
		grid-column: 5 / 6;
		grid-row: 2 / 25;
		border-left: 1px solid #eaecf0;
	}

	#title {
		grid-column: 1 / 6;
	}

	#image-info {
		grid-column: 5 / 6 !important;
		border-left: 1px solid #eaecf0;
	}
}

.packbox > #append-image {
	display: flex;
    justify-content: center;
    align-items: center;
}

div:not(.appendpack) > #append-image {
	display:none;
}

.appendpack > #right-image,
.appendpack > #top-image {
	display:none;
}

.packbox > #append-image {
	grid-column: 1 / 5;
}

.both > #date-label {
	grid-row-end: span 2;
}

@media all and (min-width: 950px) {

	#title {
		grid-column: 1 / 6;
	}
}

/*  背景色定义 */

.packbox>.label,
.packbox>#title,
.packbox>.header,
.packbox>div>div>.label-text,
.packbox>div>div>div>.label-text {
	background-color: #c2cdff;
}