diff --git a/source/_themes/clearlinux/header.html b/source/_themes/clearlinux/header.html index a0e0e76f..c9e14f16 100755 --- a/source/_themes/clearlinux/header.html +++ b/source/_themes/clearlinux/header.html @@ -6,8 +6,8 @@
- Clear Linux  - Project * + Clear Linux  * + Project for Intel* Architecture
diff --git a/source/_themes/clearlinux/layout.html b/source/_themes/clearlinux/layout.html index 78df75dc..71b48799 100644 --- a/source/_themes/clearlinux/layout.html +++ b/source/_themes/clearlinux/layout.html @@ -113,11 +113,11 @@
-
+
{% include "navigation.html" %}
{% include "searchbox.html" %}
-
{% block body %}{% endblock %}
+
{% block body %}{% endblock %}
diff --git a/source/_themes/clearlinux/static/css/overrides.css b/source/_themes/clearlinux/static/css/overrides.css index 073dc957..53d7a417 100755 --- a/source/_themes/clearlinux/static/css/overrides.css +++ b/source/_themes/clearlinux/static/css/overrides.css @@ -132,7 +132,7 @@ sidebar .custom-dropdown-menu { } .main-content{ - padding-top: 120px !important; + padding-top: 110px !important; } #site-breadcrumb { diff --git a/source/_themes/clearlinux/static/js/project.js b/source/_themes/clearlinux/static/js/project.js index b960c50f..dde95055 100644 --- a/source/_themes/clearlinux/static/js/project.js +++ b/source/_themes/clearlinux/static/js/project.js @@ -24,11 +24,6 @@ jQuery(document).ready(function($){ return false; }); - $('.faq-question').click(function(){ - $(this).toggleClass('opened'); - $(this).next().toggleClass('opened'); - }); - $('div[id^=heading-]').click(function(){ var section = $(this).attr('id').replace('heading-', ''); $('#collapse-' + section).slideToggle(); @@ -45,21 +40,12 @@ jQuery(document).ready(function($){ $(this).parent().toggleClass('menu-open'); }); - $('.faq-question').click(function(){ - $(this).toggleClass('opened'); - $(this).next().toggleClass('opened'); - }); - $('div[id^=heading-]').click(function(){ var section = $(this).attr('id').replace('heading-', ''); $('#collapse-' + section).slideToggle(); $('#title-'+ section +' a i').toggleClass('fa-plus-square fa-minus-square'); }); - $('#block-menu-menu-social-media, #block-menu-menu-get-involved').click(function(){ - $(this).find('.menu').slideToggle(); - }); - function onScroll(el) { var $header = $('.project-header').first(); var scrollTop = $(el.currentTarget).scrollTop(); @@ -77,26 +63,4 @@ jQuery(document).ready(function($){ $('body, html').scroll(onScroll); $(window).scroll(onScroll); - if (!$('html').hasClass('cssanimations') && $('body').hasClass('front')) { - margin = [0, -37, -74, -111], - i = 0, - tickerNewsInterval = tickerNews(); - - $('.pane-news-panel-pane-news-ticker .view-content').hover(function(){ - clearInterval(tickerNewsInterval); - }); - - $('.pane-news-panel-pane-news-ticker .view-content').mouseleave(function(){ - tickerNewsInterval = tickerNews(); - }); - } - - function tickerNews(){ - return setInterval(function(){ - i = (i + 1 < 4) ? i + 1 : 0; - $('.pane-news-panel-pane-news-ticker .view-content').stop(true).animate({ - marginTop: margin[i] + 'px' - }, 1000); - }, 2500); - } });