You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
1.4 KiB

1 month ago
1 month ago
  1. :root {
  2. font-family: 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. }
  13. a {
  14. font-weight: 500;
  15. color: #646cff;
  16. text-decoration: inherit;
  17. }
  18. a:hover {
  19. color: #535bf2;
  20. }
  21. body {
  22. margin: 0;
  23. display: flex;
  24. place-items: center;
  25. min-width: 320px;
  26. min-height: 100vh;
  27. }
  28. h1 {
  29. font-size: 3.2em;
  30. line-height: 1.1;
  31. }
  32. button {
  33. border-radius: 8px;
  34. border: 1px solid transparent;
  35. padding: 0.6em 1.2em;
  36. font-size: 1em;
  37. font-weight: 500;
  38. font-family: inherit;
  39. background-color: #1a1a1a;
  40. cursor: pointer;
  41. transition: border-color 0.25s;
  42. }
  43. button:hover {
  44. border-color: #646cff;
  45. }
  46. button:focus,
  47. button:focus-visible {
  48. outline: 4px auto -webkit-focus-ring-color;
  49. }
  50. .card {
  51. padding: 2em;
  52. }
  53. #app {
  54. max-width: 1280px;
  55. margin: 0 auto;
  56. padding: 2rem;
  57. text-align: center;
  58. }
  59. @media (prefers-color-scheme: light) {
  60. :root {
  61. color: #213547;
  62. background-color: #ffffff;
  63. }
  64. a:hover {
  65. color: #747bff;
  66. }
  67. button {
  68. background-color: #f9f9f9;
  69. }
  70. }
  71. /* 其他已有样式... */
  72. #app {
  73. max-width: 100%; /* 调整最大宽度以适应新布局 */
  74. margin: 0;
  75. padding: 0;
  76. display: flex;
  77. }
  78. .el-menu-vertical-demo {
  79. width: 200px; /* 保持导航栏宽度 */
  80. }