style.css 1020 Bytes
/* 全局样式 */
* {
	box-sizing: border-box;
}

:root {
	font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
	font-weight: 400;
	line-height: 1.5;
	color-scheme: light dark;
	font-synthesis: none;
	text-rendering: optimizelegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

body {
	display: flex;
	place-items: center;
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
}

#app {
	width: 100%;
	min-height: 100vh;
}

/* 滚动条样式 */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: rgb(255 255 255 / 10%);
}

::-webkit-scrollbar-thumb {
	background: rgb(255 255 255 / 30%);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: rgb(255 255 255 / 50%);
}

/* 选中文本样式 */
::selection {
	color: white;
	background: rgb(255 255 255 / 30%);
}

/* 响应式 */
@media (max-width: 768px) {
	body {
		font-size: 14px;
	}
}