forked from Gutoneitzke/chatgpt-with-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
102 lines (90 loc) · 1.6 KB
/
style.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
:root{
--dark: #0c0c0c;
--white: #fff;
--purple: #ffc12e;
--gray: #2b2c30;
--gray2: #aabbc8;
}
body{
background-color: var(--dark);
font-family: Arial, Helvetica, sans-serif;
color: var(--white);
display: flex;
justify-content: center;
height: 100vh;
}
.box-questions{
margin-top: 3rem;
background-color: var(--white);
color: var(--dark);
display: flex;
flex-direction: column;
justify-content: space-between;
max-height: 2000px;
width: 600px;
border-radius: 10px;
text-align: center;
}
.sidecar{
margin-top: 3rem;
background-color: var(--white);
color: var(--dark);
display: flex;
flex-direction: column;
justify-content: space-between;
max-height: 800px;
width: 280px;
border-radius: 10px;
text-align: left;
padding: 10px;
}
.header{
background-color: var(--purple);
color: var(--white);
border-radius: 10px 10px 0 0;
font-size: 1.4rem;
}
.footer{
background-color: var(--purple);
border-radius: 0 0 10px 10px;
padding: 1rem;
}
input{
width: 50%;
border: none;
outline: none;
padding: 10px;
border-radius: 5px;
font-size: 1rem;
}
#history{
padding: 1rem;
overflow: auto;
display: flex;
flex-direction: column;
gap: 1rem;
height: 100%;
}
.box-my-message{
display: flex;
justify-content: flex-end;
}
.box-response-message{
display: flex;
justify-content: flex-start;
}
.my-message,
.response-message{
padding: 1rem;
border-radius: 10px;
color: white;
margin: 0;
}
.my-message{
text-align: right;
background-color: var(--gray);
}
.response-message{
text-align: left;
background-color: var(--gray2);
}