main.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html {
  6. color: #FFF;
  7. background-color: #111;
  8. }
  9. body {
  10. display: flex;
  11. width: 100%;
  12. height: 100vh;
  13. }
  14. .hs {
  15. display: block;
  16. box-sizing: border-box;
  17. width: 100%;
  18. height: 16px;
  19. }
  20. .vs {
  21. display: block;
  22. box-sizing: border-box;
  23. width: 16px;
  24. height: 100%;
  25. }
  26. .container {
  27. display: flex;
  28. flex-direction: column;
  29. justify-items: stretch;
  30. width: 300px;
  31. margin: auto auto;
  32. }
  33. .hero-logo {
  34. display: block;
  35. box-sizing: border-box;
  36. margin: 0 auto;
  37. width: 66%;
  38. height: 66%;
  39. }
  40. .hero-label {
  41. display: block;
  42. width: 100%;
  43. text-align: center;
  44. font-size: 24pt;
  45. font-weight: 700;
  46. }
  47. .login-logo {
  48. display: block;
  49. box-sizing: border-box;
  50. margin: 0 auto;
  51. width: 50%;
  52. height: 50%;
  53. }
  54. .login-label {
  55. display: block;
  56. width: 100%;
  57. text-align: center;
  58. font-size: 20pt;
  59. font-weight: 700;
  60. }
  61. .register-logo {
  62. display: block;
  63. box-sizing: border-box;
  64. margin: 0 auto;
  65. width: 33%;
  66. height: 33%;
  67. }
  68. .register-label {
  69. display: block;
  70. width: 100%;
  71. text-align: center;
  72. font-size: 18pt;
  73. font-weight: 700;
  74. }
  75. .button {
  76. display: block;
  77. width: 100%;
  78. aspect-ratio: 4 / 1;
  79. border: none;
  80. border-radius: 4px;
  81. color: #FFF;
  82. background-color: #50A0F0;
  83. font-size: 16pt;
  84. font-weight: 700;
  85. }
  86. .button:focus {
  87. color: #EEE;
  88. background-color: #4595E5;
  89. outline-color: #70C0F0;
  90. outline-width: 2px;
  91. }
  92. .button:hover {
  93. color: #EEE;
  94. background-color: #4595E5;
  95. }
  96. .button:active {
  97. color: #CCC;
  98. background-color: #3585D5;
  99. }
  100. .text-input {
  101. display: block;
  102. margin: auto;
  103. width: 100%;
  104. aspect-ratio: 4 / 1;
  105. border: none;
  106. border-radius: 4px;
  107. background-color: #FFF;
  108. font-size: 16pt;
  109. font-weight: 700;
  110. }
  111. .text-input::placeholder {
  112. color: #777;
  113. }
  114. .text-input:focus {
  115. background-color: #FFF;
  116. outline-color: #70C0F0;
  117. outline-width: 2px;
  118. }
  119. @media screen and (max-width: 600px) {
  120. .hs {
  121. height: 12px;
  122. }
  123. .vs {
  124. width: 12px;
  125. }
  126. .container {
  127. width: 256px;
  128. }
  129. .hero-label {
  130. font-size: 20pt;
  131. }
  132. .login-label {
  133. font-size: 18pt;
  134. }
  135. .register-label {
  136. font-size: 16pt;
  137. }
  138. .button {
  139. font-size: 12pt;
  140. }
  141. .text-input {
  142. font-size: 12pt;
  143. }
  144. }
  145. @media screen and (max-width: 400px) {
  146. .hs {
  147. height: 10px;
  148. }
  149. .vs {
  150. width: 10px;
  151. }
  152. .container {
  153. width: 192px;
  154. }
  155. .hero-label {
  156. font-size: 18pt;
  157. }
  158. .login-label {
  159. font-size: 16pt;
  160. }
  161. .register-label {
  162. font-size: 14pt;
  163. }
  164. .button {
  165. font-size: 10pt;
  166. }
  167. .text-input {
  168. font-size: 10pt;
  169. }
  170. }
  171. @media screen and (max-width: 240px) {
  172. .hs {
  173. height: 8px;
  174. }
  175. .vs {
  176. width: 8px;
  177. }
  178. .container {
  179. width: 128px;
  180. }
  181. .hero-label {
  182. font-size: 16pt;
  183. }
  184. .login-label {
  185. font-size: 14pt;
  186. }
  187. .register-label {
  188. font-size: 12pt;
  189. }
  190. .button {
  191. font-size: 8pt;
  192. }
  193. .text-input {
  194. font-size: 8pt;
  195. }
  196. }