-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
110 lines (94 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
103
104
105
106
107
108
109
110
:root{
--dark: #0c0c0c;
--white: #fff;
--purple: #474945c9;
--gray: #949494;
--gray2: #cccccc;
}
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: 800px;
width: 600px;
border-radius: 10px;
text-align: center;
}
.header{
background-color: var(--purple);
color: var(--white);
border-radius: 10px 10px 0 0;
font-size: 1.4rem;
}
img{
width: 55%;
padding: 100px;
opacity: 0.5;
border-radius: 50%;
}
.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;
}
button{
border: none;
border-radius: 5px;
padding: 10px;
font-size: 1rem;
}
button:hover{
cursor: pointer;
transition: .4s;
background-color: var(--gray);
}
#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);
}