-
Notifications
You must be signed in to change notification settings - Fork 0
/
mattGPT.css
116 lines (101 loc) · 2.1 KB
/
mattGPT.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
111
112
113
114
115
116
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
:root {
--primary: #193b1e;
--secondary: #e4f0df;
--primary-bg: var(--secondary);
--primary-text: #193b1e;
--user-message-color: var(--secondary);
--accent: #01BAC3;
--wrapper: 700px;
--primary-padding: 2rem 1rem;
}
body {
height: 100vh;
background-color: var(--primary-bg);
color: var(--primary-text);
}
.chat-container {
height: 100%;
display: flex;
flex-direction: column;
}
.chat-log {
height: 100%;
overflow: auto;
}
.chat-log::-webkit-scrollbar {
width: 0px;
}
.message {
padding: var(--primary-padding);
font-size: 1.1rem;
line-height: 1.5rem;
}
.message .content {
width: 100%;
max-width: var(--wrapper);
margin: 0 auto;
display: flex;
align-items: flex-start;
}
.content .message-image,
.content .message-image img {
width: 50px;
height: 50px;
margin-right: 2rem;
border-radius: 1rem;
}
.message-instance-container {
position: relative;
}
.message.user-message {
background-color: var(--user-message-bg);
top: 0;
}
p.thinking {
animation: thinking 2.2s ease-in-out infinite;
}
@keyframes thinking {
0% {
opacity: 0.15;
}
50% {
opacity: 1;
}
100% {
opacity: 0.15;
}
}
.prompt {
color: var(--primary);
}
/* new message form */
.new-message {
background-color: var(--primary);
}
.new-message form {
width: 100%;
max-width: var(--wrapper);
margin: 0 auto;
padding: var(--primary-padding);
}
.new-message form input {
width: 100%;
padding: 1rem;
border-radius: .5rem;
background-color: var(--secondary);
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
border: none;
font-size: 1rem;
color: #193b1e;
outline: none;
}
.new-message form input::placeholder {
color: #193b1e;
}