-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypeface.css
More file actions
445 lines (365 loc) · 10.8 KB
/
typeface.css
File metadata and controls
445 lines (365 loc) · 10.8 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
@font-face {
font-family:'MinecraftTen-VGORe';
src: url(MinecraftTen-VGORe.ttf);
}
.MinecraftTen-VGORe{
font-family: 'MinecraftTen-VGORe';
font-size: 50px;
text-shadow: none;
}
@font-face {
font-family:'Minecraft字体';
src: url(Minecraft字体.ttf);
}
.Minecraft字体{
font-family: 'Minecraft字体';
font-size: 50px;
text-shadow: none;
}
/* 字体*/
body, html {
margin: 0;
padding: 0;
height: 100%;
background-image: linear-gradient(rgba(49, 50, 52, 0.5), rgba(49, 50, 52, 1.0)), url('images/background.png');
background-repeat: repeat-y;
background-position: center, center;
background-attachment: fixed, fixed;
z-index: -4;
}
.content {
position: relative;
z-index: 1;
padding: 20px;
}
/* 周年庆样式 */
table {
padding: 0;
}
/*
html {
background-color: #313234;
}
*/
p {
color: white;
}
.text-with-background {
background-color: #48494B; /* 设置文本的背景颜色 */
padding: 10px;
border: 4px solid #000; /* 可选:添加边框 */
border-color: #58595C #282828 #282828 #58595C; /* 上 右 下 左 */ /* 设置文本周围的内边距 */
}
/* 定义按钮的默认样式 */
.button-style {
/* 设置按钮的大小和边框 */
width: 120px;
height: 40px;
border: 2px solid;
border-color: #EFEFEF #707070 #707070 #EFEFEF; /* 上 右 下 左 */
border-radius: 0px; /* 可选的圆角效果 */
/* 设置内部填充颜色 */
background-color: #C6C6C6;
outline: solid 2px black;/* 外圈黑色边框 */
/* 设置文本样式 */
color: #000;
font-size: 14px;
font-family: Minecraft字体;
font-weight: #;
text-align: center;
line-height: 40px; /* 使文本垂直居中 */
/* 鼠标悬停样式 */
transition: background-color 0.0s, border-color 0.0s;
cursor: pointer;
/* 按下按钮的样式 */
}
.button-style:active {
border-color: #015301 #2BCD1D #2BCD1D #015301; /* 上 右 下 左 */
background-color: #208305;
outline: solid 2px white;/* 外圈白色边框 */
}
/* 鼠标悬停时的样式 */
.button-style:hover {
border-color: #015301 #2BCD1D #2BCD1D #015301; /* 上 右 下 左 */
background-color: #208305;
outline: solid 2px white;/* 外圈白色边框 */
}
.image-container {
display: flex;
justify-content: center; /* 水平居中 */
align-items: center; /* 垂直居中 */
height: center; /* 或其他值,取决于你的布局 */
}
.image-container img {
width: 271px;
height: 100px;
/* 如果需要保持图片的长宽比 */
object-fit: cover;
}
/* 弹窗图片 */
.window-img {
border: 2px solid #000000;
}
/* 定义矩形样式预设组 */
.style-group {
/* 第一个矩形样式 */
.rectangle-1 {
width: 200px;
height: 100px;
background-color: #ff0000;
border: 2px solid #000000;
border-radius: 10px;
}
/* 第二个矩形样式 */
.rectangle-2 {
width: 150px;
height: 50px;
background-color: #00ff00;
border: 2px solid #000000;
border-radius: 5px;
}
/* 第三个矩形样式 */
.rectangle-3 {
width: 250px;
height: 120px;
background-color: #0000ff;
border: 2px solid #ffffff;
border-radius: 0;
}
}
.custom-modal-background {
display: flex;
flex-direction: column;
width: 100%;
height: 20vh; /* 设置高度为屏幕高度的五分之一 */
background-color: transparent;
position: relative;
}
.top-border, .middle, .bottom-border {
width: 100%;
position: relative;
}
.top-border {
flex-grow: -1;
background-color: #48494B;
border-width: 2px 2px 2px 2px;
border-style: solid;
border-color: #5B5D5C #6D6D6D #6D6D6D #5B5D5C; /* 上下左右 */
padding: 20px;
box-sizing: border-box;
}
.middle {
flex-grow: -1;
background-color: #313234;
border-width: 2px 2px 2px 2px;
border-style: solid;
border-color: #313234 #313234 #313234 #313234; /* 上下左右 */
padding: 20px;
box-sizing: border-box;
}
.bottom-border {
flex-grow: -1;
background-color: #48494B;
border-width: 2px 2px 2px 2px;
border-style: solid;
border-color: #5B5D5C #48494B #5B5D5C #48494B; /* 上下左右 */
padding: 20px;
box-sizing: border-box;
}
/* 模态窗口内其他元素样式 */
.close {
color: #FFFFFF;
float: right;
font-size: 20px;
font-family: Minecraft字体;
position: absolute;
top: 6px;
right: 10px;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.confirm {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
.img-container {
display: flex;
justify-content: center;
align-items: center;
height:; /* 或者你想要的高度 */
width: 100%; /* 或者你想要的宽度 */
}
.falling-character {
position: absolute;
color: #fff;
font-size: 50px;
animation-name: fall;
animation-duration: 10s;
animation-fill-mode: forwards;
animation-timing-function: linear;
opacity: 1;
}
@keyframes fall {
0% { transform: translateY(-100vh); /* 从屏幕顶部外开始 */ }
100% { transform: translateY(100vh); /* 下落到屏幕底部 */ opacity: 0; }
}
/* 披风图片 */
.image-container {
width: 200px; /* 矩形区域的宽度 */
height: 300px; /* 矩形区域的高度 */
overflow: hidden; /* 隐藏超出容器的部分 */
border: 4px solid #000; /* 可选:添加边框 */
border-color: #414244 #232325 #232325 #414244; /* 上 右 下 左 */
}
.image-container img {
width: 100%; /* 图像宽度等于容器宽度 */
height: 100%; /* 图像高度等于容器高度 */
object-fit: cover; /* 保持图像长宽比,使图像充满容器,超出部分将被裁剪 */
}
.image-container2 {
border: 4px solid #000; /* 可选:添加边框 */
border-color: #414244 #232325 #232325 #414244; /* 上 右 下 左 */
}
/* sidebar */
.sidebar-style {
background-color: #313234;
width: 250px;
height: 100vh;
position: fixed;
top: 0;
left: -270px;
transition: left 0.3s;
/* 设置不同的边框颜色和宽度 */
border-top: 5px solid #414244; /* 上边框 */
border-right: 5px solid #232325; /* 右边框 */
border-bottom: 5px solid #232325; /* 下边框 */
border-left: 5px solid #414244; /* 左边框 */
}
#sidebar {
z-index: 2000;
}
#menu-button {
/* 设置按钮的大小和边框 */
width: 60px;
height: 60px;
border: 2px solid;
border-color: #EFEFEF #707070 #707070 #EFEFEF; /* 上 右 下 左 */
border-radius: 0px; /* 可选的圆角效果 */
/* 设置内部填充颜色 */
background-color: #C6C6C6;
/* 设置文本样式 */
color: #000;
font-size: 40px;
font-family: Minecraft字体;
font-weight: 100%;
text-align: center;
line-height: 40px; /* 使文本垂直居中 */
/* 鼠标悬停样式 */
transition: background-color 0.0s, border-color 0.0s;
cursor: pointer;
position: fixed; /* 使用fixed定位 */
top: 10px; /* 从顶部偏移10px */
right: 10px; /* 从右侧偏移10px */
z-index: 2000; /* 确保按钮在层级上位于顶层 */
outline: solid 2px black;/* 外圈黑色边框 */
}
/* 按下按钮的样式 */
#top-button {
/* 设置按钮的大小和边框 */
width: 60px;
height: 60px;
border: 2px solid;
border-color: #EFEFEF #707070 #707070 #EFEFEF; /* 上 右 下 左 */
border-radius: 0px; /* 可选的圆角效果 */
/* 设置内部填充颜色 */
background-color: #C6C6C6;
/* 设置文本样式 */
color: #000;
font-size: 40px;
font-family: Minecraft字体;
font-weight: 100%;
text-align: center;
line-height: 40px; /* 使文本垂直居中 */
/* 鼠标悬停样式 */
transition: background-color 0.0s, border-color 0.0s;
cursor: pointer;
position: fixed; /* 使用fixed定位 */
top: 80px; /* 从顶部偏移10px */
right: 10px; /* 从右侧偏移10px */
z-index: 100; /* 确保按钮在层级上位于顶层 */
outline: solid 2px black;/* 外圈黑色边框 */
}
#menu-button:active,
#top-button:active {
border-color: #015301 #2BCD1D #2BCD1D #015301; /* 上 右 下 左 */
background-color: #208305;
outline: solid 2px white;/* 外圈白色边框 */
}
/* 鼠标悬停时的样式 */
#menu-button:hover,
#top-button:hover {
border-color: #015301 #2BCD1D #2BCD1D #015301; /* 上 右 下 左 */
background-color: #208305;
outline: solid 2px white;/* 外圈白色边框 */
}
#mbe-button {
/* 设置按钮的大小和边框 */
width: 60px;
height: 60px;
border: 2px solid;
border-color: #619E50 #1D4D13 #1D4D13 #619E50; /* 上 右 下 左 */
border-radius: 0px; /* 可选的圆角效果 */
/* 设置内部填充颜色 */
background-color: #3B8526;
/* 设置文本样式 */
color: #FFF;
font-size: 40px;
font-family: Minecraft字体;
font-weight: 100%;
text-align: center;
line-height: 40px; /* 使文本垂直居中 */
/* 鼠标悬停样式 */
transition: background-color 0.0s, border-color 0.0s;
cursor: pointer;
position: fixed; /* 使用fixed定位 */
top: 150px; /* 从顶部偏移10px */
right: 10px; /* 从右侧偏移10px */
z-index: 100; /* 确保按钮在层级上位于顶层 */
outline: solid 2px black;/* 外圈黑色边框 */
}
#mbe-button:active {
border-color: #015301 #2BCD1D #2BCD1D #015301; /* 上 右 下 左 */
background-color: #1D4D13;
outline: solid 2px white;/* 外圈白色边框 */
}
/* 鼠标悬停时的样式 */
#mbe-button:hover {
border-color: #1A4411 #50913D #50913D #1A4411; /* 上 右 下 左 */
background-color: #1D4D13;
outline: solid 2px white;/* 外圈白色边框 */
}
/* 底部json ui容器 */
.under-window {
border: 2px solid;
border-color: #EFEFEF #707070 #707070 #EFEFEF;
/* 上 右 下 左 */
background-color: #C6C6C6;
outline: solid 2px black;
width: 80%;
height: 160px;
top: 150px;
right: 10px;
justify-content: center; /* 水平居中 */
}