-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
128 lines (106 loc) · 1.9 KB
/
main.css
File metadata and controls
128 lines (106 loc) · 1.9 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
body > main {
height: 100dvh;
display: flex;
flex-direction: column;
}
.container-fluid {
max-width: 1024px;
}
textarea {
field-sizing: content;
scrollbar-width: none;
resize: none;
}
code {
padding: 0.125rem 0.375rem;
vertical-align: middle;
}
pre > code {
overflow-x: auto;
}
ul#chat > article#github {
text-align: center;
}
ul#chat {
display: flex;
flex-direction: column;
flex-grow: 1;
gap: 0.5rem;
padding-left: 0;
overflow-y: auto;
scroll-behavior: smooth;
margin-bottom: 1rem;
}
ul#chat > li {
list-style-type: none;
border-radius: 0.5rem;
margin-bottom: 0;
padding: 1rem;
}
ul#chat > li.user {
background-color: #0172ad;
align-self: flex-end;
}
ul#chat > li.thoughts {
background-color: #5E206B;
}
ul#chat > li.assistant {
background-color: #525f7a;
}
ul#chat > li.assistant :last-child {
margin-bottom: 0;
}
section#actions {
margin-bottom: 0;
display: flex;
gap: 0.5rem;
align-items: center;
flex-direction: row-reverse;
}
section#actions > button[type="submit"],
section#settings > button[type="submit"] {
margin-bottom: 0;
font-size: small;
font-weight: 500;
width: 5rem;
}
section#actions > small {
flex-grow: 1;
margin-top: 0.25rem;
margin-left: 0.25rem;
}
section#settings {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0;
}
a[data-placement="right"] {
padding-right: 0.5rem;
}
.warning {
color: #ffc107;
}
#models {
position: relative;
fieldset {
bottom: 100%;
position: absolute;
width: max-content;
border-radius: 1rem;
background-color: var(--pico-form-element-background-color);
padding: 1rem 2rem 1rem 1rem;
margin-left: -1rem;
}
}
.hidden {
display: none;
}
a.closed > svg {
transform: rotate(0deg);
transition: transform 0.25s ease-in-out;
}
a.opened > svg {
transform: rotate(90deg);
transition: transform 0.25s ease-in-out;
}