global.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
  2. :root {
  3. --bg-color-dark: #282c34;
  4. --bg-color-light: #f1f1f1;
  5. }
  6. * {
  7. font-family: "Roboto", "Segoe UI", "Calibri", "San Francisco", sans-serif;
  8. }
  9. html {
  10. font-size: 18px;
  11. }
  12. body {
  13. background-color: var(--bg-color-light);
  14. color: black;
  15. margin: 0;
  16. padding: 0;
  17. }
  18. body[data-theme="light"] {
  19. background-color: var(--bg-color-light);
  20. color: black;
  21. }
  22. body[data-theme="dark"] {
  23. background-color: var(--bg-color-dark);
  24. color: white;
  25. }
  26. body[data-theme="spooky"] {
  27. background-color: #f9ac59;
  28. }
  29. body[data-theme="light"] #themebtn {
  30. background-color: #b6b6b6;
  31. }
  32. body[data-theme="dark"] #themebtn {
  33. background-color: #0e0e0e;
  34. }
  35. body[data-theme="spooky"] #themebtn {
  36. background-color: #a15605;
  37. color: white;
  38. }
  39. body[data-theme="light"] #langbtn {
  40. background-color: #D8D8D8;
  41. }
  42. body[data-theme="dark"] #langbtn {
  43. background-color: #202020;
  44. }
  45. body[data-theme="spooky"] #langbtn {
  46. background-color: #a15605;
  47. color: white;
  48. }
  49. body[data-theme="light"] #themebtn:hover {
  50. color: #0475FD;
  51. }
  52. body[data-theme="dark"] #themebtn:hover {
  53. color: #fd8c04;
  54. }
  55. body[data-theme="light"] .list-header {
  56. border-top: 2px solid black;
  57. border-bottom: 2px solid black;
  58. }
  59. body[data-theme="dark"] .list-header {
  60. border-top: 2px solid white;
  61. border-bottom: 2px solid white;
  62. }
  63. body[data-theme="light"] footer {
  64. background-color: var(--bg-color-light);
  65. }
  66. body[data-theme="dark"] footer {
  67. background-color: var(--bg-color-dark);
  68. }
  69. body[data-theme="spooky"] footer {
  70. background-color: #f9ac59;
  71. }
  72. body[data-theme="light"] h1 {
  73. color: black;
  74. }
  75. body[data-theme="light"] h2 {
  76. color: black;
  77. }
  78. body[data-theme="light"] :not(#notifs h3):not(a):not(#themebtn):not(.icon) {
  79. color: black;
  80. }
  81. body[data-theme="light"] h4 {
  82. color: black;
  83. }
  84. body[data-theme="light"] h5 {
  85. color: black;
  86. }
  87. body[data-theme="light"] h6 {
  88. color: black;
  89. }
  90. body[data-theme="dark"] h1 {
  91. color: white;
  92. }
  93. body[data-theme="dark"] h2 {
  94. color: white;
  95. }
  96. /* body[data-theme="dark"] :not(#notifs h3):not(a):not(#themebtn):not(.icon) {
  97. color: white;
  98. } */
  99. body[data-theme="dark"] h4 {
  100. color: white;
  101. }
  102. body[data-theme="dark"] h5 {
  103. color: white;
  104. }
  105. body[data-theme="dark"] h6 {
  106. color: white;
  107. }
  108. a {
  109. color: #8c9eff;
  110. text-decoration: none;
  111. }
  112. a:hover {
  113. color: #acb8ff;
  114. text-decoration: underline;
  115. }