-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
149 lines (131 loc) · 2.34 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
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
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(135deg, #4c6793, #16213e);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
}
/* Container */
.container {
text-align: center;
max-width: 400px;
padding: 20px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
animation: fadeIn 1s ease-in-out;
}
/* Profile Section */
.profile-section {
margin-bottom: 20px;
}
.profile-pic {
width: 120px;
height: 120px;
border-radius: 50%;
border: 4px solid #fff;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
animation: popIn 1.5s ease-in-out;
}
.name {
font-size: 1.8rem;
margin: 15px 0 5px;
font-weight: bold;
}
.bio {
font-size: 1rem;
opacity: 0.8;
}
/* Links Section */
.links-section {
display: flex;
flex-direction: column;
gap: 15px;
}
.link-btn {
position: relative;
display: inline-block;
font-size: 1rem;
padding: 12px 20px;
color: #fff;
text-decoration: none;
text-transform: uppercase;
background: linear-gradient(90deg, #6a11cb, #2575fc);
border: none;
border-radius: 50px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: 0.3s ease;
}
.link-btn:hover {
background: linear-gradient(90deg, #2575fc, #6a11cb);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(39, 192, 255, 0.6);
transform: translateY(-2px);
}
.link-btn:before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.2);
transition: 0.4s ease;
}
.link-btn:hover:before {
left: 0;
}
.link-btn span {
position: relative;
z-index: 1;
}
/* Footer */
.footer {
margin-top: 20px;
font-size: 0.8rem;
opacity: 0.7;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes popIn {
from {
transform: scale(0);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
/* Responsive Design */
@media (max-width: 480px) {
.name {
font-size: 1.5rem;
}
.bio {
font-size: 0.9rem;
}
.link-btn {
font-size: 0.9rem;
padding: 10px 16px;
}
}