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

changed the nav bar , footer and the divisions effect to make it mor… #881

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
151 changes: 122 additions & 29 deletions test.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
body
{
margin: 0;
padding: 0;
padding: 0px;
box-sizing: border-box;
font-family: 'Poppins',sans-serif;
background-color: black;
Expand Down Expand Up @@ -32,13 +32,8 @@ section::before

.nav_link {
list-style: none;
}
}

.nav_link li {
padding: 5px 20px;
display: inline-block;
color: white;
}

.nav_link li a {
transition: all 0.3s ease 0s;
Expand Down Expand Up @@ -171,13 +166,13 @@ button:hover {
box-shadow: 5px 5px 5px rgba(243, 243, 243, 0.6);
}

i {
.text-dark{
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);
background-color: rgba(255, 255, 255, 0.9);
padding: .5rem;
border-radius: 1.8rem;
}
Expand Down Expand Up @@ -304,7 +299,6 @@ h2{
.service-item:hover p {
color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
background: var(--bs-dark);
}
Expand Down Expand Up @@ -388,14 +382,12 @@ h2{
.icon-box-primary::before,
.icon-box-light::before {
position: absolute;
content: "";
width: 35px;
height: 35px;
left: 0;
bottom: 0;
border-radius: 35px;
transition: .5s;
z-index: -1;
}

.icon-box-primary::before {
Expand Down Expand Up @@ -472,8 +464,8 @@ h2{
color: var(--bs-white) !important;
}
footer {
background-color: #022a2d;

background-color:rgb(3, 56, 56);
width: 100%;
}

.footer-container {
Expand All @@ -487,12 +479,13 @@ footer {

.footer-section {
margin: 10px 0;
color: #8e8e8e;
}

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

.footer-section ul {
Expand All @@ -506,9 +499,10 @@ footer {

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

.footer-section ul li a:hover {
Expand Down Expand Up @@ -543,42 +537,141 @@ footer {
}

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

.bottom-footer {
background-color: #09173b;
background-color:rgb(3, 56, 56);
padding: 10px;
text-align: center;
font-size: 14px;
color: #fffefe;
font-size: 16px;
color: #878484;
}

.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;
.copyright_text{
color: #878484;
font-size:18px;
}
.fa-brands, .fa-solid{
color:white;
font-size:19px;
background-color:rgb(3, 56, 56) ;
}
.fa-brands:hover, .fa-solid :hover{
color:rgb(62, 62, 226);
}
/* Remove underline from all links in the footer sections */
.links a {
position: relative;
text-decoration: none;
color: inherit;
/* Optional: Use this if you want the link to inherit the color from its parent element */
transition: color 0.3s ease;
/* Smooth transition effect */
}

/* Add the underline effect */
.links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background-color: #55a5ea;
transition: width 0.3s ease;
transition-delay: 0.1s;
}

.links a:hover {
color: #55a5ea;
/* Change text color to black */
}

/* Hover effect */
.links a:hover::after {
width: 100%;
left: 0;
/* Reset to left 0 to create the effect from right to left */
right: auto;
}
.col-lg-3 :hover .btn-light{
background-color: rgb(10, 108, 108);
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: rgb(3, 33, 33);
padding: 10px;
}

.nav_link {
display: flex;
flex-direction: row;
height:50px;
}

.nav_link li {
padding: 5px 20px;
}
.nav_link li a {
display: flex;
align-items: center;
}
.nav_link li a i {
margin-right: 8px;
}
.hamburger {
display: none;
cursor: pointer;
}

.hamburger div {
width: 25px;
height: 3px;
background-color: white;
margin: 5px;
}

@media screen and (max-width: 900px) {
.nav_menu {
display: none;
flex-direction: column;
width:100%;
background-color: rgb(3, 33, 33,1.0);
padding-top: 260px;
z-index:10000;
height:550px;
}

.nav_menu.active {
display: flex;
}

.hamburger {
display: block;
}

.nav_link {
flex-direction: column;
}
.nav_link li {
width: 100%;
text-align: center;
}
}
54 changes: 31 additions & 23 deletions test.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
rel="stylesheet">

<!-- Icon Font Stylesheet -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">

Expand All @@ -21,7 +22,7 @@

<!-- Customized Bootstrap Stylesheet -->
<link href="bootstraptest.css" rel="stylesheet">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.5.0/font/bootstrap-icons.min.css">
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
Expand Down Expand Up @@ -53,22 +54,24 @@
<div class="img">
<img id="rd-logo" style="width: 90px; height: auto;" src="/images/rd.png">
</div>

</div>
<nav class="nav_menu">

<ul class="nav_link">
<li><a href="index.html">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="Html-Files/news.html">News</a></li>
<li><a href="Html-Files/news.html">Service</a></li>
<li><a href="login.html">Sign in/Sign-up</a></li>
<li><a href="#patient-portal">patient Portal</a></li>
<li><a href="#doctors">Doctor</a></li>
<li><a href="Html-Files/contact.html">Contact us</a></li>
<li><a href="index.html"><i class="bi bi-house-door-fill"></i>Home</a></li>
<li><a href="#about"><i class="bi bi-info-circle-fill"></i> About</a></li>
<li><a href="Html-Files/news.html"><i class="bi bi-newspaper"></i>News</a></li>
<li><a href="Html-Files/news.html"><i class="bi bi-gear"></i>Service</a></li>
<li><a href="login.html"><i class="bi bi-box-arrow-right"></i> Sign in/Sign-up</a></li>
<li><a href="#patient-portal"><i class="bi bi-person"></i> Patient Portal</a></li>
<li><a href="#doctors"><i class="bi bi-person-circle"></i> Doctor</a></li>
<li><a href="Html-Files/contact.html"><i class="bi bi-telephone"></i>Contact us</a></li>

</ul>
</nav>
<div class="hamburger" onclick="toggleMenu()">
<div></div>
<div></div>
<div></div>
</div>
</header>
<div class="top-search">
Expand All @@ -79,7 +82,7 @@
<!--<button onclick="filterTests()">Search</button>-->
</div>
<div class="img-h1" style = " display:inline">
<h1 style="font-size: 65px; color:white">
<h1 style="font-size: 65px; color:white ;z-index: -1000;">
Book Your <span style="color: #55a5ea;">Blood Test <img class="sec-img" src="images/rd.png" alt="" data-sr-id="17" style="visibility: visible; opacity: 1; transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transition: opacity 2.5s cubic-bezier(0.5, 0, 0, 1) 0.5s, transform 2.5s cubic-bezier(0.5, 0, 0, 1) 0.5s;"></span>
</h1>
<div class="container-fluid container-service py-5">
Expand Down Expand Up @@ -180,7 +183,7 @@ <h5 class="mb-3">Allergy Tests</h4>
<div class="footer-container">
<div class="footer-section">
<h3>QUICK LINKS</h3>
<ul>
<ul class="links">
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact Us</a></li>
Expand All @@ -191,7 +194,7 @@ <h3>QUICK LINKS</h3>
</div>
<div class="footer-section">
<h3>EXPLORE</h3>
<ul>
<ul class="links">
<li><a href="#">Appointment</a></li>
<li><a href="#">Patient Portal</a></li>
<li><a href="#">Login account</a></li>
Expand All @@ -201,7 +204,7 @@ <h3>EXPLORE</h3>
</div>
<div class="footer-section">
<h3>LEGAL</h3>
<ul>
<ul class="links">
<li><a href="#">Customer Agreement</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">GDPR</a></li>
Expand All @@ -210,20 +213,19 @@ <h3>LEGAL</h3>
</ul>
</div>
<div class="footer-section">
<h3>RAPIDOC Newsletter</h3>
<p style= "color:rgb(116, 119, 116);">Subscribe to our newsletter for a weekly dose</p>
<p style= "color:rgb(116, 119, 116);"> of news, updates, helpful tips, and</p>
<p style= "color:rgb(116, 119, 116);"> exclusive offers.</p>
<h3><center>RAPIDOC Newsletter</center></h3>
<p style= "color: #8e8e8e;" id="subscribe_content_footer"><center>Subscribe to our newsletter for a weekly dose of news, updates, helpful tips, and exclusive offers.</center></p>
<form action="#">
<input type="email" placeholder="Enter your email">
<button type="submit">SUBSCRIBE</button>
<input type="email" placeholder="Enter your email" id="email_footer_input">
<button type="submit" id="submit_button">SUBSCRIBE</button>
</form>
</div>
</div>
<div class="bottom-footer">
<p>ALL rights Reserved Made with ❤️ by RapiDoc</p>
<div class ="copyright_text"><small>© <span id="year">2024</span><span> RapiDoc</span>&nbsp;| All Rights
Reserved Made with ❤️ by RapiDoc</small></div><br>
<div class="social-links">
<span>Follow Us:</span>
<span><em>Follow Us:</em></span>
<a href="https://www.facebook.com/" target="_blank"><i class="fa-brands fa-facebook-f"></i></a>
<a href="https://www.twitter.com" target="_blank"><i class="fa-brands fa-twitter"></i></a>
<a href="https://www.linkedin.com" target="_blank"><i class="fa-brands fa-linkedin"></i></a>
Expand All @@ -245,5 +247,11 @@ <h3>RAPIDOC Newsletter</h3>


<script src="tests.js"></script>
<script>
function toggleMenu() {
const navMenu = document.querySelector('.nav_menu');
navMenu.classList.toggle('active');
}
</script>
</body>
</html>