-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
171 lines (152 loc) · 2.9 KB
/
style.css
File metadata and controls
171 lines (152 loc) · 2.9 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
body
{
color: white;
font-family: Bebas;
font-size: 24px;
background-image: linear-gradient(-225deg, #9EFBD3 0%, #57E9F2 48%, #45D4FB 100%);
}
span
{
color: #E94B3CFF;
}
h1
{
margin-bottom: 8%;
}
.wrapper
{
position: absolute;
top: 50%;
left: 50%;
transform:translate(-50%, -50%);
padding: 15px;
width: 40%;
background-image: linear-gradient(to top, #537895 0%, #09203f 100%);
border-radius: 30px;
box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}
input
{
outline: none;
border: none;
padding: 10px;
}
#inflation_rate-output
{
font-size: larger;
}
/* Neon Text Effect */
#div-title
{
color: #F5F9FF;
font-size: 40px;
padding-left: 0;
padding-top: 10px;
padding-bottom: 10px;
line-height: 0;
font-family: 'Pacifico';
animation: neon 60s infinite;
}
@keyframes neon
{
0%, 39%, 41%, 59%, 61%, 100%
{
text-shadow:
white 0 0 12px,
#ff3aad 0 0 24px,
#ff3aad 0 0 36px;
}
40%, 60%
{
text-shadow: none;
}
} /* Neon Text Effect - Finished */
/* Neon Button Effect */
.neon_button
{
position: relative;
display: inline-block;
color: #F9F871;
font-family: Ubuntu;
font-size: 24px;
font-weight: bolder;
text-transform: uppercase;
letter-spacing: 4px;
text-decoration: none;
cursor: pointer;
margin-top: 8%;
margin-bottom: 6%;
padding: 15px 30px;
overflow: hidden;
transition: 0.2s;
}
.neon_button:hover
{
color: #2F3300;
font-weight: bolder;
background: #F9F871;
box-shadow: 0 0 10px #F9F871,
0 0 40px #F9F871,
0 0 80px #F9F871;
transition-delay: 1.25s;
}
.neon_button span
{
position: absolute;
display: block;
}
.neon_button span:nth-child(1)
{
top: 0;
left: -100%;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, #F9F871);
}
.neon_button:hover span:nth-child(1)
{
left: 100%;
transition: 1s;
}
.neon_button span:nth-child(3)
{
bottom: 0;
right: -100%;
width: 100%;
height: 2px;
background: linear-gradient(270deg, transparent, #F9F871);
}
.neon_button:hover span:nth-child(3)
{
right: 100%;
transition: 1s;
transition-delay: 0.50s;
}
.neon_button span:nth-child(2)
{
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg, transparent, #F9F871);
}
.neon_button:hover span:nth-child(2)
{
top: 100%;
transition: 1s;
transition-delay: 0.25s;
}
.neon_button span:nth-child(4)
{
bottom: -100%;
left: 0;
width: 2px;
height: 100%;
background: linear-gradient(360deg, transparent, #F9F871);
}
.neon_button:hover span:nth-child(4)
{
bottom: 100%;
transition: 1s;
transition-delay: 0.75s;
} /* Neon Button Effect - Finished */