index.css 7.8 KB

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