-
Notifications
You must be signed in to change notification settings - Fork 0
/
Style.css
118 lines (102 loc) · 2.61 KB
/
Style.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
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
font-family: 'Ma Shan Zheng', sans-serif;
overflow-x: hidden;
}
section {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background-image: linear-gradient(94.3deg, rgba(26, 33, 64, 1) 10.9%, rgba(81, 84, 115, 1) 87.1%);
overflow: hidden;
}
section:before {
position: absolute;
content: "";
z-index: 2;
width: 450px;
height: 450px;
top: 50%;
left: 50%;
transform: translate(-100%, -80%);
background-color: #FFE53B;
background-image: linear-gradient(147deg, #FFE53B 0%, #FF2525 74%);
border-radius: 50%;
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
animation: pulse 1.5s infinite;
}
section:after {
position: absolute;
content: "";
z-index: 2;
width: 300px;
height: 300px;
top: 50%;
left: 50%;
transform: translate(10%, 20%);
background-color: #FA8BFF;
background-image: linear-gradient(45deg, #FA8BFF 0%, #2BD2FF 52%, #2BFF88 90%);
border-radius: 50%;
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
animation: pulse 1.6s infinite;
}
@keyframes pulse {
50% {
box-shadow: 0 0 0 50px rgba(255, 255, 255, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}
}
#interface {
position: relative;
z-index: 3;
width: 400px;
background-color: rgba(255, 255, 255, .1);
padding: 45px 30px;
border-radius: 8px;
box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
border: 1px solid rgba(255, 255, 255, .2);
border-right: 1px solid rgba(255, 255, 255, .1);
border-bottom: 1px solid rgba(255, 255, 255, .1);
backdrop-filter: blur(20px);
}
#nameDisplay {
color: #fff;
display: block;
text-align: center;
line-height: 155px;
font-size: 70px;
margin: 0 0 30px 0;
overflow: hidden;
}
button {
width: 100%;
height: 50px;
border: 0;
background-image: linear-gradient(to right, #02AAB0 0%, #00CDAC 51%, #02AAB0 100%);
background-size: 200% auto;
border-radius: 8px;
color: #fff;
outline: none;
cursor: pointer;
box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
transition: ease .4s;
font-size: 30px;
justify-content: center;
}
button:hover {
background-position: right center;
color: #fff;
text-decoration: none;
}