index.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. .img-link {
  2. text-decoration: none;
  3. color: initial;
  4. transition: transform 0.2s;
  5. cursor: pointer;
  6. }
  7. .img-link:hover {
  8. transform: scale(1.1);
  9. transition: transform 0.5s;
  10. color: initial;
  11. text-decoration: initial;
  12. }
  13. .img-link:visited {
  14. color: initial;
  15. }
  16. p {
  17. word-wrap: break-word;
  18. }
  19. header {
  20. text-align: center;
  21. }
  22. #title {
  23. text-align: center;
  24. font-size: 40px;
  25. margin: 30px 0;
  26. }
  27. #options {
  28. display: flex;
  29. justify-content: space-between;
  30. }
  31. #themebtn {
  32. display: flex;
  33. justify-content: center;
  34. align-items: center;
  35. font-size: 30px;
  36. background-color: #D8D8D8;
  37. border-radius: 50px;
  38. width: 50px;
  39. height: 50px;
  40. transition: transform 0.3s, box-shadow 0.1s;
  41. }
  42. #themebtn:hover {
  43. transform: scale(1.1);
  44. transition: transform 0.3s;
  45. cursor: pointer;
  46. color: #fd8c04;
  47. }
  48. #langbtn {
  49. display: flex;
  50. justify-content: center;
  51. align-items: center;
  52. font-size: 30px;
  53. background-color: #D8D8D8;
  54. border-radius: 50px;
  55. width: 50px;
  56. height: 50px;
  57. transition: transform 0.3s, box-shadow 0.1s;
  58. }
  59. #langbtn:hover {
  60. transform: scale(1.1);
  61. transition: transform 0.3s;
  62. cursor: pointer;
  63. color: #5c6e91;
  64. }
  65. .icon {
  66. height: 30px;
  67. display: inherit;
  68. }
  69. main {
  70. margin: 1em 20%;
  71. }
  72. #synopsis {
  73. margin: 0 10%;
  74. display: flex;
  75. flex-wrap: wrap;
  76. }
  77. #synopsis > div {
  78. margin: auto;
  79. flex-basis: 40%;
  80. }
  81. #logo {
  82. width: 200px;
  83. height: 200px;
  84. border-radius: 50%;
  85. background-image: url(../resources/images/sv443.gif);
  86. background-size: cover;
  87. margin: auto;
  88. }
  89. #projects {
  90. display: flex;
  91. flex-wrap: wrap;
  92. margin: 2em 0;
  93. justify-content: space-evenly;
  94. }
  95. #games, #scripts-websites {
  96. display: flex;
  97. flex-direction: column;
  98. flex-basis: 45%;
  99. margin-top: 2em;
  100. box-sizing: border-box;
  101. }
  102. #contact {
  103. display: flex;
  104. flex-direction: column;
  105. margin: 2em 0;
  106. box-sizing: border-box;
  107. }
  108. .list-header {
  109. justify-content: center;
  110. border-top: 2px solid black;
  111. border-bottom: 2px solid black;
  112. text-align: center;
  113. }
  114. .list {
  115. display: flex;
  116. padding: 15px;
  117. flex-wrap: wrap;
  118. justify-content: space-evenly;
  119. }
  120. .list-item-container {
  121. display: flex;
  122. flex-direction: column;
  123. align-items: center;
  124. }
  125. .list-item-container > h4 {
  126. margin: 0;
  127. }
  128. .circle {
  129. width: 100px;
  130. height: 100px;
  131. margin: 10px;
  132. border-radius: 50%;
  133. box-sizing: border-box;
  134. background-size: cover;
  135. }
  136. footer {
  137. position: sticky;
  138. bottom: 0;
  139. display: flex;
  140. flex-wrap: wrap;
  141. justify-content: space-between;
  142. background-color: #fff;
  143. }
  144. footer a {
  145. color: #4b67fc;
  146. }
  147. footer a:hover {
  148. color: #6f85fc;
  149. }
  150. #cloudflare {
  151. display: flex;
  152. justify-content: center;
  153. align-items: center;
  154. margin-left: 20px;
  155. }
  156. #legal {
  157. display: flex;
  158. flex-direction: column;
  159. justify-content: stretch;
  160. }
  161. #legal h4 {
  162. padding: 0px;
  163. margin: 15px;
  164. text-align: right;
  165. font-weight: normal;
  166. }
  167. #notif {
  168. position: fixed;
  169. top: 50px;
  170. left: 0;
  171. right: 0;
  172. margin: 0 auto;
  173. z-index: 1;
  174. background-color: #cce5ff;
  175. border-color: #b8daff;
  176. color: #004085;
  177. width: fit-content;
  178. width: -moz-fit-content;
  179. height: fit-content;
  180. height: -moz-fit-content;
  181. padding: 20px;
  182. border-radius: 10px;
  183. display: flex;
  184. justify-content: center;
  185. align-items: center;
  186. text-align: center;
  187. visibility: hidden;
  188. opacity: 0;
  189. transition: all 0.5s;
  190. }
  191. #notif h3 {
  192. margin: 0;
  193. }
  194. @media (max-width: 512px) {
  195. footer {
  196. flex-direction: column;
  197. }
  198. #legal > h4 {
  199. font-size: 14px;
  200. margin: 15px 5px;
  201. }
  202. #legal {
  203. flex-direction: row;
  204. justify-content: center;
  205. }
  206. }
  207. @media (max-width: 800px) {
  208. main {
  209. margin: 1rem;
  210. }
  211. }
  212. @media (max-width: 512px) {
  213. #synopsis {
  214. margin: 0;
  215. }
  216. #synopsis > div {
  217. flex-basis: 80%;
  218. }
  219. }
  220. @media (max-width: 512px) {
  221. #games, #scripts-websites {
  222. flex-basis: 100%;
  223. }
  224. }