style.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. @import './theme/theme.less';
  2. :root {
  3. font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  4. line-height: 1.5;
  5. font-weight: 400;
  6. color-scheme: light dark;
  7. color: rgba(255, 255, 255, 0.87);
  8. background-color: #242424;
  9. font-synthesis: none;
  10. text-rendering: optimizeLegibility;
  11. -webkit-font-smoothing: antialiased;
  12. -moz-osx-font-smoothing: grayscale;
  13. -webkit-text-size-adjust: 100%;
  14. }
  15. input::-webkit-outer-spin-button,
  16. input::-webkit-inner-spin-button {
  17. -webkit-appearance: none !important;
  18. }
  19. input[type='number'] {
  20. -moz-appearance: textfield;
  21. }
  22. a {
  23. font-weight: 500;
  24. color: #646cff;
  25. text-decoration: inherit;
  26. }
  27. a:hover {
  28. color: #535bf2;
  29. }
  30. a {
  31. font-weight: 500;
  32. color: #646cff;
  33. text-decoration: inherit;
  34. }
  35. a:hover {
  36. color: #535bf2;
  37. }
  38. body {
  39. margin: 0;
  40. display: flex;
  41. place-items: center;
  42. min-width: 320px;
  43. min-height: 100vh;
  44. font-family:Alibaba Sans,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
  45. }
  46. h1 {
  47. font-size: 3.2em;
  48. line-height: 1.1;
  49. }
  50. button {
  51. border-radius: 8px;
  52. border: 1px solid transparent;
  53. padding: 0.6em 1.2em;
  54. font-size: 1em;
  55. font-weight: 500;
  56. font-family: inherit;
  57. background-color: #1a1a1a;
  58. cursor: pointer;
  59. transition: border-color 0.25s;
  60. }
  61. button:hover {
  62. border-color: #646cff;
  63. }
  64. button:focus,
  65. button:focus-visible {
  66. outline: 4px auto -webkit-focus-ring-color;
  67. }
  68. .y-container{
  69. padding:10px;
  70. background: #fff;
  71. }
  72. .mg-bt-20{
  73. margin-bottom: 20px;
  74. }
  75. .mr-10{
  76. margin-right: 10px;
  77. }
  78. .mt-10{
  79. margin-bottom: 10px;
  80. }
  81. .desc_title{
  82. margin:0 0 20px 0;
  83. font-weight: bold;
  84. // font-size: 1rem;
  85. }
  86. .ellipsis {
  87. display: block;
  88. overflow: hidden;
  89. white-space: nowrap;
  90. text-overflow: ellipsis;
  91. }
  92. @media (prefers-color-scheme: light) {
  93. :root {
  94. color: #213547;
  95. background-color: #ffffff;
  96. }
  97. a:hover {
  98. color: #747bff;
  99. }
  100. button {
  101. background-color: #f9f9f9;
  102. }
  103. }
  104. .inline-block{
  105. display: inline-block !important;
  106. }
  107. .defaultInfo{
  108. font-weight: bold;
  109. margin-bottom: 10px !important;
  110. }
  111. .defaultInfo-sys{
  112. font-weight: bold;
  113. margin-bottom: 10px !important;
  114. margin-top: 10px !important;
  115. }