").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cc=a.document.documentElement;function dc(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cc;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cc})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dc(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=La(k.pixelPosition,function(a,c){return c?(c=Ja(a,b),Ha.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ec=a.jQuery,fc=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fc),b&&a.jQuery===m&&(a.jQuery=ec),m},typeof b===K&&(a.jQuery=a.$=m),m});
diff --git a/js/jquery.scrollex.min.js b/js/jquery.scrollex.min.js
deleted file mode 100644
index ac907cc..0000000
--- a/js/jquery.scrollex.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/* jquery.scrollex v0.2.1 | (c) n33 | n33.co @n33co | MIT */
-!function(t){function e(t,e,n){return"string"==typeof t&&("%"==t.slice(-1)?t=parseInt(t.substring(0,t.length-1))/100*e:"vh"==t.slice(-2)?t=parseInt(t.substring(0,t.length-2))/100*n:"px"==t.slice(-2)&&(t=parseInt(t.substring(0,t.length-2)))),t}var n=t(window),i=1,o={};n.on("scroll",function(){var e=n.scrollTop();t.map(o,function(t){window.clearTimeout(t.timeoutId),t.timeoutId=window.setTimeout(function(){t.handler(e)},t.options.delay)})}).on("load",function(){n.trigger("scroll")}),jQuery.fn.scrollex=function(l){var s=t(this);if(0==this.length)return s;if(this.length>1){for(var r=0;r
=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(o=0;o');
- $wrapper = $('#wrapper');
-
- // Hack: iOS vh bug.
- if (skel.vars.os == 'ios')
- $wrapper
- .css('margin-top', -25)
- .css('padding-bottom', 25);
-
- // Pass scroll event to window.
- $wrapper.on('scroll', function() {
- $window.trigger('scroll');
- });
-
- // Scrolly.
- $window.on('load.hl_scrolly', function() {
-
- $('.scrolly').scrolly({
- speed: 1500,
- parent: $wrapper,
- pollOnce: true
- });
-
- $window.off('load.hl_scrolly');
-
- });
-
- // Enable touch mode.
- $html.addClass('is-touch');
-
- }
- else {
-
- // Scrolly.
- $('.scrolly').scrolly({
- speed: 1500
- });
-
- }
-
- // Fix: Placeholder polyfill.
- $('form').placeholder();
-
- // Prioritize "important" elements on medium.
- skel.on('+medium -medium', function() {
- $.prioritize(
- '.important\\28 medium\\29',
- skel.breakpoint('medium').active
- );
- });
-
- // Header.
- var $header = $('#header'),
- $headerTitle = $header.find('header'),
- $headerContainer = $header.find('.container');
-
- // Make title fixed.
- if (!skel.vars.mobile) {
-
- $window.on('load.hl_headerTitle', function() {
-
- skel.on('-medium !medium', function() {
-
- $headerTitle
- .css('position', 'fixed')
- .css('height', 'auto')
- .css('top', '50%')
- .css('left', '0')
- .css('width', '100%')
- .css('margin-top', ($headerTitle.outerHeight() / -2));
-
- });
-
- skel.on('+medium', function() {
-
- $headerTitle
- .css('position', '')
- .css('height', '')
- .css('top', '')
- .css('left', '')
- .css('width', '')
- .css('margin-top', '');
-
- });
-
- $window.off('load.hl_headerTitle');
-
- });
-
- }
-
- // Scrollex.
- skel.on('-small !small', function() {
- $header.scrollex({
- terminate: function() {
-
- $headerTitle.css('opacity', '');
-
- },
- scroll: function(progress) {
-
- // Fade out title as user scrolls down.
- if (progress > 0.5)
- x = 1 - progress;
- else
- x = progress;
-
- $headerTitle.css('opacity', Math.max(0, Math.min(1, x * 2)));
-
- }
- });
- });
-
- skel.on('+small', function() {
-
- $header.unscrollex();
-
- });
-
- // Main sections.
- $('.main').each(function() {
-
- var $this = $(this),
- $primaryImg = $this.find('.image.primary > img'),
- $bg,
- options;
-
- // No primary image? Bail.
- if ($primaryImg.length == 0)
- return;
-
- // Hack: IE8 fallback.
- if (skel.vars.IEVersion < 9) {
-
- $this
- .css('background-image', 'url("' + $primaryImg.attr('src') + '")')
- .css('-ms-behavior', 'url("css/ie/backgroundsize.min.htc")');
-
- return;
-
- }
-
- // Create bg and append it to body.
- $bg = $('')
- .css('background-image', (
- 'url("css/images/overlay.png"), url("' + $primaryImg.attr('src') + '")'
- ))
- .appendTo($body);
-
- // Scrollex.
- options = {
- mode: 'middle',
- delay: 200,
- top: '-10vh',
- bottom: '-10vh'
- };
-
- if (skel.canUse('transition')) {
-
- options.init = function() { $bg.removeClass('active'); };
- options.enter = function() { $bg.addClass('active'); };
- options.leave = function() { $bg.removeClass('active'); };
-
- }
- else {
-
- $bg
- .css('opacity', 1)
- .hide();
-
- options.init = function() { $bg.fadeOut(0); };
- options.enter = function() { $bg.fadeIn(400); };
- options.leave = function() { $bg.fadeOut(400); };
-
- }
-
- $this.scrollex(options);
-
- });
-
- });
-
-})(jQuery);
\ No newline at end of file
diff --git a/js/skel.min.js b/js/skel.min.js
deleted file mode 100644
index 4f6a674..0000000
--- a/js/skel.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/* skel.js v3.0.0 | (c) n33 | skel.io | MIT licensed */
-var skel=function(){"use strict";var t={breakpointIds:null,events:{},isInit:!1,obj:{attachments:{},breakpoints:{},head:null,states:{}},sd:"/",state:null,stateHandlers:{},stateId:"",vars:{},DOMReady:null,indexOf:null,isArray:null,iterate:null,matchesMedia:null,extend:function(e,n){t.iterate(n,function(i){t.isArray(n[i])?(t.isArray(e[i])||(e[i]=[]),t.extend(e[i],n[i])):"object"==typeof n[i]?("object"!=typeof e[i]&&(e[i]={}),t.extend(e[i],n[i])):e[i]=n[i]})},newStyle:function(t){var e=document.createElement("style");return e.type="text/css",e.innerHTML=t,e},_canUse:null,canUse:function(e){t._canUse||(t._canUse=document.createElement("div"));var n=t._canUse.style,i=e.charAt(0).toUpperCase()+e.slice(1);return e in n||"Moz"+i in n||"Webkit"+i in n||"O"+i in n||"ms"+i in n},on:function(e,n){var i=e.split(/[\s]+/);return t.iterate(i,function(e){var a=i[e];if(t.isInit){if("init"==a)return void n();if("change"==a)n();else{var r=a.charAt(0);if("+"==r||"!"==r){var o=a.substring(1);if(o in t.obj.breakpoints)if("+"==r&&t.obj.breakpoints[o].active)n();else if("!"==r&&!t.obj.breakpoints[o].active)return void n()}}}t.events[a]||(t.events[a]=[]),t.events[a].push(n)}),t},trigger:function(e){return t.events[e]&&0!=t.events[e].length?(t.iterate(t.events[e],function(n){t.events[e][n]()}),t):void 0},breakpoint:function(e){return t.obj.breakpoints[e]},breakpoints:function(e){function n(t,e){this.name=this.id=t,this.media=e,this.active=!1,this.wasActive=!1}return n.prototype.matches=function(){return t.matchesMedia(this.media)},n.prototype.sync=function(){this.wasActive=this.active,this.active=this.matches()},t.iterate(e,function(i){t.obj.breakpoints[i]=new n(i,e[i])}),window.setTimeout(function(){t.poll()},0),t},addStateHandler:function(e,n){t.stateHandlers[e]=n},callStateHandler:function(e){var n=t.stateHandlers[e]();t.iterate(n,function(e){t.state.attachments.push(n[e])})},changeState:function(e){t.iterate(t.obj.breakpoints,function(e){t.obj.breakpoints[e].sync()}),t.vars.lastStateId=t.stateId,t.stateId=e,t.breakpointIds=t.stateId===t.sd?[]:t.stateId.substring(1).split(t.sd),t.obj.states[t.stateId]?t.state=t.obj.states[t.stateId]:(t.obj.states[t.stateId]={attachments:[]},t.state=t.obj.states[t.stateId],t.iterate(t.stateHandlers,t.callStateHandler)),t.detachAll(t.state.attachments),t.attachAll(t.state.attachments),t.vars.stateId=t.stateId,t.vars.state=t.state,t.trigger("change"),t.iterate(t.obj.breakpoints,function(e){t.obj.breakpoints[e].active?t.obj.breakpoints[e].wasActive||t.trigger("+"+e):t.obj.breakpoints[e].wasActive&&t.trigger("-"+e)})},generateStateConfig:function(e,n){var i={};return t.extend(i,e),t.iterate(t.breakpointIds,function(e){t.extend(i,n[t.breakpointIds[e]])}),i},getStateId:function(){var e="";return t.iterate(t.obj.breakpoints,function(n){var i=t.obj.breakpoints[n];i.matches()&&(e+=t.sd+i.id)}),e},poll:function(){var e="";e=t.getStateId(),""===e&&(e=t.sd),e!==t.stateId&&t.changeState(e)},_attach:null,attach:function(e){var n=t.obj.head,i=e.element;return i.parentNode&&i.parentNode.tagName?!1:(t._attach||(t._attach=n.firstChild),n.insertBefore(i,t._attach.nextSibling),e.permanent&&(t._attach=i),!0)},attachAll:function(e){var n=[];t.iterate(e,function(t){n[e[t].priority]||(n[e[t].priority]=[]),n[e[t].priority].push(e[t])}),n.reverse(),t.iterate(n,function(e){t.iterate(n[e],function(i){t.attach(n[e][i])})})},detach:function(t){var e=t.element;return t.permanent||!e.parentNode||e.parentNode&&!e.parentNode.tagName?!1:(e.parentNode.removeChild(e),!0)},detachAll:function(e){var n={};t.iterate(e,function(t){n[e[t].id]=!0}),t.iterate(t.obj.attachments,function(e){e in n||t.detach(t.obj.attachments[e])})},attachment:function(e){return e in t.obj.attachments?t.obj.attachments[e]:null},newAttachment:function(e,n,i,a){return t.obj.attachments[e]={id:e,element:n,priority:i,permanent:a}},init:function(){t.initMethods(),t.initVars(),t.initEvents(),t.obj.head=document.getElementsByTagName("head")[0],t.isInit=!0,t.trigger("init")},initEvents:function(){t.on("resize",function(){t.poll()}),t.on("orientationChange",function(){t.poll()}),t.DOMReady(function(){t.trigger("ready")}),window.onload&&t.on("load",window.onload),window.onload=function(){t.trigger("load")},window.onresize&&t.on("resize",window.onresize),window.onresize=function(){t.trigger("resize")},window.onorientationchange&&t.on("orientationChange",window.onorientationchange),window.onorientationchange=function(){t.trigger("orientationChange")}},initMethods:function(){document.addEventListener?!function(e,n){t.DOMReady=n()}("domready",function(){function t(t){for(r=1;t=n.shift();)t()}var e,n=[],i=document,a="DOMContentLoaded",r=/^loaded|^c/.test(i.readyState);return i.addEventListener(a,e=function(){i.removeEventListener(a,e),t()}),function(t){r?t():n.push(t)}}):!function(e,n){t.DOMReady=n()}("domready",function(t){function e(t){for(h=1;t=i.shift();)t()}var n,i=[],a=!1,r=document,o=r.documentElement,s=o.doScroll,c="DOMContentLoaded",d="addEventListener",u="onreadystatechange",l="readyState",f=s?/^loaded|^c/:/^loaded|c/,h=f.test(r[l]);return r[d]&&r[d](c,n=function(){r.removeEventListener(c,n,a),e()},a),s&&r.attachEvent(u,n=function(){/^c/.test(r[l])&&(r.detachEvent(u,n),e())}),t=s?function(e){self!=top?h?e():i.push(e):function(){try{o.doScroll("left")}catch(n){return setTimeout(function(){t(e)},50)}e()}()}:function(t){h?t():i.push(t)}}),Array.prototype.indexOf?t.indexOf=function(t,e){return t.indexOf(e)}:t.indexOf=function(t,e){if("string"==typeof t)return t.indexOf(e);var n,i,a=e?e:0;if(!this)throw new TypeError;if(i=this.length,0===i||a>=i)return-1;for(0>a&&(a=i-Math.abs(a)),n=a;i>n;n++)if(this[n]===t)return n;return-1},Array.isArray?t.isArray=function(t){return Array.isArray(t)}:t.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},Object.keys?t.iterate=function(t,e){if(!t)return[];var n,i=Object.keys(t);for(n=0;i[n]&&e(i[n],t[i[n]])!==!1;n++);}:t.iterate=function(t,e){if(!t)return[];var n;for(n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(n,t[n])===!1)break},window.matchMedia?t.matchesMedia=function(t){return""==t?!0:window.matchMedia(t).matches}:window.styleMedia||window.media?t.matchesMedia=function(t){if(""==t)return!0;var e=window.styleMedia||window.media;return e.matchMedium(t||"all")}:window.getComputedStyle?t.matchesMedia=function(t){if(""==t)return!0;var e=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;e.type="text/css",e.id="matchmediajs-test",n.parentNode.insertBefore(e,n),i="getComputedStyle"in window&&window.getComputedStyle(e,null)||e.currentStyle;var a="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return e.styleSheet?e.styleSheet.cssText=a:e.textContent=a,"1px"===i.width}:t.matchesMedia=function(t){if(""==t)return!0;var e,n,i,a,r={"min-width":null,"max-width":null},o=!1;for(i=t.split(/\s+and\s+/),e=0;er["max-width"]||null!==r["min-height"]&&cr["max-height"]?!1:!0},navigator.userAgent.match(/MSIE ([0-9]+)/)&&RegExp.$1<9&&(t.newStyle=function(t){var e=document.createElement("span");return e.innerHTML=' ",e})},initVars:function(){var e,n,i,a=navigator.userAgent;e="other",n=0,i=[["firefox",/Firefox\/([0-9\.]+)/],["bb",/BlackBerry.+Version\/([0-9\.]+)/],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/],["opera",/OPR\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)/],["edge",/Edge\/([0-9\.]+)/],["safari",/Version\/([0-9\.]+).+Safari/],["chrome",/Chrome\/([0-9\.]+)/],["ie",/MSIE ([0-9]+)/],["ie",/Trident\/.+rv:([0-9]+)/]],t.iterate(i,function(t,i){return a.match(i[1])?(e=i[0],n=parseFloat(RegExp.$1),!1):void 0}),t.vars.browser=e,t.vars.browserVersion=n,e="other",n=0,i=[["ios",/([0-9_]+) like Mac OS X/,function(t){return t.replace("_",".").replace("_","")}],["ios",/CPU like Mac OS X/,function(t){return 0}],["android",/Android ([0-9\.]+)/,null],["mac",/Macintosh.+Mac OS X ([0-9_]+)/,function(t){return t.replace("_",".").replace("_","")}],["wp",/Windows Phone ([0-9\.]+)/,null],["windows",/Windows NT ([0-9\.]+)/,null],["bb",/BlackBerry.+Version\/([0-9\.]+)/,null],["bb",/BB[0-9]+.+Version\/([0-9\.]+)/,null]],t.iterate(i,function(t,i){return a.match(i[1])?(e=i[0],n=parseFloat(i[2]?i[2](RegExp.$1):RegExp.$1),!1):void 0}),t.vars.os=e,t.vars.osVersion=n,t.vars.IEVersion="ie"==t.vars.browser?t.vars.browserVersion:99,t.vars.touch="wp"==t.vars.os?navigator.msMaxTouchPoints>0:!!("ontouchstart"in window),t.vars.mobile="wp"==t.vars.os||"android"==t.vars.os||"ios"==t.vars.os||"bb"==t.vars.os}};return t.init(),t}();!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.skel=e()}(this,function(){return skel});
diff --git a/js/util.js b/js/util.js
deleted file mode 100644
index ecf7b37..0000000
--- a/js/util.js
+++ /dev/null
@@ -1,587 +0,0 @@
-(function($) {
-
- /**
- * Generate an indented list of links from a nav. Meant for use with panel().
- * @return {jQuery} jQuery object.
- */
- $.fn.navList = function() {
-
- var $this = $(this);
- $a = $this.find('a'),
- b = [];
-
- $a.each(function() {
-
- var $this = $(this),
- indent = Math.max(0, $this.parents('li').length - 1),
- href = $this.attr('href'),
- target = $this.attr('target');
-
- b.push(
- '' +
- '' +
- $this.text() +
- ''
- );
-
- });
-
- return b.join('');
-
- };
-
- /**
- * Panel-ify an element.
- * @param {object} userConfig User config.
- * @return {jQuery} jQuery object.
- */
- $.fn.panel = function(userConfig) {
-
- // No elements?
- if (this.length == 0)
- return $this;
-
- // Multiple elements?
- if (this.length > 1) {
-
- for (var i=0; i < this.length; i++)
- $(this[i]).panel(userConfig);
-
- return $this;
-
- }
-
- // Vars.
- var $this = $(this),
- $body = $('body'),
- $window = $(window),
- id = $this.attr('id'),
- config;
-
- // Config.
- config = $.extend({
-
- // Delay.
- delay: 0,
-
- // Hide panel on link click.
- hideOnClick: false,
-
- // Hide panel on escape keypress.
- hideOnEscape: false,
-
- // Hide panel on swipe.
- hideOnSwipe: false,
-
- // Reset scroll position on hide.
- resetScroll: false,
-
- // Reset forms on hide.
- resetForms: false,
-
- // Side of viewport the panel will appear.
- side: null,
-
- // Target element for "class".
- target: $this,
-
- // Class to toggle.
- visibleClass: 'visible'
-
- }, userConfig);
-
- // Expand "target" if it's not a jQuery object already.
- if (typeof config.target != 'jQuery')
- config.target = $(config.target);
-
- // Panel.
-
- // Methods.
- $this._hide = function(event) {
-
- // Already hidden? Bail.
- if (!config.target.hasClass(config.visibleClass))
- return;
-
- // If an event was provided, cancel it.
- if (event) {
-
- event.preventDefault();
- event.stopPropagation();
-
- }
-
- // Hide.
- config.target.removeClass(config.visibleClass);
-
- // Post-hide stuff.
- window.setTimeout(function() {
-
- // Reset scroll position.
- if (config.resetScroll)
- $this.scrollTop(0);
-
- // Reset forms.
- if (config.resetForms)
- $this.find('form').each(function() {
- this.reset();
- });
-
- }, config.delay);
-
- };
-
- // Vendor fixes.
- $this
- .css('-ms-overflow-style', '-ms-autohiding-scrollbar')
- .css('-webkit-overflow-scrolling', 'touch');
-
- // Hide on click.
- if (config.hideOnClick) {
-
- $this.find('a')
- .css('-webkit-tap-highlight-color', 'rgba(0,0,0,0)');
-
- $this
- .on('click', 'a', function(event) {
-
- var $a = $(this),
- href = $a.attr('href'),
- target = $a.attr('target');
-
- if (!href || href == '#' || href == '' || href == '#' + id)
- return;
-
- // Cancel original event.
- event.preventDefault();
- event.stopPropagation();
-
- // Hide panel.
- $this._hide();
-
- // Redirect to href.
- window.setTimeout(function() {
-
- if (target == '_blank')
- window.open(href);
- else
- window.location.href = href;
-
- }, config.delay + 10);
-
- });
-
- }
-
- // Event: Touch stuff.
- $this.on('touchstart', function(event) {
-
- $this.touchPosX = event.originalEvent.touches[0].pageX;
- $this.touchPosY = event.originalEvent.touches[0].pageY;
-
- })
-
- $this.on('touchmove', function(event) {
-
- if ($this.touchPosX === null
- || $this.touchPosY === null)
- return;
-
- var diffX = $this.touchPosX - event.originalEvent.touches[0].pageX,
- diffY = $this.touchPosY - event.originalEvent.touches[0].pageY,
- th = $this.outerHeight(),
- ts = ($this.get(0).scrollHeight - $this.scrollTop());
-
- // Hide on swipe?
- if (config.hideOnSwipe) {
-
- var result = false,
- boundary = 20,
- delta = 50;
-
- switch (config.side) {
-
- case 'left':
- result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX > delta);
- break;
-
- case 'right':
- result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX < (-1 * delta));
- break;
-
- case 'top':
- result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY > delta);
- break;
-
- case 'bottom':
- result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY < (-1 * delta));
- break;
-
- default:
- break;
-
- }
-
- if (result) {
-
- $this.touchPosX = null;
- $this.touchPosY = null;
- $this._hide();
-
- return false;
-
- }
-
- }
-
- // Prevent vertical scrolling past the top or bottom.
- if (($this.scrollTop() < 0 && diffY < 0)
- || (ts > (th - 2) && ts < (th + 2) && diffY > 0)) {
-
- event.preventDefault();
- event.stopPropagation();
-
- }
-
- });
-
- // Event: Prevent certain events inside the panel from bubbling.
- $this.on('click touchend touchstart touchmove', function(event) {
- event.stopPropagation();
- });
-
- // Event: Hide panel if a child anchor tag pointing to its ID is clicked.
- $this.on('click', 'a[href="#' + id + '"]', function(event) {
-
- event.preventDefault();
- event.stopPropagation();
-
- config.target.removeClass(config.visibleClass);
-
- });
-
- // Body.
-
- // Event: Hide panel on body click/tap.
- $body.on('click touchend', function(event) {
- $this._hide(event);
- });
-
- // Event: Toggle.
- $body.on('click', 'a[href="#' + id + '"]', function(event) {
-
- event.preventDefault();
- event.stopPropagation();
-
- config.target.toggleClass(config.visibleClass);
-
- });
-
- // Window.
-
- // Event: Hide on ESC.
- if (config.hideOnEscape)
- $window.on('keydown', function(event) {
-
- if (event.keyCode == 27)
- $this._hide(event);
-
- });
-
- return $this;
-
- };
-
- /**
- * Apply "placeholder" attribute polyfill to one or more forms.
- * @return {jQuery} jQuery object.
- */
- $.fn.placeholder = function() {
-
- // Browser natively supports placeholders? Bail.
- if (typeof (document.createElement('input')).placeholder != 'undefined')
- return $(this);
-
- // No elements?
- if (this.length == 0)
- return $this;
-
- // Multiple elements?
- if (this.length > 1) {
-
- for (var i=0; i < this.length; i++)
- $(this[i]).placeholder();
-
- return $this;
-
- }
-
- // Vars.
- var $this = $(this);
-
- // Text, TextArea.
- $this.find('input[type=text],textarea')
- .each(function() {
-
- var i = $(this);
-
- if (i.val() == ''
- || i.val() == i.attr('placeholder'))
- i
- .addClass('polyfill-placeholder')
- .val(i.attr('placeholder'));
-
- })
- .on('blur', function() {
-
- var i = $(this);
-
- if (i.attr('name').match(/-polyfill-field$/))
- return;
-
- if (i.val() == '')
- i
- .addClass('polyfill-placeholder')
- .val(i.attr('placeholder'));
-
- })
- .on('focus', function() {
-
- var i = $(this);
-
- if (i.attr('name').match(/-polyfill-field$/))
- return;
-
- if (i.val() == i.attr('placeholder'))
- i
- .removeClass('polyfill-placeholder')
- .val('');
-
- });
-
- // Password.
- $this.find('input[type=password]')
- .each(function() {
-
- var i = $(this);
- var x = $(
- $('')
- .append(i.clone())
- .remove()
- .html()
- .replace(/type="password"/i, 'type="text"')
- .replace(/type=password/i, 'type=text')
- );
-
- if (i.attr('id') != '')
- x.attr('id', i.attr('id') + '-polyfill-field');
-
- if (i.attr('name') != '')
- x.attr('name', i.attr('name') + '-polyfill-field');
-
- x.addClass('polyfill-placeholder')
- .val(x.attr('placeholder')).insertAfter(i);
-
- if (i.val() == '')
- i.hide();
- else
- x.hide();
-
- i
- .on('blur', function(event) {
-
- event.preventDefault();
-
- var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
-
- if (i.val() == '') {
-
- i.hide();
- x.show();
-
- }
-
- });
-
- x
- .on('focus', function(event) {
-
- event.preventDefault();
-
- var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']');
-
- x.hide();
-
- i
- .show()
- .focus();
-
- })
- .on('keypress', function(event) {
-
- event.preventDefault();
- x.val('');
-
- });
-
- });
-
- // Events.
- $this
- .on('submit', function() {
-
- $this.find('input[type=text],input[type=password],textarea')
- .each(function(event) {
-
- var i = $(this);
-
- if (i.attr('name').match(/-polyfill-field$/))
- i.attr('name', '');
-
- if (i.val() == i.attr('placeholder')) {
-
- i.removeClass('polyfill-placeholder');
- i.val('');
-
- }
-
- });
-
- })
- .on('reset', function(event) {
-
- event.preventDefault();
-
- $this.find('select')
- .val($('option:first').val());
-
- $this.find('input,textarea')
- .each(function() {
-
- var i = $(this),
- x;
-
- i.removeClass('polyfill-placeholder');
-
- switch (this.type) {
-
- case 'submit':
- case 'reset':
- break;
-
- case 'password':
- i.val(i.attr('defaultValue'));
-
- x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
-
- if (i.val() == '') {
- i.hide();
- x.show();
- }
- else {
- i.show();
- x.hide();
- }
-
- break;
-
- case 'checkbox':
- case 'radio':
- i.attr('checked', i.attr('defaultValue'));
- break;
-
- case 'text':
- case 'textarea':
- i.val(i.attr('defaultValue'));
-
- if (i.val() == '') {
- i.addClass('polyfill-placeholder');
- i.val(i.attr('placeholder'));
- }
-
- break;
-
- default:
- i.val(i.attr('defaultValue'));
- break;
-
- }
- });
-
- });
-
- return $this;
-
- };
-
- /**
- * Moves elements to/from the first positions of their respective parents.
- * @param {jQuery} $elements Elements (or selector) to move.
- * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations.
- */
- $.prioritize = function($elements, condition) {
-
- var key = '__prioritize';
-
- // Expand $elements if it's not already a jQuery object.
- if (typeof $elements != 'jQuery')
- $elements = $($elements);
-
- // Step through elements.
- $elements.each(function() {
-
- var $e = $(this), $p,
- $parent = $e.parent();
-
- // No parent? Bail.
- if ($parent.length == 0)
- return;
-
- // Not moved? Move it.
- if (!$e.data(key)) {
-
- // Condition is false? Bail.
- if (!condition)
- return;
-
- // Get placeholder (which will serve as our point of reference for when this element needs to move back).
- $p = $e.prev();
-
- // Couldn't find anything? Means this element's already at the top, so bail.
- if ($p.length == 0)
- return;
-
- // Move element to top of parent.
- $e.prependTo($parent);
-
- // Mark element as moved.
- $e.data(key, $p);
-
- }
-
- // Moved already?
- else {
-
- // Condition is true? Bail.
- if (condition)
- return;
-
- $p = $e.data(key);
-
- // Move element back to its original location (using our placeholder).
- $e.insertAfter($p);
-
- // Unmark element as moved.
- $e.removeData(key);
-
- }
-
- });
-
- };
-
-})(jQuery);
\ No newline at end of file
diff --git a/post/2020-12-01-r-rmarkdown/index.Rmd b/post/2020-12-01-r-rmarkdown/index.Rmd
deleted file mode 100644
index cc06f2e..0000000
--- a/post/2020-12-01-r-rmarkdown/index.Rmd
+++ /dev/null
@@ -1,37 +0,0 @@
----
-title: "Hello R Markdown"
-author: "Frida Gomam"
-date: 2020-12-01T21:13:14-05:00
-categories: ["R"]
-tags: ["R Markdown", "plot", "regression"]
----
-
-```{r setup, include=FALSE}
-knitr::opts_chunk$set(collapse = TRUE)
-```
-
-# R Markdown
-
-This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see
.
-
-You can embed an R code chunk like this:
-
-```{r cars}
-summary(cars)
-fit <- lm(dist ~ speed, data = cars)
-fit
-```
-
-# Including Plots
-
-You can also embed plots. See Figure \@ref(fig:pie) for example:
-
-```{r pie, fig.cap='A fancy pie chart.', tidy=FALSE}
-par(mar = c(0, 1, 0, 1))
-pie(
- c(280, 60, 20),
- c('Sky', 'Sunny side of pyramid', 'Shady side of pyramid'),
- col = c('#0292D8', '#F7EA39', '#C4B632'),
- init.angle = -50, border = NA
-)
-```
diff --git a/sass/ie8.scss b/sass/ie8.scss
deleted file mode 100644
index 9201876..0000000
--- a/sass/ie8.scss
+++ /dev/null
@@ -1,148 +0,0 @@
-@import 'libs/vars';
-@import 'libs/functions';
-@import 'libs/mixins';
-@import 'libs/skel';
-
-/*
- Highlights by HTML5 UP
- html5up.net | @n33co
- Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-*/
-
-/* Basic */
-
- body, html {
- height: 100%;
- }
-
- html {
- background: none;
- }
-
-/* List */
-
- ul {
- &.actions {
- li {
- padding: 0 0 0 (_size(element-margin) * 0.5);
-
- &:first-child {
- padding-left: 0;
- }
- }
- }
- }
-
-/* Form */
-
- input[type="text"],
- input[type="password"],
- input[type="email"],
- select,
- textarea {
- border: solid 2px _palette(border);
- position: relative;
- }
-
- input[type="text"],
- input[type="password"],
- input[type="email"] {
- line-height: _size(element-height);
- }
-
- input[type="checkbox"],
- input[type="radio"] {
- font-size: 3em;
-
- & + label {
- &:before {
- display: none;
- }
- }
- }
-
-/* Button */
-
- input[type="submit"],
- input[type="reset"],
- input[type="button"],
- button,
- .button {
- border: solid 2px _palette(border);
- }
-
-/* Main BG */
-
- .main-bg {
- z-index: 0;
- }
-
-/* Main */
-
- .main {
- background-size: cover;
-
- .container {
- background: _palette(bg);
- border-top: solid 1px _palette(border);
- position: relative;
- z-index: 1;
- }
-
- .goto-next {
- @include icon;
-
- &:before {
- color: _palette(border);
- content: '\f063';
- display: block;
- font-size: 2em;
- height: 2em;
- left: 0;
- line-height: 2em;
- position: absolute;
- text-align: center;
- text-indent: 0;
- top: 0;
- width: 2em;
- }
- }
- }
-
-/* Header */
-
- #header {
- -ms-behavior: url('assets/js/ie/backgroundsize.min.htc');
- background-image: url('../../images/bg.jpg');
- background-size: cover;
- height: 100%;
-
- &:after {
- min-height: 100%;
- }
-
- header {
- position: relative;
- z-index: 1;
- }
-
- .container {
- background: _palette(bg);
- z-index: 1;
- }
- }
-
-/* Footer */
-
- #footer {
- -ms-behavior: url('assets/js/ie/backgroundsize.min.htc');
- background-image: url('../../images/bg.jpg');
- background-size: cover;
-
- .container {
- background: _palette(bg);
- border-top: solid 1px _palette(border);
- position: relative;
- z-index: 1;
- }
- }
\ No newline at end of file
diff --git a/sass/ie9.scss b/sass/ie9.scss
deleted file mode 100644
index 6815a32..0000000
--- a/sass/ie9.scss
+++ /dev/null
@@ -1,20 +0,0 @@
-@import 'libs/vars';
-@import 'libs/functions';
-@import 'libs/mixins';
-@import 'libs/skel';
-
-/*
- Highlights by HTML5 UP
- html5up.net | @n33co
- Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-*/
-
-/* Loader */
-
- html {
- body {
- &:before, &:after {
- display: none !important;
- }
- }
- }
\ No newline at end of file
diff --git a/sass/libs/_functions.scss b/sass/libs/_functions.scss
deleted file mode 100644
index 3b834f5..0000000
--- a/sass/libs/_functions.scss
+++ /dev/null
@@ -1,34 +0,0 @@
-/// Gets a duration value.
-/// @param {string} $keys Key(s).
-/// @return {string} Value.
-@function _duration($keys...) {
- @return val($duration, $keys...);
-}
-
-/// Gets a font value.
-/// @param {string} $keys Key(s).
-/// @return {string} Value.
-@function _font($keys...) {
- @return val($font, $keys...);
-}
-
-/// Gets a misc value.
-/// @param {string} $keys Key(s).
-/// @return {string} Value.
-@function _misc($keys...) {
- @return val($misc, $keys...);
-}
-
-/// Gets a palette value.
-/// @param {string} $keys Key(s).
-/// @return {string} Value.
-@function _palette($keys...) {
- @return val($palette, $keys...);
-}
-
-/// Gets a size value.
-/// @param {string} $keys Key(s).
-/// @return {string} Value.
-@function _size($keys...) {
- @return val($size, $keys...);
-}
\ No newline at end of file
diff --git a/sass/libs/_mixins.scss b/sass/libs/_mixins.scss
deleted file mode 100644
index b0520b9..0000000
--- a/sass/libs/_mixins.scss
+++ /dev/null
@@ -1,56 +0,0 @@
-/// Makes an element's :before pseudoelement a FontAwesome icon.
-/// @param {string} $content Optional content value to use.
-/// @param {string} $where Optional pseudoelement to target (before or after).
-@mixin icon($content: false, $where: before) {
-
- text-decoration: none;
-
- &:#{$where} {
-
- @if $content {
- content: $content;
- }
-
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
- font-family: "Font Awesome 5 Free";
- font-style: normal;
- font-weight: normal;
- text-transform: none !important;
-
- }
-
-}
-
-/// Applies padding to an element, taking the current element-margin value into account.
-/// @param {mixed} $tb Top/bottom padding.
-/// @param {mixed} $lr Left/right padding.
-/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left)
-/// @param {bool} $important If true, adds !important.
-@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) {
-
- @if $important {
- $important: '!important';
- }
-
- padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max(0.1em, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
-
-}
-
-/// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp).
-/// @param {string} $svg SVG data URL.
-/// @return {string} Encoded SVG data URL.
-@function svg-url($svg) {
-
- $svg: str-replace($svg, '"', '\'');
- $svg: str-replace($svg, '<', '%3C');
- $svg: str-replace($svg, '>', '%3E');
- $svg: str-replace($svg, '&', '%26');
- $svg: str-replace($svg, '#', '%23');
- $svg: str-replace($svg, '{', '%7B');
- $svg: str-replace($svg, '}', '%7D');
- $svg: str-replace($svg, ';', '%3B');
-
- @return url("data:image/svg+xml;charset=utf8,#{$svg}");
-
-}
diff --git a/sass/libs/_skel.scss b/sass/libs/_skel.scss
deleted file mode 100644
index 1ec177c..0000000
--- a/sass/libs/_skel.scss
+++ /dev/null
@@ -1,584 +0,0 @@
-// skel.scss v3.0.0 | (c) n33 | skel.io | MIT licensed */
-
-// Vars.
-
- /// Breakpoints.
- /// @var {list}
- $breakpoints: () !global;
-
- /// Vendor prefixes.
- /// @var {list}
- $vendor-prefixes: (
- '-moz-',
- '-webkit-',
- '-ms-',
- ''
- );
-
- /// Properties that should be vendorized.
- /// @var {list}
- $vendor-properties: (
- 'align-content',
- 'align-items',
- 'align-self',
- 'animation',
- 'animation-delay',
- 'animation-direction',
- 'animation-duration',
- 'animation-fill-mode',
- 'animation-iteration-count',
- 'animation-name',
- 'animation-play-state',
- 'animation-timing-function',
- 'appearance',
- 'backface-visibility',
- 'box-sizing',
- 'filter',
- 'flex',
- 'flex-basis',
- 'flex-direction',
- 'flex-flow',
- 'flex-grow',
- 'flex-shrink',
- 'flex-wrap',
- 'justify-content',
- 'order',
- 'perspective',
- 'pointer-events',
- 'transform',
- 'transform-origin',
- 'transform-style',
- 'transition',
- 'transition-delay',
- 'transition-duration',
- 'transition-property',
- 'transition-timing-function'
- );
-
- /// Values that should be vendorized.
- /// @var {list}
- $vendor-values: (
- 'filter',
- 'flex',
- 'linear-gradient',
- 'radial-gradient',
- 'transform'
- );
-
-// Functions.
-
- /// Removes a specific item from a list.
- /// @author Hugo Giraudel
- /// @param {list} $list List.
- /// @param {integer} $index Index.
- /// @return {list} Updated list.
- @function remove-nth($list, $index) {
-
- $result: null;
-
- @if type-of($index) != number {
- @warn "$index: #{quote($index)} is not a number for `remove-nth`.";
- }
- @else if $index == 0 {
- @warn "List index 0 must be a non-zero integer for `remove-nth`.";
- }
- @else if abs($index) > length($list) {
- @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
- }
- @else {
-
- $result: ();
- $index: if($index < 0, length($list) + $index + 1, $index);
-
- @for $i from 1 through length($list) {
-
- @if $i != $index {
- $result: append($result, nth($list, $i));
- }
-
- }
-
- }
-
- @return $result;
-
- }
-
- /// Replaces a substring within another string.
- /// @author Hugo Giraudel
- /// @param {string} $string String.
- /// @param {string} $search Substring.
- /// @param {string} $replace Replacement.
- /// @return {string} Updated string.
- @function str-replace($string, $search, $replace: '') {
-
- $index: str-index($string, $search);
-
- @if $index {
- @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
- }
-
- @return $string;
-
- }
-
- /// Replaces a substring within each string in a list.
- /// @param {list} $strings List of strings.
- /// @param {string} $search Substring.
- /// @param {string} $replace Replacement.
- /// @return {list} Updated list of strings.
- @function str-replace-all($strings, $search, $replace: '') {
-
- @each $string in $strings {
- $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace));
- }
-
- @return $strings;
-
- }
-
- /// Gets a value from a map.
- /// @author Hugo Giraudel
- /// @param {map} $map Map.
- /// @param {string} $keys Key(s).
- /// @return {string} Value.
- @function val($map, $keys...) {
-
- @if nth($keys, 1) == null {
- $keys: remove-nth($keys, 1);
- }
-
- @each $key in $keys {
- $map: map-get($map, $key);
- }
-
- @return $map;
-
- }
-
-// Mixins.
-
- /// Sets the global box model.
- /// @param {string} $model Model (default is content).
- @mixin boxModel($model: 'content') {
-
- $x: $model + '-box';
-
- *, *:before, *:after {
- -moz-box-sizing: #{$x};
- -webkit-box-sizing: #{$x};
- box-sizing: #{$x};
- }
-
- }
-
- /// Wraps @content in a @media block using a given breakpoint.
- /// @param {string} $breakpoint Breakpoint.
- /// @param {map} $queries Additional queries.
- @mixin breakpoint($breakpoint: null, $queries: null) {
-
- $query: 'screen';
-
- // Breakpoint.
- @if $breakpoint and map-has-key($breakpoints, $breakpoint) {
- $query: $query + ' and ' + map-get($breakpoints, $breakpoint);
- }
-
- // Queries.
- @if $queries {
- @each $k, $v in $queries {
- $query: $query + ' and (' + $k + ':' + $v + ')';
- }
- }
-
- @media #{$query} {
- @content;
- }
-
- }
-
- /// Wraps @content in a @media block targeting a specific orientation.
- /// @param {string} $orientation Orientation.
- @mixin orientation($orientation) {
- @media screen and (orientation: #{$orientation}) {
- @content;
- }
- }
-
- /// Utility mixin for containers.
- /// @param {mixed} $width Width.
- @mixin containers($width) {
-
- // Locked?
- $lock: false;
-
- @if length($width) == 2 {
- $width: nth($width, 1);
- $lock: true;
- }
-
- // Modifiers.
- .container.\31 25\25 { width: 100%; max-width: $width * 1.25; min-width: $width; }
- .container.\37 5\25 { width: $width * 0.75; }
- .container.\35 0\25 { width: $width * 0.5; }
- .container.\32 5\25 { width: $width * 0.25; }
-
- // Main class.
- .container {
- @if $lock {
- width: $width !important;
- }
- @else {
- width: $width;
- }
- }
-
- }
-
- /// Utility mixin for grid.
- /// @param {list} $gutters Column and row gutters (default is 40px).
- /// @param {string} $breakpointName Optional breakpoint name.
- @mixin grid($gutters: 40px, $breakpointName: null) {
-
- // Gutters.
- @include grid-gutters($gutters);
- @include grid-gutters($gutters, \32 00\25, 2);
- @include grid-gutters($gutters, \31 50\25, 1.5);
- @include grid-gutters($gutters, \35 0\25, 0.5);
- @include grid-gutters($gutters, \32 5\25, 0.25);
-
- // Cells.
- $x: '';
-
- @if $breakpointName {
- $x: '\\28' + $breakpointName + '\\29';
- }
-
- .\31 2u#{$x}, .\31 2u\24#{$x} { width: 100%; clear: none; margin-left: 0; }
- .\31 1u#{$x}, .\31 1u\24#{$x} { width: 91.6666666667%; clear: none; margin-left: 0; }
- .\31 0u#{$x}, .\31 0u\24#{$x} { width: 83.3333333333%; clear: none; margin-left: 0; }
- .\39 u#{$x}, .\39 u\24#{$x} { width: 75%; clear: none; margin-left: 0; }
- .\38 u#{$x}, .\38 u\24#{$x} { width: 66.6666666667%; clear: none; margin-left: 0; }
- .\37 u#{$x}, .\37 u\24#{$x} { width: 58.3333333333%; clear: none; margin-left: 0; }
- .\36 u#{$x}, .\36 u\24#{$x} { width: 50%; clear: none; margin-left: 0; }
- .\35 u#{$x}, .\35 u\24#{$x} { width: 41.6666666667%; clear: none; margin-left: 0; }
- .\34 u#{$x}, .\34 u\24#{$x} { width: 33.3333333333%; clear: none; margin-left: 0; }
- .\33 u#{$x}, .\33 u\24#{$x} { width: 25%; clear: none; margin-left: 0; }
- .\32 u#{$x}, .\32 u\24#{$x} { width: 16.6666666667%; clear: none; margin-left: 0; }
- .\31 u#{$x}, .\31 u\24#{$x} { width: 8.3333333333%; clear: none; margin-left: 0; }
-
- .\31 2u\24#{$x} + *,
- .\31 1u\24#{$x} + *,
- .\31 0u\24#{$x} + *,
- .\39 u\24#{$x} + *,
- .\38 u\24#{$x} + *,
- .\37 u\24#{$x} + *,
- .\36 u\24#{$x} + *,
- .\35 u\24#{$x} + *,
- .\34 u\24#{$x} + *,
- .\33 u\24#{$x} + *,
- .\32 u\24#{$x} + *,
- .\31 u\24#{$x} + * {
- clear: left;
- }
-
- .\-11u#{$x} { margin-left: 91.6666666667% }
- .\-10u#{$x} { margin-left: 83.3333333333% }
- .\-9u#{$x} { margin-left: 75% }
- .\-8u#{$x} { margin-left: 66.6666666667% }
- .\-7u#{$x} { margin-left: 58.3333333333% }
- .\-6u#{$x} { margin-left: 50% }
- .\-5u#{$x} { margin-left: 41.6666666667% }
- .\-4u#{$x} { margin-left: 33.3333333333% }
- .\-3u#{$x} { margin-left: 25% }
- .\-2u#{$x} { margin-left: 16.6666666667% }
- .\-1u#{$x} { margin-left: 8.3333333333% }
-
- }
-
- /// Utility mixin for grid.
- /// @param {list} $gutters Gutters.
- /// @param {string} $class Optional class name.
- /// @param {integer} $multiplier Multiplier (default is 1).
- @mixin grid-gutters($gutters, $class: null, $multiplier: 1) {
-
- // Expand gutters if it's not a list.
- @if length($gutters) == 1 {
- $gutters: ($gutters, 0);
- }
-
- // Get column and row gutter values.
- $c: nth($gutters, 1);
- $r: nth($gutters, 2);
-
- // Get class (if provided).
- $x: '';
-
- @if $class {
- $x: '.' + $class;
- }
-
- // Default.
- .row#{$x} > * { padding: ($r * $multiplier) 0 0 ($c * $multiplier); }
- .row#{$x} { margin: ($r * $multiplier * -1) 0 -1px ($c * $multiplier * -1); }
-
- // Uniform.
- .row.uniform#{$x} > * { padding: ($c * $multiplier) 0 0 ($c * $multiplier); }
- .row.uniform#{$x} { margin: ($c * $multiplier * -1) 0 -1px ($c * $multiplier * -1); }
-
- }
-
- /// Wraps @content in vendorized keyframe blocks.
- /// @param {string} $name Name.
- @mixin keyframes($name) {
-
- @-moz-keyframes #{$name} { @content; }
- @-webkit-keyframes #{$name} { @content; }
- @-ms-keyframes #{$name} { @content; }
- @keyframes #{$name} { @content; }
-
- }
-
- ///
- /// Sets breakpoints.
- /// @param {map} $x Breakpoints.
- ///
- @mixin skel-breakpoints($x: ()) {
- $breakpoints: $x !global;
- }
-
- ///
- /// Initializes layout module.
- /// @param {map} config Config.
- ///
- @mixin skel-layout($config: ()) {
-
- // Config.
- $configPerBreakpoint: ();
-
- $z: map-get($config, 'breakpoints');
-
- @if $z {
- $configPerBreakpoint: $z;
- }
-
- // Reset.
- $x: map-get($config, 'reset');
-
- @if $x {
-
- /* Reset */
-
- @include reset($x);
-
- }
-
- // Box model.
- $x: map-get($config, 'boxModel');
-
- @if $x {
-
- /* Box Model */
-
- @include boxModel($x);
-
- }
-
- // Containers.
- $containers: map-get($config, 'containers');
-
- @if $containers {
-
- /* Containers */
-
- .container {
- margin-left: auto;
- margin-right: auto;
- }
-
- // Use default is $containers is just "true".
- @if $containers == true {
- $containers: 960px;
- }
-
- // Apply base.
- @include containers($containers);
-
- // Apply per-breakpoint.
- @each $name in map-keys($breakpoints) {
-
- // Get/use breakpoint setting if it exists.
- $x: map-get($configPerBreakpoint, $name);
-
- // Per-breakpoint config exists?
- @if $x {
- $y: map-get($x, 'containers');
-
- // Setting exists? Use it.
- @if $y {
- $containers: $y;
- }
-
- }
-
- // Create @media block.
- @media screen and #{map-get($breakpoints, $name)} {
- @include containers($containers);
- }
-
- }
-
- }
-
- // Grid.
- $grid: map-get($config, 'grid');
-
- @if $grid {
-
- /* Grid */
-
- // Use defaults if $grid is just "true".
- @if $grid == true {
- $grid: ();
- }
-
- // Sub-setting: Gutters.
- $grid-gutters: 40px;
- $x: map-get($grid, 'gutters');
-
- @if $x {
- $grid-gutters: $x;
- }
-
- // Rows.
- .row {
- border-bottom: solid 1px transparent;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
-
- .row > * {
- float: left;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
-
- .row:after, .row:before {
- content: '';
- display: block;
- clear: both;
- height: 0;
- }
-
- .row.uniform > * > :first-child {
- margin-top: 0;
- }
-
- .row.uniform > * > :last-child {
- margin-bottom: 0;
- }
-
- // Gutters (0%).
- @include grid-gutters($grid-gutters, \30 \25, 0);
-
- // Apply base.
- @include grid($grid-gutters);
-
- // Apply per-breakpoint.
- @each $name in map-keys($breakpoints) {
-
- // Get/use breakpoint setting if it exists.
- $x: map-get($configPerBreakpoint, $name);
-
- // Per-breakpoint config exists?
- @if $x {
- $y: map-get($x, 'grid');
-
- // Setting exists?
- @if $y {
-
- // Sub-setting: Gutters.
- $x: map-get($y, 'gutters');
-
- @if $x {
- $grid-gutters: $x;
- }
-
- }
-
- }
-
- // Create @media block.
- @media screen and #{map-get($breakpoints, $name)} {
- @include grid($grid-gutters, $name);
- }
-
- }
-
- }
-
- }
-
- /// Resets browser styles.
- /// @param {string} $mode Mode (default is 'normalize').
- @mixin reset($mode: 'normalize') {
-
- @if $mode == 'normalize' {
-
- // normalize.css v3.0.2 | MIT License | git.io/normalize
- html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
-
- }
- @else if $mode == 'full' {
-
- // meyerweb.com/eric/tools/css/reset v2.0 | 20110126 | License: none (public domain)
- 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}
-
- }
-
- }
-
- /// Vendorizes a declaration's property and/or value(s).
- /// @param {string} $property Property.
- /// @param {mixed} $value String/list of value(s).
- @mixin vendor($property, $value) {
-
- // Determine if property should expand.
- $expandProperty: index($vendor-properties, $property);
-
- // Determine if value should expand (and if so, add '-prefix-' placeholder).
- $expandValue: false;
-
- @each $x in $value {
- @each $y in $vendor-values {
- @if $y == str-slice($x, 1, str-length($y)) {
-
- $value: set-nth($value, index($value, $x), '-prefix-' + $x);
- $expandValue: true;
-
- }
- }
- }
-
- // Expand property?
- @if $expandProperty {
- @each $vendor in $vendor-prefixes {
- #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
- }
- }
-
- // Expand just the value?
- @elseif $expandValue {
- @each $vendor in $vendor-prefixes {
- #{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
- }
- }
-
- // Neither? Treat them as a normal declaration.
- @else {
- #{$property}: #{$value};
- }
-
- }
\ No newline at end of file
diff --git a/sass/libs/_vars.scss b/sass/libs/_vars.scss
deleted file mode 100644
index 32b1ccc..0000000
--- a/sass/libs/_vars.scss
+++ /dev/null
@@ -1,74 +0,0 @@
-// Misc.
- $misc: (
- z-index-base: 10000
- );
-
-// Duration.
- $duration: (
- transition: 0.2s,
- loader-fadein: 1s,
- bg-fadein: 0.5s
- );
-
-// Size.
- $size: (
- element-height: 3em,
- element-margin: 2em
- );
-
-// Font.
- $font: (
- family: ('Raleway', 'Helvetica', sans-serif),
- family-fixed: ('Courier New', monospace),
- weight: 400,
- weight-bold: 700,
- weight-heavy: 800
- );
-
-// Palette.
- $palette: (
- bg: #fff,
- fg: #6f7577,
- fg-bold: #61686b,
- fg-light: #a8b0b3,
- fg-lighter: #e8f0f3,
- border: #dddddd,
- border-bg: rgba(144,144,144,0.075),
- border2: #d3d3d3,
- border2-bg: rgba(144,144,144,0.15),
-
- alt: (
- fg-bold: #ffffff,
- fg: rgba(255,255,255,0.5),
- fg-light: rgba(255,255,255,0.35),
- fg-lighter: rgba(255,255,255,0.2),
- border: #ffffff,
- border-bg: rgba(255,255,255,0.075),
- border2: #ffffff,
- border2-bg: rgba(255,255,255,0.15)
- ),
-
- accent1: (
- bg: #8cd1a8,
- fg-bold: #ffffff,
- fg: mix(#8cd1a8, #ffffff, 25%),
- fg-light: mix(#8cd1a8, #ffffff, 40%),
- fg-lighter: mix(#8cd1a8, #ffffff, 90%),
- border: rgba(255,255,255,0.25),
- border-bg: rgba(255,255,255,0.075),
- border2: rgba(255,255,255,0.5),
- border2-bg: rgba(255,255,255,0.2)
- ),
-
- accent2: (
- bg: #313a3d,
- fg-bold: #ffffff,
- fg: mix(#313a3d, #ffffff, 25%),
- fg-light: mix(#313a3d, #ffffff, 40%),
- fg-lighter: mix(#313a3d, #ffffff, 90%),
- border: rgba(255,255,255,0.25),
- border-bg: rgba(255,255,255,0.075),
- border2: rgba(255,255,255,0.5),
- border2-bg: rgba(255,255,255,0.2)
- )
- );
\ No newline at end of file
diff --git a/sass/main.scss b/sass/main.scss
deleted file mode 100644
index 5e990ab..0000000
--- a/sass/main.scss
+++ /dev/null
@@ -1,1445 +0,0 @@
-@import 'libs/vars';
-@import 'libs/functions';
-@import 'libs/mixins';
-@import url('font-awesome.min.css');
-@import url("http://fonts.googleapis.com/css?family=Raleway:400,400italic,700,800");
-
-/*
- Highlights by HTML5 UP
- html5up.net | @n33co
- Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-*/
-
- @import "libs/skel";
-
- @include skel-breakpoints((
- large: '(max-width: 1680px)',
- medium: '(max-width: 980px)',
- small: '(max-width: 736px)',
- xsmall: '(max-width: 480px)'
- ));
-
- @include skel-layout((
- reset: 'full',
- boxModel: 'border',
- grid: ( gutters: 1.5em ),
- conditionals: true,
- containers: 35em,
- breakpoints: (
- large: (
- ),
- medium: (
- containers: 80%,
- ),
- small: (
- grid: (
- gutters: 1em
- ),
- ),
- xsmall: (
- containers: 100%,
- )
- )
- ));
-
- @mixin minHeight($tb, $pad) {
- min-height: calc( 100vh - #{ $tb + (($tb - _size(element-margin)) + $pad) } );
- }
-
- $size-padding-tb: 5em;
- $size-padding-lr: 2.5em;
-
-/* Basic */
-
- html {
- background-color: _palette(accent2, bg);
- background-attachment: fixed, fixed;
- background-image: url('images/overlay.png'), url('../../images/bg.jpg');
- background-position: top left, center center;
- background-repeat: repeat, none;
- background-size: auto, cover;
- }
-
- html {
- &.is-loading {
- body {
- *, *:before, *:after {
- @include vendor('animation', 'none !important');
- @include vendor('transition', 'none !important');
- }
- }
- }
-
- &.is-touch {
- height: 100vh;
- overflow: hidden;
-
- #wrapper {
- -webkit-backface-visibility: hidden;
- -webkit-overflow-scrolling: touch;
- -webkit-transform: translate3d(0,0,0);
- height: 100vh;
- overflow: auto;
- }
- }
- }
-
- body, input, select, textarea {
- color: _palette(fg);
- font-family: _font(family);
- font-size: 15pt;
- font-weight: _font(weight);
- line-height: 1.75em;
- }
-
- a {
- @include vendor('transition', ('color #{_duration(transition)} ease-in-out', 'border-bottom-color #{_duration(transition)} ease-in-out'));
- border-bottom: dotted 1px;
- color: _palette(accent1, bg);
- text-decoration: none;
-
- &:hover {
- border-bottom-color: transparent !important;
- color: _palette(accent1, bg) !important;
- text-decoration: none;
- }
- }
-
- strong, b {
- color: _palette(fg-bold);
- font-weight: _font(weight-bold);
- }
-
- em, i {
- font-style: italic;
- }
-
- p {
- margin: 0 0 _size(element-margin) 0;
- }
-
- h1, h2, h3, h4, h5, h6 {
- color: _palette(fg-bold);
- font-weight: _font(weight-heavy);
- letter-spacing: 0.075em;
- line-height: 1em;
- margin: 0 0 (_size(element-margin) * 0.5) 0;
- text-transform: uppercase;
-
- a {
- color: inherit;
- text-decoration: none;
- }
- }
-
- h2 {
- font-size: 1.75em;
- line-height: 1.5em;
- }
-
- h3 {
- font-size: 1em;
- line-height: 1.5em;
- }
-
- h4 {
- font-size: 0.9em;
- line-height: 1.5em;
- }
-
- h5 {
- font-size: 0.8em;
- line-height: 1.5em;
- }
-
- h6 {
- font-size: 0.7em;
- line-height: 1.5em;
- }
-
- sub {
- font-size: 0.8em;
- position: relative;
- top: 0.5em;
- }
-
- sup {
- font-size: 0.8em;
- position: relative;
- top: -0.5em;
- }
-
- hr {
- border: 0;
- border-bottom: solid 1px _palette(border);
- margin: _size(element-margin) 0;
-
- &.major {
- margin: (_size(element-margin) * 1.5) 0;
- }
- }
-
- blockquote {
- border-left: solid 6px _palette(border);
- font-style: italic;
- margin: 0 0 _size(element-margin) 0;
- padding: 0.5em 0 0.5em 1.5em;
- }
-
- code {
- background: _palette(border-bg);
- font-family: _font(family-fixed);
- font-size: 0.9em;
- margin: 0 0.25em;
- padding: 0.25em 0.65em;
- }
-
- pre {
- -webkit-overflow-scrolling: touch;
- font-family: _font(family-fixed);
- font-size: 0.9em;
- margin: 0 0 _size(element-margin) 0;
-
- code {
- display: block;
- line-height: 1.75em;
- padding: 1em 1.5em;
- overflow-x: auto;
- }
- }
-
- .align-left {
- text-align: left;
- }
-
- .align-center {
- text-align: center;
- }
-
- .align-right {
- text-align: right;
- }
-
-/* Loader */
-
- // Spinner
-
- @include keyframes('spinner-show') {
- 0% { opacity: 0; }
- 100% { opacity: 1; }
- }
-
- @include keyframes('spinner-hide') {
- 0% { color: _palette(accent2, fg-lighter); z-index: _misc(z-index-base) + 1; @include vendor('transform', 'scale(1) rotate(0deg)'); }
- 99% { color: _palette(accent2, bg); z-index: _misc(z-index-base) + 1; @include vendor('transform', 'scale(0.5) rotate(360deg)'); }
- 100% { color: _palette(accent2, bg); z-index: -1; @include vendor('transform', 'scale(0) rotate(360deg)'); }
- }
-
- @include keyframes('spinner-rotate') {
- 0% { @include vendor('transform', 'scale(1) rotate(0deg)'); }
- 100% { @include vendor('transform', 'scale(1) rotate(360deg)'); }
- }
-
- // Overlay
-
- @include keyframes('overlay-hide') {
- 0% { opacity: 1; z-index: _misc(z-index-base); }
- 15% { opacity: 1; z-index: _misc(z-index-base); }
- 99% { opacity: 0; z-index: _misc(z-index-base); }
- 100% { opacity: 0; z-index: -1; }
- }
-
- html {
- body {
- @include icon;
-
- // Spinner (inactive)
-
- &:before {
- @include vendor('animation', ('spinner-show 1.5s 1 0.25s ease forwards', 'spinner-hide 0.25s ease-in-out forwards !important'));
- @include vendor('transform-origin', '50% 50%');
- color: _palette(accent2, fg-lighter);
- content: '\f1ce';
- cursor: default;
- display: block;
- font-size: 2em;
- height: 2em;
- left: 50%;
- opacity: 0;
- line-height: 2em;
- margin: -1em 0 0 -1em;
- position: fixed;
- text-align: center;
- top: 50%;
- width: 2em;
- z-index: -1;
- }
-
- // Overlay (inactive)
-
- &:after {
- @include vendor('animation', 'overlay-hide #{_duration(loader-fadein)} ease-in forwards !important');
- background: _palette(accent2, bg);
- content: '';
- display: block;
- height: 100%;
- left: 0;
- opacity: 0;
- position: fixed;
- top: 0;
- width: 100%;
- z-index: -1;
- }
-
- }
-
- &.is-loading {
- body {
-
- // Spinner (active)
-
- &:before {
- @include vendor('animation', ('spinner-show 1.5s 1 0.25s ease forwards', 'spinner-rotate 0.75s infinite linear !important'));
- z-index: _misc(z-index-base) + 1;
- }
-
- // Overlay (active)
-
- &:after {
- @include vendor('animation', 'none !important');
- opacity: 1;
- z-index: _misc(z-index-base);
- }
-
- }
- }
- }
-
- @media (-webkit-min-device-pixel-ratio: 2) {
- html {
- body {
- &:before {
- line-height: 2.025em;
- }
- }
- }
- }
-
-/* Section/Article */
-
- section, article {
- &.special {
- text-align: center;
- }
- }
-
- header {
- p {
- color: _palette(fg-light);
- letter-spacing: 0.05em;
- text-transform: uppercase;
- }
-
- h1 + p {
- margin-top: (_size(element-margin) * -0.5);
- }
-
- h2 + p {
- margin-top: (_size(element-margin) * -0.5);
- }
-
- h3 + p {
- margin-top: (_size(element-margin) * -0.4);
- }
-
- h4 + p,
- h5 + p,
- h6 + p {
- font-size: 0.8em;
- margin-top: (_size(element-margin) * -0.3);
- }
-
- &.major {
- text-align: center;
-
- h1, h2, h3, h4, h5, h6 {
- position: relative;
-
- &:after {
- background: _palette(border);
- content: '';
- display: block;
- height: 2px;
- margin: 0.75em auto 0 auto;
- position: relative;
- width: 4em;
- }
- }
-
- p {
- margin-top: 0;
- }
- }
- }
-
-/* Form */
-
- form {
- margin: 0 0 _size(element-margin) 0;
- }
-
- label {
- color: _palette(fg-bold);
- display: block;
- font-size: 0.9em;
- font-weight: _font(weight-bold);
- margin: 0 0 (_size(element-margin) * 0.5) 0;
- }
-
- input[type="text"],
- input[type="password"],
- input[type="email"],
- select,
- textarea {
- @include vendor('appearance', 'none');
- background: _palette(border2-bg);
- border-radius: 0;
- border: none;
- color: inherit;
- display: block;
- outline: 0;
- padding: 0 1em;
- text-decoration: none;
- width: 100%;
-
- &:invalid {
- box-shadow: none;
- }
-
- &:focus {
- box-shadow: inset 0 0 0 2px _palette(accent1, bg);
- }
- }
-
- .select-wrapper {
- @include icon;
- display: block;
- position: relative;
-
- &:before {
- color: _palette(fg-light);
- content: '\f078';
- display: block;
- height: _size(element-height);
- line-height: _size(element-height);
- pointer-events: none;
- position: absolute;
- right: 0;
- text-align: center;
- top: 0;
- width: _size(element-height);
- }
-
- select::-ms-expand {
- display: none;
- }
- }
-
- input[type="text"],
- input[type="password"],
- input[type="email"],
- select {
- height: _size(element-height);
- }
-
- textarea {
- padding: 0.75em 1em;
- }
-
- input[type="checkbox"],
- input[type="radio"], {
- @include vendor('appearance', 'none');
- display: block;
- float: left;
- margin-right: -2em;
- opacity: 0;
- width: 1em;
- z-index: -1;
-
- & + label {
- @include icon;
- color: _palette(fg);
- cursor: pointer;
- display: inline-block;
- font-size: 1em;
- font-weight: _font(weight);
- padding-left: (_size(element-height) * 0.6) + 0.75em;
- padding-right: 0.75em;
- position: relative;
-
- &:before {
- background: _palette(border2-bg);
- content: '';
- display: inline-block;
- height: (_size(element-height) * 0.6);
- left: 0;
- line-height: (_size(element-height) * 0.575);
- position: absolute;
- text-align: center;
- top: 0;
- width: (_size(element-height) * 0.6);
- }
- }
-
- &:checked + label {
- &:before {
- background: _palette(accent2, bg);
- color: _palette(accent2, fg-bold);
- content: '\f00c';
- }
- }
-
- &:focus + label {
- &:before {
- box-shadow: inset 0 0 0 2px _palette(accent1, bg);
- }
- }
- }
-
- input[type="checkbox"] {
- & + label {
- &:before {
- }
- }
- }
-
- input[type="radio"] {
- & + label {
- &:before {
- border-radius: 100%;
- }
- }
- }
-
- ::-webkit-input-placeholder {
- color: _palette(fg-light) !important;
- opacity: 1.0;
- }
-
- :-moz-placeholder {
- color: _palette(fg-light) !important;
- opacity: 1.0;
- }
-
- ::-moz-placeholder {
- color: _palette(fg-light) !important;
- opacity: 1.0;
- }
-
- :-ms-input-placeholder {
- color: _palette(fg-light) !important;
- opacity: 1.0;
- }
-
- .formerize-placeholder {
- color: _palette(fg-light) !important;
- opacity: 1.0;
- }
-
-/* Box */
-
- .box {
- border: solid 2px _palette(border);
- margin-bottom: _size(element-margin);
- padding: 1.5em;
-
- > :last-child,
- > :last-child > :last-child,
- > :last-child > :last-child > :last-child {
- margin-bottom: 0;
- }
-
- &.alt {
- border: 0;
- border-radius: 0;
- padding: 0;
- }
- }
-
-/* Icon */
-
- .icon {
- @include icon;
- border-bottom: none;
- position: relative;
-
- > .label {
- display: none;
- }
-
- &.major {
- display: block;
- margin: 0 0 (_size(element-margin) * 0.5) 0;
-
- &:before {
- font-size: 2.5em;
- }
- }
- }
-
-/* Image */
-
- .image {
- border: 0;
- display: inline-block;
- position: relative;
-
- &:before {
- background: url('images/overlay.png');
- content: '';
- display: block;
- height: 100%;
- left: 0;
- position: absolute;
- top: 0;
- width: 100%;
- }
-
- img {
- display: block;
- }
-
- &.left {
- float: left;
- margin: 0 1.5em 1em 0;
- top: 0.25em;
- }
-
- &.right {
- float: right;
- margin: 0 0 1em 1.5em;
- top: 0.25em;
- }
-
- &.left,
- &.right {
- max-width: 40%;
-
- img {
- width: 100%;
- }
- }
-
- &.fit {
- display: block;
- margin: 0 0 _size(element-margin) 0;
- width: 100%;
-
- img {
- width: 100%;
- }
- }
- }
-
-/* List */
-
- ol {
- list-style: decimal;
- margin: 0 0 _size(element-margin) 0;
- padding-left: 1.25em;
-
- li {
- padding-left: 0.25em;
- }
- }
-
- ul {
- list-style: disc;
- margin: 0 0 _size(element-margin) 0;
- padding-left: 1em;
-
- li {
- padding-left: 0.5em;
- }
-
- &.alt {
- list-style: none;
- padding-left: 0;
-
- li {
- border-top: solid 1px _palette(border);
- padding: 0.5em 0;
-
- &:first-child {
- border-top: 0;
- padding-top: 0;
- }
- }
- }
-
- &.icons {
- cursor: default;
- list-style: none;
- padding-left: 0;
-
- li {
- display: inline-block;
- padding: 0 1.5em 0 0;
-
- &:last-child {
- padding-right: 0;
- }
-
- .icon {
- &:before {
- font-size: 1.5em;
- }
- }
- }
- }
-
- &.icons-grid {
- list-style: none;
- padding: 0;
- position: relative;
-
- li {
- display: block;
- float: left;
- padding: (_size(element-margin) * 1.5) 0;
- width: 50%;
-
- h3 {
- margin: 0;
- }
-
- &:nth-child(2n + 1) {
- box-shadow: inset -1px 0 0 0 _palette(border), 1px 0 0 0 _palette(border);
- }
-
- &:nth-child(2n + 3) {
- &:before {
- background: _palette(border);
- content: '';
- display: block;
- height: 2px;
- margin-top: (_size(element-margin) * -1.5);
- position: absolute;
- width: 100%;
- }
- }
- }
-
- &:after {
- clear: both;
- content: '';
- display: block;
- }
- }
-
- &.actions {
- cursor: default;
- list-style: none;
- padding-left: 0;
-
- li {
- display: inline-block;
- padding: 0 (_size(element-margin) * 0.5) 0 0;
- vertical-align: middle;
-
- &:last-child {
- padding-right: 0;
- }
- }
-
- &.small {
- li {
- padding: 0 (_size(element-margin) * 0.25) 0 0;
- }
- }
-
- &.vertical {
- li {
- display: block;
- padding: (_size(element-margin) * 0.5) 0 0 0;
-
- &:first-child {
- padding-top: 0;
- }
-
- > * {
- margin-bottom: 0;
- }
- }
-
- &.small {
- li {
- padding: (_size(element-margin) * 0.25) 0 0 0;
-
- &:first-child {
- padding-top: 0;
- }
- }
- }
- }
-
- &.fit {
- display: table;
- margin-left: (_size(element-margin) * -0.5);
- padding: 0;
- table-layout: fixed;
- width: calc(100% + #{(_size(element-margin) * 0.5)});
-
- li {
- display: table-cell;
- padding: 0 0 0 (_size(element-margin) * 0.5);
-
- > * {
- margin-bottom: 0;
- min-width: 0;
- }
- }
-
- &.small {
- margin-left: (_size(element-margin) * -0.25);
- width: calc(100% + #{(_size(element-margin) * 0.25)});
-
- li {
- padding: 0 0 0 (_size(element-margin) * 0.25);
- }
- }
- }
- }
- }
-
- dl {
- margin: 0 0 _size(element-margin) 0;
- }
-
-/* Table */
-
- .table-wrapper {
- -webkit-overflow-scrolling: touch;
- overflow-x: auto;
- }
-
- table {
- margin: 0 0 _size(element-margin) 0;
- width: 100%;
-
- tbody {
- tr {
- border: solid 1px _palette(border);
- border-left: 0;
- border-right: 0;
-
- &:nth-child(2n + 1) {
- background-color: _palette(border-bg);
- }
- }
- }
-
- td {
- padding: 0.75em 0.75em;
- }
-
- th {
- color: _palette(fg-bold);
- font-size: 0.9em;
- font-weight: _font(weight-bold);
- padding: 0 0.75em 0.75em 0.75em;
- text-align: left;
- }
-
- thead {
- border-bottom: solid 2px _palette(border);
- }
-
- tfoot {
- border-top: solid 2px _palette(border);
- }
-
- &.alt {
- border-collapse: separate;
-
- tbody {
- tr {
- td {
- border: solid 1px _palette(border);
- border-left-width: 0;
- border-top-width: 0;
-
- &:first-child {
- border-left-width: 1px;
- }
- }
-
- &:first-child {
- td {
- border-top-width: 1px;
- }
- }
- }
- }
-
- thead {
- border-bottom: 0;
- }
-
- tfoot {
- border-top: 0;
- }
- }
- }
-
-/* Button */
-
- input[type="submit"],
- input[type="reset"],
- input[type="button"],
- button,
- .button {
- @include vendor('appearance', 'none');
- @include vendor('transition', ('background-color #{_duration(transition)} ease-in-out', 'color #{_duration(transition)} ease-in-out'));
- background-color: transparent;
- border-radius: 0;
- border: 0;
- box-shadow: inset 0 0 0 2px _palette(border);
- color: _palette(fg-bold) !important;
- cursor: pointer;
- display: inline-block;
- font-weight: _font(weight-bold);
- height: _size(element-height);
- letter-spacing: 0.05em;
- line-height: (_size(element-height) * 1.05);
- padding: 0 2em;
- text-align: center;
- text-decoration: none;
- text-transform: uppercase;
- white-space: nowrap;
-
- &:hover {
- background-color: _palette(border-bg);
- color: _palette(fg-bold) !important;
- }
-
- &:active {
- background-color: _palette(border2-bg);
- color: _palette(fg-bold) !important;
- }
-
- &.icon {
- padding-left: 1.35em;
-
- &:before {
- color: _palette(fg-light);
- margin-right: 0.5em;
- }
- }
-
- &.fit {
- display: block;
- margin: 0 0 (_size(element-margin) * 0.5) 0;
- width: 100%;
- }
-
- &.small {
- font-size: 0.8em;
- }
-
- &.big {
- font-size: 1.35em;
- }
-
- &.special {
- background-color: _palette(accent1, bg);
- border: 0;
- box-shadow: none;
- color: _palette(accent1, fg-bold) !important;
-
- &:hover {
- background-color: lighten(_palette(accent1, bg), 5);
- }
-
- &:active {
- background-color: darken(_palette(accent1, bg), 5);
- }
-
- &.icon {
- &:before {
- color: _palette(accent1, fg-light);
- }
- }
- }
-
- &.disabled,
- &:disabled {
- background-color: _palette(fg) !important;
- box-shadow: none !important;
- color: _palette(bg) !important;
- cursor: default;
- opacity: 0.25;
- }
- }
-
-/* Main BG */
-
- .main-bg {
- @include vendor('transition', 'opacity #{_duration(bg-fadein)} ease-out');
- background-attachment: fixed, fixed;
- background-position: top left, center center;
- background-repeat: repeat, none;
- background-size: auto, cover;
- height: 100%;
- left: 0;
- opacity: 0;
- position: fixed;
- top: 0;
- width: 100%;
- z-index: -1;
-
- &.active {
- opacity: 1;
- }
- }
-
-/* Main */
-
- .main {
- position: relative;
-
- .image.primary {
- display: none;
- }
-
- .container {
- @include padding($size-padding-tb, $size-padding-lr, (0, 0, 5em, 0));
- background: transparentize(_palette(bg), 0.05);
- box-shadow: inset 0 1px 0 0 _palette(border);
-
- &:before {
- @include minHeight($size-padding-tb, 5em);
- content: '';
- display: inline-block;
- vertical-align: middle;
- width: 1px;
- }
-
- .content {
- display: inline-block;
- margin-right: 1px;
- vertical-align: middle;
- width: calc(100% - 10px);
- }
- }
-
- .goto-next {
- @include vendor('transition', 'background-color #{_duration(transition)} ease-in-out');
- background-color: _palette(border-bg);
- background-image: url('images/arrow.svg');
- background-position: center center;
- background-repeat: no-repeat;
- border-radius: 100%;
- border: 0;
- bottom: 3em;
- display: block;
- height: 4em;
- left: 50%;
- line-height: 4em;
- margin-left: -2em;
- overflow: hidden;
- position: absolute;
- text-indent: 4em;
- white-space: nowrap;
- width: 4em;
-
- &:hover {
- background-color: _palette(border2-bg);
- }
- }
- }
-
-/* Header */
-
- #header {
- height: 100vh;
- position: relative;
- text-align: center;
-
- &:after {
- content: '';
- display: inline-block;
- height: 100vh;
- vertical-align: middle;
- }
-
- header {
- color: _palette(alt, fg);
- display: inline-block;
- padding-bottom: (_size(element-height) + ($size-padding-lr * 2));
- vertical-align: middle;
-
- h1, h2, h3, h4, h5, h6, strong, b {
- color: _palette(alt, fg-bold);
- }
-
- a {
- color: inherit;
-
- &:hover {
- color: _palette(alt, fg-bold) !important;
- }
- }
-
- h1 {
- font-size: 3em;
- line-height: 1.25em;
- margin: 0;
-
- &:after {
- margin-top: 0.5em;
- }
- }
-
- p {
- color: _palette(alt, fg-bold);
- font-weight: _font(weight-bold);
- margin: (_size(element-margin) * 0.75) 0 0 0;
- }
- }
-
- .container {
- background: transparentize(_palette(bg), 0.05);
- bottom: 0;
- left: 50%;
- margin-left: -17.5em;
- padding: $size-padding-lr;
- position: absolute;
-
- > :last-child {
- margin-bottom: 0;
- }
-
- .button {
- min-width: 12em;
- }
- }
- }
-
-/* Footer */
-
- #footer {
- min-height: 100vh;
- padding: 0 0 12em 0;
- position: relative;
- text-align: center;
-
- .container {
- @include padding($size-padding-tb, $size-padding-lr);
- background: transparentize(_palette(bg), 0.05);
- box-shadow: inset 0 1px 0 0 _palette(border);
- }
-
- footer {
- bottom: _size(element-margin);
- color: _palette(alt, fg);
- left: 0;
- position: absolute;
- text-align: center;
- width: 100%;
-
- h1, h2, h3, h4, h5, h6, strong, b {
- color: _palette(alt, fg-bold);
- }
-
- a {
- color: inherit;
-
- &:hover {
- color: _palette(alt, fg-bold) !important;
- }
- }
-
- .copyright {
- font-size: 0.8em;
- line-height: 1em;
- padding: 0;
-
- li {
- border-left: solid 1px _palette(alt, fg-lighter);
- display: inline-block;
- margin: 0 0 0 1em;
- padding: 0 0 0 1em;
-
- &:first-child {
- border-left: 0;
- margin-left: 0;
- padding-left: 0;
- }
- }
- }
- }
- }
-
-/* Large */
-
- @include breakpoint(large) {
-
- /* Basic */
-
- body, input, select, textarea {
- font-size: 12pt;
- }
-
- }
-
-/* Medium */
-
- @include breakpoint(medium) {
-
- $size-padding-tb: 3em;
- $size-padding-lr: 3em;
-
- /* Main BG */
-
- .main-bg {
- display: none;
- }
-
- /* Main */
-
- .main {
- .image.primary {
- display: block;
- margin: 0 0 (_size(element-margin) * 2) 0;
- }
-
- .container {
- @include padding($size-padding-tb, $size-padding-lr, (0, 0, 7em, 0));
-
- &:before {
- display: none;
- }
- }
- }
-
- /* Header */
-
- #header {
- header {
- padding-bottom: (_size(element-height) + ($size-padding-lr * 2));
- width: 80%;
- }
-
- .container {
- margin-left: -40%;
- padding: $size-padding-lr;
- }
- }
-
- /* Footer */
-
- #footer {
- min-height: 0;
- padding: 0;
-
- .container {
- @include padding($size-padding-tb, $size-padding-lr);
- }
-
- footer {
- @include padding($size-padding-tb, $size-padding-lr);
- bottom: auto;
- position: relative;
- }
- }
-
- }
-
-/* Small */
-
- @include breakpoint(small) {
-
- $size-padding-tb: 3em;
- $size-padding-lr: 1.5em;
-
- /* Basic */
-
- h2 {
- font-size: 1.35em;
- }
-
- /* Main */
-
- .main {
- .container {
- @include padding($size-padding-tb, $size-padding-lr);
-
- .image.primary:first-child {
- margin: (($size-padding-tb - $size-padding-lr) * -1) 0 (_size(element-margin) * 1.25) 0;
- }
- }
-
- .goto-next {
- display: none;
- }
- }
-
- /* Header */
-
- #header {
- height: 80vh;
-
- &:after {
- height: 80vh;
- }
-
- header {
- padding-bottom: 0;
-
- h1 {
- font-size: 2em;
- }
-
- p {
- margin-top: 1em;
- }
- }
-
- .container {
- display: none;
- }
- }
-
- /* Footer */
-
- #footer {
- .container {
- @include padding($size-padding-tb, $size-padding-lr);
- }
- }
-
- }
-
-/* XSmall */
-
- @include breakpoint(xsmall) {
-
- $size-padding-tb: 3em;
- $size-padding-lr: 1em;
-
- /* Basic */
-
- html, body {
- min-width: 320px;
- }
-
- /* List */
-
- ul {
- &.actions {
- margin: 0 0 _size(element-margin) 0;
-
- li {
- display: block;
- padding: (_size(element-margin) * 0.5) 0 0 0;
- text-align: center;
- width: 100%;
-
- &:first-child {
- padding-top: 0;
- }
-
- > * {
- margin: 0 !important;
- width: 100%;
- }
- }
-
- &.small {
- li {
- padding: (_size(element-margin) * 0.25) 0 0 0;
-
- &:first-child {
- padding-top: 0;
- }
- }
- }
- }
-
- &.icons-grid {
- li {
- box-shadow: inset 0 1px 0 0 _palette(border) !important;
- float: none;
- margin: _size(element-margin) 0 0 0;
- padding: _size(element-margin) 0 0 0;
- width: 100%;
-
- &:first-child {
- box-shadow: none !important;
- margin-top: 0;
- padding: (_size(element-margin) * 0.5) 0 0 0;
- }
-
- &:nth-child(2n + 1) {
- box-shadow: none;
- }
-
- &:nth-child(2n + 3) {
- &:before {
- display: none;
- }
- }
- }
- }
- }
-
- /* Button */
-
- input[type="submit"],
- input[type="reset"],
- input[type="button"],
- button,
- .button {
- padding: 0;
-
- &.icon {
- padding-left: 0;
-
- }
- }
-
- /* Main */
-
- .main {
- .container {
- @include padding($size-padding-tb, $size-padding-lr);
-
- .image.primary:first-child {
- margin: (($size-padding-tb - $size-padding-lr) * -1) 0 (_size(element-margin) * 1.25) 0;
- }
- }
- }
-
- /* Footer */
-
- #footer {
- .container {
- @include padding($size-padding-tb, $size-padding-lr);
- }
-
- footer {
- .copyright {
- line-height: inherit;
-
- li {
- border-left: 0;
- display: block;
- margin: 0;
- padding: 0;
- }
- }
- }
- }
-
- }
\ No newline at end of file
diff --git a/tags/index.xml b/tags/index.xml
deleted file mode 100644
index 8f74825..0000000
--- a/tags/index.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- Tags on WAVE
- https://idahoagstats.github.io/wave/tags/
- Recent content in Tags on WAVE
- Hugo -- gohugo.io
- en-us
-
-
diff --git a/webfonts/fa-brands-400.eot b/webfonts/fa-brands-400.eot
deleted file mode 100644
index baf4057..0000000
Binary files a/webfonts/fa-brands-400.eot and /dev/null differ
diff --git a/webfonts/fa-brands-400.svg b/webfonts/fa-brands-400.svg
deleted file mode 100644
index 843c1c7..0000000
--- a/webfonts/fa-brands-400.svg
+++ /dev/null
@@ -1,3535 +0,0 @@
-
-
-
-
diff --git a/webfonts/fa-brands-400.ttf b/webfonts/fa-brands-400.ttf
deleted file mode 100644
index 9916328..0000000
Binary files a/webfonts/fa-brands-400.ttf and /dev/null differ
diff --git a/webfonts/fa-brands-400.woff b/webfonts/fa-brands-400.woff
deleted file mode 100644
index f9e3bcd..0000000
Binary files a/webfonts/fa-brands-400.woff and /dev/null differ
diff --git a/webfonts/fa-brands-400.woff2 b/webfonts/fa-brands-400.woff2
deleted file mode 100644
index 51c07ae..0000000
Binary files a/webfonts/fa-brands-400.woff2 and /dev/null differ
diff --git a/webfonts/fa-regular-400.eot b/webfonts/fa-regular-400.eot
deleted file mode 100644
index 04e25cb..0000000
Binary files a/webfonts/fa-regular-400.eot and /dev/null differ
diff --git a/webfonts/fa-regular-400.svg b/webfonts/fa-regular-400.svg
deleted file mode 100644
index f1f7e6c..0000000
--- a/webfonts/fa-regular-400.svg
+++ /dev/null
@@ -1,803 +0,0 @@
-
-
-
-
diff --git a/webfonts/fa-regular-400.ttf b/webfonts/fa-regular-400.ttf
deleted file mode 100644
index 9c6249c..0000000
Binary files a/webfonts/fa-regular-400.ttf and /dev/null differ
diff --git a/webfonts/fa-regular-400.woff b/webfonts/fa-regular-400.woff
deleted file mode 100644
index 2873e43..0000000
Binary files a/webfonts/fa-regular-400.woff and /dev/null differ
diff --git a/webfonts/fa-regular-400.woff2 b/webfonts/fa-regular-400.woff2
deleted file mode 100644
index a34bd65..0000000
Binary files a/webfonts/fa-regular-400.woff2 and /dev/null differ
diff --git a/webfonts/fa-solid-900.eot b/webfonts/fa-solid-900.eot
deleted file mode 100644
index 39716a7..0000000
Binary files a/webfonts/fa-solid-900.eot and /dev/null differ
diff --git a/webfonts/fa-solid-900.svg b/webfonts/fa-solid-900.svg
deleted file mode 100644
index cfd0e2f..0000000
--- a/webfonts/fa-solid-900.svg
+++ /dev/null
@@ -1,4700 +0,0 @@
-
-
-
-
diff --git a/webfonts/fa-solid-900.ttf b/webfonts/fa-solid-900.ttf
deleted file mode 100644
index ac4baa2..0000000
Binary files a/webfonts/fa-solid-900.ttf and /dev/null differ
diff --git a/webfonts/fa-solid-900.woff b/webfonts/fa-solid-900.woff
deleted file mode 100644
index 23002f8..0000000
Binary files a/webfonts/fa-solid-900.woff and /dev/null differ
diff --git a/webfonts/fa-solid-900.woff2 b/webfonts/fa-solid-900.woff2
deleted file mode 100644
index b37f209..0000000
Binary files a/webfonts/fa-solid-900.woff2 and /dev/null differ