forked from Dev-tanay/Rubik-Cube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.css
94 lines (80 loc) · 1.6 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
/* Your existing CSS styles */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
color: #333;
z-index: 10;
}
.profile-menu {
position: relative;
display: inline-block;
z-index: 11;
}
.profile-btn {
background-color: transparent;
border: none;
color: white;
padding: 10px;
border-radius: 50%;
cursor: pointer;
outline: none;
width: 3rem;
height: 3rem;
}
.profile-pic {
width: 100%;
height: 100%;
border-radius: 50%;
}
.dropdown-content {
display: none;
position: absolute;
right: 0;
background-color: #f9f9f9;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 12;
border-radius: 5px;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #f1f1f1;
}
.profile-menu:hover .dropdown-content {
display: block;
}
/* Styles for the edit profile form */
#edit-profile-form {
display: auto;
padding: 20px;
background-color: #d2c7e5;
border-radius: 5px;
max-width: 400px;
margin: 20px auto;
}
#edit-profile-form label {
display: block;
margin-bottom: 5px;
}
#edit-profile-form input[type="text"],
#edit-profile-form input[type="file"] {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 3px;
}
#edit-profile-form button {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 3px;
cursor: pointer;
}