-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
62 lines (57 loc) · 1.29 KB
/
styles.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
/* 全局样式 */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
/* 动画容器样式 */
#animation-container {
width: 800px;
height: 600px;
margin: 0 auto;
background-color: white;
border: 1px solid #ccc;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#current-scene-img {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
/* 消息容器样式 */
#message-container {
width: 800px;
margin: 10px auto;
text-align: center;
font-size: 18px;
color: #333;
z-index: 2;
}
/* 虚拟键盘样式 */
#virtual-keyboard {
display: flex;
justify-content: flex-start; /* 将按钮对齐到左侧 */
align-items: flex-start; /* 将按钮对齐到顶部 */
position: absolute; /* 使用绝对定位 */
top: 0; /* 距离顶部0像素 */
left: 0; /* 距离左侧0像素 */
margin-top: 10px;
z-index: 3;
}
#virtual-keyboard button {
margin: 0 5px;
padding: 5px 10px;
font-size: 16px;
border: 1px solid #ccc;
background-color: #f9f9f9;
cursor: pointer;
}