* {
margin: 0;
padding: 0;
}
html {
color: #FFF;
background-color: #111;
}
body {
display: flex;
width: 100%;
height: 100vh;
}
.hs {
display: block;
box-sizing: border-box;
width: 100%;
height: 16px;
}
.vs {
display: block;
box-sizing: border-box;
width: 16px;
height: 100%;
}
.container {
display: flex;
flex-direction: column;
justify-items: stretch;
width: 300px;
margin: auto auto;
}
.error-container {
display: flex;
flex-direction: column;
width: 100%;
margin: 16px;
}
.hero-logo {
display: block;
box-sizing: border-box;
margin: 0 auto;
width: 66%;
height: 66%;
}
.hero-label {
display: block;
width: 100%;
text-align: center;
font-size: 24pt;
font-weight: 700;
}
.auth-logo {
display: block;
box-sizing: border-box;
margin: 0 auto;
width: 50%;
height: 50%;
}
.auth-label {
display: block;
width: 100%;
text-align: center;
font-size: 20pt;
font-weight: 700;
}
.button {
display: block;
width: 100%;
aspect-ratio: 4 / 1;
border: none;
border-radius: 4px;
color: #FFF;
background-color: #50A0F0;
font-size: 16pt;
font-weight: 700;
}
.button:focus {
color: #EEE;
background-color: #4595E5;
outline-color: #70C0F0;
outline-width: 2px;
}
.button:hover {
color: #EEE;
background-color: #4595E5;
}
.button:active {
color: #CCC;
background-color: #3585D5;
}
.text-input {
display: block;
margin: auto;
width: 100%;
aspect-ratio: 4 / 1;
border: none;
border-radius: 4px;
background-color: #FFF;
font-size: 16pt;
font-weight: 700;
}
.text-input::placeholder {
color: #777;
}
.text-input:focus {
background-color: #FFF;
outline-color: #70C0F0;
outline-width: 2px;
}
.chats-container {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
.chats-header {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
height: 64px;
background-color: #222;
}
.chat-list {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow-y: scroll;
}
.chat-title {
margin: auto;
font-size: 18pt;
font-weight: 700;
}
.chat-item {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
height: 48px;
border-bottom-color: #222;
border-bottom-width: 1px;
border-bottom-style: solid;
}
.chat-link {
color: #fff;
text-decoration: none;
}
.chat-name {
margin-left: 16px;
font-size: 14pt;
}
.empty-label {
width: 100%;
margin-top: 16px;
text-align: center;
font-size: 16pt;
font-weight: 500;
}
.logout {
display: flex;
justify-content: center;
align-items: center;
}
.logout img {
width: 32px;
height: 32px;
margin: 16px;
}
@media screen and (max-width: 600px) {
.hs {
height: 12px;
}
.vs {
width: 12px;
}
.container {
width: 256px;
}
.hero-label {
font-size: 20pt;
}
.auth-label {
font-size: 18pt;
}
.button {
font-size: 12pt;
}
.text-input {
font-size: 12pt;
}
.chats-header {
height: 48px;
}
.chat-title {
font-size: 16pt;
}
.chat-item {
height: 40px;
}
.chat-name {
margin-left: 12px;
font-size: 13pt;
}
.empty-label {
margin-top: 12px;
font-size: 14pt;
}
.logout img {
width: 26px;
height: 26px;
margin: 12px;
}
}
@media screen and (max-width: 400px) {
.hs {
height: 10px;
}
.vs {
width: 10px;
}
.container {
width: 192px;
}
.hero-label {
font-size: 18pt;
}
.auth-label {
font-size: 16pt;
}
.button {
font-size: 10pt;
}
.text-input {
font-size: 10pt;
}
.chats-header {
height: 44px;
}
.chat-title {
font-size: 14pt;
}
.chat-item {
height: 36px;
}
.chat-name {
margin-left: 10px;
font-size: 12pt;
}
.empty-label {
margin-top: 10px;
font-size: 12pt;
}
.logout img {
width: 23px;
height: 23px;
margin: 11px;
}
}
@media screen and (max-width: 240px) {
.hs {
height: 8px;
}
.vs {
width: 8px;
}
.container {
width: 128px;
}
.hero-label {
font-size: 16pt;
}
.auth-label {
font-size: 14pt;
}
.button {
font-size: 8pt;
}
.text-input {
font-size: 8pt;
}
.chats-header {
height: 40px;
}
.chat-title {
font-size: 13pt;
}
.chat-item {
height: 32px;
}
.chat-name {
margin-left: 8px;
font-size: 11pt;
}
.empty-label {
margin-top: 8px;
font-size: 11pt;
}
.logout img {
width: 20px;
height: 20px;
margin: 10px;
}
}