index.css 8.0 KB

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