Skip to content

Commit

Permalink
Merge pull request #602 from invincyx/register-section-ui-improvement
Browse files Browse the repository at this point in the history
Improved register section UI on both light and dark mode #544
  • Loading branch information
anuragverma108 authored Oct 19, 2024
2 parents d1be8bf + fdad6df commit 9d43400
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 10 deletions.
24 changes: 19 additions & 5 deletions assets/css/darkmode.css
Original file line number Diff line number Diff line change
Expand Up @@ -639,17 +639,31 @@ body.nav-active {
text-align: center;
}

.cta-container {
display: flex;
justify-content: space-around;
align-items: center;
}

.cta .headline-md {
color: var(--black);
color: var(--white);
max-width: 22ch;
}

.cta .btn {
margin-inline: auto;
color: var(--white);
background-color: var(--light-black);
background-color: transparent;
border: 2px solid var(--white); /* Keppei color for button borders */
padding: 16px 28px; /* Bigger padding for a larger button */
border-radius: 10px;
font-size: 1.4rem; /* Larger font size for buttons */
color: var(--white); /* Keppei color for the text */
text-decoration: none;
font-weight: bold; /* Bolder button text */
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.cta .btn:is(:hover, :focus-within) {
box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--light-coral);
background-color: var(--light-coral); /* Keppei background on hover */
transform: scale(1.1); /* Slightly bigger button on hover */
}

.parent {
Expand Down
24 changes: 20 additions & 4 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -916,11 +916,20 @@ button:hover {
background-color: #008080;
padding: 48px 24px;
text-align: center;

}

.cta-container {
display: flex;
justify-content: space-around;
align-items: center;
}

.cta .headline-md {
color: var(--white);
}


#contact-form textarea::placeholder {
font-family: var(--ff-gilroy);
}
Expand Down Expand Up @@ -976,13 +985,20 @@ button:hover {
}
}
.cta .btn {
margin-inline: auto;
color: var(--white);
background-color: var(--light-coral);
background-color: transparent;
border: 2px solid var(--white); /* Keppei color for button borders */
padding: 16px 28px; /* Bigger padding for a larger button */
border-radius: 10px;
font-size: 1.4rem; /* Larger font size for buttons */
color: var(--white); /* Keppei color for the text */
text-decoration: none;
font-weight: bold; /* Bolder button text */
transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cta .btn:is(:hover, :focus-within) {
box-shadow: 0 0 0 2px var(--white), 0 0 0 5px var(--light-coral);
background-color: var(--light-coral); /* Keppei background on hover */
transform: scale(1.1); /* Slightly bigger button on hover */
}

.parent {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ <h3 class="title-lg card-title">
-->

<section class="cta" aria-labelledby="cta-label">
<div class="container">
<div class="container cta-container">

<h2 class="headline-md section-title" id="cta-label" data-aos="zoom-in">
Education Is About Creating Leaders For Tomorrow
Expand Down

0 comments on commit 9d43400

Please sign in to comment.