-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathprofile.css
154 lines (139 loc) · 2.92 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
/* General Styling */
body {
font-family: 'Arial', sans-serif;
background-color: #faebd7;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
/* Profile Container */
.profile-container {
margin-top: 45rem;
margin-bottom: 1rem;
background: white;
padding: 30px;
border-radius: 12px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
width: 45%;
text-align: center;
}
/* Header */
h2 {
color: rgb(255, 179, 71);
margin-bottom: 15px;
}
/* Profile Picture */
.profile-picture {
display: flex;
flex-direction: column;
/* justify-content: center; */
align-items: center;
position: relative;
margin-bottom: 15px;
}
.profile-picture img {
width: 120px;
height: 120px;
border-radius: 50%;
border: px solid rgb(255, 179, 71);
object-fit: cover;
}
@media (max-width: 768px) {
.nav-links {
display: none;
}
.hamburger {
display: flex;
}
.nav-links.active {
display: flex;
flex-direction: column;
position: absolute;
top: 70px;
right: 10%;
background-color: rgb(43, 43, 40);
width: 50%;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.nav-links.active li {
margin-right: 0;
text-align: center;
}
.nav-links.active a {
padding: 10px 20px;
border-radius: 0;
}
}
/* Hidden File Input */
#file-input {
display: none;
}
.image-icon1 {
width: 68px;
height: 68px;
z-index: 2;
position: relative;
}
/* Upload Button */
.upload-btn {
display: inline-block;
width: 38%;
background-color: rgb(255, 179, 71);
color: white;
padding: 6px 12px;
margin-top: 8px;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
.upload-btn:hover {
background-color: rgb(230, 140, 50);
}
/* Form Input Fields */
.input-group {
text-align: left;
margin-bottom: 15px;
}
.input-group label {
display: block;
/* font-weight: bold; */
font-size: 14px;
color: #333;
margin-bottom: 10px;
}
.input-group input {
width: 100%;
padding: 10px;
border: 1px solid rgb(15, 15, 14);
border-radius: 5px;
font-size: 14px;
transition: 0.3s;
}
.input-group input:focus {
border-color: rgb(230, 140, 50);
outline: none;
}
/* Save Button */
.save-btn {
width: 100%;
padding: 12px;
background-color: rgb(255, 179, 71);
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
}
#cursor {
position: fixed; /* Ensures it moves with the viewport */
pointer-events: none; /* Prevents interference with clickable elements */
transform: translate(-50%, -50%); /* Centers the cursor on the mouse pointer */
}
.save-btn:hover {
background-color: rgb(230, 140, 50);
}