Create page and styling based on specifications

master
Joshua Sigona 5 years ago
parent ff1d4290b1
commit 2a5708f336
  1. 39
      index.html
  2. 80
      style.css

@ -6,6 +6,43 @@
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div id="siteHeader">
<headertitle>
Puerto Rico Airlines
</headertitle>
<navbar>
<navbutton>Home</navbutton>
<navbutton>Flights</navbutton>
<navbutton>Support</navbutton>
<navbutton>Login</navbutton>
</navbar>
</div>
<hr>
<div id="siteContent">
<center>
<infobox>
<infoTitle>Flights</infoTitle>
<infoBody>Come check out our sweet flights!<br>
Direct flights available daily!</infoBody>
<infoButton>Let's Go</infoButton>
</infobox>
<infobox>
<infoTitle>Group Trips</infoTitle>
<infoBody>We offer great group rates!
For families with 4 members to huge gatherings with 50+!</infoBody>
<infoButton>Group Rates</infoButton>
</infobox>
<infobox>
<infoTitle>Discount Flights</infoTitle>
<infoBody>Discount flights available for individuals! Single chair filer tickers for low rates!</infoBody>
<infoButton>Jump in</infoButton>
</infobox>
<infobox style="width:90%;">
<infoTitle>About Us</infoTitle>
<infoBody>Lorem ipsum dolor sit amet, consectetur adipiscing 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.</infoBody>
<infoButton>Learn More</infoButton>
</infobox>
</center>
</div>
</body>
</html>

@ -3,3 +3,83 @@ Header background - #FFDBAA
button - #805215
Header Text - #553100
Main background - #D4A76A*/
body{
background-color: #D4A76A;
margin: 0px;
color: white;
font-family: Verdana, Arial, sans-serif, serif;
display: inline-block;
}
hr{
height: 1px;
margin: 0px;
}
headertitle{
color: #553100;
display: inline-block;
padding: 20px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 32px;
}
navbar{
/*margin:auto;*/
margin-right: 24px;
margin-top: 26px 24px 0px 0px;
float: right;
}
navbutton{
background-color: #805215;
border: 1px black solid;
padding: 12px;
margin: 14px;
display: inline-block;
font-weight: bold;
text-transform: uppercase;
}
infobox{
background-color: white;
width: 240px;
min-width: 240px;
padding:24px;
margin: 24px 32px 12px 32px;
border: 1px black solid;
display: inline-block;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
}
infoTitle{
color:black;
margin: auto;
/*border: 1px black solid;*/
display: block;
font-weight: bold;
font-size: 24px;
padding-bottom: 16px;
}
infoBody{
margin: auto;
display:inline;
/*border: 1px black solid;*/
display: block;
text-align: left;
padding-bottom: 16px;
color:black;
}
infoButton{
background-color: #805215;
border: 1px black solid;
padding: 12px;
font-weight: bold;
text-transform: uppercase;
display:block;
}
#siteHeader{
background-color: #FFDBAA;
margin: auto;
position: relative;
width: 100%;
display: inline-block;
}
#siteContent{
}
Loading…
Cancel
Save