1/* 2 Spatial by TEMPLATED 3 templated.co @templatedco 4 Released for free under the Creative Commons Attribution 3.0 license (templated.co/license) 5*/ 6 7(function($) { 8 9 skel.init({ 10 reset: 'full', 11 breakpoints: { 12 global: { 13 href: 'css/style.css', 14 containers: 1400, 15 grid: { gutters: ['2em', 0] } 16 }, 17 xlarge: { 18 media: '(max-width: 1680px)', 19 href: 'css/style-xlarge.css', 20 containers: 1200 21 }, 22 large: { 23 media: '(max-width: 1280px)', 24 href: 'css/style-large.css', 25 containers: 960, 26 grid: { gutters: ['1.5em', 0] }, 27 viewport: { scalable: false } 28 }, 29 medium: { 30 media: '(max-width: 980px)', 31 href: 'css/style-medium.css', 32 containers: '90%!' 33 }, 34 small: { 35 media: '(max-width: 736px)', 36 href: 'css/style-small.css', 37 containers: '90%!', 38 grid: { gutters: ['1.25em', 0] } 39 }, 40 xsmall: { 41 media: '(max-width: 480px)', 42 href: 'css/style-xsmall.css' 43 } 44 }, 45 plugins: { 46 layers: { 47 navPanel: { 48 animation: 'pushX', 49 breakpoints: 'medium', 50 clickToHide: true, 51 height: '100%', 52 hidden: true, 53 html: '<div data-action="moveElement" data-args="nav"></div>', 54 orientation: 'vertical', 55 position: 'top-left', 56 side: 'left', 57 width: 250 58 }, 59 navButton: { 60 breakpoints: 'medium', 61 height: '4em', 62 html: '<span class="toggle" data-action="toggleLayer" data-args="navPanel"></span>', 63 position: 'top-left', 64 side: 'top', 65 width: '6em' 66 } 67 } 68 } 69 }); 70 71 $(function() { 72 73 var $window = $(window), 74 $body = $('body'); 75 76 // Disable animations/transitions until the page has loaded. 77 $body.addClass('is-loading'); 78 79 $window.on('load', function() { 80 $body.removeClass('is-loading'); 81 }); 82 83 // Touch mode. 84 if (skel.vars.isMobile) 85 $body.addClass('is-touch'); 86 87 }); 88 89})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.