forked from anuragverma108/SwapReads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.css
266 lines (223 loc) · 3.87 KB
/
profile.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
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
258
259
260
261
262
263
264
265
266
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Arial", sans-serif;
}
body {
background-color: rgba(255, 171, 157, 0.5);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.profile-container {
background-color: rgba(254, 247, 247, 0.8);
width: 60%;
height: 95%;
max-width: 1000px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
border-radius: 15px;
overflow: hidden;
display: flex;
flex-wrap: wrap;
}
.profile-sidebar {
background-color: #acabab;
color: #fff;
padding: 20px;
width: 100%;
max-width: 250px;
text-align: center;
border-radius: 10px;
}
.profile-picture img {
width: 120px;
height: 120px;
border-radius: 50%;
border: 4px solid #fabebe;
}
.profile-details {
margin-top: 20px;
}
.profile-name {
font-size: 22px;
font-weight: bold;
}
.profile-email,
.profile-phone {
font-size: 14px;
margin: 5px 0;
}
.edit-profile-btn {
background-color: #fff;
color: rgba(9, 8, 8, 0.9);
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
margin-top: 10px;
transition: background-color 0.3s, color 0.3s;
}
.edit-profile-btn:hover {
background-color: rgba(17, 15, 15, 0.9);
color: #fff;
}
.edit-profile-btn i {
margin-right: 5px;
}
.icons {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
gap: 15px;
padding-top: 10px;
}
.icons .icon i {
font-size: 20px;
transition: all 0.9s ease;
color: rgb(55, 55, 54);
margin-top: 280px;
}
.icons .icon:hover i {
transform: scale(1.2);
}
.icons .icon:hover .fab.fa-facebook {
color: #3b5998;
}
.icons .icon:hover .fab.fa-twitter {
color: #090e11;
}
.icons .icon:hover .fab.fa-instagram {
background: radial-gradient(
circle at 30% 107%,
#fdf497 0%,
#fdf497 5%,
#fd5949 45%,
#d6249f 60%,
#285aeb 90%
);
background-clip: text;
border-radius: 20%;
transform: scale(1.5);
color: transparent;
}
.icons .icon:hover .fab.fa-youtube {
color: #c31a1e;
}
.icons .icon:hover .fab.fa-github {
color: #333;
}
.icons .icon:hover .fab.fa-linkedin {
color: #0077b5;
}
.icons.icon:hover .fab.fa-discord {
color: #7289da;
}
.profile-main {
padding: 20px;
flex-grow: 1;
}
.profile-section {
margin-bottom: 20px;
}
.profile-section h2 {
font-size: 18px;
margin-bottom: 10px;
color: rgba(5, 4, 4, 0.9);
}
.profile-section ul {
list-style-type: none;
}
.profile-section ul li {
font-size: 14px;
padding: 10px;
border-bottom: 1px solid #ccc;
}
.order-status {
font-weight: bold;
color: rgb(3, 161, 3);
}
.wishlist li,
.address-list li,
.payment-methods li {
font-size: 14px;
padding: 10px;
border-bottom: 1px solid #ccc;
}
/* Responsive Design */
@media (max-width: 768px) {
.profile-container {
flex-direction: column;
width: 90%;
}
.profile-sidebar {
width: 100%;
max-width: none;
}
.profile-main {
width: 100%;
}
}
@media (max-width: 576px) {
.profile-sidebar {
padding: 10px;
}
.profile-picture img {
width: 100px;
height: 100px;
border-width: 3px;
}
.profile-name {
font-size: 20px;
}
.profile-email,
.profile-phone {
font-size: 12px;
}
.edit-profile-btn {
padding: 8px 16px;
}
.icons .icon i {
font-size: 18px;
margin-top: 20px;
}
.profile-section h2 {
font-size: 16px;
}
.profile-section ul li {
font-size: 12px;
}
}
@media (max-width: 400px) {
.profile-sidebar {
padding: 5px;
}
.profile-picture img {
width: 80px;
height: 80px;
border-width: 2px;
}
.profile-name {
font-size: 18px;
}
.profile-email,
.profile-phone {
font-size: 10px;
}
.edit-profile-btn {
padding: 6px 12px;
font-size: 12px;
}
.icons .icon i {
font-size: 16px;
margin-top: 10px;
}
.profile-section h2 {
font-size: 14px;
}
.profile-section ul li {
font-size: 10px;
}
}