index.css 8.3 KB

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