global.css 4.5 KB

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