-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtprofile.css
More file actions
164 lines (141 loc) · 2.56 KB
/
Copy pathtprofile.css
File metadata and controls
164 lines (141 loc) · 2.56 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/* Basic Styling */
body {
font-family: "Times New Roman", sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 0;
color: #333;
}
/* Header */
header {
background-color: #181c32;
color: white;
padding: 20px;
text-align: center;
}
header h1 {
margin: 0;
}
/* Main Content */
.container {
display: flex;
justify-content: center;
padding: 30px;
}
.profile {
background-color: white;
border-radius: 10px;
width: 80%;
max-width: 900px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
display: flex;
flex-direction: row;
padding: 20px;
}
.profile-image {
flex: 1;
padding: 10px;
text-align: center;
}
.profile-image img {
width: 200px;
height: 200px;
border-radius: 50%;
object-fit: cover;
}
.profile-info {
flex: 2;
padding: 20px;
}
.profile-info h2 {
color: #2c3e50;
}
.profile-info p {
font-size: 16px;
line-height: 1.6;
color: #555;
}
.profile-info h3 {
margin-top: 30px;
color: #2c3e50;
}
/* Contact Info & Courses */
.contact,
.courses {
margin-top: 20px;
}
.contact p,
.courses ul {
font-size: 16px;
line-height: 1.6;
}
.courses li {
margin-bottom: 10px;
}
.footer {
background-color: #2c3e50;
color: white;
text-align: center;
padding: 10px;
position: fixed;
width: 100%;
bottom: 0;
}
/* Responsive Design */
@media (max-width: 768px) {
.profile {
flex-direction: column;
align-items: center;
}
.profile-image img {
width: 150px;
height:150px;
}
}
/* Sidebar styles */
.sidebar {
position: fixed;
top: 0;
left: 0;
width: 250px;
height: 100%;
background-color: #333;
color: #fff;
transform: translateX(-100%);
transition: transform 0.3s ease-in-out;
padding: 20px;
z-index: 1000;
}
.sidebar h2 {
color: #fff;
font-size: 1.5rem;
margin-bottom: 20px;
}
.sidebar ul {
list-style-type: none;
padding-left: 0;
}
.sidebar ul li {
margin: 10px 0;
}
.sidebar ul li a {
color: #fff;
text-decoration: none;
font-size: 1rem;
padding: 8px;
display: block;
}
.sidebar ul li a:hover {
background-color: #555;
}
/* Content styling */
.container {
padding-left: 300px; /* Adding space for sidebar */
}
.footer {
text-align: center;
padding: 10px;
background-color: #333;
color: #fff;
}