1
0

index.css 8.1 KB

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