-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
113 lines (97 loc) · 1.85 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
background-color: #000000;
color: #ffffff;
user-select: none;
overflow: hidden;
}
.container {
text-align: center;
}
h1 {
font-size: 3em;
margin-bottom: 0em;
font-family: Arial, Helvetica, sans-serif;
}
.skills-icon {
transition: transform 0.5s ease;
width: 390px; /*Adjust their size according to the number of skills you add.*/
height: auto;
margin-top: 5px;
pointer-events: none;
}
.avatar {
width: 225px;
height: 225px;
margin-bottom: 1px;
cursor: pointer;
transition: transform 0.5s ease;
}
.avatar:hover {
transform: scale(1.1);
}
.cursor {
width: 30px;
height: 30px;
border-radius: 50%;
position: absolute;
pointer-events: none;
background-color: rgba(255, 255, 255, 0.2); /*You can adjust the color of the mouse track.*/
filter: blur(3px);
z-index: 1000;
transform: translate(-50%, -50%);
}
.particles {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: -1;
}
.particle {
position: absolute;
width: 20px;
height: 20px;
background-color: #747474;
border-radius: 50%;
opacity: 1;
filter: blur(3px);
animation: fall linear infinite;
}
@keyframes fall {
0% {
transform: translateY(-100vh);
opacity: 1;
}
100% {
transform: translateY(100vh);
opacity: 0;
}
}
/* YourName Color */
.highlight {
color: #6e6e6e;
}
/* Responsive Design */
@media (max-width: 768px) {
h1 {
font-size: 2em;
}
p {
font-size: 1.08em;
}
.skills-icon {
width: 260px;
}
.avatar {
width: 150px;
height: 150px;
}
}