main.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. :root {
  2. --z-index-normal: 1;
  3. --z-index-top: 1000;
  4. --z-index-popper: 2000;
  5. --z-hot-popper: 3000;
  6. }
  7. body,
  8. ol,
  9. ul,
  10. h1,
  11. h2,
  12. h3,
  13. h4,
  14. h5,
  15. h6,
  16. p,
  17. th,
  18. td,
  19. dl,
  20. dd,
  21. form,
  22. fieldset,
  23. legend,
  24. input,
  25. textarea,
  26. select {
  27. margin: 0;
  28. padding: 0;
  29. }
  30. * {
  31. box-sizing: border-box;
  32. user-select: none;
  33. }
  34. body {
  35. color: #333333;
  36. text-align: justify;
  37. font-family: "SourceHanSerifSC-Regular";
  38. -webkit-tap-highlight-color: transparent;
  39. }
  40. a {
  41. color: #fff;
  42. cursor: pointer;
  43. text-decoration: none;
  44. }
  45. em {
  46. font-style: normal;
  47. }
  48. li {
  49. list-style: none;
  50. }
  51. img {
  52. border: 0;
  53. vertical-align: middle;
  54. }
  55. table {
  56. border-collapse: collapse;
  57. border-spacing: 0;
  58. }
  59. p {
  60. word-wrap: break-word;
  61. }
  62. iframe {
  63. border: none;
  64. }
  65. @font-face {
  66. font-family: "SourceHanSerifSC-Bold";
  67. src: url("./fonts/SOURCEHANSERIFCN-BOLD.otf");
  68. }
  69. @font-face {
  70. font-family: "SourceHanSerifSC-Regular";
  71. src: url("./fonts/SOURCEHANSERIFCN-REGULAR.otf");
  72. }
  73. .limit-line {
  74. display: -webkit-box;
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. -webkit-line-clamp: 1;
  78. -webkit-box-orient: vertical;
  79. word-break: break-all;
  80. word-wrap: break-word;
  81. }
  82. .line-2 {
  83. -webkit-line-clamp: 2;
  84. }
  85. .line-3 {
  86. -webkit-line-clamp: 3;
  87. }
  88. .hidden {
  89. display: none !important;
  90. visibility: hidden !important;
  91. }
  92. .darkGlass {
  93. background-color: rgba(0, 0, 0, 0.5);
  94. }
  95. .message-outer {
  96. position: absolute;
  97. display: table;
  98. height: 100%;
  99. width: 100%;
  100. * {
  101. transition: all 0.3s;
  102. }
  103. }