Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixed Subscribe Button Alignment and Styling in Subscribe Section #1673

Merged
merged 1 commit into from
Dec 29, 2024
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
44 changes: 42 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1131,16 +1131,56 @@ header {
justify-content: center;
}

/*.subscribe__form form {
width: 100%;
max-width: 400px;
display: flex;
background-color: var(--extra-light);
box-shadow: 3px 3px 30px blue;
border-radius: 5rem;
overflow: hidden;
border: 0.001px solid gray;
}*/

.subscribe__form form {
width: 100%;
max-width: 400px;
display: flex;
align-items: center;
background-color: var(--extra-light);
box-shadow: 3px 3px 30px slateblue;
border-radius: 5rem;
overflow: hidden;
border: 0.001px solid gray;
}
.subscribe__form input[type="email"] {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work . thanks for your valuable contribution

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Sir

flex: 1;
padding: 0.8rem 1rem;
font-size: 15px;
border: none;
outline: none;
border-radius: 5rem 0 0 5rem;
}

.subscribe__form button {
padding: 0.8rem 1.5rem;
font-size: medium;
font-weight: 530;
background-color: var(--primary-color);
color: #fff;
border: none;
outline: none;
cursor: pointer;
box-shadow: 0px 4px 8px slateblue;
transition: all 0.3s ease;
border-radius: 0 5rem 5rem 0;
}

.subscribe__form button:hover {
background-color: var(--secondary-color);
box-shadow: 0px 6px 12px slateblue;
}

body.dark-theme .subscribe__form form {
width: 100%;
max-width: 400px;
Expand Down Expand Up @@ -2754,8 +2794,8 @@ input[type="email"] {
border-radius: 3px;
cursor: pointer;
font-size: 14px;
/* margin-bottom: 3px; */
}
/* margin-bottom: 3px;
} */

button:hover {
background-color: #6200b3;
Expand Down
Loading