global.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  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. .noselect {
  13. -webkit-touch-callout: none;
  14. -webkit-user-select: none;
  15. -khtml-user-select: none;
  16. -moz-user-select: none;
  17. -ms-user-select: none;
  18. user-select: none;
  19. }
  20. body {
  21. background-color: var(--bg-color-light);
  22. color: black;
  23. margin: 0;
  24. padding: 0;
  25. }
  26. body[data-theme="light"] {
  27. background-color: var(--bg-color-light);
  28. color: black;
  29. }
  30. body[data-theme="dark"] {
  31. background-color: var(--bg-color-dark);
  32. color: white;
  33. }
  34. body[data-theme="spooky"] {
  35. background-color: #f9ac59;
  36. }
  37. body[data-theme="light"] #themebtn {
  38. background-color: #b6b6b6;
  39. }
  40. body[data-theme="dark"] #themebtn {
  41. background-color: #0e0e0e;
  42. }
  43. body[data-theme="spooky"] #themebtn {
  44. background-color: #a15605;
  45. color: white;
  46. }
  47. body[data-theme="light"] #langbtn {
  48. background-color: #D8D8D8;
  49. }
  50. body[data-theme="dark"] #langbtn {
  51. background-color: #202020;
  52. }
  53. body[data-theme="spooky"] #langbtn {
  54. background-color: #a15605;
  55. color: white;
  56. }
  57. body[data-theme="light"] #themebtn:hover {
  58. color: #0475FD;
  59. }
  60. body[data-theme="dark"] #themebtn:hover {
  61. color: #fd8c04;
  62. }
  63. body[data-theme="light"] .list-header {
  64. border-top: 2px solid black;
  65. border-bottom: 2px solid black;
  66. }
  67. body[data-theme="dark"] .list-header {
  68. border-top: 2px solid white;
  69. border-bottom: 2px solid white;
  70. }
  71. body[data-theme="light"] footer {
  72. background-color: var(--bg-color-light);
  73. }
  74. body[data-theme="dark"] footer {
  75. background-color: var(--bg-color-dark);
  76. }
  77. body[data-theme="spooky"] footer {
  78. background-color: #f9ac59;
  79. }
  80. body[data-theme="light"] h1 {
  81. color: black;
  82. }
  83. body[data-theme="light"] h2 {
  84. color: black;
  85. }
  86. body[data-theme="light"] :not(#notifs h3):not(a):not(#themebtn):not(.icon) {
  87. color: black;
  88. }
  89. body[data-theme="light"] h4 {
  90. color: black;
  91. }
  92. body[data-theme="light"] h5 {
  93. color: black;
  94. }
  95. body[data-theme="light"] h6 {
  96. color: black;
  97. }
  98. body[data-theme="dark"] h1 {
  99. color: white;
  100. }
  101. body[data-theme="dark"] h2 {
  102. color: white;
  103. }
  104. /* body[data-theme="dark"] :not(#notifs h3):not(a):not(#themebtn):not(.icon) {
  105. color: white;
  106. } */
  107. body[data-theme="dark"] h4 {
  108. color: white;
  109. }
  110. body[data-theme="dark"] h5 {
  111. color: white;
  112. }
  113. body[data-theme="dark"] h6 {
  114. color: white;
  115. }
  116. a:not(.noul), .mimica:not(.noul) {
  117. cursor: pointer;
  118. color: #8c9eff;
  119. text-decoration: none;
  120. }
  121. a:not(.noul):hover, .mimica:not(.noul):hover {
  122. color: #acb8ff;
  123. text-decoration: underline;
  124. }
  125. .list-header {
  126. justify-content: center;
  127. border-top: 2px solid black;
  128. border-bottom: 2px solid black;
  129. text-align: center;
  130. }
  131. .list-header h1 {
  132. font-size: 1.8em;
  133. font-weight: normal;
  134. margin: 10px 0;
  135. }
  136. .list {
  137. display: flex;
  138. padding: 15px;
  139. flex-wrap: wrap;
  140. justify-content: space-evenly;
  141. }
  142. .list-item {
  143. display: inline-block;
  144. padding: 10px;
  145. max-width: 300px;
  146. }
  147. .list-item-container {
  148. display: flex;
  149. flex-direction: column;
  150. align-items: center;
  151. padding: 3px;
  152. }
  153. .list-item-container > h4 {
  154. font-family: "Roboto Condensed", "Roboto", "Segoe UI", sans-serif;
  155. margin: 0;
  156. }
  157. .img-link {
  158. text-decoration: none;
  159. color: initial;
  160. cursor: pointer;
  161. }
  162. .img-link:not(.no-margin) {
  163. margin-left: 10px;
  164. margin-right: 10px;
  165. }
  166. .img-link:not(.not-block) {
  167. transition: transform 0.2s;
  168. text-decoration: none;
  169. }
  170. .img-link:not(.not-block):hover {
  171. transform: scale(1.1);
  172. transition: transform 0.5s;
  173. }
  174. .img-link:visited {
  175. color: initial;
  176. }
  177. img.square {
  178. width: 65px;
  179. height: 65px;
  180. margin: 10px;
  181. border-radius: 0%;
  182. box-sizing: border-box;
  183. background-size: cover;
  184. }
  185. img.rounded.square {
  186. border-radius: 10px;
  187. }
  188. @media (max-width: 550px) {
  189. img.square, img.rounded, img.circle {
  190. width: 50px;
  191. height: 50px;
  192. }
  193. }