Skip to content

Commit

Permalink
9. HTML & CSS: Collection View
Browse files Browse the repository at this point in the history
  • Loading branch information
Colleen committed Sep 28, 2015
1 parent 92037ee commit 998f2a8
Show file tree
Hide file tree
Showing 28 changed files with 156 additions and 2 deletions.
Binary file added assets/images/album_covers/01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/album_covers/21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/blurred_backgrounds/blur_bg_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/blurred_backgrounds/blur_bg_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/blurred_backgrounds/blur_bg_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions collection.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html>
<head>
<title>Bloc Jams</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans:400,800,600,700,300">
<link rel="stylesheet" type="text/css" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" type="text/css" href="styles/normalize.css">
<link rel="stylesheet" type="text/css" href="styles/main.css">
<link rel="stylesheet" type="text/css" href="styles/collection.css">
</head>
<body class="collection">
<nav class="navbar">
<a href="index.html" class="logo">
<img src="assets/images/bloc_jams_logo.png" alt="bloc jams logo">
</a>
<div class="links-container">
<a href="collection.html" class="navbar-link">Collection</a>
</div>
</nav>

<section class="album-covers container clearfix">
<div class="collection-album-container column fourth">
<img src="assets/images/album_covers/01.png"/>
<div class="collection-album-info caption">
<p>
<a class="album-name" href="#">The Colors</a>
<br/>
<a href="#">Pablo Picasso</a>
<br/>
X songs
<br/>
</p>
</div>
</div>
<div class="collection-album-container column fourth">
<img src="assets/images/album_covers/01.png"/>
<div class="collection-album-info caption">
<p>
<a class="album-name" href="#">The Colors</a>
<br/>
<a href="#">Pablo Picasso</a>
<br/>
X songs
<br/>
</p>
</div>
</div>
<div class="collection-album-container column fourth">
<img src="assets/images/album_covers/01.png"/>
<div class="collection-album-info caption">
<p>
<a class="album-name" href="#">The Colors</a>
<br/>
<a href="#">Pablo Picasso</a>
<br/>
X songs
<br/>
</p>
</div>
</div>
<div class="collection-album-container column fourth">
<img src="assets/images/album_covers/01.png"/>
<div class="collection-album-info caption">
<p>
<a class="album-name" href="#">The Colors</a>
<br/>
<a href="#">Pablo Picasso</a>
<br/>
X songs
<br/>
</p>
</div>
</div>
</section>
</body>
</html>
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
</head>
<body class="landing">
<nav class="navbar">
<img src="assets/images/bloc_jams_logo.png" alt="bloc jams logo" class="logo">
<a href="index.html" class="logo">
<img src="assets/images/bloc_jams_logo.png" alt="bloc jams logo">
</a>
<div class="links-container">
<a href="collection.html" class="navbar-link">Collection</a>
</div>
</nav>

<section class="hero-content">
Expand Down
39 changes: 39 additions & 0 deletions styles/collection.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
body.collection {
background-image: url(../assets/images/blurred_backgrounds/blur_bg_2.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center center;
background-size: cover;
}

.album-covers {
position: relative;
}

.collection-album-container {
position: relative;
margin-top: 30px;
margin-bottom: 20px;
text-align: center;
}

.collection-album-container .caption {
margin-top: 10px;
}
.collection-album-container .caption p {
font-size: 1rem;
font-weight: 300;
color: rgba(255, 255, 255, 0.6);
}

.collection-album-container .caption p a {
color: rgba(255, 255, 255, 0.6);
}

.collection-album-container .caption p a.album-name {
color: white;
}

.collection-album-container img {
width: 80%;
}
35 changes: 34 additions & 1 deletion styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,46 @@ body {
}

.navbar {
position: relative;
padding: 0.5rem;
background-color: rgb(101,18,95);
background-color: rgba(101,18,95,0.5);
z-index: 1;
}

.navbar .logo {
position: relative;
left: 2rem;
cursor: pointer;
}

.navbar .links-container {
display: table;
position: absolute;
top: 0;
right: 0;
height: 100px;
color: white;
text-decoration: none;
}

.links-container .navbar-link {
display: table-cell;
position: relative;
height: 100%;
padding-left: 1rem;
padding-right: 1rem;
vertical-align: middle;
color: white;
font-size: 0.625rem;
letter-spacing: 0.05rem;
font-weight: 700;
text-transform: uppercase;
text-decoration: none;
cursor: pointer;
}

.links-container .navbar-link:hover {
color: rgb(233,50,117);
}

.container {
Expand Down

0 comments on commit 998f2a8

Please sign in to comment.