Skip to content

Commit b5d80bb

Browse files
authored
Update style.css
1 parent 6cd08fd commit b5d80bb

File tree

1 file changed

+90
-59
lines changed

1 file changed

+90
-59
lines changed

style.css

Lines changed: 90 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,91 @@
1+
/* Basic reset */
12
body {
2-
font-family: Arial, sans-serif;
3-
line-height: 1.6;
4-
margin: 0;
5-
padding: 0;
6-
background: #f4f4f9;
7-
color: #333;
8-
}
9-
10-
header {
11-
background: #005f73;
12-
color: #fff;
13-
text-align: center;
14-
padding: 1.5em 0;
15-
}
16-
17-
nav ul {
18-
background: #0a9396;
19-
color: #fff;
20-
display: flex;
21-
justify-content: center;
22-
padding: 0;
23-
margin: 0;
24-
list-style: none;
25-
}
26-
27-
nav ul li {
28-
margin: 0 15px;
29-
}
30-
31-
nav ul li a {
32-
color: #fff;
33-
text-decoration: none;
34-
}
35-
36-
section {
37-
max-width: 800px;
38-
margin: 20px auto;
39-
padding: 20px;
40-
background: #fff;
41-
border-radius: 5px;
42-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
43-
}
44-
45-
h2 {
46-
color: #005f73;
47-
}
48-
49-
.project {
50-
margin-bottom: 20px;
51-
}
52-
53-
a {
54-
color: #0a9396;
55-
text-decoration: none;
56-
}
57-
58-
a:hover {
59-
text-decoration: underline;
60-
}
3+
font-family: Arial, sans-serif;
4+
line-height: 1.6;
5+
margin: 0;
6+
padding: 0;
7+
background: #f4f4f9;
8+
color: #333;
9+
}
10+
11+
/* Header Styles */
12+
header {
13+
background: #005f73;
14+
color: #fff;
15+
text-align: center;
16+
padding: 1.5em 0;
17+
}
18+
19+
.header-content {
20+
display: flex;
21+
justify-content: center;
22+
align-items: center;
23+
gap: 20px;
24+
}
25+
26+
.profile-photo {
27+
width: 100px;
28+
height: 100px;
29+
border-radius: 50%;
30+
object-fit: cover;
31+
}
32+
33+
.header-text {
34+
text-align: left;
35+
}
36+
37+
header h1 {
38+
margin: 0;
39+
}
40+
41+
header p {
42+
margin: 5px 0;
43+
}
44+
45+
/* Navigation styles */
46+
nav ul {
47+
background: #0a9396;
48+
color: #fff;
49+
display: flex;
50+
justify-content: center;
51+
padding: 0;
52+
margin: 0;
53+
list-style: none;
54+
}
55+
56+
nav ul li {
57+
margin: 0 15px;
58+
}
59+
60+
nav ul li a {
61+
color: #fff;
62+
text-decoration: none;
63+
}
64+
65+
/* Section styles */
66+
section {
67+
max-width: 800px;
68+
margin: 20px auto;
69+
padding: 20px;
70+
background: #fff;
71+
border-radius: 5px;
72+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
73+
}
74+
75+
h2 {
76+
color: #005f73;
77+
}
78+
79+
.project {
80+
margin-bottom: 20px;
81+
}
82+
83+
a {
84+
color: #0a9396;
85+
text-decoration: none;
86+
}
87+
88+
a:hover {
89+
text-decoration: underline;
90+
}
91+

0 commit comments

Comments
 (0)