index.css 7.0 KB

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