Difference between revisions of "Template:AUC TURKEY"

Line 169: Line 169:
 
     font-size: 40px;
 
     font-size: 40px;
 
color:orange;
 
color:orange;
 +
text-align:right;
 
}
 
}
 
</style>
 
</style>
Line 272: Line 273:
 
             $('body').animate({ backgroundColor: beginning_color }, 0);
 
             $('body').animate({ backgroundColor: beginning_color }, 0);
 
         } else { }
 
         } else { }
var temperature=80*percentScrolled-24;
+
var temperature=Math.round(-80*percentScrolled+56);
 
$("#temperature").html(temperature+" &deg;C");
 
$("#temperature").html(temperature+" &deg;C");
 
     });
 
     });

Revision as of 09:06, 28 June 2015

37 °C