first commit
This commit is contained in:
BIN
top_header/img/doctor_img.png
Normal file
BIN
top_header/img/doctor_img.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
113
top_header/top_header.css
Normal file
113
top_header/top_header.css
Normal file
@@ -0,0 +1,113 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.topnav {
|
||||
margin-top: 30px;
|
||||
overflow: hidden;
|
||||
background-color: #FFFF;
|
||||
}
|
||||
|
||||
.topnav a {
|
||||
float: left;
|
||||
color: black;
|
||||
text-align: end;
|
||||
padding: 14px 16px;
|
||||
text-decoration: none;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.topnav a:hover {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.topnav a.active {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 200px;
|
||||
height: 50px;
|
||||
padding-right: 480px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.header-container{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
||||
.doctor_img {
|
||||
width: 95vw;
|
||||
margin-left: 30px;
|
||||
margin-right: 30px;
|
||||
margin-top: 50px;
|
||||
|
||||
}
|
||||
|
||||
.title_1{
|
||||
width: 250px;
|
||||
margin-left: 100px;
|
||||
margin-top: -400px;
|
||||
font-size: 20;
|
||||
}
|
||||
|
||||
h3 {
|
||||
width: 500px;
|
||||
color: rgb(181, 181, 181);
|
||||
font-size: 10;
|
||||
font-weight: lighter;
|
||||
|
||||
}
|
||||
|
||||
.book-appointment{
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
|
||||
transition: 0.3s;
|
||||
width: 75%;
|
||||
position: absolute;
|
||||
top: 110%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-left: 20px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
.rounded-input {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 10px; /* Adjust this value to change the radius */
|
||||
padding: 5px;
|
||||
width: 30%;
|
||||
height: 35px; /* Set the width of each input field */
|
||||
margin: 1%; /* Add some margin for spacing */
|
||||
}
|
||||
|
||||
/* Style for the container div */
|
||||
.input-container {
|
||||
display: flex; /* Make the children flex items */
|
||||
justify-content: space-between; /* Space the children equally */
|
||||
margin-bottom: 10px; /* Add some margin for spacing */
|
||||
}
|
||||
|
||||
|
||||
/* Style for the "Book Appointment" button */
|
||||
.book-appointment-button {
|
||||
background-color: #17C1A3;
|
||||
border-color: white;
|
||||
color: white;
|
||||
border-radius: 10px;
|
||||
padding: 5px;
|
||||
width: 30%;
|
||||
height: 50px;
|
||||
margin: 1%;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
61
top_header/top_header.html
Normal file
61
top_header/top_header.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="top_header.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<div class="header-container">
|
||||
<div>
|
||||
<img class="logo" src="/nav_bar/img/logo.png" alt="logo image" />
|
||||
</div>
|
||||
<!--This is the top nav bar-->
|
||||
<div class="topnav">
|
||||
<a class="active" href="#home">Home</a>
|
||||
<a href="#aboutus">About Us</a>
|
||||
<a href="#doctors">Doctors</a>
|
||||
<a href="#department">Department</a>
|
||||
<a href="#newsandmedia">New and Media</a>
|
||||
<a href="#career">Career</a>
|
||||
<a href="#contactus">Contact Us</a>
|
||||
</div>
|
||||
|
||||
<!--Ending of top nav bar-->
|
||||
</div>
|
||||
|
||||
<!--starting of the rest of the header code-->
|
||||
<div class="top-header-container">
|
||||
|
||||
<div class="img_container">
|
||||
<img class="doctor_img" src="img/doctor_img.png" alt="doc image" />
|
||||
</div>
|
||||
|
||||
<div class="title_1">
|
||||
<h1>Love & Care to Humanity</h1>
|
||||
<h3>Fastest-Growing Multi Speciality Hospital in South Kerala</h1>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="book-appointment">
|
||||
<h4>Book an Appoinment</h4>
|
||||
|
||||
<div class="input-container">
|
||||
<input type="text" placeholder="Full name" class="rounded-input">
|
||||
<input type="text" placeholder="Phone number" class="rounded-input">
|
||||
<input type="text" placeholder="Select Date" class="rounded-input">
|
||||
</div>
|
||||
|
||||
<div class="input-container">
|
||||
<input type="text" placeholder="Select Department" class="rounded-input">
|
||||
<input type="text" placeholder="Select Doctor" class="rounded-input">
|
||||
<button class="book-appointment-button">Book Appointment</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user