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

模板:装备/styles.css

来自少前百科GFwiki
跳转至: 导航搜索
.equip-infobox { float: right; }
.equip-infobox table {
	background: #333;
	display: table;
	margin: 8px 0;
	text-align: center;
	width: 100%;
}
.equip-infobox ul {
	list-style: none;
	margin: 0;
}
.equip { max-width: 100%; width: 544px; }
.equip-banner {
	overflow: hidden;
	position: relative;
}
.equip-banner * { color: black; }
.equip-banner-front {
	display: flex;
	padding: 16px 24px;
	position: relative;
	z-index: 3;
}
.equip-banner-front > :first-child { flex: 1 0 144px; }
.equip-banner-front > :first-child > img {
	height: 29px;
	vertical-align: text-bottom;
	width: auto;
}
.cat, .equip-develop > :nth-child(2) {
	font-family: serif;
	font-weight: bold;
	display: inline-block;
	letter-spacing: 4px;
}
.cat::before {
	display: block;
	font-family: sans-serif;
	font-size: 12px;
	font-weight: normal;
	letter-spacing: normal;
	margin: -4px -24px -8px;
	transform: scale(0.6, 0.5);
}
.cat-ex::before { content: 'EXCLUSIVE EQUIPMENT'; }
.cat-general::before { content: 'GENERAL EQUIPMENT'; }
.equip-fits-ex {
	background: linear-gradient(-45deg, transparent 4px, #333 5px, #333);
	color: white;
	display: inline-block;
	min-width: 120px;
	text-align: center;
}
.equip-fits-general {
	column-gap: 4px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 6px 20px 0 0;
}
.equip-fits-general img { height: 15px; width: auto; }
.equip-banner-sep { background: #444; width: 1px; }
.equip-banner-front > :last-child { position: relative; }
.equip-banner-front > :last-child p {
	font-size: 12px;
	margin: 0;
	padding-left: 18px;
	padding-right: 40px;
	transform: scale(0.88) translate(-4px, -6px);
}
.equip-banner-front > :last-child p { padding-right: 0; }
.equip-note {
	bottom: 8px;
	color: #555;
	display: block;
	font-size: 12px;
	left: 16px;
	position: absolute;
	transform: scale(0.8) translate(0, 18px);
}
.equip-banner-back1, .equip-banner-back2 {
	line-height: 1;
	opacity: 0.67;
	position: absolute;
}
.equip-banner-back1 {
	bottom: -2px;
	color: #888;
	font-size: 32px;
	font-weight: bold;
	right: -2px;
	z-index: 1;
}
.equip-banner-back2 {
	bottom: 0;
	color: #555;
	font-size: 14px;
	right: 0;
	z-index: 2;
}
.equip h2 {
	background: #e7ae3a;
	border: none;
	color: black;
	font-family: serif;
	font-size: 14px;
	font-weight: bold;
	margin: 24px 0 0;
	padding: 0;
	text-align: center;
	width: 168px;
}
.equip h2::before {
	display: block;
	font-family: sans-serif;
	font-size: 12px;
	font-weight: normal;
	margin: -2px 0 -6px;
	transform: scale(0.6, 0.5);
}
.spec-tab::before { content: 'SPECIFICATIONS'; }
.obtain-tab::before { content: 'HOW TO OBTAIN'; }
.res-tab::before { content: 'RESOURCES'; }
.relate-tab::before { content: 'RELATED EQUIPMENT'; }
.suit-tab::before { content: 'SUIT'; }
.equip > div:nth-of-type(n+2) {
	border: 2px solid #e7ae3a;
	width: 492px;
	max-width: calc(100% - 52px);
	padding: 24px;
}
.equip > div:nth-of-type(n+2) p {
	border-width: 0;
	border-left-width: 4px;
	border-style: solid;
	padding: 0 4px;
}
.equip > div:nth-of-type(n+2) p:first-child { margin-top: 0; }
.equip > div:nth-of-type(n+2) p:last-child { margin-bottom: 0; }
.equip-spec p img { margin-right: 4px; }
.equip-spec p span { margin-left: 12px; }
.equip-sp { color: #ffb400; }
.equip-spec img {
	height: 20px;
	vertical-align: sub;
	width: auto;
}
.equip table {
	border-spacing: 0;
	color: white;
	display: table;
	margin: 0;
	text-align: center;
	width: 100%!important;
}
.equip th {
	font-weight: normal;
	padding: 0;
}
.equip-spec p span, .equip td {
	font-family: monospace;
	font-size: 16px;
	padding: 0;
}
.equip-spec td span {
	display: inline-block;
	width: 50%;
}
.equip-spec td :last-child { color: #ffb400; }
.equip-obtain p { border-color: #ffb400; }
.equip-develop > :nth-child(2) { padding: 0 6px 0 4px; }
.equip-develop > :nth-child(2)::before {
	content: 'DEVELOPMENT TIME';
	display: block;
	font-family: sans-serif;
	font-size: 12px;
	font-weight: normal;
	letter-spacing: normal;
	margin: -4px -24px -8px;
	transform: scale(0.6,0.5);
}
.equip-develop > :last-child { font-family: monospace; font-size: 20px; }
.equip-related, .equip-related > div > div:last-child, .equip-suit > div {
	column-gap: 6px;
	display: flex;
	flex-wrap: wrap;
}
.equip-related > div > div:first-child {
	border-bottom: 1px solid white;
	font-family: serif;
	font-weight: bold;
}
.equip-related > div > div:last-child {
	margin-top: 6px;
}
.equip-related .equip-card, .equip-suit .equip-card { border: none; }
.equip-suit td { font-size: 14px; padding: 0 4px; text-align: left; }
.equip-suit tr:first-child td:first-child {
	background: #222;
	font-family: serif;
	font-weight: bold;
	padding: 4px 0;
	text-align: center;
	width: 168px;
}
.equip-suit td img { width: 21px; height: auto; }
.equip-suit td[colspan="2"] { background: #151515; color: #ddd; }
.equip-suit td b { color: white; }
.equip-suit > div { margin-top: 8px; }