Skip to content

Commit

Permalink
Merge pull request #55 from code4policy/lydia-working
Browse files Browse the repository at this point in the history
fixed header styles
  • Loading branch information
lydden authored Jan 15, 2025
2 parents d03c2ef + 1791057 commit db1e3ad
Showing 1 changed file with 53 additions and 9 deletions.
62 changes: 53 additions & 9 deletions public/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,27 +163,71 @@ a.hover-bold:hover {
}

/* Responsive Design */
@media (max-width: 600px) {
@media (max-width: 600px)
.role-selection {
flex-direction: column;
}

.role-btn {
width: 100%;
}
.section-content {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin: 20px;
}
.left-content {
flex: 1;
display: flex;
flex-direction: column;
margin-right: 20px;
}
.centered-header {
text-align: left; /* Align header to the left to match text-content */
margin-bottom: 75px;
font-family: 'Montserrat', sans-serif;
color: #091f2f;
text-transform: uppercase;
font-weight: 700;
font-size: 60px;
}
.text-content {
font-size: 22px;
color: #091f2f;
font-family: Lora, serif;
font-style: italic;

}
.right-content {
flex: 1;
display: flex;
flex-direction: column;
align-items: center; /* Center images horizontally */
}
/* hero part */
.right-content img {
max-width: 100%;
.header-BOS-image {
width: 550px; /* Adjust the size as needed */
height: auto;
display: block;
margin: 0 auto;
margin-bottom: 20px;
}

.image-links {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: flex-start;
}
.image-link {
text-align: center;
flex: 1;
display: flex;
flex-direction: column;
gap: 20px;
align-items: center;
}

.image-link img {
width: 150px;
height: 150px;
object-fit: cover;
border: 1px solid #ccc;
border-radius: 8px;
cursor: pointer;
}

0 comments on commit db1e3ad

Please sign in to comment.