index.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  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. }
  104. #synopsis {
  105. margin: 0 10%;
  106. display: flex;
  107. flex-wrap: wrap;
  108. }
  109. #synopsis > div {
  110. margin: auto;
  111. flex-basis: 40%;
  112. }
  113. #logo {
  114. width: 150px;
  115. height: 150px;
  116. border-radius: 10%;
  117. background-image: url(../resources/images/Sv443NetworkIcon.webp);
  118. background-size: cover;
  119. margin: auto;
  120. }
  121. #projects {
  122. display: flex;
  123. flex-wrap: wrap;
  124. margin: 1em 0;
  125. justify-content: space-between;
  126. }
  127. #games, #scripts-websites {
  128. display: flex;
  129. flex-direction: column;
  130. flex-basis: 47.5%;
  131. margin-top: 2em;
  132. box-sizing: border-box;
  133. }
  134. #contact {
  135. display: flex;
  136. flex-direction: column;
  137. margin: 2em 0;
  138. box-sizing: border-box;
  139. }
  140. .list-header {
  141. justify-content: center;
  142. border-top: 2px solid black;
  143. border-bottom: 2px solid black;
  144. text-align: center;
  145. }
  146. .list-header h1 {
  147. font-weight: normal;
  148. margin: 15px 0;
  149. }
  150. .list {
  151. display: flex;
  152. padding: 15px;
  153. flex-wrap: wrap;
  154. justify-content: space-evenly;
  155. }
  156. .list-item-container {
  157. display: flex;
  158. flex-direction: column;
  159. align-items: center;
  160. padding: 3px;
  161. }
  162. .list-item-container > h4 {
  163. font-family: "Roboto Condensed", "Roboto", "Segoe UI", sans-serif;
  164. margin: 0;
  165. }
  166. img.circle {
  167. width: 65px;
  168. height: 65px;
  169. margin: 10px;
  170. border-radius: 50%;
  171. box-sizing: border-box;
  172. background-size: cover;
  173. }
  174. img.square {
  175. width: 65px;
  176. height: 65px;
  177. margin: 10px;
  178. border-radius: 0%;
  179. box-sizing: border-box;
  180. background-size: cover;
  181. }
  182. img.rounded.square {
  183. border-radius: 10px;
  184. }
  185. footer {
  186. position: sticky;
  187. bottom: 0;
  188. display: flex;
  189. flex-wrap: wrap;
  190. justify-content: space-between;
  191. background-color: #f1f1f1;
  192. }
  193. footer a {
  194. color: #4b67fc;
  195. }
  196. footer a:hover {
  197. color: #6f85fc;
  198. }
  199. #cloudflare {
  200. display: flex;
  201. justify-content: center;
  202. align-items: center;
  203. margin: 0 20px;
  204. }
  205. #legal {
  206. display: flex;
  207. flex-direction: column;
  208. justify-content: stretch;
  209. }
  210. #legal h4 {
  211. padding: 0px;
  212. margin: 15px;
  213. text-align: right;
  214. font-weight: normal;
  215. }
  216. #notif {
  217. position: fixed;
  218. top: 50px;
  219. left: 0;
  220. right: 0;
  221. margin: 0 auto;
  222. z-index: 1;
  223. background-color: #cce5ff;
  224. border-color: #b8daff;
  225. color: #004085;
  226. width: fit-content;
  227. width: -moz-fit-content;
  228. height: fit-content;
  229. height: -moz-fit-content;
  230. padding: 20px;
  231. border-radius: 10px;
  232. display: flex;
  233. justify-content: center;
  234. align-items: center;
  235. text-align: center;
  236. visibility: hidden;
  237. opacity: 0;
  238. transition: visibility 0.5s, opacity 0.5s;
  239. }
  240. #notif h3 {
  241. margin: 0;
  242. }
  243. .fade-to-the-right {
  244. animation: fade-to-the-right 0.8s;
  245. }
  246. @keyframes fade-to-the-right {
  247. 0% {
  248. opacity: 0.1;
  249. transform: translateX(-120%);
  250. }
  251. 100% {
  252. opacity: 1;
  253. transform: translateX(0);
  254. }
  255. }
  256. #cookie-consent {
  257. display: none;
  258. justify-content: space-around;
  259. align-items: center;
  260. background-color: #edeef4;
  261. padding: 5px 20px;
  262. flex-basis: 100%;
  263. font-size: 14px;
  264. }
  265. #consent-button {
  266. display: flex;
  267. align-items: center;
  268. justify-content: center;
  269. height: 25px;
  270. background-color: #D8D8D8;
  271. border-radius: 30px;
  272. padding: 10px 15px;
  273. }
  274. #consent-button:hover span {
  275. color: #5aa469;
  276. }
  277. @media (max-width: 768px) {
  278. #cookie-consent {
  279. flex-direction: column;
  280. }
  281. }
  282. @media (max-width: 512px) {
  283. footer {
  284. flex-direction: column;
  285. }
  286. #legal > h4 {
  287. font-size: 14px;
  288. margin: 15px 5px;
  289. }
  290. #legal {
  291. flex-direction: row;
  292. justify-content: center;
  293. }
  294. }
  295. @media (max-width: 800px) {
  296. main {
  297. margin: 1rem;
  298. }
  299. }
  300. @media (max-width: 500px) {
  301. main {
  302. margin: 0.5rem;
  303. }
  304. body {
  305. font-size: 85%;
  306. }
  307. }
  308. @media (max-width: 512px) {
  309. #synopsis {
  310. margin: 0;
  311. }
  312. #synopsis > div {
  313. flex-basis: 80%;
  314. }
  315. }
  316. @media (max-width: 512px) {
  317. #games, #scripts-websites {
  318. flex-basis: 100%;
  319. }
  320. }