Compare commits
No commits in common. 'master' and 'solution' have entirely different histories.
@ -1,7 +0,0 @@ |
||||
## 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,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; |
||||
header{ |
||||
width:100%; |
||||
padding:3%; |
||||
background-color: #FFDBAA; |
||||
letter-spacing: 2px; |
||||
border-bottom: 1px solid black; |
||||
} |
||||
hr{ |
||||
height: 1px; |
||||
margin: 0px; |
||||
#menu{ |
||||
display: inline-block; |
||||
margin-left:15%; |
||||
} |
||||
headertitle{ |
||||
color: #553100; |
||||
display: inline-block; |
||||
padding: 20px; |
||||
font-weight: bold; |
||||
text-transform: uppercase; |
||||
letter-spacing: 2px; |
||||
font-size: 32px; |
||||
#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; |
||||
} |
||||
navbar{ |
||||
/*margin:auto;*/ |
||||
margin-right: 24px; |
||||
margin-top: 26px 24px 0px 0px; |
||||
float: right; |
||||
h1{ |
||||
display: inline-block; |
||||
color:#553100; |
||||
} |
||||
navbutton{ |
||||
background-color: #805215; |
||||
border: 1px black solid; |
||||
padding: 12px; |
||||
margin: 14px; |
||||
display: inline-block; |
||||
font-weight: bold; |
||||
text-transform: uppercase; |
||||
#main{ |
||||
background: #D4A76A; |
||||
height:100vh; |
||||
} |
||||
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{ |
||||
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); |
||||
} |
||||
infoTitle{ |
||||
color:black; |
||||
margin: auto; |
||||
/*border: 1px black solid;*/ |
||||
display: block; |
||||
font-weight: bold; |
||||
font-size: 24px; |
||||
padding-bottom: 16px; |
||||
.card h3{ |
||||
text-align: center; |
||||
} |
||||
infoBody{ |
||||
margin: auto; |
||||
display:inline; |
||||
/*border: 1px black solid;*/ |
||||
display: block; |
||||
text-align: left; |
||||
padding-bottom: 16px; |
||||
color:black; |
||||
.card p{ |
||||
margin-top:10px; |
||||
height:45px; |
||||
} |
||||
infoButton{ |
||||
background-color: #805215; |
||||
border: 1px black solid; |
||||
padding: 12px; |
||||
font-weight: bold; |
||||
display:block; |
||||
.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; |
||||
} |
||||
#siteHeader{ |
||||
background-color: #FFDBAA; |
||||
margin: auto; |
||||
position: relative; |
||||
width: 100%; |
||||
display: inline-block; |
||||
.large-card{ |
||||
width:90%; |
||||
margin-left:5%; |
||||
} |
||||
#siteContent{ |
||||
} |
Loading…
Reference in new issue