added new button
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"liveServer.settings.port": 5502
|
||||||
|
}
|
||||||
@@ -1,38 +1,39 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topnav {
|
.topnav {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: #FFFF;
|
background-color: #ffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topnav a {
|
.topnav a {
|
||||||
float: left;
|
float: left;
|
||||||
color: black;
|
color: black;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
padding: 14px 16px;
|
padding: 14px 16px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topnav a:hover {
|
.topnav a:hover {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
background-color: aliceblue;
|
||||||
|
}
|
||||||
|
|
||||||
.topnav a.active {
|
.topnav a.active {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
padding-right: 480px;
|
padding-right: 480px;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-container{
|
.header-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<!--This is the top nav bar-->
|
<!--This is the top nav bar-->
|
||||||
<div class="topnav">
|
<div class="topnav">
|
||||||
<a class="active" href="#home">Home</a>
|
<a href="#home">Home</a>
|
||||||
<a href="#aboutus">About Us</a>
|
<a class="active" href="#aboutus">About Us</a>
|
||||||
<a href="#doctors">Doctors</a>
|
<a href="#doctors">Doctors</a>
|
||||||
<a href="#department">Department</a>
|
<a href="#department">Department</a>
|
||||||
<a href="#newsandmedia">New and Media</a>
|
<a href="#newsandmedia">New and Media</a>
|
||||||
|
|||||||
@@ -1,50 +1,47 @@
|
|||||||
|
body::-webkit-scrollbar {
|
||||||
.doctor_img {
|
display: none; /* Safari and Chrome */
|
||||||
|
}
|
||||||
|
.doctor_img {
|
||||||
width: 95vw;
|
width: 95vw;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
.title_1 {
|
||||||
|
|
||||||
.title_1{
|
|
||||||
width: 250px;
|
width: 250px;
|
||||||
margin-left: 100px;
|
margin-left: 100px;
|
||||||
margin-top: -400px;
|
margin-top: -400px;
|
||||||
font-size: 20;
|
font-size: 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
width: 500px;
|
width: 500px;
|
||||||
color: rgb(181, 181, 181);
|
color: rgb(181, 181, 181);
|
||||||
font-size: 10;
|
font-size: 10;
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
.book-appointment {
|
||||||
|
|
||||||
.book-appointment{
|
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
|
||||||
transition: 0.3s;
|
|
||||||
width: 75%;
|
width: 75%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 110%;
|
top: 105%;
|
||||||
left: 50%;
|
left: 12%;
|
||||||
transform: translate(-50%, -50%);
|
margin-bottom: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
h4 {
|
||||||
|
|
||||||
h4 {
|
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rounded-input {
|
||||||
.rounded-input {
|
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-radius: 10px; /* Adjust this value to change the radius */
|
border-radius: 10px; /* Adjust this value to change the radius */
|
||||||
padding: 5px;
|
padding: 10px;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
height: 35px; /* Set the width of each input field */
|
height: 35px; /* Set the width of each input field */
|
||||||
margin: 1%; /* Add some margin for spacing */
|
margin: 1%; /* Add some margin for spacing */
|
||||||
@@ -57,17 +54,35 @@
|
|||||||
margin-bottom: 10px; /* Add some margin for spacing */
|
margin-bottom: 10px; /* Add some margin for spacing */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Style for the "Book Appointment" button */
|
/* Style for the "Book Appointment" button */
|
||||||
.book-appointment-button {
|
.book-appointment-button {
|
||||||
background-color: #17C1A3;
|
background-color: #17c1a3;
|
||||||
border-color: white;
|
border-color: white;
|
||||||
color: white;
|
color: white;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 5px;
|
padding: 15px;
|
||||||
width: 30%;
|
width: 33%;
|
||||||
height: 50px;
|
height: 55px;
|
||||||
margin: 1%;
|
margin: 1%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Style for the "Book Appointment" button */
|
||||||
|
.small {
|
||||||
|
background-color: #17c1a3;
|
||||||
|
color: white;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 15px;
|
||||||
|
width: 15%;
|
||||||
|
height: 55px;
|
||||||
|
margin: 1%;
|
||||||
|
cursor: pointer;
|
||||||
|
outline: none;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.book-appointment-div {
|
||||||
|
margin-left: 80px;
|
||||||
}
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="stylesheet" href="top_header.css" />
|
<link rel="stylesheet" href="top_header.css" />
|
||||||
<link rel="stylesheet" href="/nav_bar/nav_bar.css"/>
|
<link rel="stylesheet" href="/nav_bar/nav_bar.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>
|
<div>
|
||||||
@@ -27,36 +27,45 @@
|
|||||||
|
|
||||||
<!--starting of the rest of the header code-->
|
<!--starting of the rest of the header code-->
|
||||||
<div class="top-header-container">
|
<div class="top-header-container">
|
||||||
|
|
||||||
<div class="img_container">
|
<div class="img_container">
|
||||||
<img class="doctor_img" src="img/doctor_img.png" alt="doc image" />
|
<img class="doctor_img" src="img/doctor_img.png" alt="doc image" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="title_1">
|
<div class="title_1">
|
||||||
<h1>Love & Care to Humanity</h1>
|
<h1>Love & Care to Humanity</h1>
|
||||||
<h3>Fastest-Growing Multi Speciality Hospital in South Kerala</h1>
|
<h3>Fastest-Growing Multi Speciality Hospital in South Kerala</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="book-appointment-div">
|
||||||
|
<button class="book-appointment-button small">
|
||||||
|
Book Appointment
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="book-appointment">
|
<div class="book-appointment">
|
||||||
<h4>Book an Appoinment</h4>
|
<h4>Book an Appoinment</h4>
|
||||||
|
|
||||||
<div class="input-container">
|
<div class="input-container">
|
||||||
<input type="text" placeholder="Full name" class="rounded-input">
|
<input type="text" placeholder="Full name" class="rounded-input" />
|
||||||
<input type="text" placeholder="Phone number" class="rounded-input">
|
<input type="text" placeholder="Phone number" class="rounded-input" />
|
||||||
<input type="text" placeholder="Select Date" class="rounded-input">
|
<input type="text" placeholder="Select Date" class="rounded-input" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="input-container">
|
<div class="input-container">
|
||||||
<input type="text" placeholder="Select Department" class="rounded-input">
|
<input
|
||||||
<input type="text" placeholder="Select Doctor" class="rounded-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>
|
<button class="book-appointment-button">Book Appointment</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user