Compare commits

...

6 Commits

  1. 93
      index.html
  2. 7
      readme.md
  3. 137
      style.css

@ -6,36 +6,67 @@
<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>
<div id="siteHeader">
<headertitle>
Puerto Rico Airlines
</headertitle>
<navbar>
<a href="#Home"><navbutton>Home</navbutton></a>
<a href="#Flights"><navbutton>Flights</navbutton></a>
<a href="#Support"><navbutton>Support</navbutton></a>
<a href="#Login"><navbutton>Login</navbutton></a>
</navbar>
</div>
<hr>
<div id="siteContent">
<center>
<infobox>
<infoTitle>
Flights
</infoTitle>
<infoBody>
Come check out our sweet flights!<br>
Direct flights available daily!
</infoBody>
<a href="#LetsGo"><infoButton>
Let's Go
</infoButton></a>
</infobox>
<infobox>
<infoTitle>
Group Trips
</infoTitle>
<infoBody>
We offer great group rates!
For families with 4 members to huge gatherings with 50+!
</infoBody>
<a href="#GroupRates"><infoButton>
Group Rates
</infoButton></a>
</infobox>
<infobox>
<infoTitle>
Discount Flights
</infoTitle>
<infoBody>
Discount flights available for individuals! Single chair filer tickers for low rates!
</infoBody>
<a href="#JumpIn"><infoButton>
Jump In
</infoButton></a>
</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>
<a href="#LearnMore"><infoButton>
Learn More
</infoButton></a>
</infobox>
</center>
</div>
</body>
</html>

@ -0,0 +1,7 @@
## Popcorn CSS challenge
Recreate the site below
![alt text](https://i.gyazo.com/d515c0431fd1ab46dbd3104623c3f34b.png)
The colors required are in the css file.
Do this via "popcorn programming" in groups.

@ -1,71 +1,88 @@
*{
font-family: sans-serif;
margin: 0;
/*COLORS:
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;
}
header{
width:100%;
padding:3%;
background-color: #FFDBAA;
letter-spacing: 2px;
border-bottom: 1px solid black;
a{
color:white;
text-decoration:none;
}
#menu{
display: inline-block;
margin-left:15%;
hr{
height: 1px;
margin: 0px;
}
#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;
headertitle{
color: #553100;
display: inline-block;
padding: 20px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 32px;
}
h1{
display: inline-block;
color:#553100;
navbar{
/*margin:auto;*/
margin-right: 24px;
margin-top: 26px 24px 0px 0px;
float: right;
}
#main{
background: #D4A76A;
height:100vh;
navbutton{
background-color: #805215;
border: 1px black solid;
padding: 12px;
margin: 14px;
display: inline-block;
font-weight: bold;
text-transform: uppercase;
}
.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);
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);
}
.card h3{
text-align: center;
infoTitle{
color:black;
margin: auto;
/*border: 1px black solid;*/
display: block;
font-weight: bold;
font-size: 24px;
padding-bottom: 16px;
}
.card p{
margin-top:10px;
height:45px;
infoBody{
margin: auto;
display:inline;
/*border: 1px black solid;*/
display: block;
text-align: left;
padding-bottom: 16px;
color:black;
}
.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;
infoButton{
background-color: #805215;
border: 1px black solid;
padding: 12px;
font-weight: bold;
display:block;
}
.large-card{
width:90%;
margin-left:5%;
#siteHeader{
background-color: #FFDBAA;
margin: auto;
position: relative;
width: 100%;
display: inline-block;
}
#siteContent{
}
Loading…
Cancel
Save