No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

aide_ami.css 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. body {
  2. display: flex;
  3. flex-direction: column;
  4. justify-content: space-between;
  5. align-items: center;
  6. color:white;
  7. font-family: 'Special Elite', cursive;
  8. background-color: black;
  9. height: 95vh;
  10. }
  11. header {
  12. color: #BF0909;
  13. height: auto;
  14. font-family: 'Special Elite', cursive;
  15. display: flex;
  16. flex-direction: column;
  17. align-items: center;
  18. flex: 1;
  19. }
  20. h1 {
  21. text-decoration: none;
  22. font-size: 4vw;
  23. }
  24. nav {
  25. margin-bottom: 5vh;
  26. }
  27. header a {
  28. text-decoration: none;
  29. color: #494949;
  30. }
  31. header a:hover {
  32. color: white;
  33. }
  34. #main {
  35. width: 95vw;
  36. display: flex;
  37. flex-direction: column;
  38. justify-content: space-between;
  39. flex: 4;
  40. }
  41. #content {
  42. display: flex;
  43. flex-direction: row;
  44. justify-content: space-between;
  45. }
  46. #content aside {
  47. display : flex;
  48. flex-direction: column;
  49. justify-content: space-around;
  50. max-width: 25vw;
  51. }
  52. #firstText {
  53. opacity:0;
  54. animation: fade 2s forwards;
  55. animation-delay: 1s;
  56. }
  57. .textWillAppear {
  58. opacity: 0;
  59. }
  60. .questionWillAppear {
  61. opacity: 0;
  62. text-align: center;
  63. }
  64. /* Animations des questions sur les côtés */
  65. #question1 {
  66. animation: levite 3s forwards infinite ease-in-out;
  67. }
  68. #question2 {
  69. animation: levite 3s forwards infinite ease-in-out;
  70. animation-delay: 1s;
  71. }
  72. #question3 {
  73. animation: levite 3s forwards infinite ease-in-out;
  74. animation-delay: 2s;
  75. }
  76. #question4 {
  77. animation: levite 3s forwards infinite ease-in-out;
  78. animation-delay: 3s;
  79. }
  80. @keyframes levite {
  81. 50% {transform: translate(0,-3vh);}
  82. }
  83. @keyframes fade {
  84. 100% {opacity: 1;}
  85. }
  86. #text {
  87. font-family: 'Special Elite', cursive;
  88. font-size: 1.8vw;
  89. text-align: center;
  90. color: white;
  91. max-width: 40vw;
  92. }
  93. #text p {
  94. margin: 0.1vh 0 0.1vh 0;
  95. }
  96. #friendInput{
  97. font-family:'Special Elite',cursive;
  98. font-size:1.5vw;
  99. border-radius:1vw;
  100. height:2.5vh;
  101. width: 15vw;
  102. padding:0.5vw 0.7vw 0.3vw 0.7vw;
  103. }
  104. #friendInput:focus{
  105. outline:none;
  106. font-family:'Special Elite',cursive;
  107. font-size:1.5vw;
  108. border-radius:1vw;
  109. padding:0.5vw 0.7vw 0.3vw 0.7vw;
  110. }
  111. #arrowBlock{
  112. display:flex;
  113. justify-content: flex-end;
  114. height: 2vh;
  115. width: 45vw;
  116. }
  117. #space{
  118. font-size: 1vw;
  119. font-family: 'Special Elite', cursive;
  120. padding-right: 1vw;
  121. }
  122. #arrow{
  123. height: 2vh;
  124. animation: bounce 1s forwards;
  125. animation-iteration-count:infinite;
  126. }
  127. @keyframes bounce {
  128. 50% {transform: translate(0, -1em);}
  129. }
  130. @keyframes fade-reverse {
  131. 0% {opacity :1}
  132. 100% {opacity:0}
  133. }
  134. #buttons {
  135. display: flex;
  136. justify-content: space-around;
  137. }
  138. .button {
  139. opacity: 0;
  140. outline: none;
  141. border:0.2vw solid #b9b9b9;
  142. border-radius: 4vw;
  143. min-width: 15vw;
  144. width: 20vw;
  145. padding: 1vw 1.2vw 1vw 1.2vw;
  146. color: black;
  147. text-decoration: none;
  148. text-align: center;
  149. font-family: 'Special Elite', cursive;
  150. font-size: 0.8vw;
  151. background-image: linear-gradient(to top, black -50%, #BF0909 80%);
  152. cursor : pointer;
  153. }
  154. .button:hover {
  155. border: 0.2vw solid white;
  156. box-shadow: 0 0 3vw #B0C4DE;
  157. }
  158. .button:active {
  159. background-image: linear-gradient(to top, #BF0909 20%, black 150%);
  160. }
  161. footer{
  162. flex:0.5;
  163. display:flex;
  164. flex-direction: column;
  165. justify-content:flex-end;
  166. align-items: center;
  167. font-size:1vw;
  168. margin-top:2vw;
  169. }
  170. #names{
  171. margin : 0;
  172. }