/* 目录页公共样式（兼容所有浏览器） */
html,
body {
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	min-height: -webkit-calc(100vh);
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	font-family: "Microsoft YaHei", "PingFang SC", -apple-system, "Helvetica Neue", Arial, sans-serif;
	max-width: 960px;
	margin: 0 auto;
	padding: 40px 32px;
	line-height: 1.7;
	color: #2c3e50;
	font-size: 16px;
	background-color: #f4f6f9;
	background-image: -webkit-linear-gradient(top, #f8fafc 0%, #eef2f7 100%);
	background-image: -moz-linear-gradient(top, #f8fafc 0%, #eef2f7 100%);
	background-image: linear-gradient(to bottom, #f8fafc 0%, #eef2f7 100%);
	-webkit-font-smoothing: antialiased;
}

h1 {
	font-size: 32px;
	text-align: center;
	margin: 0 0 8px;
	font-weight: 700;
	color: #1a202c;
	letter-spacing: -0.5px;
}

.sub {
	text-align: center;
	color: #64748b;
	font-size: 15px;
	margin: 0 auto 36px;
	max-width: 800px;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0 -8px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	-webkit-align-content: flex-start;
	-ms-flex-line-pack: start;
	align-content: flex-start;
}

li {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 calc(50% - 16px);
	-ms-flex: 0 0 calc(50% - 16px);
	flex: 0 0 calc(50% - 16px);
	margin: 0 8px 16px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

a.card {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	height: 100%;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #1a202c;
	text-decoration: none;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: border-color .15s;
	transition: border-color .15s;
	-webkit-box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
	box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
}

a.card:hover {
	border-color: #1a73e8;
}

.num {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 auto;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	margin-right: 14px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	border-radius: 8px;
	background: #e8f0fe;
	color: #1a73e8;
	font-size: 14px;
	font-weight: 700;
}

.name {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	font-weight: 600;
	color: #1a202c;
	margin-right: 12px;
}

.tag {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 auto;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	font-size: 12.5px;
	font-weight: 500;
	color: #64748b;
	background: #f1f5f9;
	border-radius: 6px;
	padding: 4px 10px;
	white-space: nowrap;
}

@media (max-width: 700px) {
	li {
		-webkit-box-flex: 0;
		-webkit-flex: 0 0 100%;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
	}

	h1 {
		font-size: 24px;
	}
}

a {
	color: #1a73e8;
	text-decoration: none;
	background-color: #d2e3fc;
	padding: 4px 10px;
	border-radius: 8px;
	display: inline-block;
}

a:hover {
	text-decoration: none;
}
