main.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  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. .chats-container {
  112. display: flex;
  113. flex-direction: column;
  114. width: 100%;
  115. height: 100%;
  116. }
  117. .chats-header {
  118. display: flex;
  119. flex-direction: row;
  120. align-items: center;
  121. width: 100%;
  122. height: 64px;
  123. background-color: #222;
  124. }
  125. .chat-list {
  126. display: flex;
  127. flex-direction: column;
  128. width: 100%;
  129. height: 100%;
  130. overflow-y: scroll;
  131. }
  132. .chat-title {
  133. margin: auto;
  134. font-size: 18pt;
  135. font-weight: 700;
  136. }
  137. .chat-item {
  138. display: flex;
  139. flex-direction: row;
  140. align-items: center;
  141. width: 100%;
  142. height: 48px;
  143. border-bottom-color: #222;
  144. border-bottom-width: 1px;
  145. border-bottom-style: solid;
  146. }
  147. .chat-link {
  148. color: #fff;
  149. text-decoration: none;
  150. }
  151. .chat-name {
  152. margin-left: 16px;
  153. font-size: 14pt;
  154. }
  155. .empty-label {
  156. width: 100%;
  157. margin-top: 16px;
  158. text-align: center;
  159. font-size: 16pt;
  160. font-weight: 500;
  161. }
  162. .logout {
  163. display: flex;
  164. justify-content: center;
  165. align-items: center;
  166. }
  167. .logout img {
  168. width: 32px;
  169. height: 32px;
  170. margin: 16px;
  171. }
  172. @media screen and (max-width: 600px) {
  173. .hs {
  174. height: 12px;
  175. }
  176. .vs {
  177. width: 12px;
  178. }
  179. .container {
  180. width: 256px;
  181. }
  182. .hero-label {
  183. font-size: 20pt;
  184. }
  185. .auth-label {
  186. font-size: 18pt;
  187. }
  188. .button {
  189. font-size: 12pt;
  190. }
  191. .text-input {
  192. font-size: 12pt;
  193. }
  194. .chats-header {
  195. height: 48px;
  196. }
  197. .chat-title {
  198. font-size: 16pt;
  199. }
  200. .chat-item {
  201. height: 40px;
  202. }
  203. .chat-name {
  204. margin-left: 12px;
  205. font-size: 13pt;
  206. }
  207. .empty-label {
  208. margin-top: 12px;
  209. font-size: 14pt;
  210. }
  211. .logout img {
  212. width: 26px;
  213. height: 26px;
  214. margin: 12px;
  215. }
  216. }
  217. @media screen and (max-width: 400px) {
  218. .hs {
  219. height: 10px;
  220. }
  221. .vs {
  222. width: 10px;
  223. }
  224. .container {
  225. width: 192px;
  226. }
  227. .hero-label {
  228. font-size: 18pt;
  229. }
  230. .auth-label {
  231. font-size: 16pt;
  232. }
  233. .button {
  234. font-size: 10pt;
  235. }
  236. .text-input {
  237. font-size: 10pt;
  238. }
  239. .chats-header {
  240. height: 44px;
  241. }
  242. .chat-title {
  243. font-size: 14pt;
  244. }
  245. .chat-item {
  246. height: 36px;
  247. }
  248. .chat-name {
  249. margin-left: 10px;
  250. font-size: 12pt;
  251. }
  252. .empty-label {
  253. margin-top: 10px;
  254. font-size: 12pt;
  255. }
  256. .logout img {
  257. width: 23px;
  258. height: 23px;
  259. margin: 11px;
  260. }
  261. }
  262. @media screen and (max-width: 240px) {
  263. .hs {
  264. height: 8px;
  265. }
  266. .vs {
  267. width: 8px;
  268. }
  269. .container {
  270. width: 128px;
  271. }
  272. .hero-label {
  273. font-size: 16pt;
  274. }
  275. .auth-label {
  276. font-size: 14pt;
  277. }
  278. .button {
  279. font-size: 8pt;
  280. }
  281. .text-input {
  282. font-size: 8pt;
  283. }
  284. .chats-header {
  285. height: 40px;
  286. }
  287. .chat-title {
  288. font-size: 13pt;
  289. }
  290. .chat-item {
  291. height: 32px;
  292. }
  293. .chat-name {
  294. margin-left: 8px;
  295. font-size: 11pt;
  296. }
  297. .empty-label {
  298. margin-top: 8px;
  299. font-size: 11pt;
  300. }
  301. .logout img {
  302. width: 20px;
  303. height: 20px;
  304. margin: 10px;
  305. }
  306. }