-
Notifications
You must be signed in to change notification settings - Fork 157
/
profile.css
181 lines (157 loc) · 3.83 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
/* Your existing CSS styles */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:[email protected]&display=swap");
body {
font-family: "Space Grotesk", sans-serif;
background-image: url("https://png.pngtree.com/thumb_back/fh260/background/20210728/pngtree-purple-rubiks-cube-holographic-floating-geometric-abstract-background-image_752595.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
color: #333;
z-index: 10;
background-color: rgba(194, 190, 190, 0.4);
width: 100%;
height: 60px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
position: fixed;
top: 0;
left: 0;
}
/* Button style for About Us link */
.header a {
display: inline-block;
padding: 10px 20px;
background: linear-gradient(rgb(231, 231, 246), rgb(180, 180, 249));
color: rgb(7, 6, 6);
text-decoration: none;
border: 2px solid #000000;
border-radius: 10px;
font-weight: bold;
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
box-shadow: 3px 3px 0px 0px #b3aaf7;
}
.header a:hover {
background-color: #2b74bc;
transform: translateY(-2px);
box-shadow: 5px 5px 0px 0px #090915;
}
.header a:active {
transform: translateY(1px);
box-shadow: 2px 2px 0px 0px #e99f4c;
}
.profile-menu {
position: relative;
display: inline-block;
z-index: 11;
}
.profile-btn {
background-color: transparent;
border: none;
color: rgb(10, 10, 10);
padding: 10px;
border-radius: 50%;
cursor: pointer;
outline: none;
width: 4rem;
height: 4rem;
margin-right: 80px;
}
.profile-pic {
width: 100%;
height: 100%;
border-radius: 50%;
}
.dropdown-content {
display: none;
position: absolute;
right: 0;
background-color: transparent;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 12;
border-radius: 5px;
margin-right: 30px;
}
.dropdown-content a {
color: black;
padding: 10px 30px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #2f302d;
background-color: #f1f1f1;
}
.profile-menu:hover .dropdown-content {
display: block;
}
/* Styles for the edit profile form */
#edit-profile-form {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
opacity: 0.6;
background-image: url("https://t4.ftcdn.net/jpg/03/30/27/41/360_F_330274196_C6mjMdPaTggBr4Jg45faWAwViexh7DoA.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
border-radius: 5px;
max-width: 400px;
margin-top: 180px; /* Adjust margin-top to create space below the header */
border: 2px solid #0a0b0b;
border-radius: 20px;
box-shadow: 10px 8px 0px 2px #0a0808;
backdrop-filter: blur(10px);
}
#edit-profile-form label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #000000;
}
#edit-profile-form input[type="text"],
#edit-profile-form input[type="file"] {
width: 85%;
padding: 8px;
background: #ebedf0;
margin-bottom: 10px;
border: 1.5px solid #000000;
transform: translateY(4px);
box-shadow: 1px 2px 0px 0px #080604;
color: #000000;
border-radius: 3px;
}
#edit-profile-form button {
padding: 10px 20px;
background-color: #007bff;
color: rgb(75, 231, 8);
border: none;
border-radius: 3px;
cursor: pointer;
padding: 10px 20px;
background-color: #2d8ef6;
border: 1.5px solid #000000;
color: rgb(13, 13, 13);
border-radius: 10px;
cursor: pointer;
margin-top: 15px;
font-weight: 800;
box-shadow: 3px 3px 0px 0px #0f0b07;
}
#edit-profile-form button:hover {
background-color: rgba(4, 4, 4, 0.8);
color: white;
border: 1.5px solid #000000;
box-shadow: 6px 6px 0px 0px #0f0b05;
}