main.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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. .error-container {
  34. display: flex;
  35. flex-direction: column;
  36. width: 100%;
  37. margin: 16px;
  38. }
  39. .hero-logo {
  40. display: block;
  41. box-sizing: border-box;
  42. margin: 0 auto;
  43. width: 66%;
  44. height: 66%;
  45. }
  46. .hero-label {
  47. display: block;
  48. width: 100%;
  49. text-align: center;
  50. font-size: 24pt;
  51. font-weight: 700;
  52. }
  53. .auth-logo {
  54. display: block;
  55. box-sizing: border-box;
  56. margin: 0 auto;
  57. width: 50%;
  58. height: 50%;
  59. }
  60. .auth-label {
  61. display: block;
  62. width: 100%;
  63. text-align: center;
  64. font-size: 20pt;
  65. font-weight: 700;
  66. }
  67. .button {
  68. display: block;
  69. width: 100%;
  70. aspect-ratio: 4 / 1;
  71. border: none;
  72. border-radius: 4px;
  73. color: #FFF;
  74. background-color: #50A0F0;
  75. font-size: 16pt;
  76. font-weight: 700;
  77. }
  78. .button:focus {
  79. color: #EEE;
  80. background-color: #4595E5;
  81. outline-color: #70C0F0;
  82. outline-width: 2px;
  83. }
  84. .button:hover {
  85. color: #EEE;
  86. background-color: #4595E5;
  87. }
  88. .button:active {
  89. color: #CCC;
  90. background-color: #3585D5;
  91. }
  92. .text-input {
  93. display: block;
  94. margin: auto;
  95. width: 100%;
  96. aspect-ratio: 4 / 1;
  97. border: none;
  98. border-radius: 4px;
  99. background-color: #FFF;
  100. font-size: 16pt;
  101. font-weight: 700;
  102. }
  103. .text-input::placeholder {
  104. color: #777;
  105. }
  106. .text-input:focus {
  107. background-color: #FFF;
  108. outline-color: #70C0F0;
  109. outline-width: 2px;
  110. }
  111. @media screen and (max-width: 600px) {
  112. .hs {
  113. height: 12px;
  114. }
  115. .vs {
  116. width: 12px;
  117. }
  118. .container {
  119. width: 256px;
  120. }
  121. .hero-label {
  122. font-size: 20pt;
  123. }
  124. .auth-label {
  125. font-size: 18pt;
  126. }
  127. .button {
  128. font-size: 12pt;
  129. }
  130. .text-input {
  131. font-size: 12pt;
  132. }
  133. }
  134. @media screen and (max-width: 400px) {
  135. .hs {
  136. height: 10px;
  137. }
  138. .vs {
  139. width: 10px;
  140. }
  141. .container {
  142. width: 192px;
  143. }
  144. .hero-label {
  145. font-size: 18pt;
  146. }
  147. .auth-label {
  148. font-size: 16pt;
  149. }
  150. .button {
  151. font-size: 10pt;
  152. }
  153. .text-input {
  154. font-size: 10pt;
  155. }
  156. }
  157. @media screen and (max-width: 240px) {
  158. .hs {
  159. height: 8px;
  160. }
  161. .vs {
  162. width: 8px;
  163. }
  164. .container {
  165. width: 128px;
  166. }
  167. .hero-label {
  168. font-size: 16pt;
  169. }
  170. .auth-label {
  171. font-size: 14pt;
  172. }
  173. .button {
  174. font-size: 8pt;
  175. }
  176. .text-input {
  177. font-size: 8pt;
  178. }
  179. }