style.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. :root {
  2. font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  3. line-height: 1.5;
  4. font-weight: 400;
  5. color-scheme: light dark;
  6. color: rgba(255, 255, 255, 0.87);
  7. background-color: #242424;
  8. font-synthesis: none;
  9. text-rendering: optimizeLegibility;
  10. -webkit-font-smoothing: antialiased;
  11. -moz-osx-font-smoothing: grayscale;
  12. -webkit-text-size-adjust: 100%;
  13. }
  14. a {
  15. font-weight: 500;
  16. color: #646cff;
  17. text-decoration: inherit;
  18. }
  19. a:hover {
  20. color: #535bf2;
  21. }
  22. body {
  23. margin: 0;
  24. /* display: flex;
  25. place-items: center; */
  26. min-width: 320px;
  27. min-height: 100vh;
  28. }
  29. h1 {
  30. font-size: 3.2em;
  31. line-height: 1.1;
  32. }
  33. button {
  34. border-radius: 8px;
  35. border: 1px solid transparent;
  36. padding: 0.6em 1.2em;
  37. font-size: 1em;
  38. font-weight: 500;
  39. font-family: inherit;
  40. background-color: #1a1a1a;
  41. cursor: pointer;
  42. transition: border-color 0.25s;
  43. }
  44. button:hover {
  45. border-color: #646cff;
  46. }
  47. button:focus,
  48. button:focus-visible {
  49. outline: 4px auto -webkit-focus-ring-color;
  50. }
  51. .card {
  52. padding: 2em;
  53. }
  54. @media (prefers-color-scheme: light) {
  55. :root {
  56. color: #213547;
  57. background-color: #ffffff;
  58. }
  59. a:hover {
  60. color: #747bff;
  61. }
  62. button {
  63. background-color: #f9f9f9;
  64. }
  65. }
  66. ::-webkit-scrollbar {
  67. width: 8px;
  68. height: 12px;
  69. background-color: #fff;
  70. }
  71. ::-webkit-scrollbar-thumb {
  72. display: block;
  73. min-height: 12px;
  74. min-width: 8px;
  75. border-radius: 6px;
  76. background-color: rgb(217, 217, 217);
  77. }
  78. ::-webkit-scrollbar-thumb:hover {
  79. display: block;
  80. min-height: 12px;
  81. min-width: 8px;
  82. border-radius: 6px;
  83. background-color: rgb(159, 159, 159);
  84. }
  85. .n-tabs .n-tabs-bar {
  86. height: 4px;
  87. border-radius: 3px;
  88. }
  89. .n-tabs.n-tabs--top .n-tab-pane {
  90. padding: 10px 0 0;
  91. }
  92. * {
  93. padding: 0;
  94. margin: 0;
  95. border: 0;
  96. box-sizing: border-box;
  97. color: #333;
  98. }
  99. /* 搜索框前面放大镜样式重置 */
  100. .icon-search-input {
  101. display: inline-block;
  102. width: 13px;
  103. height: 13px;
  104. background: url("./assets/icon_search.svg") no-repeat center;
  105. background-size: contain;
  106. }
  107. .n-input:not(.n-input--disabled).n-input--focus {
  108. .icon-search-input {
  109. background: url("./assets/icon_searchActive.svg") no-repeat center;
  110. background-size: contain;
  111. }
  112. }
  113. /** **/
  114. .iconMorePoint {
  115. background: url('./assets/icon-more-point.png') no-repeat center;
  116. background-size: contain;
  117. }
  118. .iconNotifiAdd {
  119. background: url('./assets/icon-add.png') no-repeat center;
  120. background-size: contain;
  121. }
  122. .iconNotifit1 {
  123. background: url('./assets/icon-t-1.png') no-repeat center;
  124. background-size: contain;
  125. }
  126. .iconNotifit2 {
  127. background: url('./assets/icon-t-2.png') no-repeat center;
  128. background-size: contain;
  129. }
  130. .iconNotice {
  131. background: url('./assets/icon-notice.png') no-repeat center;
  132. background-size: contain;
  133. }