This commit is contained in:
Troy Amelotte 2017-08-29 11:43:36 -07:00
commit ac3a0afda8
2 changed files with 112 additions and 0 deletions

41
index.html Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Airlines!!</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<header>
<h1>PUERTO RICO AIRLINES</h1>
<div id="menu">
<button>HOME</button>
<button>FLIGHTS</button>
<button>SUPPORT</button>
<button>LOGIN</button>
</div>
</header>
<div id="main">
<div class="card">
<h3>Flights</h3>
<p>Come check out or sweet flights! Direct flights available daily!</p>
<button>Lets go</button>
</div>
<div class="card">
<h3>Group Trips</h3>
<p>We offer great group rates! For families with 4 members to huge gatherings with 50+!</p>
<button>Group Rates</button>
</div>
<div class="card">
<h3>Discount Flights</h3>
<p>Discount flights available for individuals! Single chair filler tickets for low rates!</p>
<button>Jump in</button>
</div>
<div class="card large-card">
<h3>About us</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<button>Learn More</button>
</div>
</div>
</body>
</html>

71
style.css Normal file
View File

@ -0,0 +1,71 @@
*{
font-family: sans-serif;
margin: 0;
}
header{
width:100%;
padding:3%;
background-color: #FFDBAA;
letter-spacing: 2px;
border-bottom: 1px solid black;
}
#menu{
display: inline-block;
margin-left:15%;
}
#menu button{
display: inline-block;
height:25px;
background: #805215;
color:white;
border-style: none;
margin-left:30px;
height:50px;
width:100px;
font-weight: 800;
font-size: 18px;
}
h1{
display: inline-block;
color:#553100;
}
#main{
background: #D4A76A;
height:100vh;
}
.card{
display:inline-block;
background:white;
width:20%;
margin-left: 8%;
margin-top:30px;
height: 150px;
vertical-align: top;
padding:15px;
-webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
}
.card h3{
text-align: center;
}
.card p{
margin-top:10px;
height:45px;
}
.card button{
margin-top:4vh;
vertical-align: top;
width:100%;
height:50px;
background: #805215;
color:white;
border-style: none;
font-weight: 800;
font-size: 18px;
border: 1px solid black;
}
.large-card{
width:90%;
margin-left:5%;
}