Skip to content

Commit

Permalink
Home page. Small fixes for small screens #32
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Jun 8, 2015
1 parent 3f4bff0 commit 5954ef4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions application/views/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@
$("#demo-third-step").hide();
$("#demo-fourth-step").hide();

var windowHeight = $(window).height();
var headerHeight = $('header').height();
$(".slogan-home").css("margin-top", -windowHeight+headerHeight+70);


$('video,audio').mediaelementplayer({features: []});

$(".continue").click(function(){
Expand Down
4 changes: 0 additions & 4 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -785,10 +785,6 @@ button[name=syncDone],

.mejs-container .mejs-controls { visibility:hidden !important; }

.slogan-home {
margin-top: -630px
}

.slogan-home h1{
color: #FFFFFF;
font-size: 40px;
Expand Down

0 comments on commit 5954ef4

Please sign in to comment.