Compare commits
No commits in common. "master" and "solution" have entirely different histories.
89
index.html
89
index.html
@ -6,67 +6,36 @@
|
||||
<link rel="stylesheet" href="./style.css">
|
||||
</head>
|
||||
<body>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
|
@ -1,7 +0,0 @@
|
||||
## Popcorn CSS challenge
|
||||
Recreate the site below
|
||||

|
||||
|
||||
The colors required are in the css file.
|
||||
|
||||
Do this via "popcorn programming" in groups.
|
149
style.css
149
style.css
@ -1,88 +1,71 @@
|
||||
/*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;
|
||||
*{
|
||||
font-family: sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
a{
|
||||
color:white;
|
||||
text-decoration:none;
|
||||
}
|
||||
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;
|
||||
display:block;
|
||||
}
|
||||
#siteHeader{
|
||||
header{
|
||||
width:100%;
|
||||
padding:3%;
|
||||
background-color: #FFDBAA;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
letter-spacing: 2px;
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
#menu{
|
||||
display: inline-block;
|
||||
margin-left:15%;
|
||||
}
|
||||
#siteContent{
|
||||
#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%;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user