Initialize website project structure
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
/*! gumshoejs v5.1.2 | (c) 2019 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/gumshoe */
|
||||
Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){var e=this;if(!document.documentElement.contains(this))return null;do{if(e.matches(t))return e;e=e.parentElement}while(null!==e);return null}),(function(){if("function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t})(),(function(t,e){"function"==typeof define&&define.amd?define([],(function(){return e(t)})):"object"==typeof exports?module.exports=e(t):t.Gumshoe=e(t)})("undefined"!=typeof global?global:"undefined"!=typeof window?window:this,(function(t){"use strict";var e={navClass:"active",contentClass:"active",nested:!1,nestedClass:"active",offset:0,reflow:!1,events:!0},n=function(t,e,n){if(n.settings.events){var o=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});e.dispatchEvent(o)}},o=function(t){var e=0;if(t.offsetParent)for(;t;)e+=t.offsetTop,t=t.offsetParent;return e>=0?e:0},s=function(t){t&&t.sort((function(t,e){return o(t.content)<o(e.content)?-1:1}))},r=function(e,n,o){var s=e.getBoundingClientRect(),r=(function(t){return"function"==typeof t.offset?parseFloat(t.offset()):parseFloat(t.offset)})(n);return o?parseInt(s.bottom,10)<(t.innerHeight||document.documentElement.clientHeight):parseInt(s.top,10)<=r},c=function(){return t.innerHeight+t.pageYOffset>=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},i=function(t,e){var n=t[t.length-1];if(function(t,e){return!(!c()||!r(t.content,e,!0))}(n,e))return n;for(var o=t.length-1;o>=0;o--)if(r(t[o].content,e))return t[o]},l=function(t,e){if(e.nested&&t.parentNode){var n=t.parentNode.closest("li");n&&(n.classList.remove(e.nestedClass),l(n,e))}},a=function(t,e){if(t){var o=t.nav.closest("li");o&&(o.classList.remove(e.navClass),t.content.classList.remove(e.contentClass),l(o,e),n("gumshoeDeactivate",o,{link:t.nav,content:t.content,settings:e}))}},u=function(t,e){if(e.nested){var n=t.parentNode.closest("li");n&&(n.classList.add(e.nestedClass),u(n,e))}};return function(o,r){var c,l,f,d,m,v={};v.setup=function(){c=document.querySelectorAll(o),l=[],Array.prototype.forEach.call(c,(function(t){var e=document.getElementById(decodeURIComponent(t.hash.substr(1)));e&&l.push({nav:t,content:e})})),s(l)},v.detect=function(){var t=i(l,m);t?f&&t.content===f.content||(a(f,m),(function(t,e){if(t){var o=t.nav.closest("li");o&&(o.classList.add(e.navClass),t.content.classList.add(e.contentClass),u(o,e),n("gumshoeActivate",o,{link:t.nav,content:t.content,settings:e}))}})(t,m),f=t):f&&(a(f,m),f=null)};var p=function(e){d&&t.cancelAnimationFrame(d),d=t.requestAnimationFrame(v.detect)},h=function(e){d&&t.cancelAnimationFrame(d),d=t.requestAnimationFrame((function(){s(l),v.detect()}))};v.destroy=function(){f&&a(f,m),t.removeEventListener("scroll",p,!1),m.reflow&&t.removeEventListener("resize",h,!1),l=null,c=null,f=null,d=null,m=null};return m=(function(){var t={};return Array.prototype.forEach.call(arguments,(function(e){for(var n in e){if(!e.hasOwnProperty(n))return;t[n]=e[n]}})),t})(e,r||{}),v.setup(),v.detect(),t.addEventListener("scroll",p,!1),m.reflow&&t.addEventListener("resize",h,!1),v}}));
|
||||
Vendored
+5
File diff suppressed because one or more lines are too long
@@ -0,0 +1,230 @@
|
||||
/*!
|
||||
By André Rinas, www.andrerinas.de
|
||||
Documentation, www.simplelightbox.de
|
||||
Available for use under the MIT License
|
||||
Version 2.10.3
|
||||
*/
|
||||
body.hidden-scroll {
|
||||
overflow: hidden; }
|
||||
|
||||
.sl-overlay {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: #fff;
|
||||
display: none;
|
||||
z-index: 1035; }
|
||||
|
||||
.sl-wrapper {
|
||||
z-index: 1040;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
position: fixed; }
|
||||
.sl-wrapper * {
|
||||
box-sizing: border-box; }
|
||||
.sl-wrapper button {
|
||||
border: 0 none;
|
||||
background: transparent;
|
||||
font-size: 28px;
|
||||
padding: 0;
|
||||
cursor: pointer; }
|
||||
.sl-wrapper button:hover {
|
||||
opacity: 0.7; }
|
||||
.sl-wrapper .sl-close {
|
||||
display: none;
|
||||
position: fixed;
|
||||
right: 30px;
|
||||
top: 30px;
|
||||
z-index: 10060;
|
||||
margin-top: -14px;
|
||||
margin-right: -14px;
|
||||
height: 44px;
|
||||
width: 44px;
|
||||
line-height: 44px;
|
||||
font-family: Arial, Baskerville, monospace;
|
||||
color: #000;
|
||||
font-size: 3rem; }
|
||||
.sl-wrapper .sl-counter {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 30px;
|
||||
left: 30px;
|
||||
z-index: 1060;
|
||||
color: #000;
|
||||
font-size: 1rem; }
|
||||
.sl-wrapper .sl-navigation {
|
||||
width: 100%;
|
||||
display: none; }
|
||||
.sl-wrapper .sl-navigation button {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
margin-top: -22px;
|
||||
height: 44px;
|
||||
width: 22px;
|
||||
line-height: 44px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
z-index: 10060;
|
||||
font-family: Arial, Baskerville, monospace;
|
||||
color: #000; }
|
||||
.sl-wrapper .sl-navigation button.sl-next {
|
||||
right: 5px;
|
||||
font-size: 2rem; }
|
||||
.sl-wrapper .sl-navigation button.sl-prev {
|
||||
left: 5px;
|
||||
font-size: 2rem; }
|
||||
@media (min-width: 35.5em) {
|
||||
.sl-wrapper .sl-navigation button {
|
||||
width: 44px; }
|
||||
.sl-wrapper .sl-navigation button.sl-next {
|
||||
right: 10px;
|
||||
font-size: 3rem; }
|
||||
.sl-wrapper .sl-navigation button.sl-prev {
|
||||
left: 10px;
|
||||
font-size: 3rem; } }
|
||||
@media (min-width: 50em) {
|
||||
.sl-wrapper .sl-navigation button {
|
||||
width: 44px; }
|
||||
.sl-wrapper .sl-navigation button.sl-next {
|
||||
right: 20px;
|
||||
font-size: 3rem; }
|
||||
.sl-wrapper .sl-navigation button.sl-prev {
|
||||
left: 20px;
|
||||
font-size: 3rem; } }
|
||||
.sl-wrapper.sl-dir-rtl .sl-navigation {
|
||||
direction: ltr; }
|
||||
.sl-wrapper .sl-image {
|
||||
position: fixed;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
z-index: 10000; }
|
||||
.sl-wrapper .sl-image img {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
border: 0 none;
|
||||
width: 100%;
|
||||
height: auto; }
|
||||
@media (min-width: 35.5em) {
|
||||
.sl-wrapper .sl-image img {
|
||||
border: 0 none; } }
|
||||
@media (min-width: 50em) {
|
||||
.sl-wrapper .sl-image img {
|
||||
border: 0 none; } }
|
||||
.sl-wrapper .sl-image iframe {
|
||||
background: #000;
|
||||
border: 0 none; }
|
||||
@media (min-width: 35.5em) {
|
||||
.sl-wrapper .sl-image iframe {
|
||||
border: 0 none; } }
|
||||
@media (min-width: 50em) {
|
||||
.sl-wrapper .sl-image iframe {
|
||||
border: 0 none; } }
|
||||
.sl-wrapper .sl-image .sl-caption {
|
||||
display: none;
|
||||
padding: 10px;
|
||||
color: #fff;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
font-size: 1rem;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0; }
|
||||
.sl-wrapper .sl-image .sl-caption.pos-top {
|
||||
bottom: auto;
|
||||
top: 0; }
|
||||
.sl-wrapper .sl-image .sl-caption.pos-outside {
|
||||
bottom: auto; }
|
||||
.sl-wrapper .sl-image .sl-download {
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
right: 5px;
|
||||
color: #000;
|
||||
z-index: 1060; }
|
||||
|
||||
.sl-spinner {
|
||||
display: none;
|
||||
border: 5px solid #333;
|
||||
border-radius: 40px;
|
||||
height: 40px;
|
||||
left: 50%;
|
||||
margin: -20px 0 0 -20px;
|
||||
opacity: 0;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
width: 40px;
|
||||
z-index: 1007;
|
||||
-webkit-animation: pulsate 1s ease-out infinite;
|
||||
-moz-animation: pulsate 1s ease-out infinite;
|
||||
-ms-animation: pulsate 1s ease-out infinite;
|
||||
-o-animation: pulsate 1s ease-out infinite;
|
||||
animation: pulsate 1s ease-out infinite; }
|
||||
|
||||
.sl-scrollbar-measure {
|
||||
position: absolute;
|
||||
top: -9999px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
overflow: scroll; }
|
||||
|
||||
.sl-transition {
|
||||
transition: -moz-transform ease 200ms;
|
||||
transition: -ms-transform ease 200ms;
|
||||
transition: -o-transform ease 200ms;
|
||||
transition: -webkit-transform ease 200ms;
|
||||
transition: transform ease 200ms; }
|
||||
|
||||
@-webkit-keyframes pulsate {
|
||||
0% {
|
||||
transform: scale(0.1);
|
||||
opacity: 0.0; }
|
||||
50% {
|
||||
opacity: 1; }
|
||||
100% {
|
||||
transform: scale(1.2);
|
||||
opacity: 0; } }
|
||||
|
||||
@keyframes pulsate {
|
||||
0% {
|
||||
transform: scale(0.1);
|
||||
opacity: 0.0; }
|
||||
50% {
|
||||
opacity: 1; }
|
||||
100% {
|
||||
transform: scale(1.2);
|
||||
opacity: 0; } }
|
||||
|
||||
@-moz-keyframes pulsate {
|
||||
0% {
|
||||
transform: scale(0.1);
|
||||
opacity: 0.0; }
|
||||
50% {
|
||||
opacity: 1; }
|
||||
100% {
|
||||
transform: scale(1.2);
|
||||
opacity: 0; } }
|
||||
|
||||
@-o-keyframes pulsate {
|
||||
0% {
|
||||
transform: scale(0.1);
|
||||
opacity: 0.0; }
|
||||
50% {
|
||||
opacity: 1; }
|
||||
100% {
|
||||
transform: scale(1.2);
|
||||
opacity: 0; } }
|
||||
|
||||
@-ms-keyframes pulsate {
|
||||
0% {
|
||||
transform: scale(0.1);
|
||||
opacity: 0.0; }
|
||||
50% {
|
||||
opacity: 1; }
|
||||
100% {
|
||||
transform: scale(1.2);
|
||||
opacity: 0; } }
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
||||
/*!
|
||||
By André Rinas, www.andrerinas.de
|
||||
Documentation, www.simplelightbox.de
|
||||
Available for use under the MIT License
|
||||
Version 2.10.3
|
||||
*/
|
||||
body.hidden-scroll{overflow:hidden}.sl-overlay{position:fixed;left:0;right:0;top:0;bottom:0;background:#fff;display:none;z-index:1035}.sl-wrapper{z-index:1040;width:100%;height:100%;left:0;top:0;position:fixed}.sl-wrapper *{box-sizing:border-box}.sl-wrapper button{border:0 none;background:transparent;font-size:28px;padding:0;cursor:pointer}.sl-wrapper button:hover{opacity:0.7}.sl-wrapper .sl-close{display:none;position:fixed;right:30px;top:30px;z-index:10060;margin-top:-14px;margin-right:-14px;height:44px;width:44px;line-height:44px;font-family:Arial,Baskerville,monospace;color:#000;font-size:3rem}.sl-wrapper .sl-counter{display:none;position:fixed;top:30px;left:30px;z-index:1060;color:#000;font-size:1rem}.sl-wrapper .sl-navigation{width:100%;display:none}.sl-wrapper .sl-navigation button{position:fixed;top:50%;margin-top:-22px;height:44px;width:22px;line-height:44px;text-align:center;display:block;z-index:10060;font-family:Arial,Baskerville,monospace;color:#000}.sl-wrapper .sl-navigation button.sl-next{right:5px;font-size:2rem}.sl-wrapper .sl-navigation button.sl-prev{left:5px;font-size:2rem}@media (min-width: 35.5em){.sl-wrapper .sl-navigation button{width:44px}.sl-wrapper .sl-navigation button.sl-next{right:10px;font-size:3rem}.sl-wrapper .sl-navigation button.sl-prev{left:10px;font-size:3rem}}@media (min-width: 50em){.sl-wrapper .sl-navigation button{width:44px}.sl-wrapper .sl-navigation button.sl-next{right:20px;font-size:3rem}.sl-wrapper .sl-navigation button.sl-prev{left:20px;font-size:3rem}}.sl-wrapper.sl-dir-rtl .sl-navigation{direction:ltr}.sl-wrapper .sl-image{position:fixed;-ms-touch-action:none;touch-action:none;z-index:10000}.sl-wrapper .sl-image img{margin:0;padding:0;display:block;border:0 none;width:100%;height:auto}@media (min-width: 35.5em){.sl-wrapper .sl-image img{border:0 none}}@media (min-width: 50em){.sl-wrapper .sl-image img{border:0 none}}.sl-wrapper .sl-image iframe{background:#000;border:0 none}@media (min-width: 35.5em){.sl-wrapper .sl-image iframe{border:0 none}}@media (min-width: 50em){.sl-wrapper .sl-image iframe{border:0 none}}.sl-wrapper .sl-image .sl-caption{display:none;padding:10px;color:#fff;background:rgba(0,0,0,0.8);font-size:1rem;position:absolute;bottom:0;left:0;right:0}.sl-wrapper .sl-image .sl-caption.pos-top{bottom:auto;top:0}.sl-wrapper .sl-image .sl-caption.pos-outside{bottom:auto}.sl-wrapper .sl-image .sl-download{display:none;position:absolute;bottom:5px;right:5px;color:#000;z-index:1060}.sl-spinner{display:none;border:5px solid #333;border-radius:40px;height:40px;left:50%;margin:-20px 0 0 -20px;opacity:0;position:fixed;top:50%;width:40px;z-index:1007;-webkit-animation:pulsate 1s ease-out infinite;-moz-animation:pulsate 1s ease-out infinite;-ms-animation:pulsate 1s ease-out infinite;-o-animation:pulsate 1s ease-out infinite;animation:pulsate 1s ease-out infinite}.sl-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.sl-transition{transition:-moz-transform ease 200ms;transition:-ms-transform ease 200ms;transition:-o-transform ease 200ms;transition:-webkit-transform ease 200ms;transition:transform ease 200ms}@-webkit-keyframes pulsate{0%{transform:scale(0.1);opacity:0.0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@keyframes pulsate{0%{transform:scale(0.1);opacity:0.0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@-moz-keyframes pulsate{0%{transform:scale(0.1);opacity:0.0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@-o-keyframes pulsate{0%{transform:scale(0.1);opacity:0.0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@-ms-keyframes pulsate{0%{transform:scale(0.1);opacity:0.0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
+1
@@ -0,0 +1 @@
|
||||
!function(){"use strict";function o(){var o=window,t=document;if(!("scrollBehavior"in t.documentElement.style&&!0!==o.__forceSmoothScrollPolyfill__)){var l,e=o.HTMLElement||o.Element,r=468,i={scroll:o.scroll||o.scrollTo,scrollBy:o.scrollBy,elementScroll:e.prototype.scroll||n,scrollIntoView:e.prototype.scrollIntoView},s=o.performance&&o.performance.now?o.performance.now.bind(o.performance):Date.now,c=(l=o.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(l)?1:0);o.scroll=o.scrollTo=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?h.call(o,t.body,void 0!==arguments[0].left?~~arguments[0].left:o.scrollX||o.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:o.scrollY||o.pageYOffset):i.scroll.call(o,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:o.scrollX||o.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:o.scrollY||o.pageYOffset))},o.scrollBy=function(){void 0!==arguments[0]&&(f(arguments[0])?i.scrollBy.call(o,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(o,t.body,~~arguments[0].left+(o.scrollX||o.pageXOffset),~~arguments[0].top+(o.scrollY||o.pageYOffset)))},e.prototype.scroll=e.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==f(arguments[0])){var o=arguments[0].left,t=arguments[0].top;h.call(this,this,void 0===o?this.scrollLeft:~~o,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},e.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},e.prototype.scrollIntoView=function(){if(!0!==f(arguments[0])){var l=function(o){for(;o!==t.body&&!1===(e=p(l=o,"Y")&&a(l,"Y"),r=p(l,"X")&&a(l,"X"),e||r);)o=o.parentNode||o.host;var l,e,r;return o}(this),e=l.getBoundingClientRect(),r=this.getBoundingClientRect();l!==t.body?(h.call(this,l,l.scrollLeft+r.left-e.left,l.scrollTop+r.top-e.top),"fixed"!==o.getComputedStyle(l).position&&o.scrollBy({left:e.left,top:e.top,behavior:"smooth"})):o.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function n(o,t){this.scrollLeft=o,this.scrollTop=t}function f(o){if(null===o||"object"!=typeof o||void 0===o.behavior||"auto"===o.behavior||"instant"===o.behavior)return!0;if("object"==typeof o&&"smooth"===o.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+o.behavior+" is not a valid value for enumeration ScrollBehavior.")}function p(o,t){return"Y"===t?o.clientHeight+c<o.scrollHeight:"X"===t?o.clientWidth+c<o.scrollWidth:void 0}function a(t,l){var e=o.getComputedStyle(t,null)["overflow"+l];return"auto"===e||"scroll"===e}function d(t){var l,e,i,c,n=(s()-t.startTime)/r;c=n=n>1?1:n,l=.5*(1-Math.cos(Math.PI*c)),e=t.startX+(t.x-t.startX)*l,i=t.startY+(t.y-t.startY)*l,t.method.call(t.scrollable,e,i),e===t.x&&i===t.y||o.requestAnimationFrame(d.bind(o,t))}function h(l,e,r){var c,f,p,a,h=s();l===t.body?(c=o,f=o.scrollX||o.pageXOffset,p=o.scrollY||o.pageYOffset,a=i.scroll):(c=l,f=l.scrollLeft,p=l.scrollTop,a=n),d({scrollable:c,method:a,startTime:h,startX:f,startY:p,x:e,y:r})}}"object"==typeof exports&&"undefined"!=typeof module?module.exports={polyfill:o}:o()}();
|
||||
Reference in New Issue
Block a user