Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions src/components/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
flex-direction: column;
margin-right: 2rem;
}

/* Updated heading styles to center the text and add spacing */
[data-theme='light'] .chh__header-content h1 {
font-weight: 700;
font-size: 56px;
Expand All @@ -48,6 +50,9 @@
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
transition: background 0.3s ease-in-out;
text-align: center; /* Center the heading text */
width: 100%; /* Ensure it takes full width for proper centering */
margin-top: 2rem; /* Push heading down for better spacing */
}

[data-theme='dark'] .chh__header-content h1 {
Expand All @@ -66,10 +71,11 @@
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
transition: background 0.3s ease-in-out;
text-align: center; /* Center the heading text */
width: 100%; /* Ensure it takes full width for proper centering */
margin-top: 2rem; /* Push heading down for better spacing */
}



.chh__header-content p {
font-family: var(--font-family);
font-weight: 400;
Expand All @@ -86,7 +92,6 @@
color: #ccc; /* Softer white for dark mode */
}


html.theme-dark .chh__header-content p {
color: #ccc;
}
Expand Down Expand Up @@ -205,7 +210,6 @@ html.theme-dark .chh__header-content p {
padding: 0.3rem;
border-radius: 10% 40%;
min-height: 400px;

}

.chh__header-image img {
Expand Down Expand Up @@ -310,4 +314,4 @@ html.theme-dark .chh__header-content p {
.navbar__title {
display: none;
}
}
}
Loading