-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (93 loc) · 3.8 KB
/
Copy pathstyle.css
File metadata and controls
108 lines (93 loc) · 3.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
:root {
--cyan: #00e5ff;
--team-blue: #00e5ff;
--team-red: #ff4081;
--text-glass: rgba(255, 255, 255, 0.9);
--bg-dark: #050a14;
--plate-bg: rgba(13, 27, 48, 0.08); /* 极致透明,不遮挡立绘 */
--border-plate: rgba(0, 229, 255, 0.15);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body, html {
margin: 0; padding: 0; width: 100vw; height: 100vh;
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
background-color: var(--bg-dark);
overflow: hidden; /* 核心:防止手机界面滚动 */
display: flex; align-items: center; justify-content: center;
color: #fff;
}
/* 高清横屏背景适配 */
body {
background-image: url('bg.jpg'); /* 请确保文件名准确为 bg.jpg */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* --- 强制横屏引导层 --- */
#orientation-gate {
display: none; position: fixed; top: 0; left: 0;
width: 100%; height: 100%; z-index: 10000;
background: rgba(5, 10, 20, 0.96);
flex-direction: column; align-items: center; justify-content: center;
}
#orientation-gate .gate-icon { font-size: 50px; margin-bottom: 25px; color: #fff; }
#orientation-gate .gate-msg { color: var(--cyan); font-size: 1.3rem; letter-spacing: 2px; }
/* 极致清透容器 */
.app-main {
width: 94%; height: 88%;
display: flex; flex-direction: row; /* 强制横排布局 */
background: var(--plate-bg);
padding: 25px; border-radius: 20px;
border: 1px solid var(--border-plate);
box-shadow: 0 0 40px rgba(0,0,0,0.8);
transition: transform 0.3s ease-out, opacity 0.3s;
/* 核心操作:铲除所有的 blur 模糊特效!!! */
/* backdrop-filter: none; */ /* 确保没有任何背景模糊干扰立绘 */
}
.hidden { opacity: 0; transform: scale(0.95); pointer-events: none; }
/* 左侧输入列 */
.col-input {
flex: 1.3; display: flex; flex-direction: column;
padding-right: 25px; border-right: 1px dashed rgba(255,255,255,0.08);
}
.glow-title {
font-size: 4.2rem; text-align: left; margin: 0 0 5px 0;
color: #fff; text-shadow: 0 0 15px var(--cyan), 0 0 30px var(--cyan);
font-weight: 900; letter-spacing: 15px; /* 增加高级感 */
}
.sys-tag {
text-align: left; font-size: 0.7rem; color: var(--cyan);
opacity: 0.8; letter-spacing: 3px; margin: 0 0 15px 0;
}
.input-panel { flex: 1; margin-bottom: 12px; }
textarea {
width: 100%; height: 100%;
background: rgba(255, 255, 255, 0.03); /* 完全透亮 */
color: #fff; font-size: 1.15rem; line-height: 1.6;
border: 1px solid var(--border-plate);
border-radius: 12px; padding: 15px;
outline: none; resize: none;
}
.action-btn {
height: 58px;
background: linear-gradient(135deg, #0091ea, #00b0ff);
color: #fff; border: none; border-radius: 10px;
font-weight: bold; font-size: 1.3rem; cursor: pointer;
box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}
/* 右侧对阵列 */
.col-result { flex: 1; padding-left: 25px; display: flex; flex-direction: column; justify-content: center; }
.result-area { background: rgba(0, 0, 0, 0.45); border-radius: 15px; padding: 20px; min-height: 250px; font-size: 1.25rem; }
.placeholder-text { color: rgba(255,255,255,0.25); text-align: center; }
/* 针对结果卡片的优化 */
.result-card { display: flex; flex-direction: column; gap: 15px; }
.team-item { margin-bottom: 5px; }
.team-item .label { font-weight: bold; font-size: 1.1rem; }
.team-item.blue .label { color: var(--team-blue); }
.team-item.red .label { color: var(--team-red); }
.team-item p { margin: 8px 0; color: rgba(255,255,255,0.9); }
/* 只在竖屏下强制显示提示,横屏时隐藏提示并显示主界面 */
@media screen and (orientation: portrait) {
#orientation-gate { display: flex; }
.app-main { display: none; }
}