-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (107 loc) · 1.78 KB
/
style.css
File metadata and controls
122 lines (107 loc) · 1.78 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
html, body {
width: 100%;
height: 100%;
overflow: hidden;
font-family: sans-serif;
background: white;
display: flex;
}
#left-section {
height: 100vh;
width: 25vw;
border-right: 2px solid black;
padding: 20px;
}
#right-section {
height: 100vh;
width: 75vw;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
#heading {
margin: 0;
}
#new-chat-btn {
background-color: #0092e0;
color: white;
border-radius: 10px;
padding: 10px 20px;
margin-bottom: 15px;
cursor: pointer;
font-size: 16px;
align-self: flex-end;
}
#app {
width: 100%;
height: 80vh;
}
#chat-box {
display: flex;
flex-direction: column;
height: 80%;
width: 100%;
padding: 10px;
overflow-y: auto;
margin-bottom: 50px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#input-area {
display: flex;
flex-direction: row;
width: 100%;
}
#user-input {
width: 90%;
height: 40px;
border: 2px solid black;
border-radius: 10px;
margin-right: 5%;
font-size: 16px;
}
#enter-btn {
width: 5%;
background: none;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
#enter-btn img {
width: 30px;
height: 30px;
}
.message {
max-width: 70%;
margin: 10px;
padding: 10px 15px;
border-radius: 15px;
font-size: 16px;
word-wrap: break-word;
display: inline-block;
}
.user-message {
background-color: #dcf8c6;
align-self: flex-end;
margin-left: auto;
text-align: right;
}
.ai-message {
background-color: #f1f0f0;
align-self: flex-start;
margin-right: auto;
text-align: left;
}
#history-list {
overflow-y: auto;
border: 1px solid #ccc;
border-radius: 8px;
margin-top: 10px;
}
#history-list li {
padding: 8px 8px;
border-bottom: 1px solid #eee;
cursor: pointer;
}