-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #552 from josum06/sumit
Added new plantrip page
- Loading branch information
Showing
5 changed files
with
225 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link rel="stylesheet" href="newplantripstyle.css"> | ||
</head> | ||
<body> | ||
<div class="navbar"> | ||
<div class="nav"> | ||
<div class="plantrip"> | ||
<img src="Tourguide (2).jpg" alt=""> | ||
<h1>Tour Planner</h1> | ||
</div> | ||
<input type="checkbox" id="nav-toggle" class="nav-toggle"> | ||
<label for="nav-toggle" class="burger-menu">☰</label> | ||
<ul class="nav-links"> | ||
<li><a href="index.html">Home</a></li> | ||
<li><a href="story.html">About</a></li> | ||
<li><a href="payment.html">Payment</a></li> | ||
<li class="nav-button"><a href="newLogin.html">Login</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
<div class="background"> | ||
<img src="ronin-06roiCfSCiU-unsplash (1).jpg" alt="#"> | ||
</div> | ||
|
||
<div class="form-container"> | ||
<form> | ||
<label for="destination">Destination:</label> | ||
<input type="text" id="destination" name="destination" required> | ||
|
||
<label for="startDate">Start Date:</label> | ||
<input type="date" id="startDate" name="startDate" required> | ||
|
||
<label for="endDate">End Date:</label> | ||
<input type="date" id="endDate" name="endDate" required> | ||
|
||
<label for="budget">Budget:</label> | ||
<input type="number" id="budget" name="budget" required> | ||
|
||
<label for="accommodation">Accommodation:</label> | ||
<select id="accommodation" name="accommodation"> | ||
<option value="hotel">Hotel</option> | ||
<option value="apartment">Apartment</option> | ||
<option value="hostel">Hostel</option> | ||
</select> | ||
|
||
<button type="submit">Plan My Trip</button> | ||
</form> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
text-decoration: none; | ||
box-sizing: border-box; | ||
} | ||
|
||
html, body { | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.navbar { | ||
font-family: Calibri, "Segoe UI", Candara, "Bitstream Vera Sans", sans-serif; | ||
background-color: #6bafea; | ||
color: black; | ||
padding: 1rem; | ||
height: 15%; | ||
} | ||
|
||
.nav { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
position: relative; | ||
} | ||
.plantrip{ | ||
display: flex; | ||
justify-content: space-between; | ||
gap: 2px; | ||
} | ||
.plantrip h1 { | ||
font-size: 3rem; | ||
color: white; | ||
} | ||
.plantrip img{ | ||
width: 100px; | ||
height: 70px; | ||
margin-bottom: 15px; | ||
} | ||
.nav-links { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
li { | ||
list-style: none; | ||
display: inline-block; | ||
} | ||
|
||
li a { | ||
font-size: 1.75rem; | ||
margin-right: 50px; | ||
font-weight: bold; | ||
color: black; | ||
} | ||
.nav-button a { | ||
padding: 10px; | ||
border-radius: 10px; | ||
background-color: black; | ||
color: white; | ||
} | ||
|
||
.burger-menu { | ||
display: none; | ||
font-size: 2rem; | ||
background: none; | ||
border: none; | ||
cursor: pointer; | ||
} | ||
|
||
.nav-toggle { | ||
display: none; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.nav-links { | ||
display: none; | ||
flex-direction: column; | ||
width: 100%; | ||
text-align: center; | ||
background-color: cyan; | ||
position: absolute; | ||
top: 70px; | ||
left: 0; | ||
z-index: 10; | ||
} | ||
|
||
.nav-links li { | ||
margin: 15px 0; | ||
} | ||
|
||
.nav-toggle:checked + .burger-menu + .nav-links { | ||
display: flex; | ||
} | ||
|
||
.burger-menu { | ||
display: block; | ||
} | ||
} | ||
|
||
.background { | ||
width: 100%; | ||
height: 100vh; /* Full viewport height */ | ||
overflow: hidden; | ||
position: relative; /* Ensure the navbar is above the background */ | ||
} | ||
|
||
.background img { | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; /* Ensures the image covers the entire container */ | ||
display: block; | ||
} | ||
|
||
.form-container { | ||
position: absolute; | ||
top: 40%; /* Adjust this value as needed */ | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
z-index: 1; /* Ensure the form is above the image */ | ||
width: 80%; | ||
height: 60%; | ||
max-width: 600px; | ||
/* background-color: #add8e6e3; */ | ||
padding: 20px; | ||
border-radius: 8px; | ||
/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */ | ||
} | ||
|
||
|
||
form { | ||
max-width: 600px; | ||
margin: 20px auto; | ||
background-color: #6fb3ed; | ||
padding: 20px; | ||
border-radius: 25px; | ||
box-shadow: 10px 10px 8px 10px #3887cb; | ||
} | ||
|
||
label { | ||
display: block; | ||
margin-bottom: 8px; | ||
} | ||
|
||
input, | ||
select { | ||
width: calc(100% - 20px); /* Adjusted width to accommodate padding */ | ||
padding: 10px; | ||
margin-bottom: 16px; | ||
border: 1px solid #ccc; | ||
border-radius: 4px; | ||
box-sizing: border-box; | ||
} | ||
|
||
button { | ||
background-color: #4CAF50; | ||
color: #fff; | ||
padding: 10px 20px; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
} | ||
|
||
button:hover { | ||
background-color: #45a049; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.