Skip to content

Commit c4e2ce8

Browse files
authored
Update style.css
1 parent c697bed commit c4e2ce8

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

style.css

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ body {
66
background-repeat: no-repeat; /* Do not repeat image */
77
background-position: center; /* Center the image */
88
min-height: 100vh; /* Fill the screen */
9+
display: flex; /* Use flexbox for layout */
10+
flex-direction: column; /* Stack children vertically */
911
margin: 0;
1012
padding: 0;
1113
color: #ffffff; /* White text */
@@ -104,8 +106,8 @@ h2 {
104106
}
105107

106108
.skills i {
107-
color: #07ffe2;
108-
margin-right: 10px;
109+
color: #ffffff; /* White color for icons */
110+
margin-right: 8px; /* Space between icon and text */
109111
}
110112

111113
/* Contact */
@@ -129,3 +131,17 @@ h2 {
129131
color: #ffffff;
130132
text-decoration: underline;
131133
}
134+
135+
/* Make the main content take up all available space */
136+
.bio, .content, section {
137+
flex: 1; /* This pushes the footer down */
138+
}
139+
140+
/* Footer styles */
141+
.footer {
142+
text-align: center; /* Center the text */
143+
padding: 15px 0; /* Space above and below */
144+
color: #ffffff; /* White text */
145+
background: rgba(42, 26, 94, 0.9); /* Match navbar color */
146+
font-size: 1em; /* Normal font size */
147+
}

0 commit comments

Comments
 (0)