Spaces:
Running
on
Zero
Running
on
Zero
Update style.css
Browse files
style.css
CHANGED
@@ -1,47 +1,17 @@
|
|
1 |
h1 {
|
2 |
-
|
3 |
-
|
4 |
}
|
5 |
|
6 |
#duplicate-button {
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
}
|
12 |
|
13 |
.contain {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
}
|
18 |
-
|
19 |
-
/* 新增:增加聊天框高度 */
|
20 |
-
.chatbox-container {
|
21 |
-
height: 80vh; /* 视窗高度的80% */
|
22 |
-
overflow-y: auto; /* 允许垂直滚动 */
|
23 |
-
}
|
24 |
-
|
25 |
-
.message {
|
26 |
-
max-height: none; /* 移除最大高度限制 */
|
27 |
-
}
|
28 |
-
|
29 |
-
/* 其他 CSS 样式保持不变 */
|
30 |
-
|
31 |
-
/* 优化滚动条样式 */
|
32 |
-
.chatbox-container::-webkit-scrollbar {
|
33 |
-
width: 10px;
|
34 |
-
}
|
35 |
-
|
36 |
-
.chatbox-container::-webkit-scrollbar-track {
|
37 |
-
background: #f1f1f1;
|
38 |
-
}
|
39 |
-
|
40 |
-
.chatbox-container::-webkit-scrollbar-thumb {
|
41 |
-
background: #888;
|
42 |
-
border-radius: 5px;
|
43 |
-
}
|
44 |
-
|
45 |
-
.chatbox-container::-webkit-scrollbar-thumb:hover {
|
46 |
-
background: #555;
|
47 |
}
|
|
|
1 |
h1 {
|
2 |
+
text-align: center;
|
3 |
+
display: block;
|
4 |
}
|
5 |
|
6 |
#duplicate-button {
|
7 |
+
margin: auto;
|
8 |
+
color: white;
|
9 |
+
background: #1565c0;
|
10 |
+
border-radius: 100vh;
|
11 |
}
|
12 |
|
13 |
.contain {
|
14 |
+
max-width: 1500px;
|
15 |
+
margin: auto;
|
16 |
+
padding-top: 1.5rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|