Skip to content

Commit

Permalink
Made it responsive and added other hovering effects and transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhainaFathimaM authored Aug 2, 2024
1 parent 8d042e4 commit 2d46b86
Showing 1 changed file with 58 additions and 6 deletions.
64 changes: 58 additions & 6 deletions Projects/Pet_Website/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -529,10 +529,6 @@ body {
}






/*-----------------------------------*\
#SERVICE
\*-----------------------------------*/
Expand Down Expand Up @@ -638,6 +634,13 @@ body {
margin-block-end: 25px;
}

.footer-link {
padding-block: 4px;
transition: var(--transition-1);
}

.footer-link:is(:hover, :focus) { color: var(--amber); }

.footer-text .link {
display: inline-block;
color: var(--portland-orange);
Expand All @@ -658,6 +661,54 @@ body {
color: var(--portland-orange);
}

/* Contact Form Styling */
#contact {
padding: 50px 0;
background-color: #F7BB4A;
margin-bottom: 20rem;
}

.contact-form-wrapper {
background: #fff;
padding: 40px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
}

.form-group {
margin-bottom: 20px;
}

.form-control {
width: 100%;
padding: 15px;
margin-top: 5px;
border-radius: 10px;
border: 1px solid #ccc;
font-size: 1em;
transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
border-color: #5cb85c;
box-shadow: 0 0 5px rgba(92, 184, 92, 0.5);
}

.btn-primary {
background-color: #5cb85c;
border: none;
color: white;
padding: 15px 25px;
font-size: 1.2em;
border-radius: 10px;
cursor: pointer;
transition: background-color 0.3s;
}

.btn-primary:hover {
background-color: #4cae4c;
}

.social-list {
display: flex;
gap: 10px;
Expand Down Expand Up @@ -1081,7 +1132,6 @@ body {




/**
* responsive for large than 1200px screen
*/
Expand Down Expand Up @@ -1134,6 +1184,7 @@ body {
.footer { padding-block-start: 40px; }

}

/* General Styles */
body {
font-family: Arial, sans-serif;
Expand Down Expand Up @@ -1198,9 +1249,10 @@ body {
background-color: #5cb85c;
border: none;
color: white;
padding: 15px;
padding: 15px 25px;
font-size: 1.2em;
border-radius: 10px;
cursor: pointer;
transition: background-color 0.3s;
}

Expand Down

0 comments on commit 2d46b86

Please sign in to comment.