-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
195 lines (172 loc) · 3.64 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
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
/* 全局样式 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(135deg, #6dd5ed, #2193b0);
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
text-align: center;
animation: backgroundAnimation 12s ease-in-out infinite alternate;
}
/* 背景的渐变动画 */
@keyframes backgroundAnimation {
0% {
background: linear-gradient(135deg, #6dd5ed, #2193b0);
}
50% {
background: linear-gradient(135deg, #9cecfb, #65c7f7);
}
100% {
background: linear-gradient(135deg, #2193b0, #6dd5ed);
}
}
/* 动态模糊效果 */
.blur {
filter: blur(8px);
animation: blurAnimation 5s infinite alternate;
}
@keyframes blurAnimation {
0% {
filter: blur(8px);
}
50% {
filter: blur(4px);
}
100% {
filter: blur(8px);
}
}
.container {
background: rgba(255, 255, 255, 0.85); /* 背景透明 */
color: #333;
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
width: 90%;
max-width: 450px;
position: relative;
z-index: 1;
}
h1 {
margin-bottom: 20px;
font-size: 24px;
font-weight: bold;
color: #2193b0;
}
label {
font-size: 16px;
margin-top: 10px;
display: block;
text-align: left;
}
input[type="number"] {
width: 100%;
padding: 10px;
margin-top: 8px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
transition: border-color 0.3s ease;
}
input[type="number"]:focus {
border-color: #2193b0;
outline: none;
}
.options {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-top: 15px;
}
.options label {
display: flex;
align-items: center;
background: #f0f8ff;
padding: 10px;
border-radius: 5px;
width: 48%;
margin-bottom: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.options label:hover {
background-color: #e0f7ff;
}
.options input {
margin-right: 10px;
}
button {
width: 100%;
padding: 12px;
border: none;
border-radius: 5px;
background-color: #2193b0;
color: #fff;
font-size: 16px;
font-weight: bold;
cursor: pointer;
margin-top: 20px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
background-color: #1b7cac;
transform: scale(1.02);
}
button:active {
transform: scale(0.98);
}
#passwordDisplay {
background: #f9f9f9;
color: #333;
padding: 15px;
border-radius: 5px;
margin-top: 15px;
font-family: monospace;
word-break: break-word;
}
#loadingMessage {
font-size: 16px;
color: #2193b0;
margin-top: 15px;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Footer样式 */
footer {
background-color: rgba(255, 255, 255, 0.85); /* 页脚背景颜色 */
color: #333; /* 文字颜色 */
text-align: center; /* 文字居中 */
padding: 10px 0; /* 上下填充 */
width: 100%; /* 宽度100% */
position: absolute; /* 绝对定位 */
bottom: 0; /* 底部对齐 */
left: 0; /* 左对齐 */
font-size: 14px; /* 字体大小 */
}
footer p {
margin: 0; /* 移除段落的外边距 */
}
footer a {
color: #007bff; /* 链接颜色 */
text-decoration: none; /* 无下划线 */
transition: color 0.3s ease; /* 颜色变化过渡效果 */
}
footer a:hover {
color: #0056b3; /* 鼠标悬停时链接颜色 */
}