index.css 6.3 KB

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