-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathstyle.css
More file actions
257 lines (220 loc) · 5.12 KB
/
style.css
File metadata and controls
257 lines (220 loc) · 5.12 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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
* {
margin: 0;
padding: 0;
}
body {
background: #0A122A;
}
#container {
width: 500px;
margin: auto;
}
/*Neon*/
p {
text-align: center;
font-size: 7em;
margin: 20px 0 20px 0;
}
a {
text-decoration: none;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
}
p:nth-child(1) a {
color: #FFDD1B;
/*font-family: 'Roboto Slab', serif;*/
font-family: 'Comfortaa', cursive;
}
p:nth-child(1) a:hover {
-webkit-animation: neon1 1.5s ease-in-out infinite alternate;
-moz-animation: neon1 1.5s ease-in-out infinite alternate;
animation: neon1 1.5s ease-in-out infinite alternate;
}
p a:hover {
color: #ffffff;
}
@-webkit-keyframes neon1 {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #FFDD1B, 0 0 70px #FFDD1B, 0 0 80px #FFDD1B, 0 0 100px #FFDD1B, 0 0 150px #FFDD1B;
}
to {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #FFDD1B, 0 0 35px #FFDD1B, 0 0 40px #FFDD1B, 0 0 50px #FFDD1B, 0 0 75px #FFDD1B;
}
}
@-moz-keyframes neon1 {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #FFDD1B, 0 0 70px #FFDD1B, 0 0 80px #FFDD1B, 0 0 100px #FFDD1B, 0 0 150px #FFDD1B;
}
to {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #FFDD1B, 0 0 35px #FFDD1B, 0 0 40px #FFDD1B, 0 0 50px #FFDD1B, 0 0 75px #FFDD1B;
}
}
@keyframes neon1 {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #FFDD1B, 0 0 70px #FFDD1B, 0 0 80px #FFDD1B, 0 0 100px #FFDD1B, 0 0 150px #FFDD1B;
}
to {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #FFDD1B, 0 0 35px #FFDD1B, 0 0 40px #FFDD1B, 0 0 50px #FFDD1B, 0 0 75px #FFDD1B;
}
}
/* Let's style the wrapper in such away that,
it should always be at the center of the browser */
.wrapper {
position: absolute;
bottom: 25%;
left: 50%;
transform: translate(-50%, -50%);
width: 440px;
}
.container{
height: 80px;
margin-bottom: 20px;
}
/* Style the Un-order list by setting its list-style to none */
.wrapper ul {
list-style: none;
}
/* Style the list items inside the UL list, by setting its width, height and line-height
and float them to left and set its border and border-radius.
*/
.wrapper ul li {
width: 75px;
height: 75px;
line-height: 75px;
margin: 0 10px;
text-align: center;
cursor: pointer;
border-radius: 50%;
border: 5px solid #D8E2DC;
float: left;
transition: all 0.5s ease;
}
/* Style the icons by setting its color and margin-top value to 20px
to align it properly */
.wrapper ul li .fa {
color: #D8E2DC;
margin-top: 20px;
transition: all 0.5s ease;
}
/* Now target the specific li classes for styling and use box-shadow effect to border and text-shadow effect
to icons for glowing effect and use transition property for smooth transition effect. */
/*facebook*/
.wrapper ul li:hover.facebook {
border: 5px solid #3b5998;
box-shadow: 0 0 15px #3b5998;
transition: all 0.5s ease;
}
.wrapper ul li:hover .fa-facebook {
color: #3b5998;
text-shadow: 0 0 15px #3b5998;
transition: all 0.5s ease;
}
/*sariq*/
.wrapper ul li:hover.sariq {
border: 5px solid #FFDD1B;
box-shadow: 0 0 15px #FFDD1B;
transition: all 0.5s ease;
}
.wrapper ul li:hover .fa-twitter {
color: #00aced;
text-shadow: 0 0 15px #00aced;
transition: all 0.5s ease;
}
/* instagram */
.wrapper ul li:hover.instagram {
border: 5px solid #bc2a8d;
box-shadow: 0 0 15px #bc2a8d;
transition: all 0.5s ease;
}
.wrapper ul li:hover .fa-instagram {
color: #bc2a8d;
text-shadow: 0 0 15px #bc2a8d;
transition: all 0.5s ease;
}
/* telegram */
.wrapper ul li:hover.telegram {
border: 5px solid #0088cc;
box-shadow: 0 0 15px #0088cc;
transition: all 0.5s ease;
}
.wrapper ul li:hover .fa-telegram {
color: #0088cc;
text-shadow: 0 0 15px #0088cc;
transition: all 0.5s ease;
}
/* youtube */
.wrapper ul li:hover.yt {
border: 5px solid #FF0000;
box-shadow: 0 0 15px #FF0000;
transition: all 0.5s ease;
}
.wrapper ul li:hover .fa-youtube {
color: #FF0000;
text-shadow: 0 0 15px #FF0000;
transition: all 0.5s ease;
}
/* python */
.wrapper ul li:hover.python {
border: 5px solid #FFD43B;
box-shadow: 0 0 15px #FFD43B;
transition: all 0.5s ease;
}
.wrapper ul li:hover .devicon-python-plain {
color: #FFD43B;
text-shadow: 0 0 15px #FFD43B;
transition: all 0.5s ease;
}
/* media queries */
@media screen and (max-width: 640px){
.wrapper {
width: 350px;
}
.wrapper ul li{
margin-top: 10px;
}
.wrapper ul li.google{
margin-left: 60px;
}
}
@media screen and (max-width: 340px){
.wrapper {
width: 150px;
}
.wrapper ul li{
margin:15px;
}
.wrapper ul li.google{
margin-left: 15px;
}
}
@media (max-width: 650px) {
#container {
width: 100%;
}
p {
font-size: 3.5em;
}
}
@media (pointer:coarse){
.wrapper {
bottom: 40%;
}
}
/* youtube link */
.youtube{
position: fixed;
bottom: 10px;
right: 10px;
width: 160px;
text-align: center;
padding: 15px 10px;
background: #bb0000;
border-radius: 5px;
}
.youtube a{
text-decoration: none;
color: #fff;
text-transform: capitalize;
letter-spacing: 1px;
}