app.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. :root {
  2. --z-index-normal: 1;
  3. --z-index-top: 1000;
  4. --z-index-popper: 2000;
  5. --z-hot-popper: 3000;
  6. --design-width: 1920;
  7. --design-height: 920;
  8. --swiper-theme-color: white;
  9. --swiper-pagination-bullet-inactive-color: white;
  10. }
  11. body,
  12. ol,
  13. ul,
  14. h1,
  15. h2,
  16. h3,
  17. h4,
  18. h5,
  19. h6,
  20. p,
  21. th,
  22. td,
  23. dl,
  24. dd,
  25. form,
  26. fieldset,
  27. legend,
  28. input,
  29. textarea,
  30. select {
  31. margin: 0;
  32. padding: 0;
  33. }
  34. * {
  35. box-sizing: border-box;
  36. user-select: none;
  37. }
  38. html,
  39. body,
  40. #app {
  41. width: 100%;
  42. height: 100%;
  43. overflow: hidden;
  44. }
  45. body {
  46. margin: 0px;
  47. font-size: 14px;
  48. color: rgba(255, 255, 255, 0.9);
  49. font-family: 'Source Han Sans CN-Medium';
  50. -webkit-tap-highlight-color: transparent;
  51. }
  52. a {
  53. color: #fff;
  54. cursor: pointer;
  55. text-decoration: none;
  56. }
  57. em {
  58. font-style: normal;
  59. }
  60. li {
  61. list-style: none;
  62. }
  63. img {
  64. border: 0;
  65. vertical-align: middle;
  66. }
  67. table {
  68. border-collapse: collapse;
  69. border-spacing: 0;
  70. }
  71. p {
  72. word-wrap: break-word;
  73. }
  74. iframe {
  75. border: none;
  76. }
  77. @font-face {
  78. font-family: 'Source Han Sans CN-Regular';
  79. src: url('/fonts/SourceHanSansCN-Regular.otf');
  80. }
  81. @font-face {
  82. font-family: 'Source Han Sans CN-Bold';
  83. src: url('/fonts/SourceHanSansCN-Bold.otf');
  84. }
  85. @font-face {
  86. font-family: 'Source Han Sans CN-Medium';
  87. src: url('/fonts/SourceHanSansCN-Medium.otf');
  88. }
  89. @font-face {
  90. font-family: 'SourceHanSerifCN-Bold';
  91. src: url('/fonts/SOURCEHANSERIFCN-BOLD.OTF');
  92. }
  93. @font-face {
  94. font-family: 'SourceHanSerifCN-Regular';
  95. src: url('/fonts/SOURCEHANSERIFCN-REGULAR.OTF');
  96. }
  97. .limit-line {
  98. display: -webkit-box;
  99. overflow: hidden;
  100. text-overflow: ellipsis;
  101. -webkit-line-clamp: 1;
  102. -webkit-box-orient: vertical;
  103. word-break: break-all;
  104. word-wrap: break-word;
  105. }
  106. .line-2 {
  107. -webkit-line-clamp: 2;
  108. }
  109. .line-3 {
  110. -webkit-line-clamp: 3;
  111. }
  112. .hidden {
  113. display: none !important;
  114. visibility: hidden !important;
  115. }
  116. .darkGlass {
  117. background-color: rgba(0, 0, 0, 0.5);
  118. }
  119. .message-outer {
  120. position: absolute;
  121. display: table;
  122. height: 100%;
  123. width: 100%;
  124. * {
  125. transition: all 0.3s;
  126. }
  127. }
  128. @media only screen and (max-width: 600px) {
  129. :root {
  130. --design-width: 750;
  131. --design-height: 1440;
  132. }
  133. }