Created
April 19, 2016 19:54
-
-
Save mcruz590/ba314fc5a0527200e6154efde60dc20b to your computer and use it in GitHub Desktop.
Red Eye Photography
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://s3.amazonaws.com/codecademy-content/projects/bootstrap.min.css"> | |
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'> | |
<link href='style.css' rel='stylesheet' type='text/css'> | |
</head> | |
<body> | |
<div class="header"> | |
<h1> red eye photography </h1> | |
</div> | |
<div class="nav"> | |
<div class="container"> | |
<ul> | |
<li> Home </li> | |
<li> About </li> | |
<li> Gallery </li> | |
<li> Contact </li> | |
</ul> | |
</div> | |
</div> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-4"> | |
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p1.jpg" class="img-responsive" alt="responsive image"> | |
</div> | |
<div class="col-md-4"> | |
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p2.jpg" class="img-responsive" alt="responsive image"> | |
</div> | |
<div class="col-md-4"> | |
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p3.jpg" class="img-responsive" alt="responsive image"> | |
</div> | |
</div> | |
</div> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-4"> | |
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p4.jpg"class="img-responsive" alt="responsive image"> | |
</div> | |
<div class="col-md-4"> | |
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p5.jpg" class="img-responsive" alt="responsive image"> | |
</div> | |
<div class="col-md-4"> | |
<img src="https://s3.amazonaws.com/codecademy-content/projects/red-eye-photography/p6.jpg" class="img-responsive" alt="responsive image"> | |
</div> | |
</div> | |
</div> | |
<div class="footer"> | |
<div class="container"> | |
<h6> photography by mathew wiebe </h6> | |
</div> | |
</div> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body { | |
background-color: #cccdce; | |
font-family: 'Montserrat', sans-serif; | |
margin: 0; | |
padding: 0; | |
} | |
.header { | |
background-color: #fff; | |
height: 140px; | |
text-align: center; | |
} | |
.header h1 { | |
color: #31363d; | |
font-size: 32px; | |
margin: 0 -30px; | |
text-transform: uppercase; | |
padding: 50px; | |
} | |
.nav ul { | |
margin: 0 0 30px; | |
text-align: center; | |
list-style-type: none; | |
display: inline; | |
} | |
.nav li { | |
-webkit-transition:color 0.25s; | |
transition:color 0.25s; | |
display: inline; | |
margin: 40px; | |
text-align: center; | |
color: white; | |
font-size: 18px; | |
} | |
.nav .container { | |
text-align: center; | |
margin: 24px; | |
} | |
.nav li:hover { | |
color: #31363d; | |
cursor: pointer; | |
-webkit-transition: color 1s; | |
transition: color 1s; | |
} | |
.row { | |
margin-top: 30px; | |
} | |
@media (max-width: 500px) { | |
.row { | |
margin-top: 0; | |
} | |
.img-responsive { | |
margin-bottom: 20px; | |
display: block; | |
} | |
.footer { | |
color: #31363d; | |
font-size: 10px; | |
height: 800px; | |
line-height: 70px; | |
padding-right: 40px; | |
text-align: right; | |
text-transform: uppercase; | |
margin-bottom: 100px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment