Color settings

This commit is contained in:
Sodbileg Gansukh committed 2023-07-10 15:44:09 +08:00
1 parent 6d7e0ec42d
commit 259d1e49dd
10 files changed
+116 -39

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
!function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(t,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){function s(e,t){for(var i in t)e[i]=t[i];return e}function r(e,t,i){var n,o;return this instanceof r?(n="string"==typeof(n=e)?document.querySelectorAll(e):n)?(this.elements=(o=n,Array.isArray(o)?o:"object"==typeof o&&"number"==typeof o.length?h.call(o):[o]),this.options=s({},this.options),"function"==typeof t?i=t:s(this.options,t),i&&this.on("always",i),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void d.error("Bad element for imagesLoaded "+(n||e)):new r(e,t,i)}function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}var a=t.jQuery,d=t.console,h=Array.prototype.slice,c=((r.prototype=Object.create(e.prototype)).options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&c[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background)for(var s=e.querySelectorAll(this.options.background),n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}},{1:!0,9:!0,11:!0});return r.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},r.prototype.addImage=function(e){e=new i(e);this.images.push(e)},r.prototype.addBackground=function(e,t){e=new n(e,t);this.images.push(e)},r.prototype.check=function(){function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},r.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&d&&d.log("progress: "+i,e,t)},r.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.rLine truncated !function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){var i;if(e&&t)return-1==(i=(i=this._events=this._events||{})[e]=i[e]||[]).indexOf(t)&&i.push(t),this},t.once=function(e,t){var i;if(e&&t)return this.on(e,t),((i=this._onceEvents=this._onceEvents||{})[e]=i[e]||{})[t]=!0,this},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length)return-1!=(t=e.indexOf(t))&&e.splice(t,1),this},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(t,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){function s(e,t){for(var i in t)e[i]=t[i];return e}function r(e,t,i){var n,o;return this instanceof r?(n="string"==typeof(n=e)?document.querySelectorAll(e):n)?(this.elements=(o=n,Array.isArray(o)?o:"object"==typeof o&&"number"==typeof o.length?h.call(o):[o]),this.options=s({},this.options),"function"==typeof t?i=t:s(this.options,t),i&&this.on("always",i),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(this.check.bind(this))):void d.error("Bad element for imagesLoaded "+(n||e)):new r(e,t,i)}function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}var a=t.jQuery,d=t.console,h=Array.prototype.slice,c=((r.prototype=Object.create(e.prototype)).options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&c[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background)for(var s=e.querySelectorAll(this.options.background),n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}},{1:!0,9:!0,11:!0});return r.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},r.prototype.addImage=function(e){e=new i(e);this.images.push(e)},r.prototype.addBackground=function(e,t){e=new n(e,t);this.images.push(e)},r.prototype.check=function(){function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}var n=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},r.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&d&&d.log("progress: "+i,e,t)},r.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(i.prototype=Object.create(e.prototype)).check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.rLine truncated
//# sourceMappingURL=casper.js.map //# sourceMappingURL=casper.js.map
+1 -1
View File
@@ -1 +1 @@
{"version":3,"sources":["imagesloaded.pkgd.min.js","casper.js"],"names":["e","t","define","amd","module","exports","EvEmitter","window","this","prototype","on","n","i","_events","indexOf","push","once","_onceEvents","off","length","splice","emitEvent","slice","o","r","apply","allOff","require","imagesLoaded","s","document","querySelectorAll","elements","Array","isArray","d","call","options","getImages","h","jqDeferred","Deferred","setTimeout","check","bind","a","error","img","url","element","Image","jQuery","console","u","Object","create","images","forEach","addElementImages","nodeName","addImage","background","addElementBackgroundImages","nodeType","1","9","11","getComputedStyle","exec","backgroundImage","addBackground","progress","progressedCount","hasAnyBroken","complete","isLoaded","notify","debug","log","isComplete","getIsImageComplete","confirm","naturalWidth","proxyImage","addEventListener","src","handleEvent","type","onload","unbindEvents","onerror","removeEventListener","makeJQueryPlugin","fn","promise","mediaQuery","matchMedia","head","querySelector","menu","nav","logo","navHTML","innerHTML","matches","item","index","style","transitionDelay","makeDropdown","submenuItems","offsetWidth","lastElementChild","unshift","remove","toggle","createElement","wrapper","setAttribute","classList","add","gridTemplateRows","Math","ceil","child","appendChild","contains","target","navigation","burger"],"mappings":"AAMA,CAAA,SAAAA,EAAAC,GAAA,YAAA,OAAAC,QAAAA,OAAAC,IAAAD,OAAA,wBAAAD,CAAA,EAAA,UAAA,OAAAG,QAAAA,OAAAC,QAAAD,OAAAC,QAAAJ,EAAA,EAAAD,EAAAM,UAAAL,EAAA,CAAA,EAAA,aAAA,OAAAM,OAAAA,OAAAC,KAAA,WAAA,SAAAR,KAAA,IAAAC,EAAAD,EAAAS,UAAA,OAAAR,EAAAS,GAAA,SAAAV,EAAAC,GAAA,IAAAU,EAAA,GAAAX,GAAAC,EAAA,MAAA,CAAA,IAAAU,GAAAC,EAAAJ,KAAAK,QAAAL,KAAAK,SAAA,IAAAb,GAAAY,EAAAZ,IAAA,IAAAc,QAAAb,CAAA,GAAAU,EAAAI,KAAAd,CAAA,EAAAO,IAAA,EAAAP,EAAAe,KAAA,SAAAhB,EAAAC,GAAA,IAAAW,EAAA,GAAAZ,GAAAC,EAAA,OAAAO,KAAAE,GAAAV,EAAAC,CAAA,IAAAW,EAAAJ,KAAAS,YAAAT,KAAAS,aAAA,IAAAjB,GAAAY,EAAAZ,IAAA,IAAAC,GAAA,CAAA,EAAAO,IAAA,EAAAP,EAAAiB,IAAA,SAAAlB,EAAAC,GAAAW,EAAAJ,KA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A9D,CAAA,EAAA,IAAAC,EAAAD,EAAA+D,SAAA,GAAA9D,GAAAoD,EAAApD,GAAA,CAAA,IAAA,IAAAW,EAAAZ,EAAA+B,iBAAA,KAAA,EAAApB,EAAA,EAAAA,EAAAC,EAAAO,OAAAR,CAAA,GAAA,CAAA,IAAAY,EAAAX,EAAAD,GAAAH,KAAAoD,SAAArC,CAAA,CAAA,CAAA,GAAA,UAAA,OAAAf,KAAA6B,QAAAwB,WAAA,IAAA,IAAArC,EAAAxB,EAAA+B,iBAAAvB,KAAA6B,QAAAwB,UAAA,EAAAlD,EAAA,EAAAA,EAAAa,EAAAL,OAAAR,CAAA,GAAA,CAAA,IAAAkB,EAAAL,EAAAb,GAAAH,KAAAsD,2BAAAjC,CAAA,CAAA,CAAA,CAAA,EAAA,CAAAmC,EAAA,CAAA,EAAAC,EAAA,CAAA,EAAAC,GAAA,CAAA,CAAA,GAAA,OAAA3C,EAAAd,UAAAqD,2BAAA,SAAA9D,GAAA,IAAAC,EAAAkE,iBAAAnE,CAAA,EAAA,GAAAC,EAAA,IAAA,IAAAW,EAAA,0BAAAD,EAAAC,EAAAwD,KAAAnE,EAAAoE,eAAA,EAAA,OAAA1D,GAAA,CAAA,IAAAY,EAAAZ,GAAAA,EAAA,GAAAY,GAAAf,KAAA8D,cAAA/C,EAAAvB,CAAA,EAAAW,EAAAC,EAAAwD,KAAAnE,EAAAoE,eAAA,CAAA,CAAA,EAAA9C,EAAAd,UAAAmD,SAAA,SAAA5D,GAAAC,EAAA,IAAAuB,EAAAxB,CAAA,EAAAQ,KAAAgD,OAAAzC,KAAAd,CAAA,CAAA,EAAAsB,EAAAd,UAAA6D,cAAA,SAAAtE,EAAAC,GAAAW,EAAA,IAAAiB,EAALine truncated {"version":3,"sources":["imagesloaded.pkgd.min.js","casper.js"],"names":["e","t","define","amd","module","exports","EvEmitter","window","this","prototype","on","n","i","_events","indexOf","push","once","_onceEvents","off","length","splice","emitEvent","slice","o","r","apply","allOff","require","imagesLoaded","s","document","querySelectorAll","elements","Array","isArray","d","call","options","getImages","h","jqDeferred","Deferred","setTimeout","check","bind","a","error","img","url","element","Image","jQuery","console","u","Object","create","images","forEach","addElementImages","nodeName","addImage","background","addElementBackgroundImages","nodeType","1","9","11","getComputedStyle","exec","backgroundImage","addBackground","progress","progressedCount","hasAnyBroken","complete","isLoaded","notify","debug","log","isComplete","getIsImageComplete","confirm","naturalWidth","proxyImage","addEventListener","src","handleEvent","type","onload","unbindEvents","onerror","removeEventListener","makeJQueryPlugin","fn","promise","mediaQuery","matchMedia","head","querySelector","menu","nav","logo","navHTML","innerHTML","matches","item","index","style","transitionDelay","makeDropdown","submenuItems","offsetWidth","lastElementChild","unshift","remove","toggle","createElement","wrapper","setAttribute","classList","add","gridTemplateRows","Math","ceil","child","appendChild","contains","target","navigation","burger"],"mappings":"AAMA,CAAA,SAAAA,EAAAC,GAAA,YAAA,OAAAC,QAAAA,OAAAC,IAAAD,OAAA,wBAAAD,CAAA,EAAA,UAAA,OAAAG,QAAAA,OAAAC,QAAAD,OAAAC,QAAAJ,EAAA,EAAAD,EAAAM,UAAAL,EAAA,CAAA,EAAA,aAAA,OAAAM,OAAAA,OAAAC,KAAA,WAAA,SAAAR,KAAA,IAAAC,EAAAD,EAAAS,UAAA,OAAAR,EAAAS,GAAA,SAAAV,EAAAC,GAAA,IAAAU,EAAA,GAAAX,GAAAC,EAAA,MAAA,CAAA,IAAAU,GAAAC,EAAAJ,KAAAK,QAAAL,KAAAK,SAAA,IAAAb,GAAAY,EAAAZ,IAAA,IAAAc,QAAAb,CAAA,GAAAU,EAAAI,KAAAd,CAAA,EAAAO,IAAA,EAAAP,EAAAe,KAAA,SAAAhB,EAAAC,GAAA,IAAAW,EAAA,GAAAZ,GAAAC,EAAA,OAAAO,KAAAE,GAAAV,EAAAC,CAAA,IAAAW,EAAAJ,KAAAS,YAAAT,KAAAS,aAAA,IAAAjB,GAAAY,EAAAZ,IAAA,IAAAC,GAAA,CAAA,EAAAO,IAAA,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#ccc;--color-dark-gray:#444;--color-darker-gray:#15171a;--color-black:#000;--color-primary-text:var(--color-darker-gray);--color-secondary-text:rgba(0,0,0,.4);--color-border:rgba(0,0,0,.08);--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--font-serif:Georgia,Times,serif;--font-mono:Menlo,Courier,monospace;--container-gap:clamp(24px,1.7032rem + 1.9355vw,48px);--grid-gap:40px}*,:after,:before{box-sizing:border-box}*{margin:0}html{font-size:62.5%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.6}canvas,img,picture,svg,video{display:block;height:auto;max-width:100%}iframe{display:block}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}h1,h2,h3,h4,h5,h6{line-height:1.3}body{font-family:var(--font-sans);font-size:1.6rem}a{color:var(--color-darker-gray);text-decoration:none}a:hover{opacity:.8}.gh-button{align-items:center;background-color:var(--ghost-accent-color);border:0;border-radius:100px;color:var(--color-white);cursor:pointer;display:inline-flex;font-size:1.6rem;font-weight:700;gap:.4em;justify-content:center;letter-spacing:inherit;line-height:1;padding:.75em 1.15em}.gh-button:hover{opacity:.95}.gh-icon-button{align-items:center;background-color:transparent;border:0;color:var(--color-darker-gray);cursor:pointer;display:inline-flex;height:32px;justify-content:center;outline:none;padding:0;width:32px}.gh-icon-button:hover svg{opacity:.8}.gh-icon-button svg{height:20px;width:20px}.gh-viewport{display:flex;flex-direction:column;min-height:100vh;position:relative}.gh-content{flex-grow:1}.gh-outer{padding:0 max(4vmin,20px)}.gh-inner{margin:0 auto;max-width:1280px;width:100%}.gh-navigation{height:100px}.gh-navigation-inner{align-items:center;-moz-column-gap:24px;column-gap:24px;display:grid;grid-auto-flow:row dense;height:100%}.gh-navigation-brand{line-height:1}.gh-navigation-logo{font-size:2.6rem;font-weight:700;letter-spacing:-.015em;position:relative;white-space:nowrap}.gh-navigation-logo img{max-height:40px}.gh-navigation-members a[data-portal=signin],.gh-navigation-menu{font-size:1.6rem;font-weight:500}.gh-navigation-menu{align-items:center;display:flex;gap:24px}.gh-navigation .nav{align-items:center;display:inline-flex;gap:24px;list-style:none;margin:0;padding:0;white-space:nowrap}.gh-navigation .gh-more-toggle{font-size:inherit;margin:0 -6px;position:relative;text-transform:inherit}.gh-navigation .gh-more-toggle svg{height:24px;width:24px}.gh-navigation-actions{align-items:center;display:flex;gap:24px;justify-content:flex-end}.gh-navigation-members{align-items:center;display:flex;gap:20px;white-space:nowrap}.gh-navigation-members .gh-button{font-size:inherit;font-weight:600}.gh-search{margin-left:-6px;margin-right:-6px}.gh-navigation-brand .gh-search{margin-right:2px}@media (max-width:767px){.gh-navigation-members{flex-direction:column-reverse;gap:16px;width:100%}.gh-navigation-actions .gh-search{display:none}}@media (min-width:768px){.gh-navigation-brand .gh-search{display:none}.gh-navigation:not(.is-dropdown-loaded) .gh-navigation-menu .nav>li{opacity:0}}.is-navigation-left-logo .gh-navigation-inner{grid-template-columns:auto 1fr auto}@media (min-width:992px){.is-navigation-left-logo .gh-navigation-menu{margin-left:16px;margin-right:64px}}.is-navigation-middle-logo .gh-navigation-inner{grid-template-columns:1fr auto 1fr}.is-navigation-middle-logo .gh-navigation-brand{grid-column-start:2}.is-navigation-middle-logo .gh-navigation-actions{gap:28px}@media (min-width:992px){.is-navigation-middle-logo .gh-navigation-menu{margin-right:64px}}.is-navigation-stacked.gh-navigation{height:auto;position:relative}.is-navigation-stacked .gh-navigation-inner{grid-template-columns:1fr auto 1fr}.is-navigation-stacked .gh-navigation-brand{display:flex;grid-column-start:2;grid-row-start:1;min-height:80px}@media (min-width:992px){.is-navigation-stacked .gh-navigation-inner{padding:0}.is-navigation-stacked .gh-navigation-brand{align-items:center;display:flex;height:80px}.is-navigation-stacked .gh-navigation-menu{grid-column:1/4;grid-row-start:2;height:56px;justify-content:center;margin:0 48px}.is-navigation-stacked .gh-navigation-menu:after,.is-navigation-stacked .gh-navigation-menu:before{background-color:var(--color-border);content:"";height:1px;left:0;position:absolute;top:80px;width:100%}.is-navigation-stacked .gh-navigation-menu:after{top:136px}.is-navigation-stacked .gh-navigation-actions{grid-column:1/4;grid-row-start:1;justify-content:space-between}}.gh-dropdown{background-color:#fff;border-radius:5px;box-shadow:0 0 0 1px rgba(0,0,0,.04),0 7px 20px -5px rgba(0,0,0,.15);margin-top:24px;opacity:0;padding:12px 0;position:absolute;right:-16px;text-align:left;top:100%;transform:translate3d(0,6px,0);transition:opacity .3s,transform .2s;visibility:hidden;wLine truncated :root{--color-white:#fff;--color-lighter-gray:#f6f6f6;--color-light-gray:#e6e6e6;--color-mid-gray:#ccc;--color-dark-gray:#444;--color-darker-gray:#15171a;--color-black:#000;--color-primary-text:var(--color-darker-gray);--color-secondary-text:rgba(0,0,0,.4);--color-border:rgba(0,0,0,.08);--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--font-serif:Georgia,Times,serif;--font-mono:Menlo,Courier,monospace;--container-gap:clamp(24px,1.7032rem + 1.9355vw,48px);--grid-gap:40px}:root.has-light-text{--color-lighter-gray:rgba(0,0,0,.1);--color-darker-gray:#fff;--color-secondary-text:hsla(0,0%,100%,.64);--color-border:hsla(0,0%,100%,.2)}*,:after,:before{box-sizing:border-box}*{margin:0}html{font-size:62.5%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.6}canvas,img,picture,svg,video{display:block;height:auto;max-width:100%}iframe{display:block}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}h1,h2,h3,h4,h5,h6{line-height:1.3}body{background-color:var(--background-color);color:var(--color-primary-text);font-family:var(--font-sans);font-size:1.6rem}a{color:var(--color-darker-gray);text-decoration:none}a:hover{opacity:.8}.gh-button{align-items:center;background-color:var(--ghost-accent-color);border:0;border-radius:100px;color:var(--color-white);cursor:pointer;display:inline-flex;font-size:1.6rem;font-weight:700;gap:.4em;justify-content:center;letter-spacing:inherit;line-height:1;padding:.75em 1.15em}.gh-button:hover{opacity:.95}.gh-icon-button{align-items:center;background-color:transparent;border:0;color:var(--color-darker-gray);cursor:pointer;display:inline-flex;height:32px;justify-content:center;outline:none;padding:0;width:32px}.gh-icon-button:hover svg{opacity:.8}.gh-icon-button svg{height:20px;width:20px}.gh-viewport{display:flex;flex-direction:column;min-height:100vh;position:relative}.gh-content{flex-grow:1}.gh-outer{padding:0 max(4vmin,20px)}.gh-inner{margin:0 auto;max-width:1280px;width:100%}.gh-navigation{color:var(--color-darker-gray);height:100px}.gh-navigation :is(.gh-navigation-logo,a:not(.gh-button),.gh-icon-button){color:inherit}.gh-navigation-inner{align-items:center;-moz-column-gap:24px;column-gap:24px;display:grid;grid-auto-flow:row dense;height:100%}.gh-navigation-brand{line-height:1}.gh-navigation-logo{font-size:2.6rem;font-weight:700;letter-spacing:-.015em;position:relative;white-space:nowrap}.gh-navigation-logo img{max-height:40px}.gh-navigation-members a[data-portal=signin],.gh-navigation-menu{font-size:1.6rem;font-weight:500}.gh-navigation-menu{align-items:center;display:flex;gap:24px}.gh-navigation .nav{align-items:center;display:inline-flex;gap:24px;list-style:none;margin:0;padding:0;white-space:nowrap}.gh-navigation .gh-more-toggle{font-size:inherit;margin:0 -6px;position:relative;text-transform:inherit}.gh-navigation .gh-more-toggle svg{height:24px;width:24px}.gh-navigation-actions{align-items:center;display:flex;gap:24px;justify-content:flex-end}.gh-navigation-members{align-items:center;display:flex;gap:20px;white-space:nowrap}.gh-navigation-members .gh-button{font-size:inherit;font-weight:600}.gh-search{margin-left:-6px;margin-right:-6px}.gh-navigation-brand .gh-search{margin-right:2px}@media (max-width:767px){.gh-navigation-members{flex-direction:column-reverse;gap:16px;width:100%}.gh-navigation-actions .gh-search{display:none}}@media (min-width:768px){.gh-navigation-brand .gh-search{display:none}.gh-navigation:not(.is-dropdown-loaded) .gh-navigation-menu .nav>li{opacity:0}}.gh-navigation.has-accent-color{background-color:var(--ghost-accent-color);color:#fff}.gh-navigation.has-accent-color .gh-button{background-color:#fff;color:#15171a}.is-left-logo .gh-navigation-inner{grid-template-columns:auto 1fr auto}@media (min-width:992px){.is-left-logo .gh-navigation-menu{margin-left:16px;margin-right:64px}}.is-middle-logo .gh-navigation-inner{grid-template-columns:1fr auto 1fr}.is-middle-logo .gh-navigation-brand{grid-column-start:2}.is-middle-logo .gh-navigation-actions{gap:28px}@media (min-width:992px){.is-middle-logo .gh-navigation-menu{margin-right:64px}}.is-stacked.gh-navigation{height:auto;position:relative}.is-stacked .gh-navigation-inner{grid-template-columns:1fr auto 1fr}.is-stacked .gh-navigation-brand{display:flex;grid-column-start:2;grid-row-start:1;min-height:80px}@media (min-width:992px){.is-stacked .gh-navigation-inner{padding:0}.is-stacked .gh-navigation-brand{align-items:center;display:flex;height:80px}.is-stacked .gh-navigation-menu{grid-column:1/4;grid-row-start:2;height:56px;justify-content:center;margin:0 48px}.is-stacked .gh-navigation-menu:after,.is-stacked .gh-navigation-menu:before{background-color:var(--color-border);content:"";height:1px;left:0;position:absolute;top:80px;width:100%}.is-stacked .gh-navigation-menu:after{top:136px}.is-stacked .gh-navigation-actions{grid-column:1/4;grid-row-starLine truncated
/*# sourceMappingURL=screen.css.map */ /*# sourceMappingURL=screen.css.map */
+1 -1
View File
@@ -1 +1 @@
{"version":3,"sources":["screen.css"],"names":[],"mappings":"AAEA,MACI,kBAAmB,CACnB,4BAA6B,CAC7B,0BAA2B,CAC3B,qBAAsB,CACtB,sBAAuB,CACvB,2BAA4B,CAC5B,kBAAmB,CACnB,6CAA8C,CAC9C,qCAA0C,CAC1C,8BAAmC,CACnC,mJAA8J,CAC9J,gCAAmC,CACnC,mCAAsC,CACtC,qDAAwD,CACxD,eACJ,CAIA,iBACI,qBACJ,CAEA,EACI,QACJ,CAEA,KACI,eACJ,CAEA,KAEI,kCAAmC,CACnC,iCAAkC,CAFlC,e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AuB,CADvB,YAAa,CAEb,QACJ,CAEA,qCACI,aAAc,CACd,WACJ,CAIA,+BACI,YAAa,CACb,mCACJ,CAIA,8CACI,YACJ,CAIA,UAKI,kBAAmB,CAEnB,0CAA2C,CAJ3C,YAAa,CACb,qBAAsB,CAEtB,iBAAkB,CALlB,eAAgB,CAChB,QAMJ,CAEA,eAEI,WAAY,CADZ,UAEJ,CAIA,WACI,eACJ,CAIA,eAII,0CAA2C,CAH3C,YAAa,CACb,kCAAmC,CACnC,kBAEJ,CAEA,qBACI,YAAa,CACb,QAAS,CACT,oBACJ,CAEA,qBACI,gBACJ,CAIA,kBAGI,kBAAmB,CAFnB,YAAa,CACb,qBAAsB,CAEtB,mBACJ","file":"screen.css","sourcesContent":["/* 1. VariaLine truncated {"version":3,"sources":["screen.css"],"names":[],"mappings":"AAEA,MACI,kBAAmB,CACnB,4BAA6B,CAC7B,0BAA2B,CAC3B,qBAAsB,CACtB,sBAAuB,CACvB,2BAA4B,CAC5B,kBAAmB,CACnB,6CAA8C,CAC9C,qCAA0C,CAC1C,8BAAmC,CACnC,mJAA8J,CAC9J,gCAAmC,CACnC,mCAAsC,CACtC,qDAAwD,CACxD,eACJ,CAEA,qBACI,mCAAwC,CACxC,wBAAyB,CACzB,0CAAiD,CACjD,iCACJ,CAIA,iBACI,qBACJ,CAEA,EACI,QACJ,CAEA,KACI,eACJ,CAEA,KAEI,kCAAmC,CACnC,iCAAkC,CAFlC,eAGJ,CAEA,6BACI,aAAc,CACd,WAAY,CACZ,cACJ,CAEA,OACI,aACJ,CAEA,6BACI,YACJ,CAEA,oBACI,wBACJ,CAEA,kBACI,eACJ,CAIA,KAGI,wCAAyC,CACzC,+BAAgC,CAHhC,4BAA6B,CAC7B,gBAGJ,CAEA,EACI,8BAA+B,CAC/B,oBACJ,CAEA,QACI,UACJ,CAEA,WAGI,kBAAmB,CASnB,0CAA2C,CAC3C,QAAS,CACT,mBAAoB,CALpB,wBAAyB,CAEzB,cAAe,CAVf,mBAA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ALlB,eAAgB,CAChB,QAMJ,CAEA,eAEI,WAAY,CADZ,UAEJ,CAIA,WAEI,8BAA+B,CAD/B,eAEJ,CAEA,6BACI,aACJ,CALine truncated
+74 -30
View File
@@ -18,6 +18,13 @@
--grid-gap: 40px; --grid-gap: 40px;
} }
:root.has-light-text {
--color-lighter-gray: rgba(0, 0, 0, 0.1);
--color-darker-gray: #fff;
--color-secondary-text: rgba(255, 255, 255, 0.64);
--color-border: rgba(255, 255, 255, 0.2);
}
/* 2. Resets */ /* 2. Resets */
*, *::before, *::after { *, *::before, *::after {
@@ -65,6 +72,8 @@ h1, h2, h3, h4, h5, h6 {
body { body {
font-family: var(--font-sans); font-family: var(--font-sans);
font-size: 1.6rem; font-size: 1.6rem;
background-color: var(--background-color);
color: var(--color-primary-text);
} }
a { a {
@@ -147,6 +156,11 @@ a:hover {
.gh-navigation { .gh-navigation {
height: 100px; height: 100px;
color: var(--color-darker-gray);
}
.gh-navigation :is(.gh-navigation-logo, a:not(.gh-button), .gh-icon-button) {
color: inherit;
} }
.gh-navigation-inner { .gh-navigation-inner {
@@ -257,6 +271,18 @@ a:hover {
} }
} }
/* 5.1. Accent color */
.gh-navigation.has-accent-color {
background-color: var(--ghost-accent-color);
color: #fff;
}
.gh-navigation.has-accent-color .gh-button {
background-color: #fff;
color: #15171a;
}
/* 5.1. Navigation variants */ /* 5.1. Navigation variants */
/* /*
@@ -265,12 +291,12 @@ LOGO Home About Collection Author Portal Login Subscribe
====================================================================== ======================================================================
*/ */
.is-navigation-left-logo .gh-navigation-inner { .is-left-logo .gh-navigation-inner {
grid-template-columns: auto 1fr auto; grid-template-columns: auto 1fr auto;
} }
@media (min-width: 992px) { @media (min-width: 992px) {
.is-navigation-left-logo .gh-navigation-menu { .is-left-logo .gh-navigation-menu {
margin-right: 64px; margin-right: 64px;
margin-left: 16px; margin-left: 16px;
} }
@@ -282,20 +308,20 @@ Home About Collection LOGO Login Subscribe
====================================================================== ======================================================================
*/ */
.is-navigation-middle-logo .gh-navigation-inner { .is-middle-logo .gh-navigation-inner {
grid-template-columns: 1fr auto 1fr; grid-template-columns: 1fr auto 1fr;
} }
.is-navigation-middle-logo .gh-navigation-brand { .is-middle-logo .gh-navigation-brand {
grid-column-start: 2; grid-column-start: 2;
} }
.is-navigation-middle-logo .gh-navigation-actions { .is-middle-logo .gh-navigation-actions {
gap: 28px; gap: 28px;
} }
@media (min-width: 992px) { @media (min-width: 992px) {
.is-navigation-middle-logo .gh-navigation-menu { .is-middle-logo .gh-navigation-menu {
margin-right: 64px; margin-right: 64px;
} }
} }
@@ -307,16 +333,16 @@ Search LOGO Login Subscribe
====================================================================== ======================================================================
*/ */
.is-navigation-stacked.gh-navigation { .is-stacked.gh-navigation {
position: relative; position: relative;
height: auto; height: auto;
} }
.is-navigation-stacked .gh-navigation-inner { .is-stacked .gh-navigation-inner {
grid-template-columns: 1fr auto 1fr; grid-template-columns: 1fr auto 1fr;
} }
.is-navigation-stacked .gh-navigation-brand { .is-stacked .gh-navigation-brand {
display: flex; display: flex;
grid-row-start: 1; grid-row-start: 1;
grid-column-start: 2; grid-column-start: 2;
@@ -324,17 +350,17 @@ Search LOGO Login Subscribe
} }
@media (min-width: 992px) { @media (min-width: 992px) {
.is-navigation-stacked .gh-navigation-inner { .is-stacked .gh-navigation-inner {
padding: 0; padding: 0;
} }
.is-navigation-stacked .gh-navigation-brand { .is-stacked .gh-navigation-brand {
display: flex; display: flex;
align-items: center; align-items: center;
height: 80px; height: 80px;
} }
.is-navigation-stacked .gh-navigation-menu { .is-stacked .gh-navigation-menu {
grid-row-start: 2; grid-row-start: 2;
grid-column: 1 / 4; grid-column: 1 / 4;
justify-content: center; justify-content: center;
@@ -342,8 +368,8 @@ Search LOGO Login Subscribe
margin: 0 48px; margin: 0 48px;
} }
.is-navigation-stacked .gh-navigation-menu::before, .is-stacked .gh-navigation-menu::before,
.is-navigation-stacked .gh-navigation-menu::after { .is-stacked .gh-navigation-menu::after {
position: absolute; position: absolute;
top: 80px; top: 80px;
left: 0; left: 0;
@@ -353,11 +379,11 @@ Search LOGO Login Subscribe
background-color: var(--color-border); background-color: var(--color-border);
} }
.is-navigation-stacked .gh-navigation-menu::after { .is-stacked .gh-navigation-menu::after {
top: 136px; top: 136px;
} }
.is-navigation-stacked .gh-navigation-actions { .is-stacked .gh-navigation-actions {
grid-row-start: 1; grid-row-start: 1;
grid-column: 1 / 4; grid-column: 1 / 4;
justify-content: space-between; justify-content: space-between;
@@ -384,7 +410,7 @@ Search LOGO Login Subscribe
transform: translate3d(0, 6px, 0); transform: translate3d(0, 6px, 0);
} }
.is-navigation-middle-logo .gh-dropdown { .is-middle-logo .gh-dropdown {
right: auto; right: auto;
left: -24px; left: -24px;
} }
@@ -434,11 +460,11 @@ Search LOGO Login Subscribe
display: none; display: none;
} }
.is-navigation-open .gh-burger svg:first-child { .is-open .gh-burger svg:first-child {
display: none; display: none;
} }
.is-navigation-open .gh-burger svg:last-child { .is-open .gh-burger svg:last-child {
display: block; display: block;
} }
@@ -526,7 +552,7 @@ Search LOGO Login Subscribe
transition: opacity 0.4s; transition: opacity 0.4s;
} }
.is-navigation-open#gh-navigation { .is-open#gh-navigation {
position: fixed; position: fixed;
inset: 0; inset: 0;
z-index: 3999999; z-index: 3999999;
@@ -535,25 +561,25 @@ Search LOGO Login Subscribe
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
} }
.is-navigation-open#gh-navigation .gh-navigation-menu, .is-open#gh-navigation .gh-navigation-menu,
.is-navigation-open#gh-navigation .gh-navigation-actions { .is-open#gh-navigation .gh-navigation-actions {
position: static; position: static;
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
} }
.is-navigation-open#gh-navigation .nav { .is-open#gh-navigation .nav {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.is-navigation-open#gh-navigation .nav li { .is-open#gh-navigation .nav li {
opacity: 1; opacity: 1;
transition: transform 0.2s, opacity 0.2s; transition: transform 0.2s, opacity 0.2s;
transform: translateY(0); transform: translateY(0);
} }
.is-navigation-open#gh-navigation .gh-navigation-actions { .is-open#gh-navigation .gh-navigation-actions {
position: sticky; position: sticky;
right: 0; right: 0;
bottom: 0; bottom: 0;
@@ -566,18 +592,18 @@ Search LOGO Login Subscribe
background-color: var(--color-white); background-color: var(--color-white);
} }
.is-navigation-open#gh-navigation :is(.gh-button, a[data-portal="signin"]) { .is-open#gh-navigation :is(.gh-button, a[data-portal="signin"]) {
opacity: 1; opacity: 1;
transition: transform 0.4s, opacity 0.4s; transition: transform 0.4s, opacity 0.4s;
transition-delay: 0.2s; transition-delay: 0.2s;
transform: translateY(0); transform: translateY(0);
} }
.is-navigation-open#gh-navigation a[data-portal="signin"] { .is-open#gh-navigation a[data-portal="signin"] {
transition-delay: 0.4s; transition-delay: 0.4s;
} }
.is-navigation-open#gh-main { .is-open#gh-main {
opacity: 0; opacity: 0;
} }
} }
@@ -621,6 +647,7 @@ Search LOGO Login Subscribe
.gh-header { .gh-header {
position: relative; position: relative;
margin: 40px;
} }
.gh-header-image { .gh-header-image {
@@ -815,9 +842,26 @@ Search LOGO Login Subscribe
.gh-footer { .gh-footer {
margin-top: 80px; margin-top: 80px;
color: var(--color-darker-gray);
} }
/* 11.1. Footer bar */ .gh-footer a:not(.gh-button) {
color: inherit;
}
/* 11.1 Accent color */
.gh-footer.has-accent-color {
background-color: var(--ghost-accent-color);
color: #fff;
}
.gh-footer.has-accent-color .gh-button {
background-color: #fff;
color: #15171a;
}
/* 11.2. Footer bar */
.gh-footer-bar { .gh-footer-bar {
display: grid; display: grid;
@@ -836,7 +880,7 @@ Search LOGO Login Subscribe
text-align: right; text-align: right;
} }
/* 11.2. Footer signup */ /* 11.3. Footer signup */
.gh-footer-signup { .gh-footer-signup {
display: flex; display: flex;
+3 -3
View File
@@ -93,10 +93,10 @@
if (!burger) return; if (!burger) return;
burger.addEventListener('click', function () { burger.addEventListener('click', function () {
if (!navigation.classList.contains('is-navigation-open')) { if (!navigation.classList.contains('is-open')) {
navigation.classList.add('is-navigation-open'); navigation.classList.add('is-open');
} else { } else {
navigation.classList.remove('is-navigation-open'); navigation.classList.remove('is-open');
} }
}); });
})(); })();
+21
View File
@@ -14,6 +14,27 @@
{{!-- Theme assets - use the {{asset}} helper to reference styles & scripts, this will take care of caching and cache-busting automatically --}} {{!-- Theme assets - use the {{asset}} helper to reference styles & scripts, this will take care of caching and cache-busting automatically --}}
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}"> <link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}">
{{!-- Custom background color --}}
<style>
:root {
--background-color: {{@custom.page_background_color}}
}
</style>
<script>
/* The script for calculating the color contrast has been taken from
https://gomakethings.com/dynamically-changing-the-text-color-based-on-background-color-contrast-with-vanilla-js/ */
var accentColor = getComputedStyle(document.documentElement).getPropertyValue('--background-color');
accentColor = accentColor.trim().slice(1);
var r = parseInt(accentColor.substr(0, 2), 16);
var g = parseInt(accentColor.substr(2, 2), 16);
var b = parseInt(accentColor.substr(4, 2), 16);
var yiq = ((r * 299) + (g * 587) + (b * 114)) / 1000;
var textColor = (yiq >= 128) ? 'dark' : 'light';
document.documentElement.className = `has-${textColor}-text`;
</script>
{{!-- This tag outputs all your advanced SEO meta, structured data, and other important settings, it should always be the last tag before the closing head tag --}} {{!-- This tag outputs all your advanced SEO meta, structured data, and other important settings, it should always be the last tag before the closing head tag --}}
{{ghost_head}} {{ghost_head}}
+12
View File
@@ -94,6 +94,18 @@
], ],
"default": "Logo in the middle" "default": "Logo in the middle"
}, },
"page_background_color": {
"type": "color",
"default": "#ffffff"
},
"header_and_footer_color": {
"type": "select",
"options": [
"Background color",
"Accent color"
],
"default": "Background color"
},
"footer_signup_header": { "footer_signup_header": {
"type": "text", "type": "text",
"default": "Stay in the loop" "default": "Stay in the loop"
+1 -1
View File
@@ -1,4 +1,4 @@
<footer class="gh-footer gh-outer"> <footer class="gh-footer{{#match @custom.header_and_footer_color "Accent color"}} has-accent-color{{/match}} gh-outer">
<div class="gh-footer-inner gh-inner"> <div class="gh-footer-inner gh-inner">
<div class="gh-footer-bar"> <div class="gh-footer-bar">
+1 -1
View File
@@ -1,4 +1,4 @@
<header id="gh-navigation" class="gh-navigation gh-outer is-navigation-{{#match navigationLayout "Logo on the left"}}left-logo{{else match navigationLayout "Stacked"}}stacked{{else}}middle-logo{{/match}}"> <header id="gh-navigation" class="gh-navigation is-{{#match navigationLayout "Logo on the left"}}left-logo{{else match navigationLayout "Stacked"}}stacked{{else}}middle-logo{{/match}}{{#match @custom.header_and_footer_color "Accent color"}} has-accent-color{{/match}} gh-outer">
<div class="gh-navigation-inner gh-inner"> <div class="gh-navigation-inner gh-inner">
<div class="gh-navigation-brand"> <div class="gh-navigation-brand">