@tailwind base; @tailwind components; @tailwind utilities; /* @import "./assets/styles/tailwind.css"; */ /* 定义字体 */ @font-face { font-family: 'DingTalkJinBuTi'; src: url('/fonts/DingTalk-JinBuTi.otf') format('opentype'); font-weight: bold; font-style: normal; font-display: swap; } /* 重置样式 */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.6; color: #333; width: 100vw; height: 100vh; overflow: hidden; } #app { width: 100%; height: 100%; } /* 自定义滚动条 */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }