Difference between revisions of "Template:UCSF/test template"

Line 19: Line 19:
 
             $('#header_nav').stop().animate({
 
             $('#header_nav').stop().animate({
 
                 height:'78px'
 
                 height:'78px'
             },300);
+
             },100);
 
             // Change to new smaller classes
 
             // Change to new smaller classes
 
           $('a').toggleClass('tiny', $(document).scrollTop() > 0);
 
           $('a').toggleClass('tiny', $(document).scrollTop() > 0);
Line 38: Line 38:
 
             $('#header_nav').stop().animate({
 
             $('#header_nav').stop().animate({
 
                 height:'178px'
 
                 height:'178px'
             },300);
+
             },100);
 
             $('a.tiny').removeClass('tiny', $(document).scrollTop() == 0);
 
             $('a.tiny').removeClass('tiny', $(document).scrollTop() == 0);
 
             $('h1.tiny').removeClass('tiny', $(document).scrollTop() == 0);
 
             $('h1.tiny').removeClass('tiny', $(document).scrollTop() == 0);
Line 1,188: Line 1,188:
 
/* Shrinks the logo image and crops bottom half off of it*/
 
/* Shrinks the logo image and crops bottom half off of it*/
 
h1.tiny {
 
h1.tiny {
   height: 60px;
+
   height: 70px;
 +
  overflow: hidden;
 
   width: 60%;
 
   width: 60%;
 
   padding: 0;
 
   padding: 0;

Revision as of 23:11, 23 August 2015