index.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  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:visited {
  15. color: initial;
  16. }
  17. .img-link > div.ilb {
  18. display: inline-block;
  19. transition: transform 0.2s;
  20. }
  21. .img-link > div.ilb:hover {
  22. transform: scale(1.1);
  23. transition: transform 0.5s;
  24. }
  25. p {
  26. word-wrap: break-word;
  27. }
  28. header {
  29. margin: 1em 15%;
  30. text-align: center;
  31. }
  32. @media (max-width: 600px) {
  33. header {
  34. margin: 0.5em 10%;
  35. }
  36. }
  37. #title {
  38. text-align: center;
  39. font-size: 40px;
  40. margin: 30px 0;
  41. }
  42. @media (max-width: 600px) {
  43. #title {
  44. font-size: 35px;
  45. margin: 15px 0;
  46. }
  47. }
  48. #options {
  49. position: absolute;
  50. right: 15vw;
  51. display: flex;
  52. justify-content: flex-end;
  53. }
  54. #options div:first-child {
  55. margin-right: 10px;
  56. }
  57. #options div:last-child {
  58. margin-left: 10px;
  59. }
  60. @media (max-width: 750px) {
  61. #options {
  62. position: relative;
  63. right: initial;
  64. text-align: center;
  65. justify-content: center;
  66. }
  67. #options div:first-child {
  68. margin-right: initial;
  69. }
  70. }
  71. #themebtn {
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. font-size: 30px;
  76. background-color: #D8D8D8;
  77. border-radius: 50px;
  78. width: 50px;
  79. height: 50px;
  80. transition: transform 0.3s, box-shadow 0.1s;
  81. }
  82. #themebtn:hover {
  83. transform: scale(1.1);
  84. transition: transform 0.3s;
  85. cursor: pointer;
  86. color: #0475FD;
  87. }
  88. #langbtn {
  89. display: flex;
  90. justify-content: center;
  91. align-items: center;
  92. font-size: 30px;
  93. background-color: #D8D8D8;
  94. border-radius: 50px;
  95. width: 50px;
  96. height: 50px;
  97. transition: transform 0.3s, box-shadow 0.1s;
  98. }
  99. #langbtn:hover {
  100. transform: scale(1.1);
  101. transition: transform 0.3s;
  102. cursor: pointer;
  103. color: #5c6e91;
  104. }
  105. .icon {
  106. height: 30px;
  107. display: inherit;
  108. }
  109. main {
  110. margin: 1em 15%;
  111. padding-bottom: 50px;
  112. }
  113. #synopsis {
  114. margin: 0 10%;
  115. display: flex;
  116. flex-wrap: wrap;
  117. }
  118. #synopsis > div {
  119. margin: auto;
  120. flex-basis: 40%;
  121. }
  122. #logo {
  123. width: 150px;
  124. height: 150px;
  125. border-radius: 10%;
  126. background-image: url(../resources/images/Sv443NetworkIcon.png);
  127. background-size: cover;
  128. margin-left: auto;
  129. margin-right: 0;
  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. }
  176. #kofi-img {
  177. width: 250px;
  178. }
  179. img.circle {
  180. width: 65px;
  181. height: 65px;
  182. margin: 10px;
  183. border-radius: 50%;
  184. box-sizing: border-box;
  185. background-size: cover;
  186. }
  187. img.square {
  188. width: 65px;
  189. height: 65px;
  190. margin: 10px;
  191. border-radius: 0%;
  192. box-sizing: border-box;
  193. background-size: cover;
  194. }
  195. img.rounded.square {
  196. border-radius: 10px;
  197. }
  198. footer {
  199. position: relative;
  200. bottom: 0;
  201. width: 100%;
  202. display: flex;
  203. flex-wrap: wrap;
  204. justify-content: space-between;
  205. background-color: #f1f1f1;
  206. }
  207. footer a {
  208. color: #4b67fc;
  209. }
  210. footer a:hover {
  211. color: #6f85fc;
  212. }
  213. #legal {
  214. display: flex;
  215. flex-direction: column;
  216. justify-content: stretch;
  217. }
  218. #legal h4 {
  219. padding: 0px;
  220. margin: 15px;
  221. text-align: right;
  222. font-weight: normal;
  223. }
  224. #notif {
  225. position: fixed;
  226. top: 50px;
  227. left: 0;
  228. right: 0;
  229. margin: 0 auto;
  230. z-index: 1;
  231. background-color: #cce5ff;
  232. border-color: #b8daff;
  233. color: #004085;
  234. width: fit-content;
  235. width: -moz-fit-content;
  236. height: fit-content;
  237. height: -moz-fit-content;
  238. padding: 20px;
  239. border-radius: 10px;
  240. display: flex;
  241. justify-content: center;
  242. align-items: center;
  243. text-align: center;
  244. visibility: hidden;
  245. opacity: 0;
  246. transition: visibility 0.5s, opacity 0.5s;
  247. }
  248. #notif h3 {
  249. margin: 0;
  250. }
  251. .fade-to-the-right {
  252. animation: fade-to-the-right 0.8s;
  253. }
  254. @keyframes fade-to-the-right {
  255. 0% {
  256. opacity: 0.1;
  257. transform: translateX(-120%);
  258. }
  259. 100% {
  260. opacity: 1;
  261. transform: translateX(0);
  262. }
  263. }
  264. #cookie-consent {
  265. position: fixed;
  266. bottom: 0;
  267. z-index: 99999;
  268. display: none;
  269. justify-content: space-around;
  270. align-items: center;
  271. padding: 5px 100px;
  272. flex-basis: 100%;
  273. font-size: 16px;
  274. border-top-right-radius: 25px;
  275. /** bgcolor is in global.css */
  276. }
  277. #cookie-consent > div.big {
  278. flex-grow: 2;
  279. }
  280. .cookieButton {
  281. display: flex;
  282. align-items: center;
  283. justify-content: center;
  284. height: 25px;
  285. border-radius: 30px;
  286. padding: 10px 15px;
  287. margin: 10px 5px;
  288. border-style: none solid solid none;
  289. border-width: 3px;
  290. }
  291. .cookieButton .fa-check {
  292. color: #3d813d !important;
  293. }
  294. .cookieButton .fa-times {
  295. color: #a14545 !important;
  296. }
  297. @media (max-width: 768px) {
  298. #cookie-consent {
  299. flex-direction: column;
  300. }
  301. }
  302. @media (max-width: 512px) {
  303. #logo {
  304. margin-right: auto;
  305. }
  306. footer {
  307. flex-direction: column;
  308. }
  309. #legal > h4 {
  310. font-size: 14px;
  311. margin: 15px 5px;
  312. }
  313. #legal {
  314. flex-direction: row;
  315. justify-content: center;
  316. }
  317. }
  318. @media (max-width: 1000px) {
  319. #cookie-consent {
  320. padding: 5px 30px;
  321. }
  322. }
  323. @media (max-width: 800px) {
  324. main {
  325. margin: 1rem;
  326. }
  327. }
  328. @media (max-width: 500px) {
  329. main {
  330. margin: 0.5rem;
  331. }
  332. body {
  333. font-size: 85%;
  334. }
  335. }
  336. @media (max-width: 512px) {
  337. #synopsis {
  338. margin: 0;
  339. }
  340. #synopsis > div {
  341. flex-basis: 80%;
  342. }
  343. }
  344. @media (max-width: 512px) {
  345. #games, #scripts-websites {
  346. flex-basis: 100%;
  347. }
  348. }