added homepage image

This commit is contained in:
Connor Turland 2014-06-11 22:38:48 -04:00
parent e9b25be060
commit 2bb5c7a6bd
3 changed files with 7 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

View file

@ -93,6 +93,9 @@ body,
.unauthenticated .wrapper.homePage {
overflow: auto;
}
.wrapper.homePage {
background: url('mm-homepage-bg-image.png') no-repeat center -249px;
}
/* scrollbar override */
.maps > div > div.mCS_no_scrollbar {

View file

@ -99,9 +99,10 @@ $(document).ready(function() {
$(this).attr('src','/assets/metamap128x128.png');
});
var s = $('#homeMap .desc');
s.height(s.height()).mCustomScrollbar({
mouseWheelPixels: 200
$('#homeMap .desc').each(function() {
$(this).height($(this).height()).mCustomScrollbar({
mouseWheelPixels: 200
});
});
});