1
Fork 0

Remove commented test code

This commit is contained in:
Jake Howard 2017-04-22 18:45:44 +01:00
parent ff1550a941
commit cae45f9d1c
2 changed files with 8 additions and 272 deletions

View file

@ -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);

View file

@ -6,9 +6,6 @@
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;
@ -17,228 +14,6 @@
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;
}
}
/* Basic */