ぼざクリタグ広場 https://hub.nizika.monster
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.
 
 
 
 

135 lines
2.2 KiB

  1. @import "@fontsource-variable/noto-sans-jp";
  2. @tailwind base;
  3. @tailwind components;
  4. @tailwind utilities;
  5. @layer base
  6. {
  7. :root
  8. {
  9. --background: 0 0% 100%;
  10. --foreground: 222.2 84% 4.9%;
  11. --primary: 222.2 47.4% 11.2%;
  12. --primary-foreground: 210 40% 98%;
  13. --secondary: 210 40% 96.1%;
  14. --secondary-foreground: 222.2 47.4% 11.2%;
  15. --destructive: 0 72.2% 50.6%;
  16. --destructive-foreground: 210 40% 98%;
  17. --muted: 210 40% 96.1%;
  18. --muted-foreground: 215.4 16.3% 46.9%;
  19. --accent: 210 40% 96.1%;
  20. --accent-foreground: 222.2 47.4% 11.2%;
  21. --border: 214.3 31.8% 91.4%;
  22. --input: 214.3 31.8% 91.4%;
  23. --ring: 222.2 84% 4.9%;
  24. }
  25. .dark
  26. {
  27. --background: 222.2 84% 4.9%;
  28. --foreground: 210 40% 98%;
  29. --primary: 210 40% 98%;
  30. --primary-foreground: 222.2 47.4% 11.2%;
  31. --secondary: 217.2 32.6% 17.5%;
  32. --secondary-foreground: 210 40% 98%;
  33. --destructive: 0 62.8% 45%;
  34. --destructive-foreground: 210 40% 98%;
  35. --muted: 217.2 32.6% 17.5%;
  36. --muted-foreground: 215 20.2% 65.1%;
  37. --accent: 217.2 32.6% 17.5%;
  38. --accent-foreground: 210 40% 98%;
  39. --border: 217.2 32.6% 17.5%;
  40. --input: 217.2 32.6% 17.5%;
  41. --ring: 212.7 26.8% 83.9%;
  42. }
  43. body
  44. {
  45. @apply overflow-x-clip;
  46. }
  47. a
  48. {
  49. @apply text-blue-700 dark:text-blue-300;
  50. }
  51. a:hover
  52. {
  53. @apply text-blue-500 dark:text-blue-100;
  54. }
  55. }
  56. :root
  57. {
  58. font-family: "Noto Sans JP Variable", system-ui, Avenir, Helvetica, Arial, sans-serif;
  59. line-height: 1.5;
  60. font-weight: 400;
  61. color-scheme: light dark;
  62. color: rgba(255, 255, 255, 0.87);
  63. background-color: #242424;
  64. font-synthesis: none;
  65. text-rendering: optimizeLegibility;
  66. -webkit-font-smoothing: antialiased;
  67. -moz-osx-font-smoothing: grayscale;
  68. }
  69. a
  70. {
  71. font-weight: 500;
  72. text-decoration: inherit;
  73. }
  74. body
  75. {
  76. margin: 0;
  77. min-width: 320px;
  78. }
  79. #root
  80. {
  81. min-height: 100dvh;
  82. }
  83. @media (prefers-color-scheme: light)
  84. {
  85. :root
  86. {
  87. color: #213547;
  88. background-color: #ffffff;
  89. }
  90. a:hover
  91. {
  92. color: #747bff;
  93. }
  94. button
  95. {
  96. background-color: #f9f9f9;
  97. }
  98. }
  99. @keyframes wiki-blink
  100. {
  101. 0%, 100% { color: #dc2626; }
  102. 50% { color: #2563eb; }
  103. }
  104. @keyframes wiki-blink-dark
  105. {
  106. 0%, 100% { color: #f87171; }
  107. 50% { color: #60a5fa; }
  108. }