◆少前百科是非盈利性、非官方的少女前线维基百科。
◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科
◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科
◆To foreigners,You can use twitter to contact us.
Icon Nyto Silver.png

模板:战术人形信息/styles.css

来自少前百科GFwiki
跳转至: 导航搜索
#lv-input {
	border: none;
	height: 20px;
	vertical-align: bottom;
}
#mod-toggle { display: none }
#mod-toggle + label {
	background: #eee;
	color: #555;
	cursor: pointer;
	display: inline-block;
	font-weight: bold;
	padding: 0 4px;
}
#mod-toggle:checked + label {
	background: #f4c430;
	color: #333;
}
#attr-table table, .content #attr-table table {
	display: table;
	max-width: 640px;
	width: 100%;
}
#attr-table th {
	background-position: -12px;
	background-repeat: no-repeat;
	width: 20%;
}
#attr-table td { text-align: center; }
.form1 th { width: 100%; }
.form2 th { width: 50%; }
.form3 th { width: 33%; }
.form4 th { width: 25%; }
.form1 tr :nth-child(n+2),
.form2 tr :nth-child(n+3),
.form3 tr :nth-child(n+4),
.form4 tr :last-child { display: none; }
#effects {
	display: flex;
	flex-wrap: wrap;
	max-width: 640px;
	width: 100%;
}
.content #effects { display: block; }
.effect-table {
	margin: 0;
	max-width: 640px;
	width: 100%;
}
#effects .effect-table {
	display: table;
	flex: 1 0 300px;
}
.content #effects .effect-table { display: inline-table; }
.content table.effect-grid {
	border: 1px solid white;
	width: auto!important;
}
.effect-grid td {
	background: #555;
	border: 1px solid #333;
	border-collapse: collapse;
	height: 1.5em;
	width: 1.5em;
}
.effect-grid td.self-cell { background: white; }
.effect-grid td.effect-cell { background: #0fd; }
.effect-table td { position: relative; }
.effect-table:nth-of-type(2) > tbody > tr > td:last-child::before, .effect-caption {
	color: black;
	padding: 0 2px;
}
#effects .effect-table:last-child > tbody > tr > td:last-child::before {
	background: #f4c430;
	content: '心智升级';
	position: absolute;
	right: 0;
}
.effect-caption { background: white; }
.effect-positive { color: #f4c430; }
.effect-negative { color: red; }

#unit-image-showcase {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
}

#unit-image-selector {
	list-style: none;
	z-index: 1;
}
#unit-image-selector li {
	background-color: #444;
	border-left: 4px solid;
	border-color: #777;
	cursor: pointer;
	height: 45px;
	margin: 2px 0;
	padding: 10px 1em 0;
	position: relative;
	text-align: center;
}
#unit-image-selector li:active { background-color: #333; }
#unit-image-selector .active-item { border-color: #ffb400; }
#unit-image-selector span { display: block; }
.live2d1::after { content: 'Live2D'; }
.live2d2::after { content: '动态'; }
.live2d1::after, .live2d2::after {
	background: #ffb400;
	border-radius: 2px;
	color: #000;
	font-size: 70%;
	padding: 0 2px;
	position: absolute;
	right: -0.7em;
	top: 0;
}

#unit-image-display {
	height: 512px;
	max-width: 100%;
	position: relative;
	width: 512px;
	z-index: 0;
}
#unit-image-display canvas {
	height: 512px;
	max-width: 100%;
	position: absolute;
	top: 0;
	width: 512px;
}

.motion-tab0, .motion-tab1, .hit-tab {
	border-radius: 12px;
	cursor: pointer;
	margin: 2px 0;
	padding: 0 8px 2px;
}
.motion-tab0 { background: blue; }
.motion-tab1 { background: gold; color: #000; margin-left: 1em; }
.hit-tab { background: green; }
.hit-tab::after { content: ' >'; }
.disabled { display: none; }