Remove banner

This commit is contained in:
Ivan Kravets
2016-01-26 00:47:07 +02:00
parent 17d68652cf
commit 8824c14768

View File

@ -1,9 +1,8 @@
{% extends "!footer.html" %} {% extends "!footer.html" %}
{% block extrafooter %} {% block extrafooter %}
<link rel="stylesheet" href="{{ pathto('_static/extra.css', 2) }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto('_static/extra.css', 1) }}" type="text/css" />
<header id="pionav" class="navbar navbar-inverse navbar-fixed-top"> <header id="pionav" class="navbar navbar-inverse navbar-fixed-top">
<a href="http://iotawards.postscapes.com/2015-16/best-iot-software-and-tools#vote" target="_blank" class="top-banner"> PlatformIO is nominated for the year's best Software and Tools in the 2015/16 IoT Awards <i class="fa fa-trophy fa-2x"></i> Please vote for us!</a>
<div class="container container-fluid"> <div class="container container-fluid">
<div class="navbar-header"> <div class="navbar-header">
<a class="navbar-brand" href="http://platformio.org/"></i> PlatformIO</a> <a class="navbar-brand" href="http://platformio.org/"></i> PlatformIO</a>
@ -36,7 +35,7 @@
return; return;
} }
function fixScroll() { function fixScroll() {
$(window).scrollTop($(window).scrollTop() - 100); $(window).scrollTop($(window).scrollTop() - 50);
} }
window.setTimeout(fixScroll, 50); window.setTimeout(fixScroll, 50);
$(window).on('hashchange', function(e){fixScroll();}); $(window).on('hashchange', function(e){fixScroll();});