@import "./theme.scss";

:root {
  --primary-color: #{$primaryColor};
  --second-color: #{$secondColor};
  --border-color: #ececec;
  --index-normal: 1;
  --index-top: 1000;
  --index-popper: 2000;
}

body,
ol,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,
input,
textarea,
select {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

body {
  font-family: Source Han Sans CN-Regular;
  font-size: 16px;
}

.limit-line {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  word-wrap: break-word;
}

.line-2 {
  -webkit-line-clamp: 2;
}

.w220 {
  width: 220px;
}

.w450 {
  width: 450px;
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Source Han Serif CN-Bold";
  src: url("~/public/fonts/SOURCEHANSERIFCN-BOLD.OTF") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans CN-Regular";
  src: url("~/public/fonts/SOURCEHANSERIFCN-REGULAR.OTF") format("opentype");
  font-display: swap;
}

.ant-btn {
  box-shadow: none !important;
}

.ant-input:focus {
  box-shadow: none;
}

.c-table {
  margin-top: 20px;
}
