initail with home page from seat x-change

This commit is contained in:
Arjun Patel
2018-01-20 13:21:19 -08:00
parent 982037efc1
commit 4b0ba4e17b
5 changed files with 160 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
<!Doctype html>
<html>
<head>
<link rel="shortcut icon" href="pics/Airplane.ico" />
<title>Seat-X</title>
<script type="text/javascript" src="jquery-3.1.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="main.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet">
</head>
<body>
<div class="input">
<p class="title">Reflex
<font color="yellow" class="title">Accomplishing goals in a better way</font>
</p>
<p class="inputs">Welcome to Relfex Fitness!
<br>
<a href="planePage.html"><button id="begin">Begin Process</button></a>
<br>
</p>
</div>
<script type="text/javascript" src="indexJs.js"></script>
</body>
</html>
+23
View File
@@ -0,0 +1,23 @@
$(document).ready(function() {
$('body').css('display','none');
$(document).ready(function() {
$('body').fadeIn(1000);
$('a').on('click',function(event){
var thetarget = this.getAttribute('target')
if (thetarget != "_blank"){
var thehref = this.getAttribute('href')
event.preventDefault();
$('body').fadeOut(function(){
//alert(thehref)
window.location = thehref
});
}
});
});
setTimeout(function(){
$('body').fadeIn();
},1000)
});
+100
View File
@@ -0,0 +1,100 @@
html {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
position: relative;
}
title {
color: blue;
}
body {
margin: 0;
padding: 0;
position: absolute;
height: 100%;
width: 100%;
background-image: url(pics/indexbg.jpg);
background-repeat: no-repeat;
background-size: cover;
}
div.input {
margin: 0;
position: absolute;
padding: 0;
width: 100%;
height: 500px;
}
p.title {
margin: 0;
padding: 0;
height: 100px;
width: 70%;
text-align: center;
position: absolute;
top: 12%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
font-family: 'Open Sans Condensed', sans-serif;
font-size: 150px;
color: papayawhip;
}
font.title {
margin: 0;
padding: 0;
height: 100px;
width: 70%;
text-align: center;
position: absolute;
top: 212%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
font-family: 'Courier New';
font-size: 20px;
color: yellow;
}
p.inputs {
color: dimgray;
margin: 0;
padding: 5px;
border-radius: 8px;
background-color: papayawhip;
height: 110px;
width: 100%;
text-align: center;
position: fixed;
top: 70%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
font-family: 'Open Sans Condensed', sans-serif;
box-shadow: 3px 3px 2px #888888;
vertical-align: middle;
line-height: 50px;
font-size: 40px;
}
button {
margin: 0;
font-family: 'Open Sans Condensed', sans-serif;
font-size: 20px;
background-color: darkblue;
color: white;
height: 35px;
width: 150px;
padding: 0 5px 0 5px;
border: none;
box-shadow: 3px 3px 2px #888888;
}
button:hover {
font-size: 19px;
-moz-box-shadow: inset 0 0 10px #000000;
-webkit-box-shadow: inset 0 0 10px #000000;
box-shadow: inset 0 0 10px #000000;
cursor: pointer;
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 774 KiB

View File