Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (109 loc) · 2.15 KB
/
Copy pathstyle.css
File metadata and controls
129 lines (109 loc) · 2.15 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
123
124
125
126
127
128
129
* {
margin:0;
padding:0;
font-family:calibri;
font-weight: lighter;
color: #eee;
}
body {
background-image: linear-gradient(to bottom left, #000, #111);
height: 100vh;
display:flex;
justify-content:center;
align-items:center;
flex-direction: column;
overflow: hidden;
}
div.title-container {
text-align: center;
display: flex;
flex-direction: column;
}
h1.title {
font-size: 4rem;
font-weight: 700;
}
p.desc {
font-size: 1.2rem;
text-align: center;
}
div.message-container {
margin-top: 60px;
width: clamp(400px, 70vw, 900px);
height: clamp(300px, 70vh, 700px);
padding: 20px;
border-radius: 15px;
background-color: #555555;
display: grid;
grid-template-rows: 1fr auto;
gap: 5px;
}
div.chat-container {
padding: 15px;
background-color: #121212;
overflow-y: auto;
border-radius: 10px;
display: grid;
grid-auto-rows: max-content;
gap: 20px;
}
@media (max-width: 512px) {
div.message-container {
width: 100vw;
height: 60vh;
border-radius: 0;
padding: 10px;
box-sizing: border-box;
background-color: transparent;
}
div.chat-container {
background-color: transparent;
}
}
div.message {
background-color: #424242;
padding: 15px;
width: fit-content;
max-width: 70%;
height: max-content;
border-radius: 10px;
}
div.message.user {
justify-self: end;
}
div.message > p.name {
font-weight: 700;
}
div.message > p.content {
margin-top: 5px;
}
div.message.ai.waiting > p.content {
opacity: 0.5;
}
div.input-field {
padding: 5px;
background-color: #424242;
display: flex;
align-items: center;
border-radius: 10px;
}
div.input-field > input {
width: 100%;
background-color: transparent;
border: none;
outline: none;
font-size: 1.2rem;
padding: 5px;
}
div.input-field > button {
width: fit-content;
height: 100%;
background-color: #222;
color: #eee;
font-weight: 700;
font-size: 1.25rem;
padding: 5px 15px;
border: none;
border-radius: 10px;
cursor: pointer;
}