Skip to content
Browse files

shots are now linked

  • Loading branch information...
1 parent 76646f7 commit da6be93387622a4cdc383ac74228ef0b8d4a9066 @brunohstein committed Oct 18, 2012
View
6 javascripts/app.js
@@ -6,7 +6,9 @@ $(document).ready(function() {
$.each(data.shots, function(i, shot) {
$('.work').append([
'<div class="shot">',
- '<img src="' + shot.image_url + '" />',
+ '<a href="' + shot.url + '" target="_blank">',
+ '<img src="' + shot.image_url + '" />',
+ '</a>',
'</div>'
].join(''));
});
@@ -15,7 +17,7 @@ $(document).ready(function() {
function setAboutHeight() {
- var newHeight = $('.about').height() + 90;
+ var newHeight = $('.about').height() + 85;
$('.clear').css('height', newHeight);
};
View
BIN stylesheets/.sass-cache/0987cd717f21c455ff9788a0a21b0f034faab3d6/app.scssc
Binary file not shown.
View
6 stylesheets/app.css
@@ -48,7 +48,8 @@ table {
width: 50%;
margin: 75px 0 0 55px; }
.about h1::selection {
- background: #923244; }
+ background: #923244;
+ color: white; }
.about h2 {
font-size: 30px;
line-height: 36px;
@@ -58,7 +59,8 @@ table {
width: 50%;
margin: 40px 0 0 55px; }
.about h2::selection {
- background: #923244; }
+ background: #923244;
+ color: white; }
.about h2 span {
font-weight: bold;
color: #923244; }
View
3 stylesheets/app.scss
@@ -34,6 +34,7 @@ $helvetica: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
&::selection {
background: $highlight;
+ color: $background;
}
}
@@ -49,6 +50,7 @@ $helvetica: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
&::selection {
background: $highlight;
+ color: $background;
}
span {
@@ -96,7 +98,6 @@ $helvetica: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
.shot {
float: left;
-
width: 25%;
height: 300 * 0.25;

0 comments on commit da6be93

Please sign in to comment.
Something went wrong with that request. Please try again.