diff --git a/.gitignore b/.gitignore index c75eecc..1678ae1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /public +/resources/_gen diff --git a/config.toml b/config.toml deleted file mode 100644 index c88537e..0000000 --- a/config.toml +++ /dev/null @@ -1,4 +0,0 @@ -baseURL = 'https://www.gardling.com' -languageCode = 'en-us' -title = 'Simon Gardling' -theme = "hugo-theme-monochrome" diff --git a/content/_index.md b/content/_index.md index 4da6f00..12bdcf5 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,3 @@ -## My Information - [My own gitea :)](https://git.gardling.com) [Github: titaniumtown](https://github.com/titaniumtown) @@ -27,3 +25,6 @@ This website is a landing page for myself. It also contains some information as ### How did I make this site I originally used [lowdown](https://github.com/kristapsdz/lowdown) and [ssg5](https://github.com/fmash16/ssg5) in order to generate this site from markdown files. But I recently switched to using [Hugo](https://github.com/gohugoio/hugo) with the [Monochrome theme](https://github.com/kaiiiz/hugo-theme-monochrome). + + + diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a35917e --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module gardling.com + +go 1.23.6 + +require github.com/ystepanoff/hugo-neko v1.0.1 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..4ba7bd5 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/ystepanoff/hugo-neko v1.0.1 h1:PZwBQb+CoE6Ou8wF5z9FJ5xG8paWlRN+ykVS5YlCHLw= +github.com/ystepanoff/hugo-neko v1.0.1/go.mod h1:1walgyMiIrU8IKHJ7JAHqZ/iM1Anqxv9lWaf5Clck8k= diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..fa76a7c --- /dev/null +++ b/hugo.toml @@ -0,0 +1,9 @@ +baseURL = 'https://www.gardling.com' +languageCode = 'en-us' +title = 'Simon Gardling' +theme = "hugo-PaperMod" +contentDir = "content" + +[module] + [[module.imports]] + path = "github.com/ystepanoff/hugo-neko" diff --git a/push.sh b/push.sh index 22f6056..ebd8602 100755 --- a/push.sh +++ b/push.sh @@ -1,11 +1,9 @@ #!/usr/bin/env fish -set -e +# set -e hugo --minify -rsync -rvz --delete public/ server-public:/tank/services/http/ \ - --exclude={"/ytbn", "/hdr_plus", "/caddy"} +rsync -rvz --delete --exclude={"/hdr_plus" "/caddy" "/cdn"} public/ server:/tank/services/http/ -rsync -rvz --delete ~/projects/integral_site/titaniumtown.github.io/ server-public:/tank/services/http/ytbn/ \ - --exclude={".git"} +# rsync -rvz --delete ~/projects/integral_site/titaniumtown.github.io/ server-public:/tank/services/http/ytbn/ diff --git a/resources/_gen/assets/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.content b/resources/_gen/assets/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.content deleted file mode 100644 index 668292d..0000000 --- a/resources/_gen/assets/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.content +++ /dev/null @@ -1,4 +0,0 @@ -html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template,[hidden]{display:none}html{font-family:sans-serif}.hidden,[hidden]{display:none!important}.pure-img{max-width:100%;height:auto;display:block}html[data-theme=light]{--color-text:#171717;--color-text-secondary:#737373;--color-text-footer:#737373;--color-border:#d4d4d4;--color-border-collapsible-menu:#e5e5e5;--color-background:#fff;--color-background-hover:#f7f7f7;--color-background-overlay:#ededed;--color-background-inline-code:#f5f5f5;--color-background-card:#fff;--color-background-mark:#fff1a7;--color-link:#2563eb;--color-navbar-item-inactive:#a3a3a3;--color-navbar-item-active:#171717;--color-navbar-item-in-section:#525252}html[data-theme=dark]{--color-text:#ededed;--color-text-secondary:#8b8b8b;--color-text-footer:#a3a3a3;--color-border:#737373;--color-border-collapsible-menu:#636363;--color-background:#333;--color-background-hover:#525252;--color-background-overlay:#404040;--color-background-inline-code:#525252;--color-background-card:#404040;--color-background-mark:#fff1a7;--color-link:#93c5fd;--color-navbar-item-inactive:#a3a3a3;--color-navbar-item-active:#f5f5f5;--color-navbar-item-in-section:#ddd}html{color:var(--color-text);background:var(--color-background);font-size:16px}a{color:var(--color-link);text-decoration:none}html,button,input,select,textarea,.pure-g [class*=pure-u]{font-family:system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji}code,kbd,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,courier new,monospace}main{margin-left:auto;margin-right:auto;padding:1.5rem}h1,h2,h3,h4,h5,h6{font-weight:700;margin-top:2rem;margin-bottom:1rem}h1{font-size:1.5rem;line-height:2rem}h2{font-size:1.375rem;line-height:1.875rem}h3{font-size:1.25rem;line-height:1.75rem}h4{font-size:1.125rem;line-height:1.75rem}h5{font-size:1rem;line-height:1.5rem}h6{font-size:.875rem;line-height:1.25rem}figure{margin:0}img{max-width:100%}input{background-color:var(--color-background);color:var(--color-text);border:none}mark{background-color:var(--color-background-mark)}details>summary{cursor:pointer}details[open]>summary{cursor:pointer}.content-margin{margin-top:2rem;margin-bottom:2rem}.hidden{display:none}@media screen and (min-width:35.5rem){main{width:100%}}@media screen and (min-width:48rem){main{width:80%}}@media screen and (min-width:64rem){main{width:55%}}@media screen and (min-width:80rem){main{width:55%}}@media screen and (min-width:120rem){main{width:55%}}article{line-height:1.7}article>*:first-child{margin-top:0}article>*:last-child{margin-bottom:0}article hr{margin-top:2rem;margin-bottom:2rem}article p{overflow-wrap:break-word}article li{list-style-type:disc;margin-top:.5rem;margin-bottom:.5rem}article li p{margin-top:0;margin-bottom:0}article ul,article ol{margin-top:1rem;margin-bottom:1rem;padding-left:1.3rem}article ol li{list-style-type:decimal}article ul,article ol{margin-top:.5rem;margin-bottom:.5rem}article ul li:first-child,article ol li:first-child{margin-top:0}article ul li:last-child,article ol li:last-child{margin-bottom:0}article blockquote{padding-left:1rem;padding-right:1rem;margin-top:1.5rem;margin-bottom:1.5rem;margin-left:0;margin-right:0;border-left:2px solid var(--color-border)}article blockquote p:first-child{margin-top:0}article blockquote p:last-child{margin-bottom:0}article blockquote blockquote{margin-top:0;margin-bottom:0}article code{border-radius:.25rem;padding:.2rem .375rem;background-color:var(--color-background-inline-code)}article pre{margin-top:1.5rem;margin-bottom:1.5rem;padding:1rem;overflow-x:auto;border-radius:.5rem;background-color:#1f1f1f;color:#f7f7f7}article pre code{border-radius:0;padding:0;background-color:transparent}article pre.mc-prism.hide code{opacity:0}article pre.mc-prism code{opacity:1;transition:opacity .1s ease-in}article .code-toolbar .toolbar-item{margin-left:.25rem;margin-right:.25rem}article .highlight{margin-top:1.5rem;margin-bottom:1.5rem;position:relative}article .highlight .code-toolbar{padding:0}article .highlight .code-toolbar pre{padding:1rem;border-radius:.375rem}article .highlight>div,article .highlight>pre{padding:.75rem;border-radius:.375rem;overflow-x:auto}article .highlight>div pre,article .highlight>pre pre{padding:0;margin:0;border-radius:0}article .highlight>div pre code,article .highlight>pre pre code{border-radius:0;padding:0;background-color:transparent}article .copy-code-button{font-size:.75rem;line-height:1rem;position:absolute;right:0;height:1.5rem;top:-1.5rem;padding-left:.375rem;padding-right:.375rem;border-radius:.25rem;cursor:pointer;background-color:transparent;display:flex;align-items:center}article .copy-code-button:hover{background-color:var(--color-background-hover)}article table.mc-table{margin-top:1.5rem;margin-bottom:1.5rem;table-layout:auto;border-collapse:collapse;display:block;overflow-x:auto}article table.mc-table td,article table.mc-table th{padding-left:.75rem;padding-right:.75rem;padding-top:.5rem;padding-bottom:.5rem;border:1px solid var(--color-border)}article figure{margin-top:1rem;margin-bottom:1rem;text-align:center}article figure figcaption{margin-top:.5rem;margin-bottom:.5rem}article img{margin-left:auto;margin-right:auto;display:block}html[data-theme=dark] .twitter-tweet{color:var(--color-text)}html[data-theme=dark] .twitter-tweet a{color:var(--color-link)}.bookcase-layout{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,8rem)}.bookcase-layout .bookcase-item figure{position:relative;margin:0}.bookcase-layout .bookcase-item figcaption{font-size:.875rem;line-height:1.25rem;text-align:center;margin-top:.7rem}.bookcase-layout .bookcase-item figcaption a{color:var(--color-text)}.bookcase-layout .bookcase-item img,.bookcase-layout .bookcase-item .bookcase-item-overlay{width:8rem;height:12rem;border-radius:.375rem;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,4%);object-fit:cover}.bookcase-layout .bookcase-item .bookcase-item-overlay{position:absolute;top:0;left:0;background-color:transparent;opacity:.25}.bookcase-layout .bookcase-item .bookcase-item-overlay:hover{background-color:var(--color-background-overlay)}html[data-theme=light] .bookcase-item-img-dark{display:none}html[data-theme=dark] .bookcase-item-img-light{display:none}@media screen and (min-width:48rem){.gallery-layout figure{margin-left:-1.25rem;margin-right:-1.25rem}}.gallery-layout figure img{margin-left:auto;margin-right:auto}.gallery-layout figcaption{margin-top:.5rem;margin-bottom:.5rem;font-size:.75rem;line-height:1rem;font-style:italic;text-align:center}.gallery-layout .gallery-item{margin-bottom:4rem}.gallery-layout .gallery-item-title{margin:1rem 0}.gallery-layout .gallery-item-title a{color:var(--color-text);border-bottom:2px solid var(--color-border)}.gallery-layout .gallery-item-title a:hover{border-bottom-color:var(--color-text-secondary)}.gallery-layout .gallery-item-title span{font-size:1.5rem;line-height:2rem;font-weight:700}.gallery-layout .gallery-item-content{margin-top:1rem;margin-bottom:1rem}.gallery-layout .gallery-item-statistic{display:grid;gap:.5rem;grid-template-columns:max-content 1fr}.balloon-layout .balloon-card-item,.balloon-layout .balloon-title-item,.balloon-layout .balloon-head-item{display:flex;flex-direction:column}@media screen and (min-width:48rem){.balloon-layout .balloon-card-item,.balloon-layout .balloon-title-item,.balloon-layout .balloon-head-item{flex-direction:row}}.balloon-layout .balloon-card-item .balloon-card-item-line,.balloon-layout .balloon-title-item .balloon-title-item-line,.balloon-layout .balloon-head-item .balloon-head-item-desktop{width:7rem;display:flex;flex-direction:column;position:relative;align-items:center}@media screen and (max-width:48rem){.balloon-layout .balloon-card-item .balloon-card-item-line,.balloon-layout .balloon-title-item .balloon-title-item-line,.balloon-layout .balloon-head-item .balloon-head-item-desktop{display:none}}.balloon-layout .balloon-card-item .balloon-card-item-content,.balloon-layout .balloon-title-item .balloon-title-item-content,.balloon-layout .balloon-head-item .balloon-head-item-content{display:flex;flex:1;margin-left:-12px}@media screen and (max-width:48rem){.balloon-layout .balloon-card-item .balloon-card-item-content,.balloon-layout .balloon-title-item .balloon-title-item-content,.balloon-layout .balloon-head-item .balloon-head-item-content{margin-left:0}}@media screen and (min-width:48rem){.balloon-layout{margin-left:-1.75rem}}.balloon-layout .balloon-head-item{width:100%;gap:20px}.balloon-layout .balloon-head-item .balloon-head-item-mobile{width:100%;justify-content:center}@media screen and (min-width:48rem){.balloon-layout .balloon-head-item .balloon-head-item-mobile{display:none}}.balloon-layout .balloon-head-item .balloon-head-item-img-light,.balloon-layout .balloon-head-item .balloon-head-item-img-dark{display:flex;justify-content:center}.balloon-layout .balloon-head-item .balloon-head-item-img img{width:6rem;height:6rem}.balloon-layout .balloon-head-item .balloon-head-item-img .rounded{border-radius:9999px}.balloon-layout .balloon-head-item .balloon-head-item-content{margin:0;align-items:center}@media screen and (max-width:48rem){.balloon-layout .balloon-head-item .balloon-head-item-content{justify-content:center;text-align:center}}@media screen and (max-width:48rem){.balloon-layout .balloon-title-item .balloon-title-item-content{justify-content:center;text-align:center}}.balloon-layout .balloon-card-item .balloon-card-item-content{font-size:.875rem;line-height:1.25rem;overflow:auto;border-radius:.375rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%);background-color:var(--color-background-card);padding:1rem 1.2rem}.balloon-layout .balloon-dot{width:.8rem;height:.8rem;border-radius:1rem;margin:.25rem 0;border:2px solid var(--color-text)}.balloon-layout .balloon-line-container{display:flex;flex:1;justify-content:center}.balloon-layout .balloon-line-container .balloon-line{background-color:var(--color-text)}html[data-theme=dark] .balloon-head-item .balloon-head-item-img-light{display:none}html[data-theme=light] .balloon-head-item .balloon-head-item-img-dark{display:none}ul.list-layout{list-style:none;padding:0}ul.list-layout li{margin-bottom:.5rem;line-height:1.625;display:list-item;list-style-type:none}ul.list-layout li a{color:var(--color-text);border-bottom:2px solid var(--color-border);line-height:1.7rem}ul.list-layout li a:hover{border-bottom-color:var(--color-text-secondary)}ul.list-layout li span{font-size:.75rem;line-height:1rem;color:var(--color-text-secondary)}.postcard-layout a{color:var(--color-text)}.postcard-layout .postcard-item{padding:1rem;background-color:var(--color-background-card);border-radius:.375rem;margin:2rem 0;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%)}.postcard-layout .postcard-item:hover{background-color:var(--color-background-hover)}.postcard-layout .postcard-item .postcard-title{font-size:1.25rem;line-height:1.75rem;font-weight:500}.postcard-layout .postcard-item .postcard-summary{font-size:.75rem;line-height:1rem;color:var(--color-text-secondary);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:.5rem 0}.postcard-layout .postcard-item .postcard-metadata{font-size:.75rem;line-height:1rem;color:var(--color-text-secondary)}.term-title{display:flex;align-items:center;gap:8px;margin:2rem 0}.term-title h1{margin:0}html[data-theme=dark] #dark_mode_btn{display:none}html[data-theme=light] #light_mode_btn{display:none}header{display:flex;justify-content:space-between;align-items:center;margin:1rem 0}header .brand{display:flex;align-items:center}header .brand a{font-size:1.5rem;line-height:2rem;font-weight:700;color:var(--color-text)}header .brand #sidebar_btn{display:flex;margin-right:.5rem}@media screen and (min-width:48rem){header .brand #sidebar_btn{display:none}}header .toolbox{display:flex;align-items:center;column-gap:.5rem}header .toolbox .toolbox-btn{display:flex;cursor:pointer}header .toolbox .toolbox-btn:hover{color:var(--color-text-secondary)}header .toolbox .dropdown-wrapper .dropdown-btn.pure-menu-link{color:unset}header .toolbox .dropdown-wrapper .dropdown-btn{display:flex;align-items:center;padding:0}header .toolbox .dropdown-wrapper .dropdown-btn:hover{background-color:unset}header .toolbox .dropdown-wrapper .dropdown-btn::after{content:"";padding:0}header .toolbox .dropdown-wrapper .dropdown-btn .dropdown-desc{font-size:.875rem;line-height:1.25rem;margin-left:.35rem}footer{margin-top:1rem;margin-bottom:1rem;font-size:.75rem;line-height:1rem;text-align:center;color:var(--color-text-footer)}/*!Pure v2.1.0 -Copyright 2013 Yahoo! -Licensed under the BSD License. -https://github.com/pure-css/pure/blob/master/LICENSE*/.pure-menu{-webkit-box-sizing:border-box;box-sizing:border-box}.pure-menu-fixed{position:fixed;left:0;top:0;z-index:3}.pure-menu-list,.pure-menu-item{position:relative}.pure-menu-list{list-style:none;margin:0;padding:0}.pure-menu-item{padding:0;margin:0;height:100%;font-size:.875rem;line-height:1.25rem}.pure-menu-link,.pure-menu-heading{display:block;text-decoration:none;white-space:nowrap}.pure-menu-horizontal{width:100%;white-space:nowrap}.pure-menu-horizontal .pure-menu-list{display:inline-block}.pure-menu-horizontal .pure-menu-item,.pure-menu-horizontal .pure-menu-heading,.pure-menu-horizontal .pure-menu-separator{display:inline-block;vertical-align:middle}.pure-menu-item .pure-menu-item{display:block}.pure-menu-children{display:none;position:absolute;left:100%;top:0;margin:0;padding:0;z-index:3;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,4%)}.pure-menu-horizontal .pure-menu-children{left:0;top:auto;width:inherit}.pure-menu-allow-hover:hover>.pure-menu-children,.pure-menu-active>.pure-menu-children{display:block;position:absolute}.pure-menu-has-children>.pure-menu-link:after{padding-left:.35rem;font-family:sans-serif;content:"▸"}.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after{font-family:sans-serif;content:"▾"}.pure-menu-scrollable{overflow-y:scroll;overflow-x:hidden}.pure-menu-scrollable .pure-menu-list{display:block}.pure-menu-horizontal.pure-menu-scrollable{white-space:nowrap;overflow-y:hidden;overflow-x:auto;padding:.5em 0}.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list{display:inline-block}.pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-children .pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-separator{width:1px;height:1.3em;margin:0 .3em}.pure-menu-horizontal .pure-menu-children .pure-menu-separator{display:block;width:auto}.pure-menu-heading{text-transform:uppercase;color:var(--color-text)}.pure-menu-link{color:var(--color-text);font-size:.875rem;line-height:1.25rem}.pure-menu-children{background-color:var(--color-background)}.pure-menu-link,.pure-menu-heading{padding:.5rem}.pure-menu-disabled{opacity:.5}.pure-menu-disabled .pure-menu-link:hover{background-color:transparent;cursor:default}.pure-menu-active>.pure-menu-link{background-color:var(--color-background-hover)}.pure-menu-link:hover,.pure-menu-link:focus{background-color:var(--color-background-hover)}.pure-menu-selected>.pure-menu-link{color:var(--color-navbar-item-active)}.pure-menu-selected>.pure-menu-link:visited{color:var(--color-navbar-item-active)}#navbar{margin:1rem 0}@media screen and (max-width:48rem){#navbar{display:none}}#navbar>ul.pure-menu-list{display:flex}#navbar>ul.pure-menu-list .navbar-dropdown>a.pure-menu-link:after{content:"▾"}#navbar>ul.pure-menu-list .navbar-dropdown>ul.pure-menu-children{left:0;top:27px;width:inherit}#navbar>ul.pure-menu-list .navbar-item{margin:0 .5rem 0 0;border-bottom:2px solid transparent}#navbar>ul.pure-menu-list .navbar-item>a.pure-menu-link{font-weight:500;padding:0 0 .3rem;color:var(--color-navbar-item-inactive)}#navbar>ul.pure-menu-list .navbar-item>a.pure-menu-link:hover{background-color:transparent}#navbar>ul.pure-menu-list .navbar-item:hover{border-bottom-color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item:hover>a{color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item.active{border-bottom-color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item.active>a{color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item.insection{border-bottom-color:var(--color-navbar-item-in-section)}#navbar>ul.pure-menu-list .navbar-item.insection>a{color:var(--color-navbar-item-in-section)}#TableOfContents{line-height:1.5rem}#TableOfContents ul,#TableOfContents li{list-style:none;padding-left:0;margin:0}#TableOfContents ul ul{margin-left:.5rem}#TableOfContents li{margin-top:.375rem}#TableOfContents a{color:var(--color-text)}article#collapsible_menu_changelogs{line-height:1.75rem;display:grid;gap:.5rem;grid-template-columns:max-content 1fr;margin-top:.5rem}.collapsible-menu-wrapper{margin-top:2rem;margin-bottom:2rem;font-size:.875rem;padding:1rem;border:2px solid var(--color-border-collapsible-menu);border-radius:.25rem}.collapsible-menu-wrapper .collapsible-menu-type span{font-weight:700;line-height:1.5rem}.collapsible-menu-wrapper summary.collapsible-menu-type span{margin-left:.3rem}.collapsible-menu-wrapper .collapsible-menu{margin-left:.5rem}.emgithub-container{margin-top:1.5rem;margin-bottom:1.5rem}.emgithub-container .emgithub-code{display:flex;flex-direction:column;justify-content:center}.emgithub-container .emgithub-code .emgithub-loading{margin-left:auto;margin-right:auto;margin-top:1rem;margin-bottom:1rem;z-index:10;position:absolute;left:0;right:0;width:2rem}.emgithub-container .emgithub-code .emgithub-loading.hide{display:none}.emgithub-container .emgithub-code .emgithub-loading svg{width:2rem;height:2rem;animation:spin 1s linear infinite;color:#fff;fill:#969696}@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}.emgithub-container .emgithub-code .emgithub-pre{margin-top:0;margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.emgithub-container .emgithub-code .emgithub-pre.loading{min-height:5rem}.emgithub-container .emgithub-code .emgithub-pre code{tab-size:inherit}.emgithub-container .emgithub-toolbar{font-size:.75rem;line-height:1rem;display:flex;flex-direction:row;justify-content:space-between;padding:.75rem .75rem .625rem;border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem;background-color:#171717}.emgithub-container .emgithub-toolbar a{font-weight:600;color:#fff;border:0}.term-item{color:var(--color-text);border-bottom:2px solid var(--color-border);margin-right:.375rem;line-height:1.7rem}.term-item:hover{border-bottom-color:var(--color-text-secondary)}.icon{display:inline-block;width:1.5rem;height:1.5rem}.icon a{color:var(--color-text)}.icon a:hover{color:var(--color-text-secondary)}.breadcrumbs{font-weight:700;list-style-type:none;padding:0;margin:0}.breadcrumbs a{color:var(--color-text);border-bottom:2px solid transparent}.breadcrumbs a:hover{border-bottom-color:var(--color-text-secondary)}.breadcrumbs li{display:inline}.color-block{border-radius:.25rem;padding:.75rem}.icon-group{margin-top:1rem;margin-bottom:1rem;display:inline-grid;grid-auto-flow:column;gap:.375rem}#search_menu_wrapper{display:flex;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:40;background-color:rgba(0,0,0,.75)}#search_menu_wrapper mark{background-color:unset;color:unset;border-bottom:2px solid var(--color-text)}#search_menu_wrapper #search_menu{position:fixed;display:flex;flex-direction:column;width:100%;height:100%;border-radius:0;background-color:var(--color-background)}@media screen and (min-width:35.5rem){#search_menu_wrapper #search_menu{height:auto;top:6rem;bottom:6rem;width:30rem;z-index:50;border-radius:.375rem}}#search_menu_wrapper #search_menu #search_menu_toolbar{display:flex;min-height:2.5rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%)}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper{display:flex;flex-grow:1}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input{padding-left:1rem;padding-right:1rem;flex-grow:1;border-top-left-radius:.375rem}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input:focus{outline:2px solid transparent;outline-offset:2px}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn{display:flex;align-items:center;justify-content:center;width:2.5rem;border-top-right-radius:.375rem;cursor:pointer}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn:hover{background-color:var(--color-background-overlay)}#search_menu_wrapper #search_menu #search_menu_results{flex-grow:1;overflow-y:auto}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item{padding-left:1rem;padding-right:1rem;padding-top:.875rem;padding-bottom:.875rem;min-height:2.5rem}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item:hover{background-color:var(--color-background-overlay)}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-title{font-weight:700;line-height:1.7rem;color:var(--color-text)}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-content{font-size:.75rem;line-height:1rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:var(--color-text-secondary)}#sidebar_canvas_overlay{background-color:rgba(0,0,0,.75);position:fixed;top:0;left:0;width:100%;height:100%;z-index:10}#sidebar{position:fixed;top:0;left:0;height:100%;z-index:20;background-color:var(--color-background);box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%);transform:translateX(0);transition:transform .2s;overflow-y:auto;width:60%}@media screen and (min-width:35.5rem){#sidebar{width:40%}}#sidebar ul{list-style:none;padding-left:0;margin:0}#sidebar summary span{margin-left:.2rem}#sidebar li{margin:1.2rem}#sidebar a{color:var(--color-text)}#sidebar.close{display:block;transform:translateX(-100%)}.pagination{padding:0;margin:0;list-style:none}.pagination li{display:inline;margin:0 .1rem}.pagination a,.pagination span{color:var(--color-text-secondary)}.pagination li.active a{font-weight:600;color:var(--color-text)}.pagination li:not(.disabled) a:hover{color:var(--color-text)}.pagination li:not(.disabled) a:hover span{color:inherit}.pagination .disabled{cursor:not-allowed}.postcard-layout .pagination{text-align:center} \ No newline at end of file diff --git a/resources/_gen/assets/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.json b/resources/_gen/assets/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.json deleted file mode 100644 index 2f1b9e0..0000000 --- a/resources/_gen/assets/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"style.min.fae245b6ce34259555eab2b011d31eb69cfeb04f46398e9c82df62439ad6edea66fa04d14a95b4bbf3ce9679be82b4badfed247f9962c2af62f53d0f389b424f.css","MediaType":"text/css","Data":{"Integrity":"sha512-+uJFts40JZVV6rKwEdMetpz+sE9GOY6cgt9iQ5rW7epm+gTRSpW0u/POlnm+grS63+0kf5liwq9i9T0POJtCTw=="}} \ No newline at end of file diff --git a/resources/_gen/assets/scss/core.scss_ee68883998b31f131947639d79f7b4b2.content b/resources/_gen/assets/scss/core.scss_ee68883998b31f131947639d79f7b4b2.content deleted file mode 100644 index c9bb5e7..0000000 --- a/resources/_gen/assets/scss/core.scss_ee68883998b31f131947639d79f7b4b2.content +++ /dev/null @@ -1,4 +0,0 @@ -html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template,[hidden]{display:none}html{font-family:sans-serif}.hidden,[hidden]{display:none!important}.pure-img{max-width:100%;height:auto;display:block}html[data-theme=light]{--color-text:#171717;--color-text-secondary:#737373;--color-text-footer:#737373;--color-border:#d4d4d4;--color-border-collapsible-menu:#e5e5e5;--color-background:#fff;--color-background-hover:#f7f7f7;--color-background-overlay:#ededed;--color-background-inline-code:#f5f5f5;--color-background-card:#fff;--color-background-mark:#fff1a7;--color-link:#2563eb;--color-navbar-item-inactive:#a3a3a3;--color-navbar-item-active:#171717;--color-navbar-item-in-section:#525252}html[data-theme=dark]{--color-text:#ededed;--color-text-secondary:#8b8b8b;--color-text-footer:#a3a3a3;--color-border:#737373;--color-border-collapsible-menu:#636363;--color-background:#333;--color-background-hover:#525252;--color-background-overlay:#404040;--color-background-inline-code:#525252;--color-background-card:#404040;--color-background-mark:#fff1a7;--color-link:#93c5fd;--color-navbar-item-inactive:#a3a3a3;--color-navbar-item-active:#f5f5f5;--color-navbar-item-in-section:#ddd}html{color:var(--color-text);background:var(--color-background);font-size:16px}a{color:var(--color-link);text-decoration:none}html,button,input,select,textarea,.pure-g [class*=pure-u]{font-family:system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji}code,kbd,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,courier new,monospace}main{margin-left:auto;margin-right:auto;padding:1.5rem}h1,h2,h3,h4,h5,h6{font-weight:700;margin-top:2rem;margin-bottom:1rem}h1{font-size:1.5rem;line-height:2rem}h2{font-size:1.375rem;line-height:1.875rem}h3{font-size:1.25rem;line-height:1.75rem}h4{font-size:1.125rem;line-height:1.75rem}h5{font-size:1rem;line-height:1.5rem}h6{font-size:.875rem;line-height:1.25rem}figure{margin:0}img{max-width:100%}input{background-color:var(--color-background);color:var(--color-text);border:none}mark{background-color:var(--color-background-mark)}details>summary{cursor:pointer}details[open]>summary{cursor:pointer}.content-margin{margin-top:2rem;margin-bottom:2rem}.hidden{display:none}@media screen and (min-width:35.5rem){main{width:100%}}@media screen and (min-width:48rem){main{width:80%}}@media screen and (min-width:64rem){main{width:55%}}@media screen and (min-width:80rem){main{width:55%}}@media screen and (min-width:120rem){main{width:55%}}article{line-height:1.7}article>*:first-child{margin-top:0}article>*:last-child{margin-bottom:0}article hr{margin-top:2rem;margin-bottom:2rem}article p{overflow-wrap:break-word}article li{list-style-type:disc;margin-top:.5rem;margin-bottom:.5rem}article li p{margin-top:0;margin-bottom:0}article ul,article ol{margin-top:1rem;margin-bottom:1rem;padding-left:1.3rem}article ol li{list-style-type:decimal}article ul,article ol{margin-top:.5rem;margin-bottom:.5rem}article ul li:first-child,article ol li:first-child{margin-top:0}article ul li:last-child,article ol li:last-child{margin-bottom:0}article blockquote{padding-left:1rem;padding-right:1rem;margin-top:1.5rem;margin-bottom:1.5rem;margin-left:0;margin-right:0;border-left:2px solid var(--color-border)}article blockquote p:first-child{margin-top:0}article blockquote p:last-child{margin-bottom:0}article blockquote blockquote{margin-top:0;margin-bottom:0}article code{border-radius:.25rem;padding:.2rem .375rem;background-color:var(--color-background-inline-code)}article pre{margin-top:1.5rem;margin-bottom:1.5rem;padding:1rem;overflow-x:auto;border-radius:.5rem;background-color:#1f1f1f;color:#f7f7f7}article pre code{border-radius:0;padding:0;background-color:transparent}article pre.mc-prism.hide code{opacity:0}article pre.mc-prism code{opacity:1;transition:opacity .1s ease-in}article .code-toolbar .toolbar-item{margin-left:.25rem;margin-right:.25rem}article .highlight{margin-top:1.5rem;margin-bottom:1.5rem;position:relative}article .highlight .code-toolbar{padding:0}article .highlight .code-toolbar pre{padding:1rem;border-radius:.375rem}article .highlight>div,article .highlight>pre{padding:.75rem;border-radius:.375rem;overflow-x:auto}article .highlight>div pre,article .highlight>pre pre{padding:0;margin:0;border-radius:0}article .highlight>div pre code,article .highlight>pre pre code{border-radius:0;padding:0;background-color:transparent}article .copy-code-button{font-size:.75rem;line-height:1rem;position:absolute;right:0;height:1.5rem;top:-1.5rem;padding-left:.375rem;padding-right:.375rem;border-radius:.25rem;cursor:pointer;background-color:transparent;display:flex;align-items:center}article .copy-code-button:hover{background-color:var(--color-background-hover)}article table.mc-table{margin-top:1.5rem;margin-bottom:1.5rem;table-layout:auto;border-collapse:collapse;display:block;overflow-x:auto}article table.mc-table td,article table.mc-table th{padding-left:.75rem;padding-right:.75rem;padding-top:.5rem;padding-bottom:.5rem;border:1px solid var(--color-border)}article figure{margin-top:1rem;margin-bottom:1rem;text-align:center}article figure figcaption{margin-top:.5rem;margin-bottom:.5rem}article img{margin-left:auto;margin-right:auto;display:block}html[data-theme=dark] .twitter-tweet{color:var(--color-text)}html[data-theme=dark] .twitter-tweet a{color:var(--color-link)}.bookcase-layout{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,8rem)}.bookcase-layout .bookcase-item figure{position:relative;margin:0}.bookcase-layout .bookcase-item figcaption{font-size:.875rem;line-height:1.25rem;text-align:center;margin-top:.7rem}.bookcase-layout .bookcase-item figcaption a{color:var(--color-text)}.bookcase-layout .bookcase-item img,.bookcase-layout .bookcase-item .bookcase-item-overlay{width:8rem;height:12rem;border-radius:.375rem;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,4%);object-fit:cover}.bookcase-layout .bookcase-item .bookcase-item-overlay{position:absolute;top:0;left:0;background-color:transparent;opacity:.25}.bookcase-layout .bookcase-item .bookcase-item-overlay:hover{background-color:var(--color-background-overlay)}html[data-theme=light] .bookcase-item-img-dark{display:none}html[data-theme=dark] .bookcase-item-img-light{display:none}@media screen and (min-width:48rem){.gallery-layout figure{margin-left:-1.25rem;margin-right:-1.25rem}}.gallery-layout figure img{margin-left:auto;margin-right:auto}.gallery-layout figcaption{margin-top:.5rem;margin-bottom:.5rem;font-size:.75rem;line-height:1rem;font-style:italic;text-align:center}.gallery-layout .gallery-item{margin-bottom:4rem}.gallery-layout .gallery-item-title{margin:1rem 0}.gallery-layout .gallery-item-title a{color:var(--color-text);border-bottom:2px solid var(--color-border)}.gallery-layout .gallery-item-title a:hover{border-bottom-color:var(--color-text-secondary)}.gallery-layout .gallery-item-title span{font-size:1.5rem;line-height:2rem;font-weight:700}.gallery-layout .gallery-item-content{margin-top:1rem;margin-bottom:1rem}.gallery-layout .gallery-item-statistic{display:grid;gap:.5rem;grid-template-columns:max-content 1fr}.balloon-layout .balloon-card-item,.balloon-layout .balloon-title-item,.balloon-layout .balloon-head-item{display:flex;flex-direction:column}@media screen and (min-width:48rem){.balloon-layout .balloon-card-item,.balloon-layout .balloon-title-item,.balloon-layout .balloon-head-item{flex-direction:row}}.balloon-layout .balloon-card-item .balloon-card-item-line,.balloon-layout .balloon-title-item .balloon-title-item-line,.balloon-layout .balloon-head-item .balloon-head-item-desktop{width:7rem;display:flex;flex-direction:column;position:relative;align-items:center}@media screen and (max-width:48rem){.balloon-layout .balloon-card-item .balloon-card-item-line,.balloon-layout .balloon-title-item .balloon-title-item-line,.balloon-layout .balloon-head-item .balloon-head-item-desktop{display:none}}.balloon-layout .balloon-card-item .balloon-card-item-content,.balloon-layout .balloon-title-item .balloon-title-item-content,.balloon-layout .balloon-head-item .balloon-head-item-content{display:flex;flex:1;margin-left:-12px}@media screen and (max-width:48rem){.balloon-layout .balloon-card-item .balloon-card-item-content,.balloon-layout .balloon-title-item .balloon-title-item-content,.balloon-layout .balloon-head-item .balloon-head-item-content{margin-left:0}}@media screen and (min-width:48rem){.balloon-layout{margin-left:-1.75rem}}.balloon-layout .balloon-head-item{width:100%;gap:20px}.balloon-layout .balloon-head-item .balloon-head-item-mobile{width:100%;justify-content:center}@media screen and (min-width:48rem){.balloon-layout .balloon-head-item .balloon-head-item-mobile{display:none}}.balloon-layout .balloon-head-item .balloon-head-item-img-light,.balloon-layout .balloon-head-item .balloon-head-item-img-dark{display:flex;justify-content:center}.balloon-layout .balloon-head-item .balloon-head-item-img img{width:6rem;height:6rem}.balloon-layout .balloon-head-item .balloon-head-item-img .rounded{border-radius:9999px}.balloon-layout .balloon-head-item .balloon-head-item-content{margin:0;align-items:center}@media screen and (max-width:48rem){.balloon-layout .balloon-head-item .balloon-head-item-content{justify-content:center;text-align:center}}@media screen and (max-width:48rem){.balloon-layout .balloon-title-item .balloon-title-item-content{justify-content:center;text-align:center}}.balloon-layout .balloon-card-item .balloon-card-item-content{font-size:.875rem;line-height:1.25rem;overflow:auto;border-radius:.375rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%);background-color:var(--color-background-card);padding:1rem 1.2rem}.balloon-layout .balloon-dot{width:.8rem;height:.8rem;border-radius:1rem;margin:.25rem 0;border:2px solid var(--color-text)}.balloon-layout .balloon-line-container{display:flex;flex:1;justify-content:center}.balloon-layout .balloon-line-container .balloon-line{background-color:var(--color-text)}html[data-theme=dark] .balloon-head-item .balloon-head-item-img-light{display:none}html[data-theme=light] .balloon-head-item .balloon-head-item-img-dark{display:none}ul.list-layout{list-style:none;padding:0}ul.list-layout li{margin-bottom:.5rem;line-height:1.625;display:list-item;list-style-type:none}ul.list-layout li a{color:var(--color-text);border-bottom:2px solid var(--color-border);line-height:1.7rem}ul.list-layout li a:hover{border-bottom-color:var(--color-text-secondary)}ul.list-layout li span{font-size:.75rem;line-height:1rem;color:var(--color-text-secondary)}.postcard-layout a{color:var(--color-text)}.postcard-layout .postcard-item{padding:1rem;background-color:var(--color-background-card);border-radius:.375rem;margin:2rem 0;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%)}.postcard-layout .postcard-item:hover{background-color:var(--color-background-hover)}.postcard-layout .postcard-item .postcard-title{font-size:1.25rem;line-height:1.75rem;font-weight:500}.postcard-layout .postcard-item .postcard-summary{font-size:.75rem;line-height:1rem;color:var(--color-text-secondary);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:.5rem 0}.postcard-layout .postcard-item .postcard-metadata{font-size:.75rem;line-height:1rem;color:var(--color-text-secondary)}.term-title{display:flex;align-items:center;gap:8px;margin:2rem 0}.term-title h1{margin:0}html[data-theme=dark] #dark_mode_btn{display:none}html[data-theme=light] #light_mode_btn{display:none}header{display:flex;justify-content:space-between;align-items:center;margin:1rem 0}header .brand{display:flex;align-items:center}header .brand a{font-size:1.5rem;line-height:2rem;font-weight:700;color:var(--color-text)}header .brand #sidebar_btn{display:flex;margin-right:.5rem}@media screen and (min-width:48rem){header .brand #sidebar_btn{display:none}}header .toolbox{display:flex;align-items:center;column-gap:.5rem}header .toolbox .toolbox-btn{display:flex;cursor:pointer}header .toolbox .toolbox-btn:hover{color:var(--color-text-secondary)}header .toolbox .dropdown-wrapper .dropdown-btn.pure-menu-link{color:unset}header .toolbox .dropdown-wrapper .dropdown-btn{display:flex;align-items:center;padding:0}header .toolbox .dropdown-wrapper .dropdown-btn:hover{background-color:unset}header .toolbox .dropdown-wrapper .dropdown-btn::after{content:"";padding:0}header .toolbox .dropdown-wrapper .dropdown-btn .dropdown-desc{font-size:.875rem;line-height:1.25rem;margin-left:.35rem}footer{margin-top:1rem;margin-bottom:1rem;font-size:.75rem;line-height:1rem;text-align:center;color:var(--color-text-footer)}/*!Pure v2.1.0 -Copyright 2013 Yahoo! -Licensed under the BSD License. -https://github.com/pure-css/pure/blob/master/LICENSE*/.pure-menu{-webkit-box-sizing:border-box;box-sizing:border-box}.pure-menu-fixed{position:fixed;left:0;top:0;z-index:3}.pure-menu-list,.pure-menu-item{position:relative}.pure-menu-list{list-style:none;margin:0;padding:0}.pure-menu-item{padding:0;margin:0;height:100%;font-size:.875rem;line-height:1.25rem}.pure-menu-link,.pure-menu-heading{display:block;text-decoration:none;white-space:nowrap}.pure-menu-horizontal{width:100%;white-space:nowrap}.pure-menu-horizontal .pure-menu-list{display:inline-block}.pure-menu-horizontal .pure-menu-item,.pure-menu-horizontal .pure-menu-heading,.pure-menu-horizontal .pure-menu-separator{display:inline-block;vertical-align:middle}.pure-menu-item .pure-menu-item{display:block}.pure-menu-children{display:none;position:absolute;left:100%;top:0;margin:0;padding:0;z-index:3;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,4%)}.pure-menu-horizontal .pure-menu-children{left:0;top:auto;width:inherit}.pure-menu-allow-hover:hover>.pure-menu-children,.pure-menu-active>.pure-menu-children{display:block;position:absolute}.pure-menu-has-children>.pure-menu-link:after{padding-left:.35rem;font-family:sans-serif;content:"▸"}.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after{font-family:sans-serif;content:"▾"}.pure-menu-scrollable{overflow-y:scroll;overflow-x:hidden}.pure-menu-scrollable .pure-menu-list{display:block}.pure-menu-horizontal.pure-menu-scrollable{white-space:nowrap;overflow-y:hidden;overflow-x:auto;padding:.5em 0}.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list{display:inline-block}.pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-children .pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-separator{width:1px;height:1.3em;margin:0 .3em}.pure-menu-horizontal .pure-menu-children .pure-menu-separator{display:block;width:auto}.pure-menu-heading{text-transform:uppercase;color:var(--color-text)}.pure-menu-link{color:var(--color-text);font-size:.875rem;line-height:1.25rem}.pure-menu-children{background-color:var(--color-background)}.pure-menu-link,.pure-menu-heading{padding:.5rem}.pure-menu-disabled{opacity:.5}.pure-menu-disabled .pure-menu-link:hover{background-color:transparent;cursor:default}.pure-menu-active>.pure-menu-link{background-color:var(--color-background-hover)}.pure-menu-link:hover,.pure-menu-link:focus{background-color:var(--color-background-hover)}.pure-menu-selected>.pure-menu-link{color:var(--color-navbar-item-active)}.pure-menu-selected>.pure-menu-link:visited{color:var(--color-navbar-item-active)}#navbar{margin:1rem 0}@media screen and (max-width:48rem){#navbar{display:none}}#navbar>ul.pure-menu-list{display:flex}#navbar>ul.pure-menu-list .navbar-dropdown>a.pure-menu-link:after{content:"▾"}#navbar>ul.pure-menu-list .navbar-dropdown>ul.pure-menu-children{left:0;top:27px;width:inherit}#navbar>ul.pure-menu-list .navbar-item{margin:0 .5rem 0 0;border-bottom:2px solid transparent}#navbar>ul.pure-menu-list .navbar-item>a.pure-menu-link{font-weight:500;padding:0 0 .3rem;color:var(--color-navbar-item-inactive)}#navbar>ul.pure-menu-list .navbar-item>a.pure-menu-link:hover{background-color:transparent}#navbar>ul.pure-menu-list .navbar-item:hover{border-bottom-color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item:hover>a{color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item.active{border-bottom-color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item.active>a{color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item.insection{border-bottom-color:var(--color-navbar-item-in-section)}#navbar>ul.pure-menu-list .navbar-item.insection>a{color:var(--color-navbar-item-in-section)}#TableOfContents{line-height:1.5rem}#TableOfContents ul,#TableOfContents li{list-style:none;padding-left:0;margin:0}#TableOfContents ul ul{margin-left:.5rem}#TableOfContents li{margin-top:.375rem}#TableOfContents a{color:var(--color-text)}article#collapsible_menu_changelogs{line-height:1.75rem;display:grid;gap:.5rem;grid-template-columns:max-content 1fr;margin-top:.5rem}.collapsible-menu-wrapper{margin-top:2rem;margin-bottom:2rem;font-size:.875rem;padding:1rem;border:2px solid var(--color-border-collapsible-menu);border-radius:.25rem}.collapsible-menu-wrapper .collapsible-menu-type span{font-weight:700;line-height:1.5rem}.collapsible-menu-wrapper summary.collapsible-menu-type span{margin-left:.3rem}.collapsible-menu-wrapper .collapsible-menu{margin-left:.5rem}.emgithub-container{margin-top:1.5rem;margin-bottom:1.5rem}.emgithub-container .emgithub-code{display:flex;flex-direction:column;justify-content:center}.emgithub-container .emgithub-code .emgithub-loading{margin-left:auto;margin-right:auto;margin-top:1rem;margin-bottom:1rem;z-index:10;position:absolute;left:0;right:0;width:2rem}.emgithub-container .emgithub-code .emgithub-loading.hide{display:none}.emgithub-container .emgithub-code .emgithub-loading svg{width:2rem;height:2rem;animation:spin 1s linear infinite;color:#fff;fill:#969696}@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}.emgithub-container .emgithub-code .emgithub-pre{margin-top:0;margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.emgithub-container .emgithub-code .emgithub-pre.loading{min-height:5rem}.emgithub-container .emgithub-code .emgithub-pre code{tab-size:inherit}.emgithub-container .emgithub-toolbar{font-size:.75rem;line-height:1rem;display:flex;flex-direction:row;justify-content:space-between;padding:.75rem .75rem .625rem;border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem;background-color:#171717}.emgithub-container .emgithub-toolbar a{font-weight:600;color:#fff;border:0}.term-item{color:var(--color-text);border-bottom:2px solid var(--color-border);margin-right:.375rem;line-height:1.7rem}.term-item:hover{border-bottom-color:var(--color-text-secondary)}.icon{display:inline-block;width:1.5rem;height:1.5rem}.icon a{color:var(--color-text)}.icon a:hover{color:var(--color-text-secondary)}.breadcrumbs{font-weight:700;list-style-type:none;padding:0;margin:0}.breadcrumbs a{color:var(--color-text);border-bottom:2px solid transparent}.breadcrumbs a:hover{border-bottom-color:var(--color-text-secondary)}.breadcrumbs li{display:inline}.color-block{border-radius:.25rem;padding:.75rem}.icon-group{margin-top:1rem;margin-bottom:1rem;display:inline-grid;grid-auto-flow:column;gap:.375rem}#search_menu_wrapper{display:flex;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:40;background-color:rgba(0,0,0,.75)}#search_menu_wrapper mark{background-color:unset;color:unset;border-bottom:2px solid var(--color-text)}#search_menu_wrapper #search_menu{position:fixed;display:flex;flex-direction:column;width:100%;height:100%;border-radius:0;background-color:var(--color-background)}@media screen and (min-width:35.5rem){#search_menu_wrapper #search_menu{height:auto;top:6rem;bottom:6rem;width:30rem;z-index:50;border-radius:.375rem}}#search_menu_wrapper #search_menu #search_menu_toolbar{display:flex;min-height:2.5rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%)}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper{display:flex;flex-grow:1}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input{padding-left:1rem;padding-right:1rem;flex-grow:1;border-top-left-radius:.375rem}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input:focus{outline:2px solid transparent;outline-offset:2px}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn{display:flex;align-items:center;justify-content:center;width:2.5rem;border-top-right-radius:.375rem;cursor:pointer}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn:hover{background-color:var(--color-background-overlay)}#search_menu_wrapper #search_menu #search_menu_results{flex-grow:1;overflow-y:auto}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item{padding-left:1rem;padding-right:1rem;padding-top:.875rem;padding-bottom:.875rem;min-height:2.5rem}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item:hover{background-color:var(--color-background-overlay)}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-title{font-weight:700;line-height:1.7rem;color:var(--color-text)}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-content{font-size:.75rem;line-height:1rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:var(--color-text-secondary)}#sidebar_canvas_overlay{background-color:rgba(0,0,0,.75);position:fixed;top:0;left:0;width:100%;height:100%;z-index:10}#sidebar{position:fixed;top:0;left:0;height:100%;z-index:20;background-color:var(--color-background);box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%);transform:translateX(0);transition:transform .2s;overflow-y:auto;width:60%}@media screen and (min-width:35.5rem){#sidebar{width:40%}}#sidebar ul{list-style:none;padding-left:0;margin:0}#sidebar summary span{margin-left:.2rem}#sidebar li{margin:1.2rem}#sidebar a{color:var(--color-text)}#sidebar.close{display:block;transform:translateX(-100%)}.pagination{padding:0;margin:0;list-style:none}.pagination li{display:inline;margin:0 .1rem}.pagination a,.pagination span{color:var(--color-text-secondary)}.pagination li.active a{font-weight:600;color:var(--color-text)}.pagination li:not(.disabled) a:hover{color:var(--color-text)}.pagination li:not(.disabled) a:hover span{color:inherit}.pagination .disabled{cursor:not-allowed}.postcard-layout .pagination{text-align:center}/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/resources/_gen/assets/scss/core.scss_ee68883998b31f131947639d79f7b4b2.json b/resources/_gen/assets/scss/core.scss_ee68883998b31f131947639d79f7b4b2.json deleted file mode 100644 index 064097d..0000000 --- a/resources/_gen/assets/scss/core.scss_ee68883998b31f131947639d79f7b4b2.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"style.min.5ad6f871a848133f8894763c3c794e85e28779e8b81e823beba7bb6063f50e2b908186e33799ea1182e9c090f94855c586b5f90edfd8d11a02eac66f354b0b1e.css","MediaType":"text/css","Data":{"Integrity":"sha512-Wtb4cahIEz+IlHY8PHlOheKHeei4HoI766e7YGP1DiuQgYbjN5nqEYLpwJD5SFXFhrX5Dt/Y0RoC6sZvNUsLHg=="}} \ No newline at end of file diff --git a/resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.content b/resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.content deleted file mode 100644 index 56cc58f..0000000 --- a/resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.content +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-display:swap;font-family:roboto;font-style:normal;font-weight:400;src:url(fonts/Roboto/roboto-v30-latin-regular.eot);src:url(fonts/Roboto/roboto-v30-latin-regular.eot?#iefix)format("embedded-opentype"),url(fonts/Roboto/roboto-v30-latin-regular.woff2)format("woff2"),url(fonts/Roboto/roboto-v30-latin-regular.woff)format("woff"),url(fonts/Roboto/roboto-v30-latin-regular.ttf)format("truetype"),url(fonts/Roboto/roboto-v30-latin-regular.svg#Roboto)format("svg")}*{-webkit-transition:background-color 75ms ease-in,border-color 75ms ease-in;-moz-transition:background-color 75ms ease-in,border-color 75ms ease-in;-ms-transition:background-color 75ms ease-in,border-color 75ms ease-in;-o-transition:background-color 75ms ease-in,border-color 75ms ease-in;transition:background-color 75ms ease-in,border-color 75ms ease-in}.notransition{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}html{overflow-x:hidden;width:100%}body,h1,h2,h3,h4,h5,h6,p,blockquote,pre,hr,dl,dd,ol,ul,figure{margin:0;padding:0}body{min-height:100vh;overflow-x:hidden;position:relative;color:#434648;background-color:#fff;font:16px/1.85 Roboto,sans-serif;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-webkit-font-feature-settings:"kern" 1;-moz-font-feature-settings:"kern" 1;-o-font-feature-settings:"kern" 1;font-feature-settings:"kern" 1;font-kerning:normal;box-sizing:border-box}h1,h2,h3,h4,h5,h6,p,blockquote,pre,ul,ol,dl,figure{margin-top:10px;margin-bottom:10px}strong,b{font-weight:700;color:#0d122b}hr{border-bottom:0;border-style:solid;border-color:#ececec}img{max-width:100%;vertical-align:middle;-webkit-user-drag:none;margin:0 auto;text-align:center}figure{position:relative}figure>img{display:block;position:relative}figcaption{font-size:13px;text-align:center}ul li{display:list-item;text-align:-webkit-match-parent}ol li{position:relative}ul,ol{margin-top:0;margin-left:30px}li{padding-bottom:1px;padding-top:1px}li:before{color:#0d122b}li>ul,li>ol{margin-bottom:2px;margin-top:0}h1,h2,h3,h4,h5,h6{color:#0d122b;font-weight:700}h1+ul,h1+ol,h2+ul,h2+ol,h3+ul,h3+ol,h4+ul,h4+ol,h5+ul,h5+ol,h6+ul,h6+ol{margin-top:10px}@media screen and (max-width:768px){h1,h2,h3,h4,h5,h6{scroll-margin-top:65px}}h1>a,h2>a,h3>a,h4>a,h5>a,h6>a{text-decoration:none;border:none}h1>a:hover,h2>a:hover,h3>a:hover,h4>a:hover,h5>a:hover,h6>a:hover{text-decoration:none;border:none}a{color:inherit;text-decoration-color:#d2c7c7}a:hover{color:#003fff}a:focus{outline:3px solid rgba(0,54,199,.6);outline-offset:2px}del{color:inherit}em{color:inherit}blockquote{color:#525b66;opacity:.9;border-left:5px solid #c4c8cc;padding:0 0 0 1rem;margin-left:.3rem;margin-right:.3rem;font-size:1em}blockquote>:last-child{margin-bottom:0;margin-top:0}.wrapper{max-width:-webkit-calc(720px - (30px * 2));max-width:calc(720px - (30px * 2));position:relative;margin-right:auto;margin-left:auto;padding-right:30px;padding-left:30px}@media screen and (max-width:768px){.wrapper{max-width:-webkit-calc(720px - (30px));max-width:calc(720px - (30px));padding-right:20px;padding-left:20px}.wrapper.blurry{animation:.2s ease-in forwards blur;-webkit-animation:.2s ease-in forwards blur}}u{text-decoration-color:#d2c7c7}small{font-size:14px}sup{border-radius:10%;top:-3px;left:2px;font-size:small;position:relative;margin-right:2px}.overflow-table{overflow-x:auto}table{width:100%;margin-top:15px;border-collapse:collapse;font-size:14px}table thead{font-weight:700;color:#0d122b;border-bottom:1px solid #ececec}table th,table td,table tr{border:1px solid #ececec;padding:2px 7px}.navbar:after,.wrapper:after{content:"";display:table;clear:both}mark,::selection{background:#fffba0;color:#0d122b}.gist table{border:0}.gist table tr,.gist table td{border:0}.navbar{height:auto;max-width:calc(890px - (30px * 2));max-width:-webkit-calc(890px - (30px * 2));position:relative;margin-right:auto;margin-left:auto;border-bottom:1px solid #ececec;padding:.5rem .3rem}.logo{float:left;margin:.5rem 0 0 1rem}.logo>svg{opacity:.7}.logo:hover>svg{opacity:1}@media screen and (max-width:768px){.logo{padding-top:.3rem}}.menu{user-select:none;-ms-user-select:none;-webkit-user-select:none}.menu ul{margin:0}.menu .menu-separator{margin-right:.7rem}@media screen and (max-width:768px){.menu .menu-separator{display:none}}.menu a#mode{-webkit-transform:scale(1,1);transform:scale(1,1);opacity:.7;z-index:1}.menu a#mode:hover{cursor:pointer;opacity:1}.menu a#mode:active{-webkit-transform:scale(.9,.9);transform:scale(.9,.9)}.menu a#mode .mode-moon{display:block}.menu a#mode .mode-moon line{stroke:#0d122b;fill:none}.menu a#mode .mode-moon circle{fill:#0d122b;stroke:#0d122b}.menu a#mode .mode-sunny{display:none}.menu a#mode .mode-sunny line{stroke:#eaeaea;fill:none}.menu a#mode .mode-sunny circle{fill:none;stroke:#eaeaea}.menu .trigger{float:right;display:flex;align-items:center}.menu .menu-trigger{display:none}.menu .menu-icon{display:none}.menu li{display:inline-block;margin:0;padding:0;list-style:none}@media screen and (max-width:768px){.menu li{display:block;margin:0;padding:0;list-style:none}}.menu .menu-link{color:#0d122b;line-height:2.25;text-decoration:none;padding:.3rem .5rem;opacity:.7;letter-spacing:.015rem}.menu .menu-link:hover{opacity:1}.menu .menu-link:not(:last-child){margin-right:5px}@media screen and (max-width:768px){.menu .menu-link{opacity:.8}}.menu .menu-link.active{opacity:1;font-weight:600}@media screen and (max-width:768px){.menu{position:fixed;top:0;left:0;right:0;z-index:2;text-align:center;height:50px;background-color:#fff;border-bottom:1px solid #ececec}.menu a#mode{left:10px;top:12px}.menu .menu-icon{display:block;position:absolute;right:0;margin:.7rem .3rem 0 0;cursor:pointer;text-align:center;z-index:1}.menu .menu-icon>svg{opacity:.7}.menu .menu-icon:hover>svg{opacity:1}.menu .menu-icon:active{-webkit-transform:scale(.9,.9);transform:scale(.9,.9)}.menu input[type=checkbox]:not(:checked)~.trigger{clear:both;visibility:hidden}.menu input[type=checkbox]:checked~.trigger{position:fixed;animation:.2s ease-in forwards fadein;-webkit-animation:.2s ease-in forwards fadein;flex-direction:column;justify-content:center;height:100vh;width:100%;top:0}.menu .menu-link{display:block;box-sizing:border-box;font-size:1.1em}.menu .menu-link:not(:last-child){margin:0;padding:2px 0}}.author{margin-top:6.3rem;margin-bottom:7.2rem;text-align:center}@media screen and (max-width:768px){.author{margin-bottom:3em}}.author .author-avatar{width:70px;height:70px;border-radius:100%;user-select:none;-ms-user-select:none;-webkit-user-select:none;-webkit-animation:.5s ease-in forwards fadein;animation:.5s ease-in forwards fadein;opacity:1;object-fit:cover}.author .author-name{font-size:1.7em;margin-bottom:2px}.author .author-bio{margin:0 auto;opacity:.9;max-width:393px;line-height:1.688}.posts-item-note{padding-bottom:.3rem;font-weight:500;color:#0d122b}.post-item{display:flex;padding-top:5px;padding-bottom:6px;justify-content:space-between;flex-direction:row;align-items:center}.post-item:not(:first-child){border-top:1px solid #ececec}.post-item .post-item-date{min-width:96px;color:#0d122b}@media screen and (max-width:768px){.post-item .post-item-date{font-size:16px}}.post-item .post-item-title{margin:0;border:0;padding:0;font-size:16px;font-weight:400;letter-spacing:.1px}.post-item .post-item-title a{color:#434648;transition:all 150ms ease-in 0s}.post-item .post-item-title a:hover,.post-item .post-item-title afocus{color:#0d122b}.footer{margin-top:8em;margin-bottom:2em;text-align:center}@media screen and (max-width:768px){.footer{margin-top:3em}}.footer span.footer_item{opacity:.8;font-weight:700;font-size:14px}.footer a.footer_item{opacity:.8;text-decoration:none}.footer a.footer_item:not(:last-child){margin-right:10px}.footer a.footer_item:not(:last-child):hover{opacity:1}.footer_copyright{font-size:13px;display:block;color:#6b7886;opacity:.8;margin-top:.7rem;padding:.3rem .95rem}.footer_social-icons a{text-decoration:none;margin-right:.31rem}.footer_social-icons svg{color:#888a90;height:24px;width:24px}.footer_social-icons svg:hover{color:#ddd}.not-found{text-align:center;display:flex;justify-content:center;flex-direction:column;height:75vh}.not-found .title{font-size:5em;font-weight:700;line-height:1.1;color:#0d122b;text-shadow:1px 0 0 #003fff}.not-found .phrase{color:#434648}.not-found .solution{color:#003fff;letter-spacing:.5px}.not-found .solution:hover{color:#0036c7}.search-article{position:relative;margin-bottom:50px}.search-article label[for=search-input]{position:relative;top:10px;left:11px}.search-article input[type=search]{top:0;left:0;border:0;width:100%;height:40px;outline:none;position:absolute;border-radius:5px;padding:10px 10px 10px 35px;color:#434648;-webkit-appearance:none;font-size:16px;background-color:rgba(128,128,128,.1);border:1px solid rgba(128,128,128,.1)}.search-article input[type=search]::-webkit-input-placeholder{color:gray}.search-article input[type=search]::-webkit-search-decoration,.search-article input[type=search]::-webkit-search-results-decoration{display:none}#search-results{text-align:center}#search-results li{text-align:left}.archive-tags{height:auto}.archive-tags .tag-item{padding:1px 3px;border-radius:2px;border:1px solid rgba(128,128,128,.1);background-color:rgba(128,128,128,.1)}sub,sup{font-size:79%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}kbd{font-size:85%;border-radius:3px;color:#333638;background:#d8dbe2;display:inline-block;font-family:Consolas,monaco,monospace;line-height:1;padding:2px 4px;white-space:nowrap}mark{background:#ff0;color:#000;border-radius:3px}@media screen and (max-width:768px){.wrapper.post{padding-left:15px;padding-right:15px}}.header{margin-top:7.8em}.header .header-title{font-size:2em;line-height:1.2;margin-top:10px;margin-bottom:20px}.header .header-title.center{text-align:center}@media screen and (max-width:768px){.header .header-title{font-size:1.9em}}.post-meta{padding-top:3px;line-height:1.3;color:#6b7886}.post-meta time{position:relative;margin-right:1.5em}.post-meta span[itemprop=author]{border-bottom:1px dotted #ececec}.page-content{padding-top:8px}.page-content iframe{text-align:center}.page-content figure img{border-radius:2px}.page-content figure figcaption{margin-top:5px;font-style:italic;font-size:14px}.page-content a{color:#003fff;text-decoration:none}.page-content a[target=_blank]::after{content:" \2197";font-size:14px;line-height:0;position:relative;bottom:5px;vertical-align:baseline}.page-content a:hover{color:#0036c7}.page-content a:focus{color:#003fff}.page-content>p{margin:0;padding-top:15px;padding-bottom:15px}.page-content ul.task-list{list-style:none;margin:0}.page-content ul.task-list li::before{content:""}.page-content ul.task-list li input[type=checkbox]{margin-right:10px}.page-content dl dt{font-weight:700}.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6{color:#0d122b;font-weight:700;margin-top:30px;margin-bottom:0;letter-spacing:.03rem}.page-content h1:hover .anchor-head,.page-content h2:hover .anchor-head,.page-content h3:hover .anchor-head,.page-content h4:hover .anchor-head,.page-content h5:hover .anchor-head,.page-content h6:hover .anchor-head{color:#003fff;opacity:1}.page-content h1 .anchor-head,.page-content h2 .anchor-head,.page-content h3 .anchor-head,.page-content h4 .anchor-head,.page-content h5 .anchor-head,.page-content h6 .anchor-head{position:relative;opacity:0;outline:none}.page-content h1 .anchor-head::before,.page-content h2 .anchor-head::before,.page-content h3 .anchor-head::before,.page-content h4 .anchor-head::before,.page-content h5 .anchor-head::before,.page-content h6 .anchor-head::before{content:"#";position:absolute;right:-3px;width:1em;font-weight:700}.page-content h1{font-size:24px}.page-content h2{font-size:22px}.page-content h3{font-size:20px}.page-content h4{font-size:20px}.page-content h5{font-size:16px}.page-content h6{font-size:14px}.post-nav{display:flex;position:relative;margin-top:5em;border-top:1px solid #ececec;line-height:1.4}.post-nav .post-nav-item{border-bottom:0;font-weight:700;padding-bottom:10px;width:50%;padding-top:10px;text-decoration:none;box-sizing:border-box}.post-nav .post-nav-item .post-title{color:#0d122b}.post-nav .post-nav-item:hover .post-title,.post-nav .post-nav-item:focus .post-title{color:#0036c7;opacity:.9}.post-nav .post-nav-item .nav-arrow{font-weight:400;font-size:14px;color:#6b7886;margin-bottom:3px}.post-nav .post-nav-item:nth-child(odd){padding-left:0;padding-right:20px}.post-nav .post-nav-item:nth-child(even){text-align:right;padding-right:0;padding-left:20px}@media screen and (max-width:768px){.post-nav{display:block;font-size:14px}.post-nav .post-nav-item{display:block;width:100%}.post-nav .post-nav-item:nth-child(even){border-left:0;padding-left:0;border-top:1px solid #ececec}}.post-updated-at{font-family:ubuntu mono,monospace}code{font-family:Consolas,monospace;text-rendering:optimizeLegibility;font-feature-settings:"calt" 1;font-variant-ligatures:normal;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;font-size:inherit}p>code{font-size:.9em;padding:1px 3px;position:relative;top:-1px;color:#333638;background-color:#d8dbe2;border-radius:2px;border:1px solid rgba(128,128,128,.1)}pre{background-color:#1a1b21;border-radius:.3rem;padding:.5rem 1rem;display:block;overflow-x:auto}@media screen and (max-width:768px){pre{margin:0 calc(51% - 51vw)}}pre::-webkit-scrollbar{height:.5rem}pre::-webkit-scrollbar-track{background:#606071;border-radius:.1rem}pre::-webkit-scrollbar-thumb{background:#999ea2;border-radius:.3rem}pre::-webkit-scrollbar-thumb:hover{background:#424546}pre>code{color:#fff;max-width:50rem;margin-left:auto;margin-right:auto;line-height:1.5;display:block;border:0}.highlight table td{padding:5px}.highlight table pre{margin:0}.highlight,.highlight .w{color:#fbf1c7}.highlight .err{color:#fb4934;font-weight:700}.highlight .c,.highlight .cd,.highlight .cm,.highlight .c1,.highlight .cs{color:#928374;font-style:italic}.highlight .cp{color:#8ec07c}.highlight .nt{color:#fb4934}.highlight .o,.highlight .ow{color:#fbf1c7}.highlight .p,.highlight .pi{color:#fbf1c7}.highlight .gi{color:#b8bb26;background-color:#282828}.highlight .gd{color:#fb4934;background-color:#282828}.highlight .gh{color:#b8bb26;font-weight:700}.highlight .k,.highlight .kn,.highlight .kp,.highlight .kr,.highlight .kv{color:#fb4934}.highlight .kc{color:#d3869b}.highlight .kt{color:#fabd2f}.highlight .kd{color:#fe8019}.highlight .s,.highlight .sb,.highlight .sc,.highlight .sd,.highlight .s2,.highlight .sh,.highlight .sx,.highlight .s1{color:#b8bb26;font-style:italic}.highlight .si{color:#b8bb26;font-style:italic}.highlight .sr{color:#b8bb26;font-style:italic}.highlight .se{color:#fe8019}.highlight .nn{color:#8ec07c}.highlight .nc{color:#8ec07c}.highlight .no{color:#d3869b}.highlight .na{color:#b8bb26}.highlight .m,.highlight .mf,.highlight .mh,.highlight .mi,.highlight .il,.highlight .mo,.highlight .mb,.highlight .mx{color:#d3869b}.highlight .ss{color:#83a598}details{cursor:pointer}.toc{margin:1.1rem 0 1rem;padding:.5rem 1rem;border-radius:.3rem;background-color:#edecec}.toc ul{padding-top:1rem;margin-left:1rem;padding-left:1rem}.toc ul li{margin-bottom:.5em;line-height:1.4}@keyframes fadein{0%{opacity:.2}100%{opacity:1}}@keyframes blur{0%{filter:blur(0)}100%{filter:blur(4px)}}.embed-responsive{height:0;max-width:100%;overflow:hidden;position:relative;padding-bottom:56.25%;margin-top:20px}.embed-responsive iframe,.embed-responsive object,.embed-responsive embed{top:0;left:0;width:100%;height:100%;position:absolute}.main-404{padding:9rem 0;text-align:center}@media(prefers-color-scheme:dark){html:not(.light) body{color:#babdc4;background-color:#131418}html:not(.light) h1,html:not(.light) h2,html:not(.light) h3,html:not(.light) h4,html:not(.light) h5,html:not(.light) h6{color:#eaeaea}html:not(.light) table thead{color:#eaeaea;border-color:#1b1d25}html:not(.light) table th,html:not(.light) table td,html:not(.light) table tr{border-color:#1b1d25}html:not(.light) .page-content a{color:#77a8fd}html:not(.light) .page-content a:hover,html:not(.light) .page-content a:active,html:not(.light) .page-content a:focus{color:#5292ff}html:not(.light) .page-content h3{border-color:#1b1d25}html:not(.light) .page-content h1 .anchor-head,html:not(.light) .page-content h2 .anchor-head,html:not(.light) .page-content h3 .anchor-head,html:not(.light) .page-content h4 .anchor-head,html:not(.light) .page-content h5 .anchor-head,html:not(.light) .page-content h6 .anchor-head{color:#77a8fd}html:not(.light) .toc{background-color:#323232}html:not(.light) #totop{color:#babdc4;background-color:#676767b3}html:not(.light) #totop:hover{background-color:#676767}html:not(.light) li>code,html:not(.light) p>code{font-size:.9em;padding:1px 3px;position:relative;top:-1px;color:#c2c4ca;background-color:#2d2d2d;border-radius:2px;border:1px solid rgba(128,128,128,.1)}html:not(.light) kbd{color:#c2c4ca;background-color:#2d2d2d}html:not(.light) hr{border-color:#1b1d25}html:not(.light) .post-meta{color:#767f87}html:not(.light) .post-meta time::after{background-color:#1b1d25}html:not(.light) .post-meta span[itemprop=author]{border-color:#1b1d25}html:not(.light) a{color:inherit;text-decoration-color:#4a4d56}html:not(.light) a:hover{color:#77a8fd}html:not(.light) a:focus{outline-color:rgba(44,118,246,.6)}html:not(.light) li:before{color:#eaeaea}html:not(.light) blockquote{color:#9b9ba3;border-color:#4a4d56}html:not(.light) strong,html:not(.light) b{color:#eaeaea}html:not(.light) .navbar{border-color:#1b1d25}html:not(.light) .navbar .menu a#mode .mode-sunny{display:block}html:not(.light) .navbar .menu a#mode .mode-moon{display:none}html:not(.light) .navbar .menu .menu-link{color:#eaeaea}}@media screen and (prefers-color-scheme:dark) and (max-width:768px){html:not(.light) .navbar .menu{background-color:#131418;border-color:#1b1d25}html:not(.light) .navbar .menu input[type=checkbox]:checked~.trigger{background:#131418}}@media(prefers-color-scheme:dark){html:not(.light) .post-item:not(:first-child){border-color:#1b1d25}html:not(.light) .post-item .post-item-date{color:#eaeaea}html:not(.light) .post-item .post-item-title a{color:#babdc4}html:not(.light) .post-item .post-item-title a:hover,html:not(.light) .post-item .post-item-title afocus{color:#eaeaea}html:not(.light) .post-nav{border-color:#1b1d25}html:not(.light) .post-nav .post-nav-item{font-weight:700}html:not(.light) .post-nav .post-nav-item .post-title{color:#eaeaea;opacity:.9}html:not(.light) .post-nav .post-nav-item:hover .post-title,html:not(.light) .post-nav .post-nav-item:focus .post-title{color:#5292ff}html:not(.light) .post-nav .post-nav-item .nav-arrow{color:#767f87}}@media screen and (prefers-color-scheme:dark) and (max-width:768px){html:not(.light) .post-nav .post-nav-item:nth-child(even){border-color:#1b1d25}}@media(prefers-color-scheme:dark){html:not(.light) .footer span.footer_item{color:#eaeaea}html:not(.light) .footer a.footer_item:not(:last-child){color:#eaeaea}html:not(.light) .footer .footer_copyright{color:#767f87;opacity:1}html:not(.light) .not-found .title{color:#eaeaea;text-shadow:1px 0 0 #77a8fd}html:not(.light) .not-found .phrase{color:#babdc4}html:not(.light) .not-found .solution{color:#77a8fd}html:not(.light) .not-found .solution:hover{color:#5292ff}html:not(.light) .search-article input[type=search]{color:#babdc4}html:not(.light) .search-article input[type=search]::-webkit-input-placeholder{color:rgba(128,128,128,.8)}}html.dark body{color:#babdc4;background-color:#131418}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:#eaeaea}html.dark table thead{color:#eaeaea;border-color:#1b1d25}html.dark table th,html.dark table td,html.dark table tr{border-color:#1b1d25}html.dark .page-content a{color:#77a8fd}html.dark .page-content a:hover,html.dark .page-content a:active,html.dark .page-content a:focus{color:#5292ff}html.dark .page-content h3{border-color:#1b1d25}html.dark .page-content h1 .anchor-head,html.dark .page-content h2 .anchor-head,html.dark .page-content h3 .anchor-head,html.dark .page-content h4 .anchor-head,html.dark .page-content h5 .anchor-head,html.dark .page-content h6 .anchor-head{color:#77a8fd}html.dark .toc{background-color:#323232}html.dark #totop{color:#babdc4;background-color:#676767b3}html.dark #totop:hover{background-color:#676767}html.dark li>code,html.dark p>code{font-size:.9em;padding:1px 3px;position:relative;top:-1px;color:#c2c4ca;background-color:#2d2d2d;border-radius:2px;border:1px solid rgba(128,128,128,.1)}html.dark kbd{color:#c2c4ca;background-color:#2d2d2d}html.dark hr{border-color:#1b1d25}html.dark .post-meta{color:#767f87}html.dark .post-meta time::after{background-color:#1b1d25}html.dark .post-meta span[itemprop=author]{border-color:#1b1d25}html.dark a{color:inherit;text-decoration-color:#4a4d56}html.dark a:hover{color:#77a8fd}html.dark a:focus{outline-color:rgba(44,118,246,.6)}html.dark li:before{color:#eaeaea}html.dark blockquote{color:#9b9ba3;border-color:#4a4d56}html.dark strong,html.dark b{color:#eaeaea}html.dark .navbar{border-color:#1b1d25}html.dark .navbar .menu a#mode .mode-sunny{display:block}html.dark .navbar .menu a#mode .mode-moon{display:none}html.dark .navbar .menu .menu-link{color:#eaeaea}@media screen and (max-width:768px){html.dark .navbar .menu{background-color:#131418;border-color:#1b1d25}html.dark .navbar .menu input[type=checkbox]:checked~.trigger{background:#131418}}html.dark .post-item:not(:first-child){border-color:#1b1d25}html.dark .post-item .post-item-date{color:#eaeaea}html.dark .post-item .post-item-title a{color:#babdc4}html.dark .post-item .post-item-title a:hover,html.dark .post-item .post-item-title afocus{color:#eaeaea}html.dark .post-nav{border-color:#1b1d25}html.dark .post-nav .post-nav-item{font-weight:700}html.dark .post-nav .post-nav-item .post-title{color:#eaeaea;opacity:.9}html.dark .post-nav .post-nav-item:hover .post-title,html.dark .post-nav .post-nav-item:focus .post-title{color:#5292ff}html.dark .post-nav .post-nav-item .nav-arrow{color:#767f87}@media screen and (max-width:768px){html.dark .post-nav .post-nav-item:nth-child(even){border-color:#1b1d25}}html.dark .footer span.footer_item{color:#eaeaea}html.dark .footer a.footer_item:not(:last-child){color:#eaeaea}html.dark .footer .footer_copyright{color:#767f87;opacity:1}html.dark .not-found .title{color:#eaeaea;text-shadow:1px 0 0 #77a8fd}html.dark .not-found .phrase{color:#babdc4}html.dark .not-found .solution{color:#77a8fd}html.dark .not-found .solution:hover{color:#5292ff}html.dark .search-article input[type=search]{color:#babdc4}html.dark .search-article input[type=search]::-webkit-input-placeholder{color:rgba(128,128,128,.8)}.list-page .post-year{padding-bottom:.5rem} \ No newline at end of file diff --git a/resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.json b/resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.json deleted file mode 100644 index 6c8a01f..0000000 --- a/resources/_gen/assets/scss/sass/main.scss_a4b227022dfae4b28843e276c7e6b126.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"style.min.79ee4530e2218018d2c114e16552697a0e232ecbf3214e8103a24d37cf0225b3.css","MediaType":"text/css","Data":{"Integrity":"sha256-ee5FMOIhgBjSwRThZVJpeg4jLsvzIU6BA6JNN88CJbM="}} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.content b/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.content deleted file mode 100644 index 668292d..0000000 --- a/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.content +++ /dev/null @@ -1,4 +0,0 @@ -html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template,[hidden]{display:none}html{font-family:sans-serif}.hidden,[hidden]{display:none!important}.pure-img{max-width:100%;height:auto;display:block}html[data-theme=light]{--color-text:#171717;--color-text-secondary:#737373;--color-text-footer:#737373;--color-border:#d4d4d4;--color-border-collapsible-menu:#e5e5e5;--color-background:#fff;--color-background-hover:#f7f7f7;--color-background-overlay:#ededed;--color-background-inline-code:#f5f5f5;--color-background-card:#fff;--color-background-mark:#fff1a7;--color-link:#2563eb;--color-navbar-item-inactive:#a3a3a3;--color-navbar-item-active:#171717;--color-navbar-item-in-section:#525252}html[data-theme=dark]{--color-text:#ededed;--color-text-secondary:#8b8b8b;--color-text-footer:#a3a3a3;--color-border:#737373;--color-border-collapsible-menu:#636363;--color-background:#333;--color-background-hover:#525252;--color-background-overlay:#404040;--color-background-inline-code:#525252;--color-background-card:#404040;--color-background-mark:#fff1a7;--color-link:#93c5fd;--color-navbar-item-inactive:#a3a3a3;--color-navbar-item-active:#f5f5f5;--color-navbar-item-in-section:#ddd}html{color:var(--color-text);background:var(--color-background);font-size:16px}a{color:var(--color-link);text-decoration:none}html,button,input,select,textarea,.pure-g [class*=pure-u]{font-family:system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji}code,kbd,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,courier new,monospace}main{margin-left:auto;margin-right:auto;padding:1.5rem}h1,h2,h3,h4,h5,h6{font-weight:700;margin-top:2rem;margin-bottom:1rem}h1{font-size:1.5rem;line-height:2rem}h2{font-size:1.375rem;line-height:1.875rem}h3{font-size:1.25rem;line-height:1.75rem}h4{font-size:1.125rem;line-height:1.75rem}h5{font-size:1rem;line-height:1.5rem}h6{font-size:.875rem;line-height:1.25rem}figure{margin:0}img{max-width:100%}input{background-color:var(--color-background);color:var(--color-text);border:none}mark{background-color:var(--color-background-mark)}details>summary{cursor:pointer}details[open]>summary{cursor:pointer}.content-margin{margin-top:2rem;margin-bottom:2rem}.hidden{display:none}@media screen and (min-width:35.5rem){main{width:100%}}@media screen and (min-width:48rem){main{width:80%}}@media screen and (min-width:64rem){main{width:55%}}@media screen and (min-width:80rem){main{width:55%}}@media screen and (min-width:120rem){main{width:55%}}article{line-height:1.7}article>*:first-child{margin-top:0}article>*:last-child{margin-bottom:0}article hr{margin-top:2rem;margin-bottom:2rem}article p{overflow-wrap:break-word}article li{list-style-type:disc;margin-top:.5rem;margin-bottom:.5rem}article li p{margin-top:0;margin-bottom:0}article ul,article ol{margin-top:1rem;margin-bottom:1rem;padding-left:1.3rem}article ol li{list-style-type:decimal}article ul,article ol{margin-top:.5rem;margin-bottom:.5rem}article ul li:first-child,article ol li:first-child{margin-top:0}article ul li:last-child,article ol li:last-child{margin-bottom:0}article blockquote{padding-left:1rem;padding-right:1rem;margin-top:1.5rem;margin-bottom:1.5rem;margin-left:0;margin-right:0;border-left:2px solid var(--color-border)}article blockquote p:first-child{margin-top:0}article blockquote p:last-child{margin-bottom:0}article blockquote blockquote{margin-top:0;margin-bottom:0}article code{border-radius:.25rem;padding:.2rem .375rem;background-color:var(--color-background-inline-code)}article pre{margin-top:1.5rem;margin-bottom:1.5rem;padding:1rem;overflow-x:auto;border-radius:.5rem;background-color:#1f1f1f;color:#f7f7f7}article pre code{border-radius:0;padding:0;background-color:transparent}article pre.mc-prism.hide code{opacity:0}article pre.mc-prism code{opacity:1;transition:opacity .1s ease-in}article .code-toolbar .toolbar-item{margin-left:.25rem;margin-right:.25rem}article .highlight{margin-top:1.5rem;margin-bottom:1.5rem;position:relative}article .highlight .code-toolbar{padding:0}article .highlight .code-toolbar pre{padding:1rem;border-radius:.375rem}article .highlight>div,article .highlight>pre{padding:.75rem;border-radius:.375rem;overflow-x:auto}article .highlight>div pre,article .highlight>pre pre{padding:0;margin:0;border-radius:0}article .highlight>div pre code,article .highlight>pre pre code{border-radius:0;padding:0;background-color:transparent}article .copy-code-button{font-size:.75rem;line-height:1rem;position:absolute;right:0;height:1.5rem;top:-1.5rem;padding-left:.375rem;padding-right:.375rem;border-radius:.25rem;cursor:pointer;background-color:transparent;display:flex;align-items:center}article .copy-code-button:hover{background-color:var(--color-background-hover)}article table.mc-table{margin-top:1.5rem;margin-bottom:1.5rem;table-layout:auto;border-collapse:collapse;display:block;overflow-x:auto}article table.mc-table td,article table.mc-table th{padding-left:.75rem;padding-right:.75rem;padding-top:.5rem;padding-bottom:.5rem;border:1px solid var(--color-border)}article figure{margin-top:1rem;margin-bottom:1rem;text-align:center}article figure figcaption{margin-top:.5rem;margin-bottom:.5rem}article img{margin-left:auto;margin-right:auto;display:block}html[data-theme=dark] .twitter-tweet{color:var(--color-text)}html[data-theme=dark] .twitter-tweet a{color:var(--color-link)}.bookcase-layout{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,8rem)}.bookcase-layout .bookcase-item figure{position:relative;margin:0}.bookcase-layout .bookcase-item figcaption{font-size:.875rem;line-height:1.25rem;text-align:center;margin-top:.7rem}.bookcase-layout .bookcase-item figcaption a{color:var(--color-text)}.bookcase-layout .bookcase-item img,.bookcase-layout .bookcase-item .bookcase-item-overlay{width:8rem;height:12rem;border-radius:.375rem;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,4%);object-fit:cover}.bookcase-layout .bookcase-item .bookcase-item-overlay{position:absolute;top:0;left:0;background-color:transparent;opacity:.25}.bookcase-layout .bookcase-item .bookcase-item-overlay:hover{background-color:var(--color-background-overlay)}html[data-theme=light] .bookcase-item-img-dark{display:none}html[data-theme=dark] .bookcase-item-img-light{display:none}@media screen and (min-width:48rem){.gallery-layout figure{margin-left:-1.25rem;margin-right:-1.25rem}}.gallery-layout figure img{margin-left:auto;margin-right:auto}.gallery-layout figcaption{margin-top:.5rem;margin-bottom:.5rem;font-size:.75rem;line-height:1rem;font-style:italic;text-align:center}.gallery-layout .gallery-item{margin-bottom:4rem}.gallery-layout .gallery-item-title{margin:1rem 0}.gallery-layout .gallery-item-title a{color:var(--color-text);border-bottom:2px solid var(--color-border)}.gallery-layout .gallery-item-title a:hover{border-bottom-color:var(--color-text-secondary)}.gallery-layout .gallery-item-title span{font-size:1.5rem;line-height:2rem;font-weight:700}.gallery-layout .gallery-item-content{margin-top:1rem;margin-bottom:1rem}.gallery-layout .gallery-item-statistic{display:grid;gap:.5rem;grid-template-columns:max-content 1fr}.balloon-layout .balloon-card-item,.balloon-layout .balloon-title-item,.balloon-layout .balloon-head-item{display:flex;flex-direction:column}@media screen and (min-width:48rem){.balloon-layout .balloon-card-item,.balloon-layout .balloon-title-item,.balloon-layout .balloon-head-item{flex-direction:row}}.balloon-layout .balloon-card-item .balloon-card-item-line,.balloon-layout .balloon-title-item .balloon-title-item-line,.balloon-layout .balloon-head-item .balloon-head-item-desktop{width:7rem;display:flex;flex-direction:column;position:relative;align-items:center}@media screen and (max-width:48rem){.balloon-layout .balloon-card-item .balloon-card-item-line,.balloon-layout .balloon-title-item .balloon-title-item-line,.balloon-layout .balloon-head-item .balloon-head-item-desktop{display:none}}.balloon-layout .balloon-card-item .balloon-card-item-content,.balloon-layout .balloon-title-item .balloon-title-item-content,.balloon-layout .balloon-head-item .balloon-head-item-content{display:flex;flex:1;margin-left:-12px}@media screen and (max-width:48rem){.balloon-layout .balloon-card-item .balloon-card-item-content,.balloon-layout .balloon-title-item .balloon-title-item-content,.balloon-layout .balloon-head-item .balloon-head-item-content{margin-left:0}}@media screen and (min-width:48rem){.balloon-layout{margin-left:-1.75rem}}.balloon-layout .balloon-head-item{width:100%;gap:20px}.balloon-layout .balloon-head-item .balloon-head-item-mobile{width:100%;justify-content:center}@media screen and (min-width:48rem){.balloon-layout .balloon-head-item .balloon-head-item-mobile{display:none}}.balloon-layout .balloon-head-item .balloon-head-item-img-light,.balloon-layout .balloon-head-item .balloon-head-item-img-dark{display:flex;justify-content:center}.balloon-layout .balloon-head-item .balloon-head-item-img img{width:6rem;height:6rem}.balloon-layout .balloon-head-item .balloon-head-item-img .rounded{border-radius:9999px}.balloon-layout .balloon-head-item .balloon-head-item-content{margin:0;align-items:center}@media screen and (max-width:48rem){.balloon-layout .balloon-head-item .balloon-head-item-content{justify-content:center;text-align:center}}@media screen and (max-width:48rem){.balloon-layout .balloon-title-item .balloon-title-item-content{justify-content:center;text-align:center}}.balloon-layout .balloon-card-item .balloon-card-item-content{font-size:.875rem;line-height:1.25rem;overflow:auto;border-radius:.375rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%);background-color:var(--color-background-card);padding:1rem 1.2rem}.balloon-layout .balloon-dot{width:.8rem;height:.8rem;border-radius:1rem;margin:.25rem 0;border:2px solid var(--color-text)}.balloon-layout .balloon-line-container{display:flex;flex:1;justify-content:center}.balloon-layout .balloon-line-container .balloon-line{background-color:var(--color-text)}html[data-theme=dark] .balloon-head-item .balloon-head-item-img-light{display:none}html[data-theme=light] .balloon-head-item .balloon-head-item-img-dark{display:none}ul.list-layout{list-style:none;padding:0}ul.list-layout li{margin-bottom:.5rem;line-height:1.625;display:list-item;list-style-type:none}ul.list-layout li a{color:var(--color-text);border-bottom:2px solid var(--color-border);line-height:1.7rem}ul.list-layout li a:hover{border-bottom-color:var(--color-text-secondary)}ul.list-layout li span{font-size:.75rem;line-height:1rem;color:var(--color-text-secondary)}.postcard-layout a{color:var(--color-text)}.postcard-layout .postcard-item{padding:1rem;background-color:var(--color-background-card);border-radius:.375rem;margin:2rem 0;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%)}.postcard-layout .postcard-item:hover{background-color:var(--color-background-hover)}.postcard-layout .postcard-item .postcard-title{font-size:1.25rem;line-height:1.75rem;font-weight:500}.postcard-layout .postcard-item .postcard-summary{font-size:.75rem;line-height:1rem;color:var(--color-text-secondary);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:.5rem 0}.postcard-layout .postcard-item .postcard-metadata{font-size:.75rem;line-height:1rem;color:var(--color-text-secondary)}.term-title{display:flex;align-items:center;gap:8px;margin:2rem 0}.term-title h1{margin:0}html[data-theme=dark] #dark_mode_btn{display:none}html[data-theme=light] #light_mode_btn{display:none}header{display:flex;justify-content:space-between;align-items:center;margin:1rem 0}header .brand{display:flex;align-items:center}header .brand a{font-size:1.5rem;line-height:2rem;font-weight:700;color:var(--color-text)}header .brand #sidebar_btn{display:flex;margin-right:.5rem}@media screen and (min-width:48rem){header .brand #sidebar_btn{display:none}}header .toolbox{display:flex;align-items:center;column-gap:.5rem}header .toolbox .toolbox-btn{display:flex;cursor:pointer}header .toolbox .toolbox-btn:hover{color:var(--color-text-secondary)}header .toolbox .dropdown-wrapper .dropdown-btn.pure-menu-link{color:unset}header .toolbox .dropdown-wrapper .dropdown-btn{display:flex;align-items:center;padding:0}header .toolbox .dropdown-wrapper .dropdown-btn:hover{background-color:unset}header .toolbox .dropdown-wrapper .dropdown-btn::after{content:"";padding:0}header .toolbox .dropdown-wrapper .dropdown-btn .dropdown-desc{font-size:.875rem;line-height:1.25rem;margin-left:.35rem}footer{margin-top:1rem;margin-bottom:1rem;font-size:.75rem;line-height:1rem;text-align:center;color:var(--color-text-footer)}/*!Pure v2.1.0 -Copyright 2013 Yahoo! -Licensed under the BSD License. -https://github.com/pure-css/pure/blob/master/LICENSE*/.pure-menu{-webkit-box-sizing:border-box;box-sizing:border-box}.pure-menu-fixed{position:fixed;left:0;top:0;z-index:3}.pure-menu-list,.pure-menu-item{position:relative}.pure-menu-list{list-style:none;margin:0;padding:0}.pure-menu-item{padding:0;margin:0;height:100%;font-size:.875rem;line-height:1.25rem}.pure-menu-link,.pure-menu-heading{display:block;text-decoration:none;white-space:nowrap}.pure-menu-horizontal{width:100%;white-space:nowrap}.pure-menu-horizontal .pure-menu-list{display:inline-block}.pure-menu-horizontal .pure-menu-item,.pure-menu-horizontal .pure-menu-heading,.pure-menu-horizontal .pure-menu-separator{display:inline-block;vertical-align:middle}.pure-menu-item .pure-menu-item{display:block}.pure-menu-children{display:none;position:absolute;left:100%;top:0;margin:0;padding:0;z-index:3;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,4%)}.pure-menu-horizontal .pure-menu-children{left:0;top:auto;width:inherit}.pure-menu-allow-hover:hover>.pure-menu-children,.pure-menu-active>.pure-menu-children{display:block;position:absolute}.pure-menu-has-children>.pure-menu-link:after{padding-left:.35rem;font-family:sans-serif;content:"▸"}.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after{font-family:sans-serif;content:"▾"}.pure-menu-scrollable{overflow-y:scroll;overflow-x:hidden}.pure-menu-scrollable .pure-menu-list{display:block}.pure-menu-horizontal.pure-menu-scrollable{white-space:nowrap;overflow-y:hidden;overflow-x:auto;padding:.5em 0}.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list{display:inline-block}.pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-children .pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-separator{width:1px;height:1.3em;margin:0 .3em}.pure-menu-horizontal .pure-menu-children .pure-menu-separator{display:block;width:auto}.pure-menu-heading{text-transform:uppercase;color:var(--color-text)}.pure-menu-link{color:var(--color-text);font-size:.875rem;line-height:1.25rem}.pure-menu-children{background-color:var(--color-background)}.pure-menu-link,.pure-menu-heading{padding:.5rem}.pure-menu-disabled{opacity:.5}.pure-menu-disabled .pure-menu-link:hover{background-color:transparent;cursor:default}.pure-menu-active>.pure-menu-link{background-color:var(--color-background-hover)}.pure-menu-link:hover,.pure-menu-link:focus{background-color:var(--color-background-hover)}.pure-menu-selected>.pure-menu-link{color:var(--color-navbar-item-active)}.pure-menu-selected>.pure-menu-link:visited{color:var(--color-navbar-item-active)}#navbar{margin:1rem 0}@media screen and (max-width:48rem){#navbar{display:none}}#navbar>ul.pure-menu-list{display:flex}#navbar>ul.pure-menu-list .navbar-dropdown>a.pure-menu-link:after{content:"▾"}#navbar>ul.pure-menu-list .navbar-dropdown>ul.pure-menu-children{left:0;top:27px;width:inherit}#navbar>ul.pure-menu-list .navbar-item{margin:0 .5rem 0 0;border-bottom:2px solid transparent}#navbar>ul.pure-menu-list .navbar-item>a.pure-menu-link{font-weight:500;padding:0 0 .3rem;color:var(--color-navbar-item-inactive)}#navbar>ul.pure-menu-list .navbar-item>a.pure-menu-link:hover{background-color:transparent}#navbar>ul.pure-menu-list .navbar-item:hover{border-bottom-color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item:hover>a{color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item.active{border-bottom-color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item.active>a{color:var(--color-navbar-item-active)}#navbar>ul.pure-menu-list .navbar-item.insection{border-bottom-color:var(--color-navbar-item-in-section)}#navbar>ul.pure-menu-list .navbar-item.insection>a{color:var(--color-navbar-item-in-section)}#TableOfContents{line-height:1.5rem}#TableOfContents ul,#TableOfContents li{list-style:none;padding-left:0;margin:0}#TableOfContents ul ul{margin-left:.5rem}#TableOfContents li{margin-top:.375rem}#TableOfContents a{color:var(--color-text)}article#collapsible_menu_changelogs{line-height:1.75rem;display:grid;gap:.5rem;grid-template-columns:max-content 1fr;margin-top:.5rem}.collapsible-menu-wrapper{margin-top:2rem;margin-bottom:2rem;font-size:.875rem;padding:1rem;border:2px solid var(--color-border-collapsible-menu);border-radius:.25rem}.collapsible-menu-wrapper .collapsible-menu-type span{font-weight:700;line-height:1.5rem}.collapsible-menu-wrapper summary.collapsible-menu-type span{margin-left:.3rem}.collapsible-menu-wrapper .collapsible-menu{margin-left:.5rem}.emgithub-container{margin-top:1.5rem;margin-bottom:1.5rem}.emgithub-container .emgithub-code{display:flex;flex-direction:column;justify-content:center}.emgithub-container .emgithub-code .emgithub-loading{margin-left:auto;margin-right:auto;margin-top:1rem;margin-bottom:1rem;z-index:10;position:absolute;left:0;right:0;width:2rem}.emgithub-container .emgithub-code .emgithub-loading.hide{display:none}.emgithub-container .emgithub-code .emgithub-loading svg{width:2rem;height:2rem;animation:spin 1s linear infinite;color:#fff;fill:#969696}@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}.emgithub-container .emgithub-code .emgithub-pre{margin-top:0;margin-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.emgithub-container .emgithub-code .emgithub-pre.loading{min-height:5rem}.emgithub-container .emgithub-code .emgithub-pre code{tab-size:inherit}.emgithub-container .emgithub-toolbar{font-size:.75rem;line-height:1rem;display:flex;flex-direction:row;justify-content:space-between;padding:.75rem .75rem .625rem;border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem;background-color:#171717}.emgithub-container .emgithub-toolbar a{font-weight:600;color:#fff;border:0}.term-item{color:var(--color-text);border-bottom:2px solid var(--color-border);margin-right:.375rem;line-height:1.7rem}.term-item:hover{border-bottom-color:var(--color-text-secondary)}.icon{display:inline-block;width:1.5rem;height:1.5rem}.icon a{color:var(--color-text)}.icon a:hover{color:var(--color-text-secondary)}.breadcrumbs{font-weight:700;list-style-type:none;padding:0;margin:0}.breadcrumbs a{color:var(--color-text);border-bottom:2px solid transparent}.breadcrumbs a:hover{border-bottom-color:var(--color-text-secondary)}.breadcrumbs li{display:inline}.color-block{border-radius:.25rem;padding:.75rem}.icon-group{margin-top:1rem;margin-bottom:1rem;display:inline-grid;grid-auto-flow:column;gap:.375rem}#search_menu_wrapper{display:flex;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:40;background-color:rgba(0,0,0,.75)}#search_menu_wrapper mark{background-color:unset;color:unset;border-bottom:2px solid var(--color-text)}#search_menu_wrapper #search_menu{position:fixed;display:flex;flex-direction:column;width:100%;height:100%;border-radius:0;background-color:var(--color-background)}@media screen and (min-width:35.5rem){#search_menu_wrapper #search_menu{height:auto;top:6rem;bottom:6rem;width:30rem;z-index:50;border-radius:.375rem}}#search_menu_wrapper #search_menu #search_menu_toolbar{display:flex;min-height:2.5rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%)}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper{display:flex;flex-grow:1}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input{padding-left:1rem;padding-right:1rem;flex-grow:1;border-top-left-radius:.375rem}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input:focus{outline:2px solid transparent;outline-offset:2px}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn{display:flex;align-items:center;justify-content:center;width:2.5rem;border-top-right-radius:.375rem;cursor:pointer}#search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn:hover{background-color:var(--color-background-overlay)}#search_menu_wrapper #search_menu #search_menu_results{flex-grow:1;overflow-y:auto}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item{padding-left:1rem;padding-right:1rem;padding-top:.875rem;padding-bottom:.875rem;min-height:2.5rem}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item:hover{background-color:var(--color-background-overlay)}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-title{font-weight:700;line-height:1.7rem;color:var(--color-text)}#search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-content{font-size:.75rem;line-height:1rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:var(--color-text-secondary)}#sidebar_canvas_overlay{background-color:rgba(0,0,0,.75);position:fixed;top:0;left:0;width:100%;height:100%;z-index:10}#sidebar{position:fixed;top:0;left:0;height:100%;z-index:20;background-color:var(--color-background);box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,6%);transform:translateX(0);transition:transform .2s;overflow-y:auto;width:60%}@media screen and (min-width:35.5rem){#sidebar{width:40%}}#sidebar ul{list-style:none;padding-left:0;margin:0}#sidebar summary span{margin-left:.2rem}#sidebar li{margin:1.2rem}#sidebar a{color:var(--color-text)}#sidebar.close{display:block;transform:translateX(-100%)}.pagination{padding:0;margin:0;list-style:none}.pagination li{display:inline;margin:0 .1rem}.pagination a,.pagination span{color:var(--color-text-secondary)}.pagination li.active a{font-weight:600;color:var(--color-text)}.pagination li:not(.disabled) a:hover{color:var(--color-text)}.pagination li:not(.disabled) a:hover span{color:inherit}.pagination .disabled{cursor:not-allowed}.postcard-layout .pagination{text-align:center} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.json b/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.json deleted file mode 100644 index 2f1b9e0..0000000 --- a/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"style.min.fae245b6ce34259555eab2b011d31eb69cfeb04f46398e9c82df62439ad6edea66fa04d14a95b4bbf3ce9679be82b4badfed247f9962c2af62f53d0f389b424f.css","MediaType":"text/css","Data":{"Integrity":"sha512-+uJFts40JZVV6rKwEdMetpz+sE9GOY6cgt9iQ5rW7epm+gTRSpW0u/POlnm+grS63+0kf5liwq9i9T0POJtCTw=="}} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/core.scss_669e3cb1bc665ea6d73918c001c298c1.content b/resources/_gen/assets/scss/scss/core.scss_669e3cb1bc665ea6d73918c001c298c1.content deleted file mode 100644 index 6d483e5..0000000 --- a/resources/_gen/assets/scss/scss/core.scss_669e3cb1bc665ea6d73918c001c298c1.content +++ /dev/null @@ -1,1369 +0,0 @@ -@charset "UTF-8"; -/*! -Pure v2.1.0 -Copyright 2013 Yahoo! -Licensed under the BSD License. -https://github.com/pure-css/pure/blob/master/LICENSE -*/ -/*! -normalize.css v | MIT License | git.io/normalize -Copyright (c) Nicolas Gallagher and Jonathan Neal -*/ -/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ -/* Document - ========================================================================== */ -/** - * 1. Correct the line height in all browsers. - * 2. Prevent adjustments of font size after orientation changes in iOS. - */ -html { - line-height: 1.15; - /* 1 */ - -webkit-text-size-adjust: 100%; - /* 2 */ } - -/* Sections - ========================================================================== */ -/** - * Remove the margin in all browsers. - */ -body { - margin: 0; } - -/** - * Render the `main` element consistently in IE. - */ -main { - display: block; } - -/** - * Correct the font size and margin on `h1` elements within `section` and - * `article` contexts in Chrome, Firefox, and Safari. - */ -h1 { - font-size: 2em; - margin: 0.67em 0; } - -/* Grouping content - ========================================================================== */ -/** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. - */ -hr { - -webkit-box-sizing: content-box; - box-sizing: content-box; - /* 1 */ - height: 0; - /* 1 */ - overflow: visible; - /* 2 */ } - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ -pre { - font-family: monospace, monospace; - /* 1 */ - font-size: 1em; - /* 2 */ } - -/* Text-level semantics - ========================================================================== */ -/** - * Remove the gray background on active links in IE 10. - */ -a { - background-color: transparent; } - -/** - * 1. Remove the bottom border in Chrome 57- - * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. - */ -abbr[title] { - border-bottom: none; - /* 1 */ - text-decoration: underline; - /* 2 */ - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; - /* 2 */ } - -/** - * Add the correct font weight in Chrome, Edge, and Safari. - */ -b, strong { - font-weight: bolder; } - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ -code, kbd, samp { - font-family: monospace, monospace; - /* 1 */ - font-size: 1em; - /* 2 */ } - -/** - * Add the correct font size in all browsers. - */ -small { - font-size: 80%; } - -/** - * Prevent `sub` and `sup` elements from affecting the line height in - * all browsers. - */ -sub, sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; } - -sub { - bottom: -0.25em; } - -sup { - top: -0.5em; } - -/* Embedded content - ========================================================================== */ -/** - * Remove the border on images inside links in IE 10. - */ -img { - border-style: none; } - -/* Forms - ========================================================================== */ -/** - * 1. Change the font styles in all browsers. - * 2. Remove the margin in Firefox and Safari. - */ -button, input, optgroup, select, textarea { - font-family: inherit; - /* 1 */ - font-size: 100%; - /* 1 */ - line-height: 1.15; - /* 1 */ - margin: 0; - /* 2 */ } - -/** - * Show the overflow in IE. - * 1. Show the overflow in Edge. - */ -button, input { - /* 1 */ - overflow: visible; } - -/** - * Remove the inheritance of text transform in Edge, Firefox, and IE. - * 1. Remove the inheritance of text transform in Firefox. - */ -button, select { - /* 1 */ - text-transform: none; } - -/** - * Correct the inability to style clickable types in iOS and Safari. - */ -button, [type="button"], [type="reset"], [type="submit"] { - -webkit-appearance: button; } - -/** - * Remove the inner border and padding in Firefox. - */ -button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { - border-style: none; - padding: 0; } - -/** - * Restore the focus styles unset by the previous rule. - */ -button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { - outline: 1px dotted ButtonText; } - -/** - * Correct the padding in Firefox. - */ -fieldset { - padding: 0.35em 0.75em 0.625em; } - -/** - * 1. Correct the text wrapping in Edge and IE. - * 2. Correct the color inheritance from `fieldset` elements in IE. - * 3. Remove the padding so developers are not caught out when they zero out - * `fieldset` elements in all browsers. - */ -legend { - -webkit-box-sizing: border-box; - box-sizing: border-box; - /* 1 */ - color: inherit; - /* 2 */ - display: table; - /* 1 */ - max-width: 100%; - /* 1 */ - padding: 0; - /* 3 */ - white-space: normal; - /* 1 */ } - -/** - * Add the correct vertical alignment in Chrome, Firefox, and Opera. - */ -progress { - vertical-align: baseline; } - -/** - * Remove the default vertical scrollbar in IE 10+. - */ -textarea { - overflow: auto; } - -/** - * 1. Add the correct box sizing in IE 10. - * 2. Remove the padding in IE 10. - */ -[type="checkbox"], [type="radio"] { - -webkit-box-sizing: border-box; - box-sizing: border-box; - /* 1 */ - padding: 0; - /* 2 */ } - -/** - * Correct the cursor style of increment and decrement buttons in Chrome. - */ -[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { - height: auto; } - -/** - * 1. Correct the odd appearance in Chrome and Safari. - * 2. Correct the outline style in Safari. - */ -[type="search"] { - -webkit-appearance: textfield; - /* 1 */ - outline-offset: -2px; - /* 2 */ } - [type="search"]::-webkit-search-decoration { - -webkit-appearance: none; } - -/** - * Remove the inner padding in Chrome and Safari on macOS. - */ -/** - * 1. Correct the inability to style clickable types in iOS and Safari. - * 2. Change font properties to `inherit` in Safari. - */ -::-webkit-file-upload-button { - -webkit-appearance: button; - /* 1 */ - font: inherit; - /* 2 */ } - -/* Interactive - ========================================================================== */ -/* - * Add the correct display in Edge, IE 10+, and Firefox. - */ -details { - display: block; } - -/* - * Add the correct display in all browsers. - */ -summary { - display: list-item; } - -/* Misc - ========================================================================== */ -/** - * Add the correct display in IE 10+. - */ -template, [hidden] { - display: none; } - -/** - * Add the correct display in IE 10. - */ -/*csslint important:false*/ -/* ========================================================================== - Pure Base Extras - ========================================================================== */ -/** - * Extra rules that Pure adds on top of Normalize.css - */ -html { - font-family: sans-serif; } - -/** - * Always hide an element when it has the `hidden` HTML attribute. - */ -.hidden, [hidden] { - display: none !important; } - -/** - * Add this class to an image to make it fit within it's fluid parent wrapper while maintaining - * aspect ratio. - */ -.pure-img { - max-width: 100%; - height: auto; - display: block; } - -html[data-theme="light"] { - --color-text: #171717; - --color-text-secondary: #737373; - --color-text-footer: #737373; - --color-border: #d4d4d4; - --color-border-collapsible-menu: #e5e5e5; - --color-background: #fff; - --color-background-hover: #f7f7f7; - --color-background-overlay: #ededed; - --color-background-inline-code: #f5f5f5; - --color-background-card: #fff; - --color-background-mark: #fff1a7; - --color-link: #2563eb; - --color-navbar-item-inactive: #a3a3a3; - --color-navbar-item-active: #171717; - --color-navbar-item-in-section: #525252; } - -html[data-theme="dark"] { - --color-text: #ededed; - --color-text-secondary: #8b8b8b; - --color-text-footer: #a3a3a3; - --color-border: #737373; - --color-border-collapsible-menu: #636363; - --color-background: #333333; - --color-background-hover: #525252; - --color-background-overlay: #404040; - --color-background-inline-code: #525252; - --color-background-card: #404040; - --color-background-mark: #fff1a7; - --color-link: #93c5fd; - --color-navbar-item-inactive: #a3a3a3; - --color-navbar-item-active: #f5f5f5; - --color-navbar-item-in-section: #dddddd; } - -html { - color: var(--color-text); - background: var(--color-background); - font-size: 16px; } - -a { - color: var(--color-link); - text-decoration: none; } - -html, button, input, select, textarea, -.pure-g [class*="pure-u"] { - font-family: system-ui,-apple-system,segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji; } - -code, kbd, pre { - font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,courier new,monospace; } - -main { - margin-left: auto; - margin-right: auto; - padding: 1.5rem; } - -h1, h2, h3, h4, h5, h6 { - font-weight: 700; - margin-top: 2rem; - margin-bottom: 1rem; } - -h1 { - font-size: 1.5rem; - /* 24px */ - line-height: 2rem; - /* 32px */ } - -h2 { - font-size: 1.375rem; - /* 22px */ - line-height: 1.875rem; - /* 30px */ } - -h3 { - font-size: 1.25rem; - /* 20px */ - line-height: 1.75rem; - /* 28px */ } - -h4 { - font-size: 1.125rem; - /* 18px */ - line-height: 1.75rem; - /* 28px */ } - -h5 { - font-size: 1rem; - /* 16px */ - line-height: 1.5rem; - /* 24px */ } - -h6 { - font-size: 0.875rem; - /* 14px */ - line-height: 1.25rem; - /* 20px */ } - -figure { - margin: 0; } - -img { - max-width: 100%; } - -input { - background-color: var(--color-background); - color: var(--color-text); - border: none; } - -mark { - background-color: var(--color-background-mark); } - -details > summary { - cursor: pointer; } - -details[open] > summary { - cursor: pointer; } - -.content-margin { - margin-top: 2rem; - margin-bottom: 2rem; } - -.hidden { - display: none; } - -@media screen and (min-width: 35.5rem) { - main { - width: 100%; } } - -@media screen and (min-width: 48rem) { - main { - width: 80%; } } - -@media screen and (min-width: 64rem) { - main { - width: 55%; } } - -@media screen and (min-width: 80rem) { - main { - width: 55%; } } - -@media screen and (min-width: 120rem) { - main { - width: 55%; } } - -article { - line-height: 1.7; } - article > *:first-child { - margin-top: 0; } - article > *:last-child { - margin-bottom: 0; } - article hr { - margin-top: 2rem; - margin-bottom: 2rem; } - article p { - overflow-wrap: break-word; } - article li { - list-style-type: disc; - margin-top: .5rem; - margin-bottom: .5rem; } - article li p { - margin-top: 0; - margin-bottom: 0; } - article ul, article ol { - margin-top: 1rem; - margin-bottom: 1rem; - padding-left: 1.3rem; } - article ol li { - list-style-type: decimal; } - article ul, article ol { - margin-top: .5rem; - margin-bottom: .5rem; } - article ul li:first-child, article ol li:first-child { - margin-top: 0; } - article ul li:last-child, article ol li:last-child { - margin-bottom: 0; } - article blockquote { - padding-left: 1rem; - padding-right: 1rem; - margin-top: 1.5rem; - margin-bottom: 1.5rem; - margin-left: 0; - margin-right: 0; - border-left: 2px solid var(--color-border); } - article blockquote p:first-child { - margin-top: 0; } - article blockquote p:last-child { - margin-bottom: 0; } - article blockquote blockquote { - margin-top: 0; - margin-bottom: 0; } - article code { - /* Inline code style */ - border-radius: .25rem; - padding: .2rem .375rem .2rem .375rem; - background-color: var(--color-background-inline-code); } - article pre { - margin-top: 1.5rem; - margin-bottom: 1.5rem; - padding: 1rem; - overflow-x: auto; - border-radius: .5rem; - background-color: #1f1f1f; - color: #f7f7f7; } - article pre code { - /* Disable inline code style */ - border-radius: 0; - padding: 0; - background-color: transparent; } - article pre.mc-prism.hide code { - /* Smooth transition for prism.js */ - opacity: 0; } - article pre.mc-prism code { - /* Smooth transition for prism.js */ - opacity: 1; - transition: opacity 0.1s ease-in; } - article .code-toolbar .toolbar-item { - margin-left: 0.25rem; - margin-right: 0.25rem; } - article .highlight { - margin-top: 1.5rem; - margin-bottom: 1.5rem; - position: relative; } - article .highlight .code-toolbar { - padding: 0; } - article .highlight .code-toolbar pre { - padding: 1rem; - border-radius: 0.375rem; } - article .highlight > div, - article .highlight > pre { - padding: 0.75rem; - border-radius: 0.375rem; - overflow-x: auto; } - article .highlight > div pre, - article .highlight > pre pre { - padding: 0; - margin: 0; - border-radius: 0; } - article .highlight > div pre code, - article .highlight > pre pre code { - /* Disable inline code style */ - border-radius: 0; - padding: 0; - background-color: transparent; } - article .copy-code-button { - font-size: 0.75rem; - /* 12px */ - line-height: 1rem; - /* 16px */ - position: absolute; - right: 0; - height: 1.5rem; - top: -1.5rem; - padding-left: 0.375rem; - padding-right: 0.375rem; - border-radius: .25rem; - cursor: pointer; - background-color: transparent; - display: flex; - align-items: center; } - article .copy-code-button:hover { - background-color: var(--color-background-hover); } - article table.mc-table { - margin-top: 1.5rem; - margin-bottom: 1.5rem; - table-layout: auto; - border-collapse: collapse; - display: block; - overflow-x: auto; } - article table.mc-table td, article table.mc-table th { - padding-left: .75rem; - padding-right: .75rem; - padding-top: .5rem; - padding-bottom: .5rem; - border: 1px solid var(--color-border); } - article figure { - margin-top: 1rem; - margin-bottom: 1rem; - text-align: center; } - article figure figcaption { - margin-top: .5rem; - margin-bottom: .5rem; } - article img { - margin-left: auto; - margin-right: auto; - display: block; } - -html[data-theme='dark'] .twitter-tweet { - color: var(--color-text); } - html[data-theme='dark'] .twitter-tweet a { - color: var(--color-link); } - -.bookcase-layout { - display: grid; - gap: 1rem; - grid-template-columns: repeat(auto-fill, 8rem); } - .bookcase-layout .bookcase-item figure { - position: relative; - margin: 0; } - .bookcase-layout .bookcase-item figcaption { - font-size: 0.875rem; - /* 14px */ - line-height: 1.25rem; - /* 20px */ - text-align: center; - margin-top: .7rem; } - .bookcase-layout .bookcase-item figcaption a { - color: var(--color-text); } - .bookcase-layout .bookcase-item img, .bookcase-layout .bookcase-item .bookcase-item-overlay { - width: 8rem; - height: 12rem; - border-radius: 0.375rem; - box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); - object-fit: cover; } - .bookcase-layout .bookcase-item .bookcase-item-overlay { - position: absolute; - top: 0; - left: 0; - background-color: transparent; - opacity: 0.25; } - .bookcase-layout .bookcase-item .bookcase-item-overlay:hover { - background-color: var(--color-background-overlay); } - -html[data-theme="light"] .bookcase-item-img-dark { - display: none; } - -html[data-theme="dark"] .bookcase-item-img-light { - display: none; } - -@media screen and (min-width: 48rem) { - .gallery-layout figure { - margin-left: -1.25rem; - margin-right: -1.25rem; } } - -.gallery-layout figure img { - margin-left: auto; - margin-right: auto; } - -.gallery-layout figcaption { - margin-top: .5rem; - margin-bottom: .5rem; - font-size: 0.75rem; - /* 12px */ - line-height: 1rem; - /* 16px */ - font-style: italic; - text-align: center; } - -.gallery-layout .gallery-item { - margin-bottom: 4rem; } - -.gallery-layout .gallery-item-title { - margin: 1rem 0; } - .gallery-layout .gallery-item-title a { - color: var(--color-text); - border-bottom: 2px solid var(--color-border); } - .gallery-layout .gallery-item-title a:hover { - border-bottom-color: var(--color-text-secondary); } - .gallery-layout .gallery-item-title span { - font-size: 1.5rem; - /* 24px */ - line-height: 2rem; - /* 32px */ - font-weight: 700; } - -.gallery-layout .gallery-item-content { - margin-top: 1rem; - margin-bottom: 1rem; } - -.gallery-layout .gallery-item-statistic { - display: grid; - gap: 0.5rem; - grid-template-columns: max-content 1fr; } - -.balloon-layout .balloon-card-item, .balloon-layout .balloon-title-item, .balloon-layout .balloon-head-item { - display: flex; - flex-direction: column; } - @media screen and (min-width: 48rem) { - .balloon-layout .balloon-card-item, .balloon-layout .balloon-title-item, .balloon-layout .balloon-head-item { - flex-direction: row; } } -.balloon-layout .balloon-card-item .balloon-card-item-line, .balloon-layout .balloon-title-item .balloon-title-item-line, .balloon-layout .balloon-head-item .balloon-head-item-desktop { - width: 7rem; - display: flex; - flex-direction: column; - position: relative; - align-items: center; } - @media screen and (max-width: 48rem) { - .balloon-layout .balloon-card-item .balloon-card-item-line, .balloon-layout .balloon-title-item .balloon-title-item-line, .balloon-layout .balloon-head-item .balloon-head-item-desktop { - display: none; } } -.balloon-layout .balloon-card-item .balloon-card-item-content, .balloon-layout .balloon-title-item .balloon-title-item-content, .balloon-layout .balloon-head-item .balloon-head-item-content { - display: flex; - flex: 1 1 0%; - margin-left: -12px; } - @media screen and (max-width: 48rem) { - .balloon-layout .balloon-card-item .balloon-card-item-content, .balloon-layout .balloon-title-item .balloon-title-item-content, .balloon-layout .balloon-head-item .balloon-head-item-content { - margin-left: 0; } } -@media screen and (min-width: 48rem) { - .balloon-layout { - margin-left: -1.75rem; } } - -.balloon-layout .balloon-head-item { - width: 100%; - gap: 20px; } - .balloon-layout .balloon-head-item .balloon-head-item-mobile { - width: 100%; - justify-content: center; } - @media screen and (min-width: 48rem) { - .balloon-layout .balloon-head-item .balloon-head-item-mobile { - display: none; } } - .balloon-layout .balloon-head-item .balloon-head-item-img-light, .balloon-layout .balloon-head-item .balloon-head-item-img-dark { - display: flex; - justify-content: center; } - .balloon-layout .balloon-head-item .balloon-head-item-img img { - width: 6rem; - height: 6rem; } - .balloon-layout .balloon-head-item .balloon-head-item-img .rounded { - border-radius: 9999px; } - .balloon-layout .balloon-head-item .balloon-head-item-content { - margin: 0; - align-items: center; } - @media screen and (max-width: 48rem) { - .balloon-layout .balloon-head-item .balloon-head-item-content { - justify-content: center; - text-align: center; } } -@media screen and (max-width: 48rem) { - .balloon-layout .balloon-title-item .balloon-title-item-content { - justify-content: center; - text-align: center; } } - -.balloon-layout .balloon-card-item .balloon-card-item-content { - font-size: 0.875rem; - /* 14px */ - line-height: 1.25rem; - /* 20px */ - overflow: auto; - border-radius: 0.375rem; - box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); - background-color: var(--color-background-card); - padding: 1rem 1.2rem; } - -.balloon-layout .balloon-dot { - width: .8rem; - height: .8rem; - border-radius: 1rem; - margin: 0.25rem 0; - border: 2px solid var(--color-text); } - -.balloon-layout .balloon-line-container { - display: flex; - flex: 1 1 0%; - justify-content: center; } - .balloon-layout .balloon-line-container .balloon-line { - background-color: var(--color-text); } - -html[data-theme="dark"] .balloon-head-item .balloon-head-item-img-light { - display: none; } - -html[data-theme="light"] .balloon-head-item .balloon-head-item-img-dark { - display: none; } - -ul.list-layout { - list-style: none; - padding: 0; } - ul.list-layout li { - margin-bottom: .5rem; - line-height: 1.625; - display: list-item; - list-style-type: none; } - ul.list-layout li a { - color: var(--color-text); - border-bottom: 2px solid var(--color-border); - line-height: 1.7rem; } - ul.list-layout li a:hover { - border-bottom-color: var(--color-text-secondary); } - ul.list-layout li span { - font-size: 0.75rem; - /* 12px */ - line-height: 1rem; - /* 16px */ - color: var(--color-text-secondary); } - -.postcard-layout a { - color: var(--color-text); } - -.postcard-layout .postcard-item { - padding: 1rem; - background-color: var(--color-background-card); - border-radius: .375rem; - margin: 2rem 0; - box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } - .postcard-layout .postcard-item:hover { - background-color: var(--color-background-hover); } - .postcard-layout .postcard-item .postcard-title { - font-size: 1.25rem; - /* 20px */ - line-height: 1.75rem; - /* 28px */ - font-weight: 500; } - .postcard-layout .postcard-item .postcard-summary { - font-size: 0.75rem; - /* 12px */ - line-height: 1rem; - /* 16px */ - color: var(--color-text-secondary); - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - margin: .5rem 0; } - .postcard-layout .postcard-item .postcard-metadata { - font-size: 0.75rem; - /* 12px */ - line-height: 1rem; - /* 16px */ - color: var(--color-text-secondary); } - -.term-title { - display: flex; - align-items: center; - gap: 8px; - margin: 2rem 0; } - .term-title h1 { - margin: 0; } - -html[data-theme="dark"] #dark_mode_btn { - display: none; } - -html[data-theme="light"] #light_mode_btn { - display: none; } - -header { - display: flex; - justify-content: space-between; - align-items: center; - margin: 1rem 0; } - header .brand { - display: flex; - align-items: center; } - header .brand a { - font-size: 1.5rem; - /* 24px */ - line-height: 2rem; - /* 32px */ - font-weight: 700; - color: var(--color-text); } - header .brand #sidebar_btn { - display: flex; - margin-right: 0.5rem; } - @media screen and (min-width: 48rem) { - header .brand #sidebar_btn { - display: none; } } - header .toolbox { - display: flex; - align-items: center; - column-gap: 0.5rem; } - header .toolbox .toolbox-btn { - display: flex; - cursor: pointer; } - header .toolbox .toolbox-btn:hover { - color: var(--color-text-secondary); } - header .toolbox .dropdown-wrapper .dropdown-btn.pure-menu-link { - color: unset; } - header .toolbox .dropdown-wrapper .dropdown-btn { - display: flex; - align-items: center; - padding: 0; } - header .toolbox .dropdown-wrapper .dropdown-btn:hover { - background-color: unset; } - header .toolbox .dropdown-wrapper .dropdown-btn::after { - content: ""; - padding: 0; } - header .toolbox .dropdown-wrapper .dropdown-btn .dropdown-desc { - font-size: 0.875rem; - /* 14px */ - line-height: 1.25rem; - /* 20px */ - margin-left: 0.35rem; } - -footer { - margin-top: 1rem; - margin-bottom: 1rem; - font-size: 0.75rem; - /* 12px */ - line-height: 1rem; - /* 16px */ - text-align: center; - color: var(--color-text-footer); } - -/*! -Pure v2.1.0 -Copyright 2013 Yahoo! -Licensed under the BSD License. -https://github.com/pure-css/pure/blob/master/LICENSE -*/ -/*csslint adjoining-classes: false, box-model:false*/ -.pure-menu { - -webkit-box-sizing: border-box; - box-sizing: border-box; } - -.pure-menu-fixed { - position: fixed; - left: 0; - top: 0; - z-index: 3; } - -.pure-menu-list, .pure-menu-item { - position: relative; } - -.pure-menu-list { - list-style: none; - margin: 0; - padding: 0; } - -.pure-menu-item { - padding: 0; - margin: 0; - height: 100%; - font-size: 0.875rem; - /* 14px */ - line-height: 1.25rem; - /* 20px */ } - -.pure-menu-link, .pure-menu-heading { - display: block; - text-decoration: none; - white-space: nowrap; } - -/* HORIZONTAL MENU */ -.pure-menu-horizontal { - width: 100%; - white-space: nowrap; } - .pure-menu-horizontal .pure-menu-list { - display: inline-block; } - .pure-menu-horizontal .pure-menu-item, .pure-menu-horizontal .pure-menu-heading, .pure-menu-horizontal .pure-menu-separator { - display: inline-block; - vertical-align: middle; } - -/* Initial menus should be inline-block so that they are horizontal */ -/* Submenus should still be display: block; */ -.pure-menu-item .pure-menu-item { - display: block; } - -.pure-menu-children { - display: none; - position: absolute; - left: 100%; - top: 0; - margin: 0; - padding: 0; - z-index: 3; - box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); } - -.pure-menu-horizontal .pure-menu-children { - left: 0; - top: auto; - width: inherit; } - -.pure-menu-allow-hover:hover > .pure-menu-children, .pure-menu-active > .pure-menu-children { - display: block; - position: absolute; } - -/* Vertical Menus - show the dropdown arrow */ -.pure-menu-has-children > .pure-menu-link:after { - padding-left: 0.35rem; - font-family: sans-serif; - content: "▸"; } - -/* Horizontal Menus - show the dropdown arrow */ -.pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after { - font-family: sans-serif; - content: "▾"; } - -/* scrollable menus */ -.pure-menu-scrollable { - overflow-y: scroll; - overflow-x: hidden; } - .pure-menu-scrollable .pure-menu-list { - display: block; } - -.pure-menu-horizontal.pure-menu-scrollable { - white-space: nowrap; - overflow-y: hidden; - overflow-x: auto; - /* a little extra padding for this style to allow for scrollbars */ - padding: .5em 0; } - .pure-menu-horizontal.pure-menu-scrollable .pure-menu-list { - display: inline-block; } - -/* misc default styling */ -.pure-menu-separator { - background-color: #ccc; - height: 1px; - margin: .3em 0; } - -.pure-menu-horizontal .pure-menu-children .pure-menu-separator { - background-color: #ccc; - height: 1px; - margin: .3em 0; } - -.pure-menu-horizontal .pure-menu-separator { - width: 1px; - height: 1.3em; - margin: 0 0.3em; } - -.pure-menu-horizontal .pure-menu-children .pure-menu-separator { - display: block; - width: auto; } - -/* Need to reset the separator since submenu is vertical */ -.pure-menu-heading { - text-transform: uppercase; - color: var(--color-text); } - -.pure-menu-link { - color: var(--color-text); - font-size: 0.875rem; - /* 14px */ - line-height: 1.25rem; - /* 20px */ } - -.pure-menu-children { - background-color: var(--color-background); } - -.pure-menu-link, .pure-menu-heading { - padding: .5rem; } - -.pure-menu-disabled { - opacity: .5; } - .pure-menu-disabled .pure-menu-link:hover { - background-color: transparent; - cursor: default; } - -.pure-menu-active > .pure-menu-link { - background-color: var(--color-background-hover); } - -.pure-menu-link:hover, .pure-menu-link:focus { - background-color: var(--color-background-hover); } - -.pure-menu-selected > .pure-menu-link { - color: var(--color-navbar-item-active); } - .pure-menu-selected > .pure-menu-link:visited { - color: var(--color-navbar-item-active); } - -#navbar { - margin: 1rem 0; } - @media screen and (max-width: 48rem) { - #navbar { - display: none; } } - #navbar > ul.pure-menu-list { - display: flex; } - #navbar > ul.pure-menu-list .navbar-dropdown > a.pure-menu-link:after { - content: "▾"; } - #navbar > ul.pure-menu-list .navbar-dropdown > ul.pure-menu-children { - left: 0; - top: 27px; - width: inherit; } - #navbar > ul.pure-menu-list .navbar-item { - margin: 0 .5rem 0 0; - border-bottom: 2px solid transparent; } - #navbar > ul.pure-menu-list .navbar-item > a.pure-menu-link { - font-weight: 500; - padding: 0 0 .3rem 0; - color: var(--color-navbar-item-inactive); } - #navbar > ul.pure-menu-list .navbar-item > a.pure-menu-link:hover { - background-color: transparent; } - #navbar > ul.pure-menu-list .navbar-item:hover { - border-bottom-color: var(--color-navbar-item-active); } - #navbar > ul.pure-menu-list .navbar-item:hover > a { - color: var(--color-navbar-item-active); } - #navbar > ul.pure-menu-list .navbar-item.active { - border-bottom-color: var(--color-navbar-item-active); } - #navbar > ul.pure-menu-list .navbar-item.active > a { - color: var(--color-navbar-item-active); } - #navbar > ul.pure-menu-list .navbar-item.insection { - border-bottom-color: var(--color-navbar-item-in-section); } - #navbar > ul.pure-menu-list .navbar-item.insection > a { - color: var(--color-navbar-item-in-section); } - -#TableOfContents { - line-height: 1.5rem; } - #TableOfContents ul, #TableOfContents li { - list-style: none; - padding-left: 0; - margin: 0; } - #TableOfContents ul ul { - margin-left: .5rem; } - #TableOfContents li { - margin-top: .375rem; } - #TableOfContents a { - color: var(--color-text); } - -article#collapsible_menu_changelogs { - line-height: 1.75rem; - display: grid; - gap: .5rem; - grid-template-columns: max-content 1fr; - margin-top: .5rem; } - -.collapsible-menu-wrapper { - margin-top: 2rem; - margin-bottom: 2rem; - font-size: 0.875rem; - padding: 1rem; - border: 2px solid var(--color-border-collapsible-menu); - border-radius: .25rem; } - .collapsible-menu-wrapper .collapsible-menu-type span { - font-weight: 700; - line-height: 1.5rem; } - .collapsible-menu-wrapper summary.collapsible-menu-type span { - margin-left: .3rem; } - .collapsible-menu-wrapper .collapsible-menu { - margin-left: .5rem; } - -.emgithub-container { - margin-top: 1.5rem; - margin-bottom: 1.5rem; } - .emgithub-container .emgithub-code { - display: flex; - flex-direction: column; - justify-content: center; } - .emgithub-container .emgithub-code .emgithub-loading { - margin-left: auto; - margin-right: auto; - margin-top: 1rem; - margin-bottom: 1rem; - z-index: 10; - position: absolute; - left: 0; - right: 0; - width: 2rem; } - .emgithub-container .emgithub-code .emgithub-loading.hide { - display: none; } - .emgithub-container .emgithub-code .emgithub-loading svg { - width: 2rem; - height: 2rem; - animation: spin 1s linear infinite; - color: white; - fill: #969696; } - -@keyframes spin { - from { - transform: rotate(0deg); } - to { - transform: rotate(360deg); } } - .emgithub-container .emgithub-code .emgithub-pre { - margin-top: 0; - margin-bottom: 0; - border-bottom-right-radius: 0px; - border-bottom-left-radius: 0px; } - .emgithub-container .emgithub-code .emgithub-pre.loading { - min-height: 5rem; } - .emgithub-container .emgithub-code .emgithub-pre code { - tab-size: inherit; } - .emgithub-container .emgithub-toolbar { - font-size: 0.75rem; - /* 12px */ - line-height: 1rem; - /* 16px */ - display: flex; - flex-direction: row; - justify-content: space-between; - padding: 0.75rem 0.75rem 0.625rem 0.75rem; - border-bottom-right-radius: 0.375rem; - border-bottom-left-radius: 0.375rem; - background-color: #171717; } - .emgithub-container .emgithub-toolbar a { - font-weight: 600; - color: white; - border: 0; } - -.term-item { - color: var(--color-text); - border-bottom: 2px solid var(--color-border); - margin-right: 0.375rem; - line-height: 1.7rem; } - .term-item:hover { - border-bottom-color: var(--color-text-secondary); } - -.icon { - display: inline-block; - width: 1.5rem; - height: 1.5rem; } - .icon a { - color: var(--color-text); } - .icon a:hover { - color: var(--color-text-secondary); } - -.breadcrumbs { - font-weight: 700; - list-style-type: none; - padding: 0; - margin: 0; } - .breadcrumbs a { - color: var(--color-text); - border-bottom: 2px solid transparent; } - .breadcrumbs a:hover { - border-bottom-color: var(--color-text-secondary); } - .breadcrumbs li { - display: inline; } - -.color-block { - border-radius: 0.25rem; - padding: 0.75rem; } - -.icon-group { - margin-top: 1rem; - margin-bottom: 1rem; - display: inline-grid; - grid-auto-flow: column; - gap: 0.375rem; } - -#search_menu_wrapper { - display: flex; - justify-content: center; - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 40; - background-color: rgba(0, 0, 0, 0.75); } - #search_menu_wrapper mark { - background-color: unset; - color: unset; - border-bottom: 2px solid var(--color-text); } - #search_menu_wrapper #search_menu { - position: fixed; - display: flex; - flex-direction: column; - width: 100%; - height: 100%; - border-radius: 0; - background-color: var(--color-background); } - @media screen and (min-width: 35.5rem) { - #search_menu_wrapper #search_menu { - height: auto; - top: 6rem; - bottom: 6rem; - width: 30rem; - z-index: 50; - border-radius: 0.375rem; } } - #search_menu_wrapper #search_menu #search_menu_toolbar { - display: flex; - min-height: 2.5rem; - box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } - #search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper { - display: flex; - flex-grow: 1; } - #search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input { - padding-left: 1rem; - padding-right: 1rem; - flex-grow: 1; - border-top-left-radius: 0.375rem; } - #search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_input_wrapper input:focus { - outline: 2px solid transparent; - outline-offset: 2px; } - #search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn { - display: flex; - align-items: center; - justify-content: center; - width: 2.5rem; - border-top-right-radius: 0.375rem; - cursor: pointer; } - #search_menu_wrapper #search_menu #search_menu_toolbar #search_menu_close_btn:hover { - background-color: var(--color-background-overlay); } - #search_menu_wrapper #search_menu #search_menu_results { - flex-grow: 1; - overflow-y: auto; } - #search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item { - padding-left: 1rem; - padding-right: 1rem; - padding-top: 0.875rem; - padding-bottom: 0.875rem; - min-height: 2.5rem; } - #search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item:hover { - background-color: var(--color-background-overlay); } - #search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-title { - font-weight: 700; - line-height: 1.7rem; - color: var(--color-text); } - #search_menu_wrapper #search_menu #search_menu_results .search-menu-result-item .search-menu-result-item-content { - font-size: 0.75rem; - /* 12px */ - line-height: 1rem; - /* 16px */ - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - color: var(--color-text-secondary); } - -#sidebar_canvas_overlay { - background-color: rgba(0, 0, 0, 0.75); - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 10; } - -#sidebar { - position: fixed; - top: 0; - left: 0; - height: 100%; - z-index: 20; - background-color: var(--color-background); - box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); - transform: translateX(0); - transition: transform 0.2s; - overflow-y: auto; - width: 60%; } - @media screen and (min-width: 35.5rem) { - #sidebar { - width: 40%; } } - #sidebar ul { - list-style: none; - padding-left: 0; - margin: 0; } - #sidebar summary span { - margin-left: .2rem; } - #sidebar li { - margin: 1.2rem; } - #sidebar a { - color: var(--color-text); } - -#sidebar.close { - display: block; - transform: translateX(-100%); } - -.pagination { - padding: 0; - margin: 0; - list-style: none; } - .pagination li { - display: inline; - margin: 0 .1rem; } - .pagination a, .pagination span { - color: var(--color-text-secondary); } - .pagination li.active a { - font-weight: 600; - color: var(--color-text); } - .pagination li:not(.disabled) a:hover { - color: var(--color-text); } - .pagination li:not(.disabled) a:hover span { - color: inherit; } - .pagination .disabled { - cursor: not-allowed; } - -.postcard-layout .pagination { - text-align: center; } - -/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/core.scss_669e3cb1bc665ea6d73918c001c298c1.json b/resources/_gen/assets/scss/scss/core.scss_669e3cb1bc665ea6d73918c001c298c1.json deleted file mode 100644 index 8d03ad7..0000000 --- a/resources/_gen/assets/scss/scss/core.scss_669e3cb1bc665ea6d73918c001c298c1.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"style.css","MediaType":"text/css","Data":{}} \ No newline at end of file diff --git a/themes/hugo-PaperMod b/themes/hugo-PaperMod new file mode 160000 index 0000000..243ba38 --- /dev/null +++ b/themes/hugo-PaperMod @@ -0,0 +1 @@ +Subproject commit 243ba38a34ce03a6c44c1eed36e22bc992ccc019 diff --git a/themes/hugo-theme-monochrome/.github/workflows/gh-pages.yml b/themes/hugo-theme-monochrome/.github/workflows/gh-pages.yml deleted file mode 100644 index 089bbc6..0000000 --- a/themes/hugo-theme-monochrome/.github/workflows/gh-pages.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: github pages - -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - ref: main - token: ${{ secrets.ACCESS_TOKEN }} - ssh-key: ${{ secrets.SSH_PRIVATE }} - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: '0.115.4' - extended: true - - - name: Setup public - run: git worktree add -B gh-pages ./exampleSite/public origin/gh-pages - - - name: Clean public - run: rm -rf ./exampleSite/public/* - - - name: Build - run: hugo -s exampleSite --baseURL https://kaiiiz.github.io/hugo-theme-monochrome --themesDir=../.. --minify --environment production - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.ACCESS_TOKEN }} - deploy_key: ${{ secrets.SSH_PRIVATE }} - publish_dir: ./exampleSite/public - publish_branch: gh-pages - diff --git a/themes/hugo-theme-monochrome/.github/workflows/release.yml b/themes/hugo-theme-monochrome/.github/workflows/release.yml deleted file mode 100644 index 090fce5..0000000 --- a/themes/hugo-theme-monochrome/.github/workflows/release.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: github pages - -on: - push: - tags: - - "v*.*.*" - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - ref: dev - token: ${{ secrets.ACCESS_TOKEN }} - ssh-key: ${{ secrets.SSH_PRIVATE }} - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - - name: Create Release - uses: ncipollo/release-action@v1 - with: - draft: true diff --git a/themes/hugo-theme-monochrome/.gitignore b/themes/hugo-theme-monochrome/.gitignore deleted file mode 100644 index a1475a5..0000000 --- a/themes/hugo-theme-monochrome/.gitignore +++ /dev/null @@ -1,158 +0,0 @@ - -# Created by https://www.toptal.com/developers/gitignore/api/node -# Edit at https://www.toptal.com/developers/gitignore?templates=node - -### Node ### -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional stylelint cache -.stylelintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env -.env.test -.env*.local - -# parcel-bundler cache (https://parceljs.org/) -.cache -.parcel-cache - -# Next.js build output -.next - -# Nuxt.js build / generate output -.nuxt -dist - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and not Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TernJS port file -.tern-port - -# Stores VSCode versions used for testing VSCode extensions -.vscode-test - -# End of https://www.toptal.com/developers/gitignore/api/node - - -# Created by https://www.toptal.com/developers/gitignore/api/macos -# Edit at https://www.toptal.com/developers/gitignore?templates=macos - -### macOS ### -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# End of https://www.toptal.com/developers/gitignore/api/macos - -# Ignore files generated from Hugo build -/assets/jsconfig.json -.hugo_build.lock diff --git a/themes/hugo-theme-monochrome/LICENSE b/themes/hugo-theme-monochrome/LICENSE deleted file mode 100644 index 2e7b296..0000000 --- a/themes/hugo-theme-monochrome/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2021 kaiiiz - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/hugo-theme-monochrome/README.md b/themes/hugo-theme-monochrome/README.md deleted file mode 100644 index 5cfb7d7..0000000 --- a/themes/hugo-theme-monochrome/README.md +++ /dev/null @@ -1,57 +0,0 @@ -
-
-
-
-
- A fast, clean and responsive hugo theme -
- -## Demo & Documents - -See [kaiiiz.github.io/hugo-theme-monochrome](https://kaiiiz.github.io/hugo-theme-monochrome) - -## Features - -1. **Clean UI with small resources.** Monochrome has clean UI design with ~5KB gzipped bundled CSS. - -2. **Self-Contained.** Monochrome doesn't require webpack, nodejs and other dependencies to setup or edit, just hugo. - -3. **Responsive layout.** Adapt to different viewpoint, from desktop to mobile. - -4. **Support light/dark mode.** Low-light UI. - -5. **Multiple layouts built-in.** Monochrome now supports 6 different layouts. See [Demo](https://kaiiiz.github.io/hugo-theme-monochrome/layouts/). - -6. **Nested navbar and Multilingual mode.** Make good use of hugo's well-designed structure. - -7. **Syntax Highlighting (with copy feature).** Integrate both server-side solution (Chroma, hugo built-in) and client-side solution (Prism.js, for someone who need more languages supported). - -8. **Site Search with real-time matches highlight.** Powered by Fuse.js. - -9. **SEO-friendly.** Easily change your author, description, keywords, open graph, twitter card meatdata. - -10. **Support mathematical notation.** Powered by MathJax. - -11. **Useful shortcodes.** See [Document](https://kaiiiz.github.io/hugo-theme-monochrome/shortcodes/). - -## Installation - -See [Setup](https://kaiiiz.github.io/hugo-theme-monochrome/setup) - -## Configuration - -See [Configuration](https://kaiiiz.github.io/hugo-theme-monochrome/configuration/) - -## Acknowledgement - -* [PrismJS/prism](https://github.com/PrismJS/prism) -* [krisk/Fuse](https://github.com/krisk/Fuse) -* [mathjax/MathJax](https://github.com/mathjax/MathJax) -* [kingdido999/zooming](https://github.com/kingdido999/zooming) -* [feathericons/feather](https://github.com/feathericons/feather) diff --git a/themes/hugo-theme-monochrome/archetypes/default.md b/themes/hugo-theme-monochrome/archetypes/default.md deleted file mode 100644 index ac36e06..0000000 --- a/themes/hugo-theme-monochrome/archetypes/default.md +++ /dev/null @@ -1,2 +0,0 @@ -+++ -+++ diff --git a/themes/hugo-theme-monochrome/assets/js/builtin-copy.js b/themes/hugo-theme-monochrome/assets/js/builtin-copy.js deleted file mode 100644 index 1ee1afc..0000000 --- a/themes/hugo-theme-monochrome/assets/js/builtin-copy.js +++ /dev/null @@ -1,78 +0,0 @@ -function registerHoverEvent(wrapper, button) { - wrapper.addEventListener('mouseenter', function () { - button.classList.remove("hidden"); - }); - wrapper.addEventListener('mouseleave', function () { - button.classList.add("hidden"); - }); -} - -function registerTouchedEvent(pre, button) { - pre.addEventListener("touchend", function () { - if (button.classList.contains("hidden")) { - button.classList.remove("hidden"); - } else { - button.classList.add("hidden"); - } - }); -} - -function registerClipboard(button, code_block) { - button.addEventListener('click', async function () { - try { - await navigator.clipboard.writeText(code_block.innerText); - button.blur(); - button.innerText = 'Copied!'; - setTimeout(function () { - button.innerText = 'Copy'; - }, 2000); - } catch (e) { - button.innerText = 'Error'; - } - }); -} - -window.addEventListener("DOMContentLoaded", function () { - document.querySelectorAll('pre:not(.emgithub-pre) > code').forEach((code_block) => { - var button = document.createElement('span'); - button.className = 'copy-code-button hidden'; - button.type = 'button'; - button.innerText = 'Copy'; - - var pre = code_block.parentNode; - if (pre.parentNode.classList.contains('highlight')) { - var highlight = pre.parentNode; - highlight.appendChild(button); - registerHoverEvent(highlight, button); - registerTouchedEvent(pre, button); - registerClipboard(button, code_block); - } else if (pre.parentNode.tagName === "TD") { - // check is line no - var td = pre.parentNode; - var tr = td.parentNode; - if (td === tr.firstChild) { - return; - } - // get highlight block - var highlight = pre.parentNode; - while (!highlight.classList.contains('highlight') && highlight.tagName !== 'BODY') { - highlight = highlight.parentNode; - } - if (highlight.tagName !== 'BODY') { - highlight.appendChild(button); - registerHoverEvent(highlight, button); - registerTouchedEvent(pre, button); - registerClipboard(button, code_block); - } - } else { - var wrapper = document.createElement('div'); - wrapper.style = "position: relative;" - pre.parentNode.insertBefore(wrapper, pre); - wrapper.appendChild(pre); - wrapper.appendChild(button); - registerHoverEvent(wrapper, button); - registerTouchedEvent(pre, button); - registerClipboard(button, code_block); - } - }); -}); diff --git a/themes/hugo-theme-monochrome/assets/js/emgithub.js b/themes/hugo-theme-monochrome/assets/js/emgithub.js deleted file mode 100644 index ab16560..0000000 --- a/themes/hugo-theme-monochrome/assets/js/emgithub.js +++ /dev/null @@ -1,74 +0,0 @@ -var currentScript = document.currentScript; - -function removeMask (container) { - const emgithubPre = container.querySelector(".emgithub-pre"); - const emgithubLoading = container.querySelector(".emgithub-loading"); - emgithubLoading.classList.add("hide"); - emgithubPre.classList.remove("hide"); - emgithubPre.classList.remove("loading"); -} - -function embedTextToEle (codeText, container, lang, lineBegin, lineEnd) { - const emgithubPre = container.querySelector(".emgithub-pre"); - const emgithubCode = document.createElement("code"); - emgithubPre.appendChild(emgithubCode); - - if (lineBegin > 0) { - const codeTextSplit = codeText.split("\n"); - codeText = codeTextSplit.slice(lineBegin - 1, lineEnd).join("\n") + '\n'; - } - - // Dynamically adjust padding of pre to fit in the line numbers - const lineBeginDigit = lineBegin.toString().length; - const lineEndDigit = lineEnd.toString().length; - if (lineBeginDigit >= 4 || lineEndDigit >= 4) { - emgithubPre.style.paddingLeft = "4.5rem"; - } else if (lineBeginDigit >= 3 || lineEndDigit >= 3) { - emgithubPre.style.paddingLeft = "4rem"; - } else if (lineBeginDigit >= 2 || lineEndDigit >= 2) { - emgithubPre.style.paddingLeft = "3.5rem"; - } - - emgithubCode.classList.add(`language-${lang}`); - emgithubCode.textContent = codeText; - Prism.highlightAllUnder(container, false, () => { - requestAnimationFrame(() => { - removeMask(container); - }) - }); -} - -function embedErrorToEle (errText, container) { - const emgithubPre = container.querySelector(".emgithub-code .emgithub-pre"); - const emgithubCode = document.createElement("code"); - emgithubPre.appendChild(emgithubCode); - - emgithubPre.classList.remove("line-numbers"); - emgithubPre.classList.add("no-line-numbers"); - emgithubCode.textContent = errText; - - removeMask(container); -} - -async function embed () { - const sourceURL = new URL(currentScript.src); - const params = sourceURL.searchParams; - const rawFileURL = new URL(params.get("raw_file_url")); - const lang = params.get("lang"); - const id = params.get("id"); - const lineBegin = Number(params.get("line_begin")); - const lineEnd = Number(params.get("line_end")); - - const emgithubContainer = document.getElementById(id); - const response = await fetch(rawFileURL); - if (response.ok) { - const text = await response.text(); - embedTextToEle(text, emgithubContainer, lang, lineBegin, lineEnd); - } else { - embedErrorToEle(`Failed to process ${rawFileURL}\n${response.status}`, emgithubContainer); - } -} - -window.addEventListener("DOMContentLoaded", () => { - embed(); -}); \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/js/header.js b/themes/hugo-theme-monochrome/assets/js/header.js deleted file mode 100644 index 4af0b45..0000000 --- a/themes/hugo-theme-monochrome/assets/js/header.js +++ /dev/null @@ -1,46 +0,0 @@ -function hide_canvas() { - const sidebar_canvas_overlay = document.getElementById("sidebar_canvas_overlay"); - sidebar_canvas_overlay.classList.add("hidden"); -} - -function show_canvas() { - const sidebar_canvas_overlay = document.getElementById("sidebar_canvas_overlay"); - sidebar_canvas_overlay.classList.remove("hidden"); -} - -function hide_sidebar() { - const sidebar = document.getElementById("sidebar"); - sidebar.classList.add("close"); -} - -function show_sidebar() { - const sidebar = document.getElementById("sidebar"); - sidebar.classList.remove("close"); -} - -window.addEventListener("DOMContentLoaded", function() { - const sidebar_btn = document.getElementById("sidebar_btn"); - sidebar_btn.addEventListener("click", function() { - show_canvas(); - show_sidebar(); - }); - - const sidebar_canvas_overlay = document.getElementById("sidebar_canvas_overlay"); - sidebar_canvas_overlay.addEventListener("click", function() { - hide_canvas(); - hide_sidebar(); - }); - - const dark_mode_btn = document.getElementById("dark_mode_btn"); - const light_mode_btn = document.getElementById("light_mode_btn"); - - dark_mode_btn.addEventListener('click', function() { - document.documentElement.setAttribute("data-theme", "dark"); - localStorage.theme = 'dark'; - }); - - light_mode_btn.addEventListener('click', function() { - document.documentElement.setAttribute("data-theme", "light"); - localStorage.theme = 'light'; - }); -}); diff --git a/themes/hugo-theme-monochrome/assets/js/math.js b/themes/hugo-theme-monochrome/assets/js/math.js deleted file mode 100644 index 4b9134c..0000000 --- a/themes/hugo-theme-monochrome/assets/js/math.js +++ /dev/null @@ -1,11 +0,0 @@ -window.MathJax = { - tex: { - inlineMath: [['$', '$']], - displayMath: [['$$', '$$']], - processEscapes: true, - processEnvironments: true - }, - options: { - skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre'] - } -}; diff --git a/themes/hugo-theme-monochrome/assets/js/prism-autoloader.js b/themes/hugo-theme-monochrome/assets/js/prism-autoloader.js deleted file mode 100644 index 4bd2635..0000000 --- a/themes/hugo-theme-monochrome/assets/js/prism-autoloader.js +++ /dev/null @@ -1 +0,0 @@ -Prism.plugins.autoloader.languages_path = 'https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/'; diff --git a/themes/hugo-theme-monochrome/assets/js/prism.js b/themes/hugo-theme-monochrome/assets/js/prism.js deleted file mode 100644 index bb5ac4d..0000000 --- a/themes/hugo-theme-monochrome/assets/js/prism.js +++ /dev/null @@ -1,13 +0,0 @@ -function highlight() { - document.querySelectorAll("pre:not(.emgithub-pre)").forEach(e => { - Prism.highlightAllUnder(e, false, () => { - requestAnimationFrame(() => { - e.classList.remove("hide"); - }) - }); - }); -} - -window.addEventListener("DOMContentLoaded", () => { - highlight(); -}) diff --git a/themes/hugo-theme-monochrome/assets/js/search.js b/themes/hugo-theme-monochrome/assets/js/search.js deleted file mode 100644 index 43ca099..0000000 --- a/themes/hugo-theme-monochrome/assets/js/search.js +++ /dev/null @@ -1,143 +0,0 @@ -import * as params from '@params'; -import Fuse from '../lib/js/fuse-v6.6.2.min.js'; - -async function init() { - const data = fetch(params.index_url); - - const search_btn = document.getElementById("search_btn"); - const search_menu_wrapper = document.getElementById("search_menu_wrapper"); - const search_menu_close_btn = document.getElementById("search_menu_close_btn"); - const search_menu_input = document.getElementById("search_menu_input"); - const search_menu_results = document.getElementById("search_menu_results"); - - search_btn.addEventListener("click", function() { - search_menu_wrapper.classList.remove("hidden"); - search_menu_input.focus(); - }); - - search_menu_close_btn.addEventListener("click", function() { - search_menu_wrapper.classList.add("hidden"); - }); - - const index_json = await (await data).json(); - const options = { - distance: 100, - threshold: 0.3, - ignoreLocation: true, - minMatchCharLength: 2, - keys: [ - 'title', - 'permalink', - 'content', - ], - includeMatches: true, - }; - const fuse = new Fuse(index_json, options); - - const createItem = (title, permalink, content) => { - return ` - - `; - }; - - const hlItem = (item, matches) => { - const highlightTitle = (text, match) => { - let textHl = "", ptr = 0; - match.forEach(idx => { - if (ptr < idx[0]) { - textHl += text.substring(ptr, idx[0]); - } - textHl += "" + text.substring(idx[0], idx[1] + 1) + ""; - ptr = idx[1] + 1; - }) - textHl += text.substring(ptr, text.length); - return textHl; - }; - - const highlightContent = (text, match) => { - let textHl = "" + text.substring(match[0][0], match[0][1] + 1) + ""; - let ptr = match[0][1] + 1; - let length = match[0][1] + 1 - match[0][0]; - if (match[0][0] > 0) { - textHl = "..." + textHl; - } - for (let i = 1; i < match.length; i++) { - const idx = match[i]; - if (ptr < idx[0] && (length + idx[0] - ptr) >= 100) { - textHl += text.substring(ptr, ptr + (100 - length + 1)) + "..."; - length = 100; - break; - } - - if (ptr < idx[0]) { - textHl += text.substring(ptr, idx[0]); - length += idx[0] - ptr; - } - textHl += "" + text.substring(idx[0], idx[1] + 1) + ""; - length += idx[1] + 1 - idx[0]; - ptr = idx[1] + 1; - if (length >= 100) { - break; - } - } - if (length < 100) { - textHl += text.substring(ptr, ptr + (100 - length)); - } - if (ptr <= text.length) { - textHl += "..."; - } - return textHl; - } - - let itemHl = { - title: undefined, - permalink: item.permalink, - content: undefined, - }; - matches.forEach(match => { - if (match.key == 'title') { - itemHl.title = highlightTitle(item.title, match.indices); - } else if (match.key == 'content') { - itemHl.content = highlightContent(item.content, match.indices); - } - }); - if (itemHl.title === undefined) itemHl.title = item.title; - if (itemHl.content === undefined) itemHl.content = item.content; - return itemHl; - } - - const buildAllItems = () => { - search_menu_results.innerHTML = index_json.reduce((acc, curr) => { - let content = (curr.content.length > 100) ? curr.content.substring(0, 100) + "..." : curr.content; - return acc + createItem(curr.title, curr.permalink, content); - }, ""); - }; - - const search = (value) => { - const results = fuse.search(value); - - if (results.length == 0) { - search_menu_results.innerHTML = ''; - } else { - search_menu_results.innerHTML = results.reduce((acc, curr) => { - const item = hlItem(curr.item, curr.matches); - return acc + createItem(item.title, item.permalink, item.content); - }, "") - } - }; - - search_menu_input.addEventListener("input", function() { - if (this.value === '') { - buildAllItems(); - } else { - search(this.value.trim()); - } - }); - - buildAllItems(); -} - -window.addEventListener("DOMContentLoaded", init); diff --git a/themes/hugo-theme-monochrome/assets/js/zooming.js b/themes/hugo-theme-monochrome/assets/js/zooming.js deleted file mode 100644 index b55fe75..0000000 --- a/themes/hugo-theme-monochrome/assets/js/zooming.js +++ /dev/null @@ -1,27 +0,0 @@ -import Zooming from '../lib/js/zooming-v2.1.1.min.js'; - -document.addEventListener('DOMContentLoaded', function () { - let bgColor; - if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) { - bgColor = '#333'; - } else { - bgColor = '#fff'; - } - - zooming = new Zooming({ - transitionDuration: 0.2, - bgColor: bgColor, - }); - zooming.listen('#content img'); - - const dark_mode_btn = document.getElementById("dark_mode_btn"); - const light_mode_btn = document.getElementById("light_mode_btn"); - - dark_mode_btn.addEventListener('click', function () { - zooming.config({bgColor: '#333'}); - }); - - light_mode_btn.addEventListener('click', function () { - zooming.config({bgColor: '#fff'}); - }); -}); diff --git a/themes/hugo-theme-monochrome/assets/lib/css/prism.css b/themes/hugo-theme-monochrome/assets/lib/css/prism.css deleted file mode 100644 index d18e437..0000000 --- a/themes/hugo-theme-monochrome/assets/lib/css/prism.css +++ /dev/null @@ -1,300 +0,0 @@ -/* PrismJS 1.27.0 -https://prismjs.com/download.html#themes=prism-tomorrow */ -/** - * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML - * Based on https://github.com/chriskempson/tomorrow-theme - * @author Rose Pritchard - */ - -/* !!! Be aware that this file is modified version for hugo-theme-monochrome */ - -code[class*="language-"], -pre[class*="language-"] { - color: #ddd; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - word-wrap: normal; - line-height: 1.5; - - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; - - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; -} - -/* Code blocks */ -pre[class*="language-"] { - padding: 1em; - /* margin: 0.5em 0; */ - overflow: auto; -} - -/* :not(pre) > code[class*="language-"], -pre[class*="language-"] { - background: #2d2d2d; -} */ - -/* Inline code */ -:not(pre) > code[class*="language-"] { - padding: 0.1em; - border-radius: 0.3em; - white-space: normal; -} - -.token.comment, -.token.block-comment, -.token.prolog, -.token.doctype, -.token.cdata { - color: #999; -} - -.token.punctuation { - color: #ccc; -} - -.token.tag, -.token.attr-name, -.token.namespace, -.token.deleted { - color: #e2777a; -} - -.token.function-name { - color: #6196cc; -} - -.token.boolean, -.token.number, -.token.function { - color: #f08d49; -} - -.token.property, -.token.class-name, -.token.constant, -.token.symbol { - color: #f8c555; -} - -.token.selector, -.token.important, -.token.atrule, -.token.keyword, -.token.builtin { - color: #cc99cd; -} - -.token.string, -.token.char, -.token.attr-value, -.token.regex, -.token.variable { - color: #7ec699; -} - -.token.operator, -.token.entity, -.token.url { - color: #67cdcc; -} - -.token.important, -.token.bold { - font-weight: bold; -} -.token.italic { - font-style: italic; -} - -.token.entity { - cursor: help; -} - -.token.inserted { - color: green; -} - -/* line-numbers */ - -pre[class*="language-"].line-numbers { - position: relative; - padding-left: 3.8em; - counter-reset: linenumber; -} - -pre[class*="language-"].line-numbers > code { - position: relative; - white-space: inherit; -} - -.line-numbers .line-numbers-rows { - position: absolute; - pointer-events: none; - top: 0; - font-size: 100%; - left: -3.8em; - min-width: 3em; - /* width: 3em; /* works for line-numbers below 1000 lines */ - letter-spacing: -1px; - border-right: 1px solid #999; - - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.line-numbers-rows > span { - display: block; - counter-increment: linenumber; -} - -.line-numbers-rows > span:before { - content: counter(linenumber); - color: #999; - display: block; - padding-right: 0.8em; - text-align: right; -} - -/* toolbar */ - -div.code-toolbar { - position: relative; -} - -div.code-toolbar > .toolbar { - position: absolute; - z-index: 10; - top: 0.3em; - right: 0.2em; - transition: opacity 0.3s ease-in-out; - opacity: 0; -} - -div.code-toolbar:hover > .toolbar { - opacity: 1; -} - -/* Separate line b/c rules are thrown out if selector is invalid. - IE11 and old Edge versions don't support :focus-within. */ -div.code-toolbar:focus-within > .toolbar { - opacity: 1; -} - -div.code-toolbar > .toolbar > .toolbar-item { - display: inline-block; -} - -div.code-toolbar > .toolbar > .toolbar-item > a { - cursor: pointer; -} - -div.code-toolbar > .toolbar > .toolbar-item > button { - background: none; - border: 0; - color: inherit; - font: inherit; - line-height: normal; - overflow: visible; - padding: 0; - -webkit-user-select: none; /* for button */ - -moz-user-select: none; - -ms-user-select: none; -} - -div.code-toolbar > .toolbar > .toolbar-item > a, -div.code-toolbar > .toolbar > .toolbar-item > button, -div.code-toolbar > .toolbar > .toolbar-item > span { - color: #bbb; - font-size: 0.8em; - padding: 0 0.5em; - background: #f5f2f0; - background: rgba(224, 224, 224, 0.2); - box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.2); - border-radius: 0.5em; -} - -div.code-toolbar > .toolbar > .toolbar-item > a:hover, -div.code-toolbar > .toolbar > .toolbar-item > a:focus, -div.code-toolbar > .toolbar > .toolbar-item > button:hover, -div.code-toolbar > .toolbar > .toolbar-item > button:focus, -div.code-toolbar > .toolbar > .toolbar-item > span:hover, -div.code-toolbar > .toolbar > .toolbar-item > span:focus { - color: inherit; - text-decoration: none; -} - -/* line highlight */ -.line-highlight { - position: absolute; - left: 0; - right: 0; - padding: inherit 0; - margin-top: 1em; /* Same as .prism’s padding-top */ - - background: hsla(50, 100%, 83%, 0.2); - /* background: linear-gradient(to right, hsla(24, 20%, 50%, 0.1) 70%, hsla(24, 20%, 50%, 0)); */ - - pointer-events: none; - - line-height: inherit; - white-space: pre; -} - -@media print { - .line-highlight { - /* - * This will prevent browsers from replacing the background color with white. - * It's necessary because the element is layered on top of the displayed code. - */ - -webkit-print-color-adjust: exact; - color-adjust: exact; - } -} - -.line-highlight:before, -.line-highlight[data-end]:after { - content: attr(data-start); - position: absolute; - top: 0.4em; - left: 0.6em; - min-width: 1em; - padding: 0 0.5em; - background-color: hsla(24, 20%, 50%, 0.4); - color: hsl(24, 20%, 95%); - font: bold 65%/1.5 sans-serif; - text-align: center; - vertical-align: 0.3em; - border-radius: 999px; - text-shadow: none; - box-shadow: 0 1px white; -} - -.line-highlight[data-end]:after { - content: attr(data-end); - top: auto; - bottom: 0.4em; -} - -.line-numbers .line-highlight:before, -.line-numbers .line-highlight:after { - content: none; -} - -pre[id].linkable-line-numbers span.line-numbers-rows { - pointer-events: all; -} -pre[id].linkable-line-numbers span.line-numbers-rows > span:before { - cursor: pointer; -} -pre[id].linkable-line-numbers span.line-numbers-rows > span:hover:before { - background-color: rgba(128, 128, 128, 0.2); -} diff --git a/themes/hugo-theme-monochrome/assets/lib/icns/feather-sprite-v4.29.0.svg b/themes/hugo-theme-monochrome/assets/lib/icns/feather-sprite-v4.29.0.svg deleted file mode 100644 index b66f76f..0000000 --- a/themes/hugo-theme-monochrome/assets/lib/icns/feather-sprite-v4.29.0.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/lib/js/fuse-v6.6.2.min.js b/themes/hugo-theme-monochrome/assets/lib/js/fuse-v6.6.2.min.js deleted file mode 100644 index 47e20f4..0000000 --- a/themes/hugo-theme-monochrome/assets/lib/js/fuse-v6.6.2.min.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Fuse.js v6.6.2 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2022 Kiro Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ -var e, t; e = this, t = function() { "use strict"; function e(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), n.push.apply(n, r) } return n } function t(t) { for (var n = 1; n < arguments.length; n++) { var r = null != arguments[n] ? arguments[n] : {}; n % 2 ? e(Object(r), !0).forEach((function(e) { c(t, e, r[e]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : e(Object(r)).forEach((function(e) { Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e)) })) } return t } function n(e) { return n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }, n(e) } function r(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function i(e, t) { for (var n = 0; n < t.length; n++) { var r = t[n]; r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r) } } function o(e, t, n) { return t && i(e.prototype, t), n && i(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e } function c(e, t, n) { return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e } function a(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); Object.defineProperty(e, "prototype", { value: Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), writable: !1 }), t && u(e, t) } function s(e) { return s = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) }, s(e) } function u(e, t) { return u = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e }, u(e, t) } function h(e, t) { if (t && ("object" == typeof t || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return function(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(e) } function l(e) { var t = function() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() { }))), !0 } catch (e) { return !1 } }(); return function() { var n, r = s(e); if (t) { var i = s(this).constructor; n = Reflect.construct(r, arguments, i) } else n = r.apply(this, arguments); return h(this, n) } } function f(e) { return function(e) { if (Array.isArray(e)) return d(e) }(e) || function(e) { if ("undefined" != typeof Symbol && null != e[Symbol.iterator] || null != e["@@iterator"]) return Array.from(e) }(e) || function(e, t) { if (e) { if ("string" == typeof e) return d(e, t); var n = Object.prototype.toString.call(e).slice(8, -1); return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? d(e, t) : void 0 } }(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") }() } function d(e, t) { (null == t || t > e.length) && (t = e.length); for (var n = 0, r = new Array(t); n < t; n++)r[n] = e[n]; return r } function v(e) { return Array.isArray ? Array.isArray(e) : "[object Array]" === b(e) } function g(e) { return "string" == typeof e } function y(e) { return "number" == typeof e } function p(e) { return !0 === e || !1 === e || function(e) { return m(e) && null !== e }(e) && "[object Boolean]" == b(e) } function m(e) { return "object" === n(e) } function k(e) { return null != e } function M(e) { return !e.trim().length } function b(e) { return null == e ? void 0 === e ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e) } var x = function(e) { return "Invalid value for key ".concat(e) }, w = function(e) { return "Pattern length exceeds max of ".concat(e, ".") }, L = Object.prototype.hasOwnProperty, S = function() { function e(t) { var n = this; r(this, e), this._keys = [], this._keyMap = {}; var i = 0; t.forEach((function(e) { var t = _(e); i += t.weight, n._keys.push(t), n._keyMap[t.id] = t, i += t.weight })), this._keys.forEach((function(e) { e.weight /= i })) } return o(e, [{ key: "get", value: function(e) { return this._keyMap[e] } }, { key: "keys", value: function() { return this._keys } }, { key: "toJSON", value: function() { return JSON.stringify(this._keys) } }]), e }(); function _(e) { var t = null, n = null, r = null, i = 1, o = null; if (g(e) || v(e)) r = e, t = O(e), n = j(e); else { if (!L.call(e, "name")) throw new Error(function(e) { return "Missing ".concat(e, " property in key") }("name")); var c = e.name; if (r = c, L.call(e, "weight") && (i = e.weight) <= 0) throw new Error(function(e) { return "Property 'weight' in key '".concat(e, "' must be a positive integer") }(c)); t = O(c), n = j(c), o = e.getFn } return { path: t, id: n, weight: i, src: r, getFn: o } } function O(e) { return v(e) ? e : e.split(".") } function j(e) { return v(e) ? e.join(".") : e } var A = { useExtendedSearch: !1, getFn: function(e, t) { var n = [], r = !1; return function e(t, i, o) { if (k(t)) if (i[o]) { var c = t[i[o]]; if (!k(c)) return; if (o === i.length - 1 && (g(c) || y(c) || p(c))) n.push(function(e) { return null == e ? "" : function(e) { if ("string" == typeof e) return e; var t = e + ""; return "0" == t && 1 / e == -1 / 0 ? "-0" : t }(e) }(c)); else if (v(c)) { r = !0; for (var a = 0, s = c.length; a < s; a += 1)e(c[a], i, o + 1) } else i.length && e(c, i, o + 1) } else n.push(t) }(e, g(t) ? t.split(".") : t, 0), r ? n : n[0] }, ignoreLocation: !1, ignoreFieldNorm: !1, fieldNormWeight: 1 }, I = t(t(t(t({}, { isCaseSensitive: !1, includeScore: !1, keys: [], shouldSort: !0, sortFn: function(e, t) { return e.score === t.score ? e.idx < t.idx ? -1 : 1 : e.score < t.score ? -1 : 1 } }), { includeMatches: !1, findAllMatches: !1, minMatchCharLength: 1 }), { location: 0, threshold: .6, distance: 100 }), A), C = /[^ ]+/g; function E() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 3, n = new Map, r = Math.pow(10, t); return { get: function(t) { var i = t.match(C).length; if (n.has(i)) return n.get(i); var o = 1 / Math.pow(i, .5 * e), c = parseFloat(Math.round(o * r) / r); return n.set(i, c), c }, clear: function() { n.clear() } } } var $ = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = t.getFn, i = void 0 === n ? I.getFn : n, o = t.fieldNormWeight, c = void 0 === o ? I.fieldNormWeight : o; r(this, e), this.norm = E(c, 3), this.getFn = i, this.isCreated = !1, this.setIndexRecords() } return o(e, [{ key: "setSources", value: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []; this.docs = e } }, { key: "setIndexRecords", value: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []; this.records = e } }, { key: "setKeys", value: function() { var e = this, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : []; this.keys = t, this._keysMap = {}, t.forEach((function(t, n) { e._keysMap[t.id] = n })) } }, { key: "create", value: function() { var e = this; !this.isCreated && this.docs.length && (this.isCreated = !0, g(this.docs[0]) ? this.docs.forEach((function(t, n) { e._addString(t, n) })) : this.docs.forEach((function(t, n) { e._addObject(t, n) })), this.norm.clear()) } }, { key: "add", value: function(e) { var t = this.size(); g(e) ? this._addString(e, t) : this._addObject(e, t) } }, { key: "removeAt", value: function(e) { this.records.splice(e, 1); for (var t = e, n = this.size(); t < n; t += 1)this.records[t].i -= 1 } }, { key: "getValueForItemAtKeyId", value: function(e, t) { return e[this._keysMap[t]] } }, { key: "size", value: function() { return this.records.length } }, { key: "_addString", value: function(e, t) { if (k(e) && !M(e)) { var n = { v: e, i: t, n: this.norm.get(e) }; this.records.push(n) } } }, { key: "_addObject", value: function(e, t) { var n = this, r = { i: t, $: {} }; this.keys.forEach((function(t, i) { var o = t.getFn ? t.getFn(e) : n.getFn(e, t.path); if (k(o)) if (v(o)) !function() { for (var e = [], t = [{ nestedArrIndex: -1, value: o }]; t.length;) { var c = t.pop(), a = c.nestedArrIndex, s = c.value; if (k(s)) if (g(s) && !M(s)) { var u = { v: s, i: a, n: n.norm.get(s) }; e.push(u) } else v(s) && s.forEach((function(e, n) { t.push({ nestedArrIndex: n, value: e }) })) } r.$[i] = e }(); else if (g(o) && !M(o)) { var c = { v: o, n: n.norm.get(o) }; r.$[i] = c } })), this.records.push(r) } }, { key: "toJSON", value: function() { return { keys: this.keys, records: this.records } } }]), e }(); function F(e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, r = n.getFn, i = void 0 === r ? I.getFn : r, o = n.fieldNormWeight, c = void 0 === o ? I.fieldNormWeight : o, a = new $({ getFn: i, fieldNormWeight: c }); return a.setKeys(e.map(_)), a.setSources(t), a.create(), a } function R(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = t.errors, r = void 0 === n ? 0 : n, i = t.currentLocation, o = void 0 === i ? 0 : i, c = t.expectedLocation, a = void 0 === c ? 0 : c, s = t.distance, u = void 0 === s ? I.distance : s, h = t.ignoreLocation, l = void 0 === h ? I.ignoreLocation : h, f = r / e.length; if (l) return f; var d = Math.abs(a - o); return u ? f + d / u : d ? 1 : f } function N() { for (var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [], t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : I.minMatchCharLength, n = [], r = -1, i = -1, o = 0, c = e.length; o < c; o += 1) { var a = e[o]; a && -1 === r ? r = o : a || -1 === r || ((i = o - 1) - r + 1 >= t && n.push([r, i]), r = -1) } return e[o - 1] && o - r >= t && n.push([r, o - 1]), n } var P = 32; function W(e) { for (var t = {}, n = 0, r = e.length; n < r; n += 1) { var i = e.charAt(n); t[i] = (t[i] || 0) | 1 << r - n - 1 } return t } var T = function() { function e(t) { var n = this, i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, o = i.location, c = void 0 === o ? I.location : o, a = i.threshold, s = void 0 === a ? I.threshold : a, u = i.distance, h = void 0 === u ? I.distance : u, l = i.includeMatches, f = void 0 === l ? I.includeMatches : l, d = i.findAllMatches, v = void 0 === d ? I.findAllMatches : d, g = i.minMatchCharLength, y = void 0 === g ? I.minMatchCharLength : g, p = i.isCaseSensitive, m = void 0 === p ? I.isCaseSensitive : p, k = i.ignoreLocation, M = void 0 === k ? I.ignoreLocation : k; if (r(this, e), this.options = { location: c, threshold: s, distance: h, includeMatches: f, findAllMatches: v, minMatchCharLength: y, isCaseSensitive: m, ignoreLocation: M }, this.pattern = m ? t : t.toLowerCase(), this.chunks = [], this.pattern.length) { var b = function(e, t) { n.chunks.push({ pattern: e, alphabet: W(e), startIndex: t }) }, x = this.pattern.length; if (x > P) { for (var w = 0, L = x % P, S = x - L; w < S;)b(this.pattern.substr(w, P), w), w += P; if (L) { var _ = x - P; b(this.pattern.substr(_), _) } } else b(this.pattern, 0) } } return o(e, [{ key: "searchIn", value: function(e) { var t = this.options, n = t.isCaseSensitive, r = t.includeMatches; if (n || (e = e.toLowerCase()), this.pattern === e) { var i = { isMatch: !0, score: 0 }; return r && (i.indices = [[0, e.length - 1]]), i } var o = this.options, c = o.location, a = o.distance, s = o.threshold, u = o.findAllMatches, h = o.minMatchCharLength, l = o.ignoreLocation, d = [], v = 0, g = !1; this.chunks.forEach((function(t) { var n = t.pattern, i = t.alphabet, o = t.startIndex, y = function(e, t, n) { var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}, i = r.location, o = void 0 === i ? I.location : i, c = r.distance, a = void 0 === c ? I.distance : c, s = r.threshold, u = void 0 === s ? I.threshold : s, h = r.findAllMatches, l = void 0 === h ? I.findAllMatches : h, f = r.minMatchCharLength, d = void 0 === f ? I.minMatchCharLength : f, v = r.includeMatches, g = void 0 === v ? I.includeMatches : v, y = r.ignoreLocation, p = void 0 === y ? I.ignoreLocation : y; if (t.length > P) throw new Error(w(P)); for (var m, k = t.length, M = e.length, b = Math.max(0, Math.min(o, M)), x = u, L = b, S = d > 1 || g, _ = S ? Array(M) : []; (m = e.indexOf(t, L)) > -1;) { var O = R(t, { currentLocation: m, expectedLocation: b, distance: a, ignoreLocation: p }); if (x = Math.min(O, x), L = m + k, S) for (var j = 0; j < k;)_[m + j] = 1, j += 1 } L = -1; for (var A = [], C = 1, E = k + M, $ = 1 << k - 1, F = 0; F < k; F += 1) { for (var W = 0, T = E; W < T;)R(t, { errors: F, currentLocation: b + T, expectedLocation: b, distance: a, ignoreLocation: p }) <= x ? W = T : E = T, T = Math.floor((E - W) / 2 + W); E = T; var z = Math.max(1, b - T + 1), D = l ? M : Math.min(b + T, M) + k, K = Array(D + 2); K[D + 1] = (1 << F) - 1; for (var q = D; q >= z; q -= 1) { var B = q - 1, J = n[e.charAt(B)]; if (S && (_[B] = +!!J), K[q] = (K[q + 1] << 1 | 1) & J, F && (K[q] |= (A[q + 1] | A[q]) << 1 | 1 | A[q + 1]), K[q] & $ && (C = R(t, { errors: F, currentLocation: B, expectedLocation: b, distance: a, ignoreLocation: p })) <= x) { if (x = C, (L = B) <= b) break; z = Math.max(1, 2 * b - L) } } if (R(t, { errors: F + 1, currentLocation: b, expectedLocation: b, distance: a, ignoreLocation: p }) > x) break; A = K } var U = { isMatch: L >= 0, score: Math.max(.001, C) }; if (S) { var V = N(_, d); V.length ? g && (U.indices = V) : U.isMatch = !1 } return U }(e, n, i, { location: c + o, distance: a, threshold: s, findAllMatches: u, minMatchCharLength: h, includeMatches: r, ignoreLocation: l }), p = y.isMatch, m = y.score, k = y.indices; p && (g = !0), v += m, p && k && (d = [].concat(f(d), f(k))) })); var y = { isMatch: g, score: g ? v / this.chunks.length : 1 }; return g && r && (y.indices = d), y } }]), e }(), z = function() { function e(t) { r(this, e), this.pattern = t } return o(e, [{ key: "search", value: function() { } }], [{ key: "isMultiMatch", value: function(e) { return D(e, this.multiRegex) } }, { key: "isSingleMatch", value: function(e) { return D(e, this.singleRegex) } }]), e }(); function D(e, t) { var n = e.match(t); return n ? n[1] : null } var K = function(e) { a(n, e); var t = l(n); function n(e) { return r(this, n), t.call(this, e) } return o(n, [{ key: "search", value: function(e) { var t = e === this.pattern; return { isMatch: t, score: t ? 0 : 1, indices: [0, this.pattern.length - 1] } } }], [{ key: "type", get: function() { return "exact" } }, { key: "multiRegex", get: function() { return /^="(.*)"$/ } }, { key: "singleRegex", get: function() { return /^=(.*)$/ } }]), n }(z), q = function(e) { a(n, e); var t = l(n); function n(e) { return r(this, n), t.call(this, e) } return o(n, [{ key: "search", value: function(e) { var t = -1 === e.indexOf(this.pattern); return { isMatch: t, score: t ? 0 : 1, indices: [0, e.length - 1] } } }], [{ key: "type", get: function() { return "inverse-exact" } }, { key: "multiRegex", get: function() { return /^!"(.*)"$/ } }, { key: "singleRegex", get: function() { return /^!(.*)$/ } }]), n }(z), B = function(e) { a(n, e); var t = l(n); function n(e) { return r(this, n), t.call(this, e) } return o(n, [{ key: "search", value: function(e) { var t = e.startsWith(this.pattern); return { isMatch: t, score: t ? 0 : 1, indices: [0, this.pattern.length - 1] } } }], [{ key: "type", get: function() { return "prefix-exact" } }, { key: "multiRegex", get: function() { return /^\^"(.*)"$/ } }, { key: "singleRegex", get: function() { return /^\^(.*)$/ } }]), n }(z), J = function(e) { a(n, e); var t = l(n); function n(e) { return r(this, n), t.call(this, e) } return o(n, [{ key: "search", value: function(e) { var t = !e.startsWith(this.pattern); return { isMatch: t, score: t ? 0 : 1, indices: [0, e.length - 1] } } }], [{ key: "type", get: function() { return "inverse-prefix-exact" } }, { key: "multiRegex", get: function() { return /^!\^"(.*)"$/ } }, { key: "singleRegex", get: function() { return /^!\^(.*)$/ } }]), n }(z), U = function(e) { a(n, e); var t = l(n); function n(e) { return r(this, n), t.call(this, e) } return o(n, [{ key: "search", value: function(e) { var t = e.endsWith(this.pattern); return { isMatch: t, score: t ? 0 : 1, indices: [e.length - this.pattern.length, e.length - 1] } } }], [{ key: "type", get: function() { return "suffix-exact" } }, { key: "multiRegex", get: function() { return /^"(.*)"\$$/ } }, { key: "singleRegex", get: function() { return /^(.*)\$$/ } }]), n }(z), V = function(e) { a(n, e); var t = l(n); function n(e) { return r(this, n), t.call(this, e) } return o(n, [{ key: "search", value: function(e) { var t = !e.endsWith(this.pattern); return { isMatch: t, score: t ? 0 : 1, indices: [0, e.length - 1] } } }], [{ key: "type", get: function() { return "inverse-suffix-exact" } }, { key: "multiRegex", get: function() { return /^!"(.*)"\$$/ } }, { key: "singleRegex", get: function() { return /^!(.*)\$$/ } }]), n }(z), G = function(e) { a(n, e); var t = l(n); function n(e) { var i, o = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, c = o.location, a = void 0 === c ? I.location : c, s = o.threshold, u = void 0 === s ? I.threshold : s, h = o.distance, l = void 0 === h ? I.distance : h, f = o.includeMatches, d = void 0 === f ? I.includeMatches : f, v = o.findAllMatches, g = void 0 === v ? I.findAllMatches : v, y = o.minMatchCharLength, p = void 0 === y ? I.minMatchCharLength : y, m = o.isCaseSensitive, k = void 0 === m ? I.isCaseSensitive : m, M = o.ignoreLocation, b = void 0 === M ? I.ignoreLocation : M; return r(this, n), (i = t.call(this, e))._bitapSearch = new T(e, { location: a, threshold: u, distance: l, includeMatches: d, findAllMatches: g, minMatchCharLength: p, isCaseSensitive: k, ignoreLocation: b }), i } return o(n, [{ key: "search", value: function(e) { return this._bitapSearch.searchIn(e) } }], [{ key: "type", get: function() { return "fuzzy" } }, { key: "multiRegex", get: function() { return /^"(.*)"$/ } }, { key: "singleRegex", get: function() { return /^(.*)$/ } }]), n }(z), H = function(e) { a(n, e); var t = l(n); function n(e) { return r(this, n), t.call(this, e) } return o(n, [{ key: "search", value: function(e) { for (var t, n = 0, r = [], i = this.pattern.length; (t = e.indexOf(this.pattern, n)) > -1;)n = t + i, r.push([t, n - 1]); var o = !!r.length; return { isMatch: o, score: o ? 0 : 1, indices: r } } }], [{ key: "type", get: function() { return "include" } }, { key: "multiRegex", get: function() { return /^'"(.*)"$/ } }, { key: "singleRegex", get: function() { return /^'(.*)$/ } }]), n }(z), Q = [K, H, B, J, V, U, q, G], X = Q.length, Y = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/; function Z(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; return e.split("|").map((function(e) { for (var n = e.trim().split(Y).filter((function(e) { return e && !!e.trim() })), r = [], i = 0, o = n.length; i < o; i += 1) { for (var c = n[i], a = !1, s = -1; !a && ++s < X;) { var u = Q[s], h = u.isMultiMatch(c); h && (r.push(new u(h, t)), a = !0) } if (!a) for (s = -1; ++s < X;) { var l = Q[s], f = l.isSingleMatch(c); if (f) { r.push(new l(f, t)); break } } } return r })) } var ee = new Set([G.type, H.type]), te = function() { function e(t) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, i = n.isCaseSensitive, o = void 0 === i ? I.isCaseSensitive : i, c = n.includeMatches, a = void 0 === c ? I.includeMatches : c, s = n.minMatchCharLength, u = void 0 === s ? I.minMatchCharLength : s, h = n.ignoreLocation, l = void 0 === h ? I.ignoreLocation : h, f = n.findAllMatches, d = void 0 === f ? I.findAllMatches : f, v = n.location, g = void 0 === v ? I.location : v, y = n.threshold, p = void 0 === y ? I.threshold : y, m = n.distance, k = void 0 === m ? I.distance : m; r(this, e), this.query = null, this.options = { isCaseSensitive: o, includeMatches: a, minMatchCharLength: u, findAllMatches: d, ignoreLocation: l, location: g, threshold: p, distance: k }, this.pattern = o ? t : t.toLowerCase(), this.query = Z(this.pattern, this.options) } return o(e, [{ key: "searchIn", value: function(e) { var t = this.query; if (!t) return { isMatch: !1, score: 1 }; var n = this.options, r = n.includeMatches; e = n.isCaseSensitive ? e : e.toLowerCase(); for (var i = 0, o = [], c = 0, a = 0, s = t.length; a < s; a += 1) { var u = t[a]; o.length = 0, i = 0; for (var h = 0, l = u.length; h < l; h += 1) { var d = u[h], v = d.search(e), g = v.isMatch, y = v.indices, p = v.score; if (!g) { c = 0, i = 0, o.length = 0; break } if (i += 1, c += p, r) { var m = d.constructor.type; ee.has(m) ? o = [].concat(f(o), f(y)) : o.push(y) } } if (i) { var k = { isMatch: !0, score: c / i }; return r && (k.indices = o), k } } return { isMatch: !1, score: 1 } } }], [{ key: "condition", value: function(e, t) { return t.useExtendedSearch } }]), e }(), ne = []; function re(e, t) { for (var n = 0, r = ne.length; n < r; n += 1) { var i = ne[n]; if (i.condition(e, t)) return new i(e, t) } return new T(e, t) } var ie = "$and", oe = "$or", ce = "$path", ae = "$val", se = function(e) { return !(!e[ie] && !e[oe]) }, ue = function(e) { return !!e[ce] }, he = function(e) { return !v(e) && m(e) && !se(e) }, le = function(e) { return c({}, ie, Object.keys(e).map((function(t) { return c({}, t, e[t]) }))) }; function fe(e, t) { var n = t.ignoreFieldNorm, r = void 0 === n ? I.ignoreFieldNorm : n; e.forEach((function(e) { var t = 1; e.matches.forEach((function(e) { var n = e.key, i = e.norm, o = e.score, c = n ? n.weight : null; t *= Math.pow(0 === o && c ? Number.EPSILON : o, (c || 1) * (r ? 1 : i)) })), e.score = t })) } function de(e, t) { var n = e.matches; t.matches = [], k(n) && n.forEach((function(e) { if (k(e.indices) && e.indices.length) { var n = { indices: e.indices, value: e.value }; e.key && (n.key = e.key.src), e.idx > -1 && (n.refIndex = e.idx), t.matches.push(n) } })) } function ve(e, t) { t.score = e.score } function ge(e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, r = n.includeMatches, i = void 0 === r ? I.includeMatches : r, o = n.includeScore, c = void 0 === o ? I.includeScore : o, a = []; return i && a.push(de), c && a.push(ve), e.map((function(e) { var n = e.idx, r = { item: t[n], refIndex: n }; return a.length && a.forEach((function(t) { t(e, r) })), r })) } var ye = function() { function e(n) { var i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, o = arguments.length > 2 ? arguments[2] : void 0; r(this, e), this.options = t(t({}, I), i), this.options.useExtendedSearch, this._keyStore = new S(this.options.keys), this.setCollection(n, o) } return o(e, [{ key: "setCollection", value: function(e, t) { if (this._docs = e, t && !(t instanceof $)) throw new Error("Incorrect 'index' type"); this._myIndex = t || F(this.options.keys, this._docs, { getFn: this.options.getFn, fieldNormWeight: this.options.fieldNormWeight }) } }, { key: "add", value: function(e) { k(e) && (this._docs.push(e), this._myIndex.add(e)) } }, { key: "remove", value: function() { for (var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : function() { return !1 }, t = [], n = 0, r = this._docs.length; n < r; n += 1) { var i = this._docs[n]; e(i, n) && (this.removeAt(n), n -= 1, r -= 1, t.push(i)) } return t } }, { key: "removeAt", value: function(e) { this._docs.splice(e, 1), this._myIndex.removeAt(e) } }, { key: "getIndex", value: function() { return this._myIndex } }, { key: "search", value: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = t.limit, r = void 0 === n ? -1 : n, i = this.options, o = i.includeMatches, c = i.includeScore, a = i.shouldSort, s = i.sortFn, u = i.ignoreFieldNorm, h = g(e) ? g(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e); return fe(h, { ignoreFieldNorm: u }), a && h.sort(s), y(r) && r > -1 && (h = h.slice(0, r)), ge(h, this._docs, { includeMatches: o, includeScore: c }) } }, { key: "_searchStringList", value: function(e) { var t = re(e, this.options), n = this._myIndex.records, r = []; return n.forEach((function(e) { var n = e.v, i = e.i, o = e.n; if (k(n)) { var c = t.searchIn(n), a = c.isMatch, s = c.score, u = c.indices; a && r.push({ item: n, idx: i, matches: [{ score: s, value: n, norm: o, indices: u }] }) } })), r } }, { key: "_searchLogical", value: function(e) { var t = this, n = function(e, t) { var n = (arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}).auto, r = void 0 === n || n, i = function e(n) { var i = Object.keys(n), o = ue(n); if (!o && i.length > 1 && !se(n)) return e(le(n)); if (he(n)) { var c = o ? n[ce] : i[0], a = o ? n[ae] : n[c]; if (!g(a)) throw new Error(x(c)); var s = { keyId: j(c), pattern: a }; return r && (s.searcher = re(a, t)), s } var u = { children: [], operator: i[0] }; return i.forEach((function(t) { var r = n[t]; v(r) && r.forEach((function(t) { u.children.push(e(t)) })) })), u }; return se(e) || (e = le(e)), i(e) }(e, this.options), r = function e(n, r, i) { if (!n.children) { var o = n.keyId, c = n.searcher, a = t._findMatches({ key: t._keyStore.get(o), value: t._myIndex.getValueForItemAtKeyId(r, o), searcher: c }); return a && a.length ? [{ idx: i, item: r, matches: a }] : [] } for (var s = [], u = 0, h = n.children.length; u < h; u += 1) { var l = e(n.children[u], r, i); if (l.length) s.push.apply(s, f(l)); else if (n.operator === ie) return [] } return s }, i = this._myIndex.records, o = {}, c = []; return i.forEach((function(e) { var t = e.$, i = e.i; if (k(t)) { var a = r(n, t, i); a.length && (o[i] || (o[i] = { idx: i, item: t, matches: [] }, c.push(o[i])), a.forEach((function(e) { var t, n = e.matches; (t = o[i].matches).push.apply(t, f(n)) }))) } })), c } }, { key: "_searchObjectList", value: function(e) { var t = this, n = re(e, this.options), r = this._myIndex, i = r.keys, o = r.records, c = []; return o.forEach((function(e) { var r = e.$, o = e.i; if (k(r)) { var a = []; i.forEach((function(e, i) { a.push.apply(a, f(t._findMatches({ key: e, value: r[i], searcher: n }))) })), a.length && c.push({ idx: o, item: r, matches: a }) } })), c } }, { key: "_findMatches", value: function(e) { var t = e.key, n = e.value, r = e.searcher; if (!k(n)) return []; var i = []; if (v(n)) n.forEach((function(e) { var n = e.v, o = e.i, c = e.n; if (k(n)) { var a = r.searchIn(n), s = a.isMatch, u = a.score, h = a.indices; s && i.push({ score: u, key: t, value: n, idx: o, norm: c, indices: h }) } })); else { var o = n.v, c = n.n, a = r.searchIn(o), s = a.isMatch, u = a.score, h = a.indices; s && i.push({ score: u, key: t, value: o, norm: c, indices: h }) } return i } }]), e }(); return ye.version = "6.6.2", ye.createIndex = F, ye.parseIndex = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = t.getFn, r = void 0 === n ? I.getFn : n, i = t.fieldNormWeight, o = void 0 === i ? I.fieldNormWeight : i, c = e.keys, a = e.records, s = new $({ getFn: r, fieldNormWeight: o }); return s.setKeys(c), s.setIndexRecords(a), s }, ye.config = I, function() { ne.push.apply(ne, arguments) }(te), ye }, "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).Fuse = t(); diff --git a/themes/hugo-theme-monochrome/assets/lib/js/prism-copy-to-clipboard-v1.29.0.min.js b/themes/hugo-theme-monochrome/assets/lib/js/prism-copy-to-clipboard-v1.29.0.min.js deleted file mode 100644 index 3f3d154..0000000 --- a/themes/hugo-theme-monochrome/assets/lib/js/prism-copy-to-clipboard-v1.29.0.min.js +++ /dev/null @@ -1 +0,0 @@ -!function() { function t(t) { var e = document.createElement("textarea"); e.value = t.getText(), e.style.top = "0", e.style.left = "0", e.style.position = "fixed", document.body.appendChild(e), e.focus(), e.select(); try { var o = document.execCommand("copy"); setTimeout((function() { o ? t.success() : t.error() }), 1) } catch (e) { setTimeout((function() { t.error(e) }), 1) } document.body.removeChild(e) } "undefined" != typeof Prism && "undefined" != typeof document && (Prism.plugins.toolbar ? Prism.plugins.toolbar.registerButton("copy-to-clipboard", (function(e) { var o = e.element, n = function(t) { var e = { copy: "Copy", "copy-error": "Press Ctrl+C to copy", "copy-success": "Copied!", "copy-timeout": 5e3 }; for (var o in e) { for (var n = "data-prismjs-" + o, c = t; c && !c.hasAttribute(n);)c = c.parentElement; c && (e[o] = c.getAttribute(n)) } return e }(o), c = document.createElement("button"); c.className = "copy-to-clipboard-button", c.setAttribute("type", "button"); var r = document.createElement("span"); return c.appendChild(r), u("copy"), function(e, o) { e.addEventListener("click", (function() { !function(e) { navigator.clipboard ? navigator.clipboard.writeText(e.getText()).then(e.success, (function() { t(e) })) : t(e) }(o) })) }(c, { getText: function() { return o.textContent }, success: function() { u("copy-success"), i() }, error: function() { u("copy-error"), setTimeout((function() { !function(t) { window.getSelection().selectAllChildren(t) }(o) }), 1), i() } }), c; function i() { setTimeout((function() { u("copy") }), n["copy-timeout"]) } function u(t) { r.textContent = n[t], c.setAttribute("data-copy-state", t) } })) : console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.")) }(); diff --git a/themes/hugo-theme-monochrome/assets/lib/js/prism-line-numbers-v1.29.0.min.js b/themes/hugo-theme-monochrome/assets/lib/js/prism-line-numbers-v1.29.0.min.js deleted file mode 100644 index dd3a835..0000000 --- a/themes/hugo-theme-monochrome/assets/lib/js/prism-line-numbers-v1.29.0.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/* PrismJS 1.27.0 -https://prismjs.com/download.html#themes=prism-tomorrow&plugins=line-numbers */ -!function() { if ("undefined" != typeof Prism && "undefined" != typeof document) { var e = "line-numbers", n = /\n(?!$)/g, t = Prism.plugins.lineNumbers = { getLine: function(n, t) { if ("PRE" === n.tagName && n.classList.contains(e)) { var i = n.querySelector(".line-numbers-rows"); if (i) { var r = parseInt(n.getAttribute("data-start"), 10) || 1, s = r + (i.children.length - 1); t < r && (t = r), t > s && (t = s); var l = t - r; return i.children[l] } } }, resize: function(e) { r([e]) }, assumeViewportIndependence: !0 }, i = void 0; window.addEventListener("resize", (function() { t.assumeViewportIndependence && i === window.innerWidth || (i = window.innerWidth, r(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers")))) })), Prism.hooks.add("complete", (function(t) { if (t.code) { var i = t.element, s = i.parentNode; if (s && /pre/i.test(s.nodeName) && !i.querySelector(".line-numbers-rows") && Prism.util.isActive(i, e)) { i.classList.remove(e), s.classList.add(e); var l, o = t.code.match(n), a = o ? o.length + 1 : 1, u = new Array(a + 1).join(""); (l = document.createElement("span")).setAttribute("aria-hidden", "true"), l.className = "line-numbers-rows", l.innerHTML = u, s.hasAttribute("data-start") && (s.style.counterReset = "linenumber " + (parseInt(s.getAttribute("data-start"), 10) - 1)), t.element.appendChild(l), r([s]), Prism.hooks.run("line-numbers", t) } } })), Prism.hooks.add("line-numbers", (function(e) { e.plugins = e.plugins || {}, e.plugins.lineNumbers = !0 })) } function r(e) { if (0 != (e = e.filter((function(e) { var n, t = (n = e, n ? window.getComputedStyle ? getComputedStyle(n) : n.currentStyle || null : null)["white-space"]; return "pre-wrap" === t || "pre-line" === t }))).length) { var t = e.map((function(e) { var t = e.querySelector("code"), i = e.querySelector(".line-numbers-rows"); if (t && i) { var r = e.querySelector(".line-numbers-sizer"), s = t.textContent.split(n); r || ((r = document.createElement("span")).className = "line-numbers-sizer", t.appendChild(r)), r.innerHTML = "0", r.style.display = "block"; var l = r.getBoundingClientRect().height; return r.innerHTML = "", { element: e, lines: s, lineHeights: [], oneLinerHeight: l, sizer: r } } })).filter(Boolean); t.forEach((function(e) { var n = e.sizer, t = e.lines, i = e.lineHeights, r = e.oneLinerHeight; i[t.length - 1] = void 0, t.forEach((function(e, t) { if (e && e.length > 1) { var s = n.appendChild(document.createElement("span")); s.style.display = "block", s.textContent = e } else i[t] = r })) })), t.forEach((function(e) { for (var n = e.sizer, t = e.lineHeights, i = 0, r = 0; r < t.length; r++)void 0 === t[r] && (t[r] = n.children[i++].getBoundingClientRect().height) })), t.forEach((function(e) { var n = e.sizer, t = e.element.querySelector(".line-numbers-rows"); n.style.display = "none", n.innerHTML = "", e.lineHeights.forEach((function(e, n) { t.children[n].style.height = e + "px" })) })) } } }(); diff --git a/themes/hugo-theme-monochrome/assets/lib/js/prism-v1.29.0.min.js b/themes/hugo-theme-monochrome/assets/lib/js/prism-v1.29.0.min.js deleted file mode 100644 index a8552a8..0000000 --- a/themes/hugo-theme-monochrome/assets/lib/js/prism-v1.29.0.min.js +++ /dev/null @@ -1,11 +0,0 @@ -/* PrismJS 1.29.0 -https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript&plugins=line-highlight+autoloader+toolbar */ -var _self = "undefined" != typeof window ? window : "undefined" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope ? self : {}, Prism = function(e) { var n = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, t = 0, r = {}, a = { manual: e.Prism && e.Prism.manual, disableWorkerMessageHandler: e.Prism && e.Prism.disableWorkerMessageHandler, util: { encode: function e(n) { return n instanceof i ? new i(n.type, e(n.content), n.alias) : Array.isArray(n) ? n.map(e) : n.replace(/&/g, "&").replace(/= g.reach); A += w.value.length, w = w.next) { var E = w.value; if (n.length > e.length) return; if (!(E instanceof i)) { var P, L = 1; if (y) { if (!(P = l(b, A, e, m)) || P.index >= e.length) break; var S = P.index, O = P.index + P[0].length, j = A; for (j += w.value.length; S >= j;)j += (w = w.next).value.length; if (A = j -= w.value.length, w.value instanceof i) continue; for (var C = w; C !== n.tail && (j < O || "string" == typeof C.value); C = C.next)L++, j += C.value.length; L--, E = e.slice(A, j), P.index -= A } else if (!(P = l(b, 0, E, m))) continue; S = P.index; var N = P[0], _ = E.slice(0, S), M = E.slice(S + N.length), W = A + E.length; g && W > g.reach && (g.reach = W); var z = w.prev; if (_ && (z = u(n, z, _), A += _.length), c(n, z, L), w = u(n, z, new i(f, p ? a.tokenize(N, p) : N, k, N)), M && u(n, w, M), L > 1) { var I = { cause: f + "," + d, reach: W }; o(e, n, t, w.prev, A, I), g && I.reach > g.reach && (g.reach = I.reach) } } } } } } function s() { var e = { value: null, prev: null, next: null }, n = { value: null, prev: e, next: null }; e.next = n, this.head = e, this.tail = n, this.length = 0 } function u(e, n, t) { var r = n.next, a = { value: t, prev: n, next: r }; return n.next = a, r.prev = a, e.length++, a } function c(e, n, t) { for (var r = n.next, a = 0; a < t && r !== e.tail; a++)r = r.next; n.next = r, r.prev = n, e.length -= a } if (e.Prism = a, i.stringify = function e(n, t) { if ("string" == typeof n) return n; if (Array.isArray(n)) { var r = ""; return n.forEach((function(n) { r += e(n, t) })), r } var i = { type: n.type, content: e(n.content, t), tag: "span", classes: ["token", n.type], attributes: {}, language: t }, l = n.alias; l && (Array.isArray(l) ? Array.prototype.push.apply(i.classes, l) : i.classes.push(l)), a.hooks.run("wrap", i); var o = ""; for (var s in i.attributes) o += " " + s + '="' + (i.attributes[s] || "").replace(/"/g, """) + '"'; return "<" + i.tag + ' class="' + i.classes.join(" ") + '"' + o + ">" + i.content + "" + i.tag + ">" }, !e.document) return e.addEventListener ? (a.disableWorkerMessageHandler || e.addEventListener("message", (function(n) { var t = JSON.parse(n.data), r = t.language, i = t.code, l = t.immediateClose; e.postMessage(a.highlight(i, a.languages[r], r)), l && e.close() }), !1), a) : a; var g = a.util.currentScript(); function f() { a.manual || a.highlightAll() } if (g && (a.filename = g.src, g.hasAttribute("data-manual") && (a.manual = !0)), !a.manual) { var h = document.readyState; "loading" === h || "interactive" === h && g && g.defer ? document.addEventListener("DOMContentLoaded", f) : window.requestAnimationFrame ? window.requestAnimationFrame(f) : window.setTimeout(f, 16) } return a }(_self); "undefined" != typeof module && module.exports && (module.exports = Prism), "undefined" != typeof global && (global.Prism = Prism); -Prism.languages.markup = { comment: { pattern: //, greedy: !0 }, prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 }, doctype: { pattern: /"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i, greedy: !0, inside: { "internal-subset": { pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/, lookbehind: !0, greedy: !0, inside: null }, string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 }, punctuation: /^$|[[\]]/, "doctype-tag": /^DOCTYPE/i, name: /[^\s<>'"]+/ } }, cdata: { pattern: //i, greedy: !0 }, tag: { pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/, greedy: !0, inside: { tag: { pattern: /^<\/?[^\s>\/]+/, inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ } }, "special-attr": [], "attr-value": { pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/, inside: { punctuation: [{ pattern: /^=/, alias: "attr-equals" }, { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }] } }, punctuation: /\/?>/, "attr-name": { pattern: /[^\s>\/]+/, inside: { namespace: /^[^\s>\/:]+:/ } } } }, entity: [{ pattern: /&[\da-z]{1,8};/i, alias: "named-entity" }, /?[\da-f]{1,8};/i] }, Prism.languages.markup.tag.inside["attr-value"].inside.entity = Prism.languages.markup.entity, Prism.languages.markup.doctype.inside["internal-subset"].inside = Prism.languages.markup, Prism.hooks.add("wrap", (function(a) { "entity" === a.type && (a.attributes.title = a.content.replace(/&/, "&")) })), Object.defineProperty(Prism.languages.markup.tag, "addInlined", { value: function(a, e) { var s = {}; s["language-" + e] = { pattern: /(^$)/i, lookbehind: !0, inside: Prism.languages[e] }, s.cdata = /^$/i; var t = { "included-cdata": { pattern: //i, inside: s } }; t["language-" + e] = { pattern: /[\s\S]+/, inside: Prism.languages[e] }; var n = {}; n[a] = { pattern: RegExp("(<__[^>]*>)(?:))*\\]\\]>|(?!)".replace(/__/g, (function() { return a })), "i"), lookbehind: !0, greedy: !0, inside: t }, Prism.languages.insertBefore("markup", "cdata", n) } }), Object.defineProperty(Prism.languages.markup.tag, "addAttribute", { value: function(a, e) { Prism.languages.markup.tag.inside["special-attr"].push({ pattern: RegExp("(^|[\"'\\s])(?:" + a + ")\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))", "i"), lookbehind: !0, inside: { "attr-name": /^[^\s=]+/, "attr-value": { pattern: /=[\s\S]+/, inside: { value: { pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/, lookbehind: !0, alias: [e, "language-" + e], inside: Prism.languages[e] }, punctuation: [{ pattern: /^=/, alias: "attr-equals" }, /"|'/] } } } }) } }), Prism.languages.html = Prism.languages.markup, Prism.languages.mathml = Prism.languages.markup, Prism.languages.svg = Prism.languages.markup, Prism.languages.xml = Prism.languages.extend("markup", {}), Prism.languages.ssml = Prism.languages.xml, Prism.languages.atom = Prism.languages.xml, Prism.languages.rss = Prism.languages.xml; -!function(s) { var e = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/; s.languages.css = { comment: /\/\*[\s\S]*?\*\//, atrule: { pattern: RegExp("@[\\w-](?:[^;{\\s\"']|\\s+(?!\\s)|" + e.source + ")*?(?:;|(?=\\s*\\{))"), inside: { rule: /^@[\w-]+/, "selector-function-argument": { pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/, lookbehind: !0, alias: "selector" }, keyword: { pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/, lookbehind: !0 } } }, url: { pattern: RegExp("\\burl\\((?:" + e.source + "|(?:[^\\\\\r\n()\"']|\\\\[^])*)\\)", "i"), greedy: !0, inside: { function: /^url/i, punctuation: /^\(|\)$/, string: { pattern: RegExp("^" + e.source + "$"), alias: "url" } } }, selector: { pattern: RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|" + e.source + ")*(?=\\s*\\{)"), lookbehind: !0 }, string: { pattern: e, greedy: !0 }, property: { pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i, lookbehind: !0 }, important: /!important\b/i, function: { pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i, lookbehind: !0 }, punctuation: /[(){};:,]/ }, s.languages.css.atrule.inside.rest = s.languages.css; var t = s.languages.markup; t && (t.tag.addInlined("style", "css"), t.tag.addAttribute("style", "css")) }(Prism); -Prism.languages.clike = { comment: [{ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0, greedy: !0 }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }], string: { pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, "class-name": { pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i, lookbehind: !0, inside: { punctuation: /[.\\]/ } }, keyword: /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/, boolean: /\b(?:false|true)\b/, function: /\b\w+(?=\()/, number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/, punctuation: /[{}[\];(),.:]/ }; -Prism.languages.javascript = Prism.languages.extend("clike", { "class-name": [Prism.languages.clike["class-name"], { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/, lookbehind: !0 }], keyword: [{ pattern: /((?:^|\})\s*)catch\b/, lookbehind: !0 }, { pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/, lookbehind: !0 }], function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/, number: { pattern: RegExp("(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])"), lookbehind: !0 }, operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/ }), Prism.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, Prism.languages.insertBefore("javascript", "keyword", { regex: { pattern: RegExp("((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s]|\\b(?:return|yield))\\s*)/(?:(?:\\[(?:[^\\]\\\\\r\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\r\n])+/[dgimyus]{0,7}|(?:\\[(?:[^[\\]\\\\\r\n]|\\\\.|\\[(?:[^[\\]\\\\\r\n]|\\\\.|\\[(?:[^[\\]\\\\\r\n]|\\\\.)*\\])*\\])*\\]|\\\\.|[^/\\\\\\[\r\n])+/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\\s|/\\*(?:[^*]|\\*(?!/))*\\*/)*(?:$|[\r\n,.;:})\\]]|//))"), lookbehind: !0, greedy: !0, inside: { "regex-source": { pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/, lookbehind: !0, alias: "language-regex", inside: Prism.languages.regex }, "regex-delimiter": /^\/|\/$/, "regex-flags": /^[a-z]+$/ } }, "function-variable": { pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/, alias: "function" }, parameter: [{ pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/, lookbehind: !0, inside: Prism.languages.javascript }, { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i, lookbehind: !0, inside: Prism.languages.javascript }, { pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/, lookbehind: !0, inside: Prism.languages.javascript }, { pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/, lookbehind: !0, inside: Prism.languages.javascript }], constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/ }), Prism.languages.insertBefore("javascript", "string", { hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" }, "template-string": { pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/, greedy: !0, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, interpolation: { pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, lookbehind: !0, inside: { "interpolation-punctuation": { pattern: /^\$\{|\}$/, alias: "punctuation" }, rest: Prism.languages.javascript } }, string: /[\s\S]+/ } }, "string-property": { pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m, lookbehind: !0, greedy: !0, alias: "property" } }), Prism.languages.insertBefore("javascript", "operator", { "literal-property": { pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m, lookbehind: !0, alias: "property" } }), Prism.languages.markup && (Prism.languages.markup.tag.addInlined("script", "javascript"), Prism.languages.markup.tag.addAttribute("on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)", "javascript")), Prism.languages.js = Prism.languages.javascript; -!function() { if ("undefined" != typeof Prism && "undefined" != typeof document && document.querySelector) { var e, t = "line-numbers", i = "linkable-line-numbers", n = /\n(?!$)/g, r = !0; Prism.plugins.lineHighlight = { highlightLines: function(o, u, c) { var h = (u = "string" == typeof u ? u : o.getAttribute("data-line") || "").replace(/\s+/g, "").split(",").filter(Boolean), d = +o.getAttribute("data-line-offset") || 0, f = (function() { if (void 0 === e) { var t = document.createElement("div"); t.style.fontSize = "13px", t.style.lineHeight = "1.5", t.style.padding = "0", t.style.border = "0", t.innerHTML = "🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:
Test
- - -``` - -#### Code block with backticks - -```html - - - - -Test
- - -``` - -#### Code block indented with four spaces - - - - - -Test
- - - -#### Code block with Hugo's internal highlight shortcode -{{< highlight html >}} - - - - -Test
- - -{{< /highlight >}} - -## List Types - -#### Ordered List - -1. First item -2. Second item -3. Third item - -#### Unordered List - -* List item -* Another item -* And another item - -#### Nested list - -* Fruit - * Apple - * Orange - * Banana -* Dairy - * Milk - * Cheese - -## Other Elements — abbr, sub, sup, kbd, mark - -GIF is a bitmap image format. - -H2O - -Xn + Yn = Zn - -Press CTRL+ALT+Delete to end the session. - -Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/math-typesetting.md b/themes/hugo-theme-monochrome/exampleSite/content/en/posts/math-typesetting.md deleted file mode 100644 index ce8d0bf..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/math-typesetting.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -author: Hugo Authors -title: Math Typesetting -date: 2019-03-08 -description: A brief guide to setup KaTeX -math: true ---- - -Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. - - -In this example we will be using [KaTeX](https://katex.org/) - -- Create a partial under `/layouts/partials/math.html` -- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally. -- Include the partial in your templates like so: - -```bash -{{ if or .Params.math .Site.Params.math }} -{{ partial "math.html" . }} -{{ end }} -``` - -- To enable KaTex globally set the parameter `math` to `true` in a project's configuration -- To enable KaTex on a per page basis include the parameter `math: true` in content files - -**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html) - -{{< math.inline >}} -{{ if or .Page.Params.math .Site.Params.math }} - - - - -{{ end }} -{{ math.inline >}} - -### Examples - -Inline math: $\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…$ - -Block math: -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/placeholder-text.md b/themes/hugo-theme-monochrome/exampleSite/content/en/posts/placeholder-text.md deleted file mode 100644 index 9ed5f69..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/placeholder-text.md +++ /dev/null @@ -1,45 +0,0 @@ -+++ -author = "Hugo Authors" -title = "Placeholder Text" -date = "2019-03-09" -description = "Lorem Ipsum Dolor Si Amet" -tags = [ - "markdown", - "text", -] -+++ - -Lorem est tota propiore conpellat pectoribus de pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. - -1. Exierant elisi ambit vivere dedere -2. Duce pollice -3. Eris modo -4. Spargitque ferrea quos palude - -Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis. - -1. Comas hunc haec pietate fetum procerum dixit -2. Post torum vates letum Tiresia -3. Flumen querellas -4. Arcanaque montibus omnes -5. Quidem et - -# Vagus elidunt - - - -[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) - -## Mane refeci capiebant unda mulcebat - -Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis. - -Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et. - -Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**. - -{{< css.inline >}} - -{{< /css.inline >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/rich-content.md b/themes/hugo-theme-monochrome/exampleSite/content/en/posts/rich-content.md deleted file mode 100644 index 412c419..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/rich-content.md +++ /dev/null @@ -1,30 +0,0 @@ -+++ -author = "Hugo Authors" -title = "Rich Content" -date = "2019-03-10" -description = "A brief description of Hugo Shortcodes" -tags = [ - "shortcodes", - "privacy", -] -+++ - -Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. - ---- - -## YouTube Privacy Enhanced Shortcode - -{{< youtube ZJthWmvUzzc >}} - ---- - -## Twitter Simple Shortcode - -{{< twitter_simple user="designreviewed" id="1085870671291310081" >}} - ---- - -## Vimeo Simple Shortcode - -{{< vimeo_simple 48912912 >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/setup.md b/themes/hugo-theme-monochrome/exampleSite/content/en/setup.md deleted file mode 100644 index 515b65b..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/setup.md +++ /dev/null @@ -1,96 +0,0 @@ ---- -title: 'Setup' ---- - -This document shows a brief guide to setup hugo-theme-monochrome in your hugo project. - -## Quick Start - -### Install Hugo - -You need "extended" version of hugo to support SASS. Checkout [Install Hugo](https://gohugo.io/getting-started/installing/) for more details. - -Take Linux for example: - -```bash -snap install hugo --channel=extended -``` - -> The minimum hugo version that hugo-theme-monochrome required is `0.112.0` - -### Create a New Site - -```bash -hugo new site🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:
Test
- -