/**
 * @file CSS-样式初始化-无注释版-Web版
 * @description 初始化当前项目的css样式文件
 * @author Darry <1327022089@qq.com>
 * @copyright no
 * @createDate 2025-03-05 08:00
 * @lastEditTime 2025-03-05 08:00
 */

* {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
	/* font-smoothing 字体抗锯齿 -> 总之，该属性的作用就是让页面上的字体变得更加清晰 */
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	/* text-rendering 定义浏览器渲染引擎如何渲染字体 -> optimizeLegibility：优先考虑易读性 启用字距和连写 */
  text-rendering: optimizeLegibility;
	/* 文字初始化 */
	font-size: 14px;
	font-weight: normal;
  font-family: "微软雅黑", Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
	text-decoration: none;
	color: #000000;
}

a {
	text-decoration: none;
	color: #000000;
}

a:hover, a:active {
	color: #000000;
}

img {
	display: block;
}

li {
	list-style: none;
}

/* 全局滚动条样式 */
/* 整个滚动条 */
::-webkit-scrollbar {
  width: 6px;
	height: 6px;
}
/* 滚动条轨道 */
::-webkit-scrollbar-track {
  border-radius: 10px;
}
/* 滚动条上的滚动滑块 */
::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: rgba(0, 0, 0, 0.2);
}
/* 滚动条上的滚动滑块 鼠标悬浮 */
::-webkit-scrollbar-thumb:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.3);
}