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. 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. }
  82. #themeimg {
  83. width: 25px;
  84. height: 25px;
  85. }
  86. #langbtn {
  87. display: flex;
  88. justify-content: center;
  89. align-items: center;
  90. font-size: 30px;
  91. background-color: #D8D8D8;
  92. border-radius: 50px;
  93. width: 50px;
  94. height: 50px;
  95. transition: transform 0.3s, box-shadow 0.1s;
  96. }
  97. #langbtn:hover {
  98. transform: scale(1.1);
  99. transition: transform 0.3s;
  100. cursor: pointer;
  101. color: #5c6e91;
  102. }
  103. .icon {
  104. height: 30px;
  105. display: inherit;
  106. }
  107. main {
  108. margin: 1em 15%;
  109. padding-bottom: 50px;
  110. }
  111. #synopsis {
  112. margin: 0 10%;
  113. display: flex;
  114. flex-wrap: wrap;
  115. }
  116. #synopsis > div {
  117. margin: auto;
  118. flex-basis: 40%;
  119. }
  120. #logo {
  121. width: 150px;
  122. height: 150px;
  123. border-radius: 10%;
  124. background-image: url(../resources/images/Sv443NetworkIcon.png);
  125. background-size: cover;
  126. margin-left: auto;
  127. margin-right: 0;
  128. }
  129. #logo.pride {
  130. background-image: url(../resources/images/Sv443NetworkIcon_pride.png);
  131. }
  132. #projects {
  133. display: flex;
  134. flex-wrap: wrap;
  135. margin: 1em 0;
  136. justify-content: space-between;
  137. }
  138. #games, #scripts-websites {
  139. display: flex;
  140. flex-direction: column;
  141. flex-basis: 47.5%;
  142. margin-top: 2em;
  143. box-sizing: border-box;
  144. }
  145. #contact {
  146. display: flex;
  147. flex-direction: column;
  148. margin: 2em 0;
  149. box-sizing: border-box;
  150. }
  151. .list-header {
  152. justify-content: center;
  153. border-top: 2px solid black;
  154. border-bottom: 2px solid black;
  155. text-align: center;
  156. }
  157. .list-header h1 {
  158. font-weight: normal;
  159. margin: 15px 0;
  160. }
  161. .list {
  162. display: flex;
  163. padding: 15px;
  164. flex-wrap: wrap;
  165. justify-content: space-evenly;
  166. }
  167. .list-item-container {
  168. display: flex;
  169. flex-direction: column;
  170. align-items: center;
  171. padding: 3px;
  172. }
  173. .list-item-container > h4 {
  174. font-family: "Roboto Condensed", "Roboto", "Segoe UI", sans-serif;
  175. margin: 0;
  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. }