-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
89 lines (80 loc) · 1.96 KB
/
Copy pathstyles.css
File metadata and controls
89 lines (80 loc) · 1.96 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
height: 100%;
width: 100%;
font-family: 'Arial', sans-serif;
background-color: #111;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.logo-container {
position: relative;
text-align: center;
animation: pulse 3s infinite ease-in-out;
}
.logo {
width: 300px;
height: auto;
border-radius: 50%;
box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.6),
0px 0px 40px rgba(255, 255, 255, 0.4);
animation: spin 20s linear infinite;
}
.logo-text {
color: #fff;
font-size: 2rem;
font-weight: bold;
margin-top: 20px;
text-transform: uppercase;
letter-spacing: 3px;
background: linear-gradient(45deg, #f39c12, #f1c40f);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: glow 1.5s infinite alternate;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* 扩散彩虹效果 */
.ripple {
position: absolute;
top: 50%;
left: 50%;
width: 100px;
height: 100px;
background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.3) 80%, transparent 80%),
conic-gradient(from 0deg, red, orange, yellow, green, cyan, blue, violet);
border-radius: 50%;
transform: translate(-50%, -50%) scale(0);
opacity: 0;
pointer-events: none;
transition: transform 1.2s, opacity 1.2s;
}
/* 点击时的彩虹扩散效果 */
body.clicked .ripple {
transform: translate(-50%, -50%) scale(50);
opacity: 1;
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
@keyframes glow {
0% {
text-shadow: 0 0 10px #f39c12, 0 0 20px #f39c12, 0 0 30px #f39c12;
}
100% {
text-shadow: 0 0 20px #f39c12, 0 0 30px #f1c40f, 0 0 40px #f1c40f;
}
}