-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprofile.css
More file actions
140 lines (123 loc) · 2.31 KB
/
profile.css
File metadata and controls
140 lines (123 loc) · 2.31 KB
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
body {
background-color: var(--green);
}
body.profile-body {
background-color: var(--green);
}
.profile-container {
margin-left: 250px;
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
}
.profile-card {
background-color: var(--offwhite1);
border-radius: 8px;
padding: 2rem;
width: 100%;
max-width: 500px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-left: 4px solid var(--green);
}
.profile-card h2 {
margin-top: 0;
color: var(--green);
font-size: 1.8rem;
margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid #eee;
}
.profile-details {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 2rem;
}
.profile-detail-row {
display: flex;
margin-bottom: 0.5rem;
}
.profile-label {
font-weight: 600;
color: #555;
width: 120px;
flex-shrink: 0;
}
.profile-value {
flex: 1;
}
.role-badge {
display: inline-block;
padding: 0.3rem 0.7rem;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 600;
background-color: #d4edda;
color: #155724;
text-transform: capitalize;
}
.edit-btn {
text-decoration: none;
background-color: var(--green);
color: white;
border: none;
padding: 0.85em 2em;
border-radius: 50px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s;
width: 100%;
}
.edit-btn:hover {
background-color: #015c3f;
}
.logout-btn {
text-decoration: none;
background-color: var(--green);
color: white;
border: none;
padding: 0.85em 2em;
border-radius: 50px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s;
margin-top: 1.5rem;
width: 100%;
}
.logout-btn:hover {
background-color: #015c3f;
}
.page-title {
border-radius: 20px;
padding: 1rem;
background: var(--offwhite1);
font-size: 2.5em;
margin-bottom: 2rem;
color: var(--green);
align-self: center;
}
@media screen and (max-width: 768px) {
.profile-container {
margin-left: 0;
margin-right: 0;
padding: 1rem;
width: 100%;
box-sizing: border-box;
}
.profile-card {
margin: 0;
padding: 1.5rem;
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.page-title {
font-size: 2em;
margin-left: 0;
margin-bottom: 1.5rem;
text-align: center;
}
}