Skip to content

Commit

Permalink
restyle more to phil's liking
Browse files Browse the repository at this point in the history
  • Loading branch information
kellen hart committed Sep 22, 2013
1 parent 3c80403 commit ba7bb21
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 14 deletions.
Binary file added app/assets/images/phil1_960.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 16 additions & 5 deletions app/assets/javascripts/templates/home.hbs.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
<div class="row">
<div class="large-5 small-5 columns">
<img id="welcome-pic" src="<%= image_path('phil1_300.jpg') %>">
</div>
<div class="large-5 small-5 columns">
<p><%= "about phil info text here<br>more great stuff about him<br><br>wow, it just keeps going.".html_safe %> </p>
<div class="large-12 small-12 columns">
<div id="home-content">
<ul>
<li>
{{#linkTo "songs.index"}}music{{/linkTo}}
<ul>
<li>album 1 name</li>
<li>album 2 name</li>
</ul>
</li>
<li>bandcamp</li>
<li>hobbit homes</li>
<li>judo championships</li>
<li>contact</li>
</ul>
</div>
</div>
</div>
13 changes: 10 additions & 3 deletions app/assets/javascripts/templates/songs.hbs.erb
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
<div class="row">
<div class="large-12 columns">
<div class="center-image panel">
<%= image_tag "gig1_960.jpg" %>
<div class="image">
<ul>
<li>{{#linkTo "songs.index"}}songs{{/linkTo}}</li>
<li>albums</li>
<li><a href="http://philhart.bandcamp.com/" target="_blank">bandcamp</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="row">
<div class="large-4 columns">
<div class="panel">
<ul class="side-nav">
<h4>Songs</h4>
<ul>
{{#each}}
{{#linkTo "song" this}}
<li>{{name}}</li>
<li>{{name}}<i class="icon-caret-right right"></i></li>
{{/linkTo}}
{{/each}}
</ul>
Expand Down
41 changes: 35 additions & 6 deletions app/assets/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,20 @@ $secondary-color: #fefefe;

// handlebars css


ul {
list-style-type: none;
}
// .active is auto added to any active linkTo
.top-bar-section ul li > a.active {
color: black;
background-color: #ccc;
}

.title-area .name h1 a {
font-family: 'Copperplate Gothic Bold';
}


// custom css

Expand All @@ -40,13 +48,34 @@ nav.top-bar i {
//make space for header
margin-top: 70px;
}
.panel.center-image {
.center-image {
background-color: #C6D0D8;
border-color: #99B1C3;
img {
-webkit-box-shadow: 0 0 5px #999;
-moz-box-shadow: 0 0 5px #999;
box-shadow: 0 0 5px #999;
border-color: #999;
.image {
background: image-url("gig1_960.jpg") no-repeat 0 0;
height:422px;
padding-top: 15px;
padding-left: 30px;
}
ul {
font-size: 25px;
}
}

#home-content {
background-image: image-url('phil1_960.jpg');
background-repeat: no-repeat;
background-position: top right;
height: 1166px;
color: #fff;
padding-top: 200px;
padding-left: 100px;
font-size: 40px;
ul {
list-style-type: none;
}
a {
color: white;
&:hover { color: #2795b6;}
}
}

0 comments on commit ba7bb21

Please sign in to comment.