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

🐞[Bug]: Fixes Unify Footer and Navbar in the Blood Test Page #889

Merged
merged 4 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ <h4 class="title"><a href=""> Normal checkup</a></h4>
<div class="col-md-6 col-lg-3 d-flex align-items-stretch mb-5 mb-lg-0">
<div class="icon-box" data-aos="fade-up" data-aos-delay="400">
<div class="icon2"><i class="fas fa-dna"></i></div>
<h4 class="title"><a href="./Html-Files/bloodtest.html">Blood Test</a></h4>
<h4 class="title"><a href="test.html">Blood Test</a></h4>
<p class="description"> Get your tests done to look for signs of disease or agents that cause disease.</p>
</div>
</div>
Expand Down
182 changes: 1 addition & 181 deletions test.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,7 @@ body
/* min-height: 10vh; */
}

section
{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #095a55;

}
section::before
{
content: '';
position: absolute;
top: 10;
left: 0;
width: 50%;
height: 100%;

}

.nav_link {
list-style: none;
Expand Down Expand Up @@ -83,22 +65,6 @@ h1 {



.section {
position:absolute;
margin-bottom: 0px;
width: 50%;
margin-left: 25%;
background-color: #095a55;
border-radius: 2rem;
box-shadow: 2px 2px 2px #55a5ea;
opacity: 0; /* Start invisible */
animation: fade-grow 1.5s ease-in-out forwards; /* Apply animation */
}

@keyframes fade-grow {
from { opacity: 0; transform: scale(0.9); } /* Start invisible and slightly shrunk */
to { opacity: 1; transform: scale(1); } /* Fade in and grow to normal size */
}


.search {
Expand Down Expand Up @@ -150,43 +116,20 @@ button {
button:hover {
background-color: #095a55;
}
/* input {
height: 1rem;
width: 20rem;
padding: 1rem;
font-size: 1.2rem;
border-radius: 2rem;
border: 0;
backdrop-filter: blur(5px) saturate(200%);
-webkit-backdrop-filter: blur(5px) saturate(200%);
background-color: rgba(255, 255, 255, 0.2);
color: rgb(0, 0, 0);
border: 2px solid rgba(255, 255, 255, 0.125);
} */



.search:hover {
width: 100%;
box-shadow: 5px 5px 5px rgba(243, 243, 243, 0.6);
}

i {
font-size: 1.5rem;
color: #55a5ea;
transition: all linear .5s;
backdrop-filter: blur(5px) saturate(200%);
-webkit-backdrop-filter: blur(5px) saturate(200%);
background-color: rgba(255, 255, 255, 0.2);
padding: .5rem;
border-radius: 1.8rem;
}

i:hover {
transform: scale(1.1);
color: #022a2d;
box-shadow: 5px 5px 5px rgba(243, 243, 243, 0.6);
}
h2{
color: #55a5ea;
text-align: center;
Expand All @@ -213,19 +156,7 @@ h2{
gap: 20px; /* Increased gap for larger icons */
}

.icon-set {
height: 40px; /* Increased icon size */
width: 40px; /* Increased icon size */
}

.icon-set:hover {
transform: scale(1.1); /* Added scale effect */
filter: grayscale(0%) hue-rotate(0deg) saturate(150%); /* Adjusted hover effect */
}

.icon-set:active {
filter: hue-rotate(50%);
}
.social-list {
display: flex;
/* flex-direction: column; */
Expand Down Expand Up @@ -470,115 +401,4 @@ h2{

.service-item:hover .icon-box-primary i {
color: var(--bs-white) !important;
}
footer {
background-color: #022a2d;

}

.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.footer-section {
margin: 10px 0;
}

.footer-section h3 {
font-size: 18px;
margin-bottom: 10px;
color: #666;
}

.footer-section ul {
list-style: none;
padding: 0;
}

.footer-section ul li {
margin-bottom: 8px;
}

.footer-section ul li a {
text-decoration: none;
color: #666;
font-size: 14px;
transition: color 0.3s;
}

.footer-section ul li a:hover {
color: #007bff;
}

.footer-section form {
display: flex;
gap: 1rem;

}

.footer-section input[type="email"] {
padding: 10px;
font-size: 14px;
border: 1px solid #55a5ea;
border-radius: 4px;
margin-bottom: 10px;
background-color: transparent;

}

.footer-section button {
padding: 10px;
font-size: 14px;
color: #878484;
background-color: #ffffff;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
height: 40px;
}

.footer-section button:hover {
background-color: #55a5ea;
}

.bottom-footer {
background-color: #09173b;
padding: 10px;
text-align: center;
font-size: 14px;
color: #fffefe;
}

.bottom-footer .social-links {
margin-top: 10px;
display: flex;
justify-content: center;
align-items: center;
}

.bottom-footer .social-links span {
margin-right: 10px;
}

.bottom-footer .social-links a {
text-decoration: none;
color: #666;
margin: 0 10px;
font-size: 18px;
transition: color 0.3s;
}

.bottom-footer .social-links a:hover {
color: #007bff;
}






}
Loading