-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
108 lines (89 loc) · 1.65 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
body, html {
height: 100%;
margin: 0;
background-color: #1E45FB;
}
body, html, input, button {
font-family: 'IBM Plex Sans', Arial, sans-serif;
}
body {
display: flex;
flex-direction: column;
align-items: center;
}
main {
display: flex;
flex-direction: column;
align-items: center;
max-width: 600px;
gap: 2rem;
}
#auth-section, #chat-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
}
#messages {
width: 90%;
height: 60vh;
margin-bottom: 10px;
overflow-y: auto; /* Changed from scroll to auto to only show scrollbar when needed */
}
#messages > div {
width: 100%;
display: flex;
}
#messages > div > div {
padding: 5px 10px;
margin: 5px;
border-radius: 10px;
word-wrap: "break-word";
display: "inline-block";
max-width: 80%;
}
input {
width: 90%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 10px;
}
button {
cursor: pointer;
padding: 10px 20px;
background-color: #e7f0fe;
color: rgb(35, 35, 35);
border: none;
}
.dot {
display: inline-block;
width: 8px;
height: 8px;
margin-right: 2px;
background-color: #b3b3b3;
border-radius: 50%;
animation: dotPulse 1.2s infinite;
}
.dot:nth-child(2) {
animation-delay: 0.2s;
}
.dot:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes dotPulse {
0%,
20%,
40%,
60%,
80%,
100% {
transform: translateY(0);
}
20% {
transform: translateY(-2px);
background-color: #ffffff;
}
}