@font-face { font-family: 'AppleColorEmoji'; src: url('AppleColorEmoji.ttf') format('truetype'); } body { background-color: black; color: white; font-family: 'AppleColorEmoji', sans-serif; /* 使用自定义字体 */ font-size: 10px; /* 设置全局字体大小 */ /* overflow: hidden; 隐藏滚动条 */ } #content { width: 100px; height: 800px; /* overflow: hidden; /* 隐藏滚动条 */ } table { width: 100px; border-collapse: collapse; } /* 设置编号列的样式 */ th:first-child, td:first-child { width: 10px; /* 调整为合适的宽度 */ font-family: 'Arial', sans-serif; /* 编号列字体 */ font-size: 13px; /* 编号列字体大小 */ font-weight: bold; /* 设置为粗体 */ } /* 设置数据列的样式 */ th:last-child, td:last-child { width: auto; /* 自动调整宽度 */ font-family: 'AppleColorEmoji', 'Arial'; /* 数据列字体 */ font-size: 13px; /* 数据列字体大小 */ font-weight: bold; /* 设置为粗体 */ } /* 单元格样式 */ th, td { border: 1px solid black; padding: 1px; text-align: left; height: 10px; /* 设置较小的行高 */ } /* 标题的样式 th { background-color: #333; font-size: 10px; /* 设置表头字体大小 */ } */