Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
iiDk-the-actual authored Nov 14, 2024
1 parent c46ef34 commit 57a6ccf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,22 @@ body {

.header-container {
display: flex; /* Use flexbox for horizontal alignment */
justify-content: center; /* Horizontally align the items in the center */
align-items: center; /* Vertically align the image and h1 in the center */
gap: 10px; /* Optional: space between the image and h1 */
height: 100%; /* Ensure the container has a height to center items vertically */
height: auto; /* Let the container size itself based on its content */
}

/* Image styling */
.header-container img {
height: 50px; /* Set image height */
width: auto; /* Maintain aspect ratio of the image */
width: auto; /* Maintain aspect ratio */
}

/* Header styling */
.header-container h1 {
margin: 0; /* Remove the default margin from the h1 */
padding: 0; /* Remove any padding */
line-height: 1; /* Ensure the line-height is tight */
}

/* 1px separator styling */
Expand Down

0 comments on commit 57a6ccf

Please sign in to comment.