From cae45f9d1cee3315529147a81e6363644b75847a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 22 Apr 2017 18:45:44 +0100 Subject: [PATCH] Remove commented test code --- static/src/js/alpha/main.js | 39 ------ static/src/scss/alpha.scss | 241 ++---------------------------------- 2 files changed, 8 insertions(+), 272 deletions(-) diff --git a/static/src/js/alpha/main.js b/static/src/js/alpha/main.js index f779794..b0e2b57 100755 --- a/static/src/js/alpha/main.js +++ b/static/src/js/alpha/main.js @@ -5,16 +5,6 @@ */ (function($) { - - /*skel.breakpoints({ - wide: '(max-width: 1680px)', - normal: '(max-width: 1280px)', - narrow: '(max-width: 980px)', - narrower: '(max-width: 840px)', - mobile: '(max-width: 736px)', - mobilep: '(max-width: 480px)' - });*/ - $(function() { var $window = $(window), @@ -25,14 +15,6 @@ // Fix: Placeholder polyfill. $('form').placeholder(); - // Prioritize "important" elements on narrower. - /*skel.on('+narrower -narrower', function() { - $.prioritize( - '.important\\28 narrower\\29', - skel.breakpoint('narrower').active - ); - });*/ - // Dropdowns. $('#nav > ul').dropotron({ alignment: 'right' @@ -69,32 +51,11 @@ }); // Fix: Remove navPanel transitions on WP<10 (poor/buggy performance). - /*if (skel.vars.os == 'wp' && skel.vars.osVersion < 10) - $('#navButton, #navPanel, #page-wrapper') - .css('transition', 'none');*/ // Header. // If the header is using "alt" styling and #banner is present, use scrollwatch // to revert it back to normal styling once the user scrolls past the banner. // Note: This is disabled on mobile devices. - /*if (!skel.vars.mobile - && $header.hasClass('alt') - && $banner.length > 0) { - - $window.on('load', function() { - - $banner.scrollwatch({ - delay: 0, - range: 0.5, - anchor: 'top', - on: function() { $header.addClass('alt reveal'); }, - off: function() { $header.removeClass('alt'); } - }); - - }); - - }*/ - }); })(jQuery); diff --git a/static/src/scss/alpha.scss b/static/src/scss/alpha.scss index d448769..9bd25ec 100644 --- a/static/src/scss/alpha.scss +++ b/static/src/scss/alpha.scss @@ -6,239 +6,14 @@ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) */ - - - - html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; - } -/* - article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { - display: block; - } - - body { - line-height: 1; - } - - ol, ul { - list-style: none; - } - - blockquote, q { - quotes: none; - } - - blockquote:before, blockquote:after, q:before, q:after { - content: ''; - content: none; - } - - table { - border-collapse: collapse; - border-spacing: 0; - } - - body { - -webkit-text-size-adjust: none; - } - - - *, *:before, *:after { - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; - } - - - - .container { - margin-left: auto; - margin-right: auto; - } - - .container.\31 25\25 { - width: 100%; - max-width: 75em; - min-width: 60em; - } - - .container.\37 5\25 { - width: 45em; - } - - .container.\35 0\25 { - width: 30em; - } - - .container.\32 5\25 { - width: 15em; - } - - .container { - width: 60em; - } - - @media screen and (max-width: 1680px) { - - .container.\31 25\25 { - width: 100%; - max-width: 75em; - min-width: 60em; - } - - .container.\37 5\25 { - width: 45em; - } - - .container.\35 0\25 { - width: 30em; - } - - .container.\32 5\25 { - width: 15em; - } - - .container { - width: 60em; - } - - } - - @media screen and (max-width: 1280px) { - - .container.\31 25\25 { - width: 100%; - max-width: 75em; - min-width: 60em; - } - - .container.\37 5\25 { - width: 45em; - } - - .container.\35 0\25 { - width: 30em; - } - - .container.\32 5\25 { - width: 15em; - } - - .container { - width: 60em; - } - - } - - @media screen and (max-width: 980px) { - - .container.\31 25\25 { - width: 100%; - max-width: 112.5%; - min-width: 90%; - } - - .container.\37 5\25 { - width: 67.5%; - } - - .container.\35 0\25 { - width: 45%; - } - - .container.\32 5\25 { - width: 22.5%; - } - - .container { - width: 90%; - } - - } - - @media screen and (max-width: 840px) { - - .container.\31 25\25 { - width: 100%; - max-width: 112.5%; - min-width: 90%; - } - - .container.\37 5\25 { - width: 67.5%; - } - - .container.\35 0\25 { - width: 45%; - } - - .container.\32 5\25 { - width: 22.5%; - } - - .container { - width: 90% !important; - } - - } - - @media screen and (max-width: 736px) { - - .container.\31 25\25 { - width: 100%; - max-width: 125%; - min-width: 100%; - } - - .container.\37 5\25 { - width: 75%; - } - - .container.\35 0\25 { - width: 50%; - } - - .container.\32 5\25 { - width: 25%; - } - - .container { - width: 100% !important; - } - - } - - @media screen and (max-width: 480px) { - - .container.\31 25\25 { - width: 100%; - max-width: 125%; - min-width: 100%; - } - - .container.\37 5\25 { - width: 75%; - } - - .container.\35 0\25 { - width: 50%; - } - - .container.\32 5\25 { - width: 25%; - } - - .container { - width: 100% !important; - } - - } +html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} /* Basic */