index.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. @import url('https://fonts.googleapis.com/css2?family=Ubuntu&family=Roboto&family=Roboto+Condensed&display=swap');
  2. #support-link {
  3. display: inline-block;
  4. transition: transform 0.2s;
  5. }
  6. #support-link:hover {
  7. transform: scale(1.1);
  8. transition: transform 0.5s;
  9. }
  10. p {
  11. word-wrap: break-word;
  12. }
  13. header {
  14. margin: 1em 10%;
  15. text-align: center;
  16. }
  17. @media (max-width: 750px) {
  18. header {
  19. margin: 0.7em 5%;
  20. }
  21. }
  22. @media (max-width: 600px) {
  23. header {
  24. margin: 0.4em 3%;
  25. }
  26. }
  27. #title {
  28. text-align: center;
  29. font-size: 40px;
  30. margin: 15px 0;
  31. }
  32. @media (max-width: 600px) {
  33. #title {
  34. font-size: 35px;
  35. margin: 10px 0;
  36. }
  37. }
  38. #options {
  39. position: absolute;
  40. right: 15vw;
  41. display: flex;
  42. justify-content: flex-end;
  43. }
  44. #options div:first-child {
  45. margin-right: 10px;
  46. }
  47. #options div:last-child {
  48. margin-left: 10px;
  49. }
  50. #themebtn {
  51. display: flex;
  52. justify-content: center;
  53. align-items: center;
  54. font-size: 30px;
  55. background-color: #D8D8D8;
  56. border-radius: 50px;
  57. width: 50px;
  58. height: 50px;
  59. transition: transform 0.3s, box-shadow 0.1s;
  60. }
  61. #themebtn:hover {
  62. transform: scale(1.1);
  63. transition: transform 0.3s;
  64. cursor: pointer;
  65. }
  66. #themeimg {
  67. width: 25px;
  68. height: 25px;
  69. }
  70. #langbtn {
  71. display: flex;
  72. justify-content: center;
  73. align-items: center;
  74. font-size: 30px;
  75. background-color: #D8D8D8;
  76. border-radius: 50px;
  77. width: 50px;
  78. height: 50px;
  79. transition: transform 0.3s, box-shadow 0.1s;
  80. }
  81. #langbtn:hover {
  82. transform: scale(1.1);
  83. transition: transform 0.3s;
  84. cursor: pointer;
  85. color: #5c6e91;
  86. }
  87. .icon {
  88. height: 30px;
  89. display: inherit;
  90. }
  91. main {
  92. margin: 1em 25%;
  93. margin-bottom: 0;
  94. padding-bottom: 20px;
  95. }
  96. #synopsis {
  97. margin: 0 5%;
  98. display: flex;
  99. flex-wrap: wrap;
  100. }
  101. #synopsis > div {
  102. margin: auto;
  103. flex-basis: 40%;
  104. }
  105. #logo {
  106. width: 150px;
  107. height: 150px;
  108. border-radius: 10%;
  109. background-image: url(../resources/images/Sv443NetworkIcon.png);
  110. background-size: cover;
  111. margin-left: auto;
  112. margin-right: 0;
  113. }
  114. #logo.pride {
  115. background-image: url(../resources/images/Sv443NetworkIcon_pride.png);
  116. }
  117. #projects {
  118. display: flex;
  119. flex-wrap: wrap;
  120. margin: 2em 0;
  121. justify-content: space-between;
  122. }
  123. #games, #scripts-websites {
  124. display: flex;
  125. flex-direction: column;
  126. flex-basis: 47.5%;
  127. margin-top: 1em;
  128. box-sizing: border-box;
  129. }
  130. #contact {
  131. display: flex;
  132. flex-direction: column;
  133. margin: 2em 0;
  134. box-sizing: border-box;
  135. }
  136. #support-img {
  137. width: 440px;
  138. }
  139. @media (max-width: 1300px) {
  140. #options {
  141. right: 0;
  142. }
  143. }
  144. @media (max-width: 600px) {
  145. #support-img {
  146. min-width: 300px;
  147. }
  148. }
  149. img.circle {
  150. width: 65px;
  151. height: 65px;
  152. margin: 10px;
  153. border-radius: 50%;
  154. box-sizing: border-box;
  155. background-size: cover;
  156. }
  157. footer {
  158. position: relative;
  159. bottom: 0;
  160. width: 100%;
  161. display: flex;
  162. flex-wrap: wrap;
  163. justify-content: space-between;
  164. background-color: #f1f1f1;
  165. }
  166. body[data-theme="dark"] footer a {
  167. color: #6f85ff;
  168. }
  169. body[data-theme="dark"] footer a:hover {
  170. color: #8b9cff;
  171. }
  172. body[data-theme="light"] footer a {
  173. color: #4b67fc;
  174. }
  175. body[data-theme="light"] footer a:hover {
  176. color: #6f85fc;
  177. }
  178. #legal {
  179. display: flex;
  180. flex-direction: column;
  181. justify-content: stretch;
  182. }
  183. #legal h4 {
  184. padding: 0px;
  185. margin: 15px;
  186. text-align: right;
  187. font-weight: normal;
  188. }
  189. #notif {
  190. position: fixed;
  191. top: 50px;
  192. left: 0;
  193. right: 0;
  194. margin: 0 auto;
  195. z-index: 1;
  196. background-color: #cce5ff;
  197. border-color: #b8daff;
  198. color: #004085;
  199. width: fit-content;
  200. width: -moz-fit-content;
  201. height: fit-content;
  202. height: -moz-fit-content;
  203. padding: 20px;
  204. border-radius: 10px;
  205. display: flex;
  206. justify-content: center;
  207. align-items: center;
  208. text-align: center;
  209. visibility: hidden;
  210. opacity: 0;
  211. transition: visibility 0.5s, opacity 0.5s;
  212. }
  213. #notif h3 {
  214. margin: 0;
  215. }
  216. .fade-to-the-right {
  217. animation: fade-to-the-right 0.8s;
  218. }
  219. @keyframes fade-to-the-right {
  220. 0% {
  221. opacity: 0.1;
  222. transform: translateX(-120%);
  223. }
  224. 100% {
  225. opacity: 1;
  226. transform: translateX(0);
  227. }
  228. }
  229. #consentButtonWrapper {
  230. display: flex;
  231. flex-direction: row;
  232. flex-wrap: nowrap;
  233. white-space: nowrap;
  234. margin-left: 25px;
  235. }
  236. #cookie-consent {
  237. position: fixed;
  238. bottom: 0;
  239. left: 0;
  240. z-index: 99999;
  241. display: none;
  242. justify-content: space-around;
  243. align-items: center;
  244. padding: 5px 100px;
  245. flex-basis: 100%;
  246. font-size: 16px;
  247. border-top-right-radius: 25px;
  248. /** bgcolor is in global.css */
  249. }
  250. #cookie-consent > div.big {
  251. flex-grow: 2;
  252. }
  253. .cookieButton {
  254. display: flex;
  255. align-items: center;
  256. justify-content: center;
  257. height: 25px;
  258. min-width: 60px;
  259. border-radius: 30px;
  260. padding: 10px 15px;
  261. margin: 10px 5px;
  262. border-style: none solid solid none;
  263. border-width: 3px;
  264. }
  265. body[data-theme="light"] #cookie-consent {
  266. background-color: #9d9ea1;
  267. }
  268. body[data-theme="dark"] #cookie-consent {
  269. background-color: #080808;
  270. }
  271. body[data-theme="light"] .cookieButton.g {
  272. background-color: #6ddd6d;
  273. border-color: #499649; /* :O */
  274. }
  275. body[data-theme="light"] .cookieButton.r {
  276. background-color: #d67272;
  277. border-color: #b63535;
  278. }
  279. body[data-theme="dark"] .cookieButton.g {
  280. background-color: #306430;
  281. border-color: #1a3d1a; /* :O */
  282. }
  283. body[data-theme="dark"] .cookieButton.r {
  284. background-color: #6b3535;
  285. border-color: #221010;
  286. }
  287. body[data-theme="light"] .cookieButton span:not(.fas) {
  288. color: black;
  289. }
  290. body[data-theme="dark"] .cookieButton span:not(.fas) {
  291. color: white;
  292. }
  293. .cookieButton.g {
  294. background-color: #3d813d;
  295. }
  296. .cookieButton.r {
  297. background-color: #a14545;
  298. }
  299. p.left-align {
  300. display: inline-block;
  301. text-align: left;
  302. }
  303. @media (max-width: 800px) {
  304. #cookie-consent {
  305. flex-direction: row;
  306. flex-wrap: wrap;
  307. border-top-right-radius: 0;
  308. text-align: center;
  309. }
  310. }
  311. @media (max-width: 512px) {
  312. #logo {
  313. margin-right: auto;
  314. }
  315. footer {
  316. flex-direction: column;
  317. }
  318. #legal > h4 {
  319. font-size: 16px;
  320. margin: 15px 5px;
  321. }
  322. #legal {
  323. flex-direction: row;
  324. justify-content: center;
  325. margin-bottom: 15px;
  326. }
  327. }
  328. @media (max-width: 1000px) {
  329. #cookie-consent {
  330. padding: 5px 30px;
  331. }
  332. #synopsis {
  333. margin: 0;
  334. }
  335. #synopsis > div {
  336. flex-basis: 80%;
  337. }
  338. #games, #scripts-websites {
  339. flex-basis: 100%;
  340. }
  341. }
  342. @media (max-width: 1400px) {
  343. main {
  344. margin: 1em 15%;
  345. }
  346. }
  347. @media (max-width: 700px) {
  348. main {
  349. margin-top: 0.5rem;
  350. }
  351. body {
  352. font-size: calc(1em - 2px);
  353. }
  354. }
  355. @media (max-width: 1200px) {
  356. #logo {
  357. margin: auto;
  358. }
  359. #support-img {
  360. min-width: 440px;
  361. }
  362. main {
  363. margin-top: 1rem;
  364. }
  365. }
  366. @media (max-width: 550px) {
  367. #support-img {
  368. min-width: 280px;
  369. }
  370. }