Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more elegant shadow
  • Loading branch information
kraih committed Feb 21, 2015
1 parent 0f5c631 commit c51d113
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Mojolicious/templates/mojobar.html.ep
Expand Up @@ -6,7 +6,7 @@
background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%);
background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%);
background: linear-gradient(top, #2a2a2a 0%, #000 100%);
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
height: 46px;
overflow: hidden;
position: absolute;
Expand All @@ -22,7 +22,7 @@
#mojobar-logo {
float: left;
margin-left: 5em;
padding-top: 3px;
padding-top: 4px;
}
#mojobar-links {
display:table-cell;
Expand Down Expand Up @@ -95,7 +95,7 @@
var start = mojobar.offset().top;
var fixed;
var lastScrollTop = start;
var hidden = mojobarHeight + 3;
var hidden = mojobarHeight + 1;
$(window).scroll(function () {
var st = $(window).scrollTop();
if (fixed) {
Expand Down

0 comments on commit c51d113

Please sign in to comment.