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 @@ -

- - Monochrome - -

- -

- Monochrome -

- -

- 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 ` -
-
${title}
-
${content}
-
-
`; - }; - - 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 + "" }, !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" }, /&#x?[\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 = " 
 ", document.body.appendChild(t), e = 38 === t.offsetHeight, document.body.removeChild(t) } return e }() ? parseInt : parseFloat)(getComputedStyle(o).lineHeight), p = Prism.util.isActive(o, t), g = o.querySelector("code"), m = p ? o : g || o, v = [], y = g.textContent.match(n), b = y ? y.length + 1 : 1, A = g && m != g ? function(e, t) { var i = getComputedStyle(e), n = getComputedStyle(t); function r(e) { return +e.substr(0, e.length - 2) } return t.offsetTop + r(n.borderTopWidth) + r(n.paddingTop) - r(i.paddingTop) }(o, g) : 0; h.forEach((function(e) { var t = e.split("-"), i = +t[0], n = +t[1] || i; if (!((n = Math.min(b + d, n)) < i)) { var r = o.querySelector('.line-highlight[data-range="' + e + '"]') || document.createElement("div"); if (v.push((function() { r.setAttribute("aria-hidden", "true"), r.setAttribute("data-range", e), r.className = (c || "") + " line-highlight" })), p && Prism.plugins.lineNumbers) { var s = Prism.plugins.lineNumbers.getLine(o, i), l = Prism.plugins.lineNumbers.getLine(o, n); if (s) { var a = s.offsetTop + A + "px"; v.push((function() { r.style.top = a })) } if (l) { var u = l.offsetTop - s.offsetTop + l.offsetHeight + "px"; v.push((function() { r.style.height = u })) } } else v.push((function() { r.setAttribute("data-start", String(i)), n > i && r.setAttribute("data-end", String(n)), r.style.top = (i - d - 1) * f + A + "px", r.textContent = new Array(n - i + 2).join(" \n") })); v.push((function() { r.style.width = o.scrollWidth + "px" })), v.push((function() { m.appendChild(r) })) } })); var P = o.id; if (p && Prism.util.isActive(o, i) && P) { l(o, i) || v.push((function() { o.classList.add(i) })); var E = parseInt(o.getAttribute("data-start") || "1"); s(".line-numbers-rows > span", o).forEach((function(e, t) { var i = t + E; e.onclick = function() { var e = P + "." + i; r = !1, location.hash = e, setTimeout((function() { r = !0 }), 1) } })) } return function() { v.forEach(a) } } }; var o = 0; Prism.hooks.add("before-sanity-check", (function(e) { var t = e.element.parentElement; if (u(t)) { var i = 0; s(".line-highlight", t).forEach((function(e) { i += e.textContent.length, e.parentNode.removeChild(e) })), i && /^(?: \n)+$/.test(e.code.slice(-i)) && (e.code = e.code.slice(0, -i)) } })), Prism.hooks.add("complete", (function e(i) { var n = i.element.parentElement; if (u(n)) { clearTimeout(o); var r = Prism.plugins.lineNumbers, s = i.plugins && i.plugins.lineNumbers; l(n, t) && r && !s ? Prism.hooks.add("line-numbers", e) : (Prism.plugins.lineHighlight.highlightLines(n)(), o = setTimeout(c, 1)) } })), window.addEventListener("hashchange", c), window.addEventListener("resize", (function() { s("pre").filter(u).map((function(e) { return Prism.plugins.lineHighlight.highlightLines(e) })).forEach(a) })) } function s(e, t) { return Array.prototype.slice.call((t || document).querySelectorAll(e)) } function l(e, t) { return e.classList.contains(t) } function a(e) { e() } function u(e) { return !!(e && /pre/i.test(e.nodeName) && (e.hasAttribute("data-line") || e.id && Prism.util.isActive(e, i))) } function c() { var e = location.hash.slice(1); s(".temporary.line-highlight").forEach((function(e) { e.parentNode.removeChild(e) })); var t = (e.match(/\.([\d,-]+)$/) || [, ""])[1]; if (t && !document.getElementById(e)) { var i = e.slice(0, e.lastIndexOf(".")), n = document.getElementById(i); n && (n.hasAttribute("data-line") || n.setAttribute("data-line", ""), Prism.plugins.lineHighlight.highlightLines(n, t, "temporary ")(), r && document.querySelector(".temporary.line-highlight").scrollIntoView()) } } }(); -!function() { if ("undefined" != typeof Prism && "undefined" != typeof document) { var e = { javascript: "clike", actionscript: "javascript", apex: ["clike", "sql"], arduino: "cpp", aspnet: ["markup", "csharp"], birb: "clike", bison: "c", c: "clike", csharp: "clike", cpp: "c", cfscript: "clike", chaiscript: ["clike", "cpp"], cilkc: "c", cilkcpp: "cpp", coffeescript: "javascript", crystal: "ruby", "css-extras": "css", d: "clike", dart: "clike", django: "markup-templating", ejs: ["javascript", "markup-templating"], etlua: ["lua", "markup-templating"], erb: ["ruby", "markup-templating"], fsharp: "clike", "firestore-security-rules": "clike", flow: "javascript", ftl: "markup-templating", gml: "clike", glsl: "c", go: "clike", gradle: "clike", groovy: "clike", haml: "ruby", handlebars: "markup-templating", haxe: "clike", hlsl: "c", idris: "haskell", java: "clike", javadoc: ["markup", "java", "javadoclike"], jolie: "clike", jsdoc: ["javascript", "javadoclike", "typescript"], "js-extras": "javascript", json5: "json", jsonp: "json", "js-templates": "javascript", kotlin: "clike", latte: ["clike", "markup-templating", "php"], less: "css", lilypond: "scheme", liquid: "markup-templating", markdown: "markup", "markup-templating": "markup", mongodb: "javascript", n4js: "javascript", objectivec: "c", opencl: "c", parser: "markup", php: "markup-templating", phpdoc: ["php", "javadoclike"], "php-extras": "php", plsql: "sql", processing: "clike", protobuf: "clike", pug: ["markup", "javascript"], purebasic: "clike", purescript: "haskell", qsharp: "clike", qml: "javascript", qore: "clike", racket: "scheme", cshtml: ["markup", "csharp"], jsx: ["markup", "javascript"], tsx: ["jsx", "typescript"], reason: "clike", ruby: "clike", sass: "css", scss: "css", scala: "java", "shell-session": "bash", smarty: "markup-templating", solidity: "clike", soy: "markup-templating", sparql: "turtle", sqf: "clike", squirrel: "clike", stata: ["mata", "java", "python"], "t4-cs": ["t4-templating", "csharp"], "t4-vb": ["t4-templating", "vbnet"], tap: "yaml", tt2: ["clike", "markup-templating"], textile: "markup", twig: "markup-templating", typescript: "javascript", v: "clike", vala: "clike", vbnet: "basic", velocity: "markup", wiki: "markup", xeora: "markup", "xml-doc": "markup", xquery: "markup" }, a = { html: "markup", xml: "markup", svg: "markup", mathml: "markup", ssml: "markup", atom: "markup", rss: "markup", js: "javascript", g4: "antlr4", ino: "arduino", "arm-asm": "armasm", art: "arturo", adoc: "asciidoc", avs: "avisynth", avdl: "avro-idl", gawk: "awk", sh: "bash", shell: "bash", shortcode: "bbcode", rbnf: "bnf", oscript: "bsl", cs: "csharp", dotnet: "csharp", cfc: "cfscript", "cilk-c": "cilkc", "cilk-cpp": "cilkcpp", cilk: "cilkcpp", coffee: "coffeescript", conc: "concurnas", jinja2: "django", "dns-zone": "dns-zone-file", dockerfile: "docker", gv: "dot", eta: "ejs", xlsx: "excel-formula", xls: "excel-formula", gamemakerlanguage: "gml", po: "gettext", gni: "gn", ld: "linker-script", "go-mod": "go-module", hbs: "handlebars", mustache: "handlebars", hs: "haskell", idr: "idris", gitignore: "ignore", hgignore: "ignore", npmignore: "ignore", webmanifest: "json", kt: "kotlin", kts: "kotlin", kum: "kumir", tex: "latex", context: "latex", ly: "lilypond", emacs: "lisp", elisp: "lisp", "emacs-lisp": "lisp", md: "markdown", moon: "moonscript", n4jsd: "n4js", nani: "naniscript", objc: "objectivec", qasm: "openqasm", objectpascal: "pascal", px: "pcaxis", pcode: "peoplecode", plantuml: "plant-uml", pq: "powerquery", mscript: "powerquery", pbfasm: "purebasic", purs: "purescript", py: "python", qs: "qsharp", rkt: "racket", razor: "cshtml", rpy: "renpy", res: "rescript", robot: "robotframework", rb: "ruby", "sh-session": "shell-session", shellsession: "shell-session", smlnj: "sml", sol: "solidity", sln: "solution-file", rq: "sparql", sclang: "supercollider", t4: "t4-cs", trickle: "tremor", troy: "tremor", trig: "turtle", ts: "typescript", tsconfig: "typoscript", uscript: "unrealscript", uc: "unrealscript", url: "uri", vb: "visual-basic", vba: "visual-basic", webidl: "web-idl", mathematica: "wolfram", nb: "wolfram", wl: "wolfram", xeoracube: "xeora", yml: "yaml" }, r = {}, s = "components/", i = Prism.util.currentScript(); if (i) { var t = /\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, c = /(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, l = i.getAttribute("data-autoloader-path"); if (null != l) s = l.trim().replace(/\/?$/, "/"); else { var p = i.src; t.test(p) ? s = p.replace(t, "components/") : c.test(p) && (s = p.replace(c, "$1components/")) } } var n = Prism.plugins.autoloader = { languages_path: s, use_minified: !0, loadLanguages: m }; Prism.hooks.add("complete", (function(e) { var a = e.element, r = e.language; if (a && r && "none" !== r) { var s = function(e) { var a = (e.getAttribute("data-dependencies") || "").trim(); if (!a) { var r = e.parentElement; r && "pre" === r.tagName.toLowerCase() && (a = (r.getAttribute("data-dependencies") || "").trim()) } return a ? a.split(/\s*,\s*/g) : [] }(a); /^diff-./i.test(r) ? (s.push("diff"), s.push(r.substr("diff-".length))) : s.push(r), s.every(o) || m(s, (function() { Prism.highlightElement(a) })) } })) } function o(e) { if (e.indexOf("!") >= 0) return !1; if ((e = a[e] || e) in Prism.languages) return !0; var s = r[e]; return s && !s.error && !1 === s.loading } function m(s, i, t) { "string" == typeof s && (s = [s]); var c = s.length, l = 0, p = !1; function k() { p || ++l === c && i && i(s) } 0 !== c ? s.forEach((function(s) { !function(s, i, t) { var c = s.indexOf("!") >= 0; function l() { var e = r[s]; e || (e = r[s] = { callbacks: [] }), e.callbacks.push({ success: i, error: t }), !c && o(s) ? u(s, "success") : !c && e.error ? u(s, "error") : !c && e.loading || (e.loading = !0, e.error = !1, function(e, a, r) { var s = document.createElement("script"); s.src = e, s.async = !0, s.onload = function() { document.body.removeChild(s), a && a() }, s.onerror = function() { document.body.removeChild(s), r && r() }, document.body.appendChild(s) }(function(e) { return n.languages_path + "prism-" + e + (n.use_minified ? ".min" : "") + ".js" }(s), (function() { e.loading = !1, u(s, "success") }), (function() { e.loading = !1, e.error = !0, u(s, "error") }))) } s = s.replace("!", ""); var p = e[s = a[s] || s]; p && p.length ? m(p, l, t) : l() }(s, k, (function() { p || (p = !0, t && t(s)) })) })) : i && setTimeout(i, 0) } function u(e, a) { if (r[e]) { for (var s = r[e].callbacks, i = 0, t = s.length; i < t; i++) { var c = s[i][a]; c && setTimeout(c, 0) } s.length = 0 } } }(); -!function() { if ("undefined" != typeof Prism && "undefined" != typeof document) { var e = [], t = {}, n = function() { }; Prism.plugins.toolbar = {}; var a = Prism.plugins.toolbar.registerButton = function(n, a) { var r; r = "function" == typeof a ? a : function(e) { var t; return "function" == typeof a.onClick ? ((t = document.createElement("button")).type = "button", t.addEventListener("click", (function() { a.onClick.call(this, e) }))) : "string" == typeof a.url ? (t = document.createElement("a")).href = a.url : t = document.createElement("span"), a.className && t.classList.add(a.className), t.textContent = a.text, t }, n in t ? console.warn('There is a button with the key "' + n + '" registered already.') : e.push(t[n] = r) }, r = Prism.plugins.toolbar.hook = function(a) { var r = a.element.parentNode; if (r && /pre/i.test(r.nodeName) && !r.parentNode.classList.contains("code-toolbar")) { var o = document.createElement("div"); o.classList.add("code-toolbar"), r.parentNode.insertBefore(o, r), o.appendChild(r); var i = document.createElement("div"); i.classList.add("toolbar"); var l = e, d = function(e) { for (; e;) { var t = e.getAttribute("data-toolbar-order"); if (null != t) return (t = t.trim()).length ? t.split(/\s*,\s*/g) : []; e = e.parentElement } }(a.element); d && (l = d.map((function(e) { return t[e] || n }))), l.forEach((function(e) { var t = e(a); if (t) { var n = document.createElement("div"); n.classList.add("toolbar-item"), n.appendChild(t), i.appendChild(n) } })), o.appendChild(i) } }; a("label", (function(e) { var t = e.element.parentNode; if (t && /pre/i.test(t.nodeName) && t.hasAttribute("data-label")) { var n, a, r = t.getAttribute("data-label"); try { a = document.querySelector("template#" + r) } catch (e) { } return a ? n = a.content : (t.hasAttribute("data-url") ? (n = document.createElement("a")).href = t.getAttribute("data-url") : n = document.createElement("span"), n.textContent = r), n } })), Prism.hooks.add("complete", r) } }(); - diff --git a/themes/hugo-theme-monochrome/assets/lib/js/zooming-v2.1.1.min.js b/themes/hugo-theme-monochrome/assets/lib/js/zooming-v2.1.1.min.js deleted file mode 100644 index 7def7d2..0000000 --- a/themes/hugo-theme-monochrome/assets/lib/js/zooming-v2.1.1.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Zooming=e()}(this,function(){"use strict";var t="auto",e="zoom-in",i="zoom-out",n="grab",s="move";function o(t,e,i){var n={passive:!1};!(arguments.length>3&&void 0!==arguments[3])||arguments[3]?t.addEventListener(e,i,n):t.removeEventListener(e,i,n)}function r(t,e){if(t){var i=new Image;i.onload=function(){e&&e(i)},i.src=t}}function a(t){return t.dataset.original?t.dataset.original:"A"===t.parentNode.tagName?t.parentNode.getAttribute("href"):null}function l(t,e,i){!function(t){var e=h.transitionProp,i=h.transformProp;if(t.transition){var n=t.transition;delete t.transition,t[e]=n}if(t.transform){var s=t.transform;delete t.transform,t[i]=s}}(e);var n=t.style,s={};for(var o in e)i&&(s[o]=n[o]||""),n[o]=e[o];return s}var h={transitionProp:"transition",transEndEvent:"transitionend",transformProp:"transform",transformCssProp:"transform"},c=h.transformCssProp,u=h.transEndEvent;var d=function(){},f={enableGrab:!0,preloadImage:!1,closeOnWindowResize:!0,transitionDuration:.4,transitionTimingFunction:"cubic-bezier(0.4, 0, 0, 1)",bgColor:"rgb(255, 255, 255)",bgOpacity:1,scaleBase:1,scaleExtra:.5,scrollThreshold:40,zIndex:998,customSize:null,onOpen:d,onClose:d,onGrab:d,onMove:d,onRelease:d,onBeforeOpen:d,onBeforeClose:d,onBeforeGrab:d,onBeforeRelease:d,onImageLoading:d,onImageLoaded:d},p={init:function(t){var e,i;e=this,i=t,Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(function(t){e[t]=e[t].bind(i)})},click:function(t){if(t.preventDefault(),m(t))return window.open(this.target.srcOriginal||t.currentTarget.src,"_blank");this.shown?this.released?this.close():this.release():this.open(t.currentTarget)},scroll:function(){var t=document.documentElement||document.body.parentNode||document.body,e=window.pageXOffset||t.scrollLeft,i=window.pageYOffset||t.scrollTop;null===this.lastScrollPosition&&(this.lastScrollPosition={x:e,y:i});var n=this.lastScrollPosition.x-e,s=this.lastScrollPosition.y-i,o=this.options.scrollThreshold;(Math.abs(s)>=o||Math.abs(n)>=o)&&(this.lastScrollPosition=null,this.close())},keydown:function(t){(function(t){return"Escape"===(t.key||t.code)||27===t.keyCode})(t)&&(this.released?this.close():this.release(this.close))},mousedown:function(t){if(y(t)&&!m(t)){t.preventDefault();var e=t.clientX,i=t.clientY;this.pressTimer=setTimeout(function(){this.grab(e,i)}.bind(this),200)}},mousemove:function(t){this.released||this.move(t.clientX,t.clientY)},mouseup:function(t){y(t)&&!m(t)&&(clearTimeout(this.pressTimer),this.released?this.close():this.release())},touchstart:function(t){t.preventDefault();var e=t.touches[0],i=e.clientX,n=e.clientY;this.pressTimer=setTimeout(function(){this.grab(i,n)}.bind(this),200)},touchmove:function(t){if(!this.released){var e=t.touches[0],i=e.clientX,n=e.clientY;this.move(i,n)}},touchend:function(t){(function(t){t.targetTouches.length})(t)||(clearTimeout(this.pressTimer),this.released?this.close():this.release())},clickOverlay:function(){this.close()},resizeWindow:function(){this.close()}};function y(t){return 0===t.button}function m(t){return t.metaKey||t.ctrlKey}var g={init:function(t){this.el=document.createElement("div"),this.instance=t,this.parent=document.body,l(this.el,{position:"fixed",top:0,left:0,right:0,bottom:0,opacity:0}),this.updateStyle(t.options),o(this.el,"click",t.handler.clickOverlay.bind(t))},updateStyle:function(t){l(this.el,{zIndex:t.zIndex,backgroundColor:t.bgColor,transition:"opacity\n "+t.transitionDuration+"s\n "+t.transitionTimingFunction})},insert:function(){this.parent.appendChild(this.el)},remove:function(){this.parent.removeChild(this.el)},fadeIn:function(){this.el.offsetWidth,this.el.style.opacity=this.instance.options.bgOpacity},fadeOut:function(){this.el.style.opacity=0}},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},w=function(){function t(t,e){for(var i=0;iy||d>m)return{x:y,y:m}}return{x:d,y:d}}};function k(){var t=document.documentElement;return{x:Math.min(t.clientWidth,window.innerWidth)/2,y:Math.min(t.clientHeight,window.innerHeight)/2}}function S(t,e,i){["mousedown","mousemove","mouseup","touchstart","touchmove","touchend"].forEach(function(n){o(t,n,e[n],i)})}return function(){function i(t){b(this,i),this.target=Object.create(O),this.overlay=Object.create(g),this.handler=Object.create(p),this.body=document.body,this.shown=!1,this.lock=!1,this.released=!0,this.lastScrollPosition=null,this.pressTimer=null,this.options=x({},f,t),this.overlay.init(this),this.handler.init(this)}return w(i,[{key:"listen",value:function(t){if("string"==typeof t)for(var i=document.querySelectorAll(t),n=i.length;n--;)this.listen(i[n]);else"IMG"===t.tagName&&(t.style.cursor=e,o(t,"click",this.handler.click),this.options.preloadImage&&r(a(t)));return this}},{key:"config",value:function(t){return t?(x(this.options,t),this.overlay.updateStyle(this.options),this):this.options}},{key:"open",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.onOpen;if(!this.shown&&!this.lock){var n="string"==typeof t?document.querySelector(t):t;if("IMG"===n.tagName){if(this.options.onBeforeOpen(n),this.target.init(n,this),!this.options.preloadImage){var s=this.target.srcOriginal;null!=s&&(this.options.onImageLoading(n),r(s,this.options.onImageLoaded))}this.shown=!0,this.lock=!0,this.target.zoomIn(),this.overlay.insert(),this.overlay.fadeIn(),o(document,"scroll",this.handler.scroll),o(document,"keydown",this.handler.keydown),this.options.closeOnWindowResize&&o(window,"resize",this.handler.resizeWindow);return o(n,u,function t(){o(n,u,t,!1),e.lock=!1,e.target.upgradeSource(),e.options.enableGrab&&S(document,e.handler,!0),i(n)}),this}}}},{key:"close",value:function(){var e=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.onClose;if(this.shown&&!this.lock){var n=this.target.el;this.options.onBeforeClose(n),this.lock=!0,this.body.style.cursor=t,this.overlay.fadeOut(),this.target.zoomOut(),o(document,"scroll",this.handler.scroll,!1),o(document,"keydown",this.handler.keydown,!1),this.options.closeOnWindowResize&&o(window,"resize",this.handler.resizeWindow,!1);return o(n,u,function t(){o(n,u,t,!1),e.shown=!1,e.lock=!1,e.target.downgradeSource(),e.options.enableGrab&&S(document,e.handler,!1),e.target.restoreCloseStyle(),e.overlay.remove(),i(n)}),this}}},{key:"grab",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.scaleExtra,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.options.onGrab;if(this.shown&&!this.lock){var s=this.target.el;this.options.onBeforeGrab(s),this.released=!1,this.target.grab(t,e,i);return o(s,u,function t(){o(s,u,t,!1),n(s)}),this}}},{key:"move",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.scaleExtra,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.options.onMove;if(this.shown&&!this.lock){this.released=!1,this.body.style.cursor=s,this.target.move(t,e,i);var r=this.target.el;return o(r,u,function t(){o(r,u,t,!1),n(r)}),this}}},{key:"release",value:function(){var e=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.onRelease;if(this.shown&&!this.lock){var n=this.target.el;this.options.onBeforeRelease(n),this.lock=!0,this.body.style.cursor=t,this.target.restoreOpenStyle();return o(n,u,function t(){o(n,u,t,!1),e.lock=!1,e.released=!0,i(n)}),this}}}]),i}()}); \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/base.scss b/themes/hugo-theme-monochrome/assets/scss/base.scss deleted file mode 100644 index eba7fd6..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/base.scss +++ /dev/null @@ -1,108 +0,0 @@ -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 { - @include font-bold; - margin-top: 2rem; - margin-bottom: 1rem; -} - -h1 { - @include text-3xl; -} - -h2 { - @include text-2xl; -} - -h3 { - @include text-xl; -} - -h4 { - @include text-lg; -} - -h5 { - @include text-base; -} - -h6 { - @include text-sm; -} - -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 { - @include my-8; -} - -.hidden { - display: none; -} - -@media screen and (min-width: $sm_min_width) { - main { - width: $sm_main_width; - } -} - -@media screen and (min-width: $md_min_width) { - main { - width: $md_main_width; - } -} - -@media screen and (min-width: $lg_min_width) { - main { - width: $lg_main_width; - } -} - -@media screen and (min-width: $xl_min_width) { - main { - width: $xl_main_width; - } -} - -@media screen and (min-width: $xxl_min_width) { - main { - width: $xxl_main_width; - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/color.scss b/themes/hugo-theme-monochrome/assets/scss/color.scss deleted file mode 100644 index 7448cf3..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/color.scss +++ /dev/null @@ -1,69 +0,0 @@ -$gray-0: #fff; -$gray-50: #f7f7f7; -$gray-100: #f5f5f5; -$gray-150: #ededed; -$gray-200: #e5e5e5; -$gray-250: #dddddd; -$gray-300: #d4d4d4; -$gray-350: #bcbcbc; -$gray-400: #a3a3a3; -$gray-450: #8b8b8b; -$gray-500: #737373; -$gray-550: #636363; -$gray-600: #525252; -$gray-650: #494949; -$gray-700: #404040; -$gray-750: #333333; -$gray-800: #262626; -$gray-850: #1f1f1f; -$gray-900: #171717; -$gray-1000: #000; - -html[data-theme="light"] { - --color-text: #{$gray-900}; - --color-text-secondary: #{$gray-500}; - --color-text-footer: #{$gray-500}; - --color-border: #{$gray-300}; - --color-border-collapsible-menu: #{$gray-200}; - --color-background: #{$gray-0}; - --color-background-hover: #{$gray-50}; - --color-background-overlay: #{$gray-150}; - --color-background-inline-code: #{$gray-100}; - --color-background-card: #{$gray-0}; - --color-background-mark: #fff1a7; - --color-link: #2563eb; - --color-navbar-item-inactive: #{$gray-400}; - --color-navbar-item-active: #{$gray-900}; - --color-navbar-item-in-section: #{$gray-600}; -} - -html[data-theme="dark"] { - --color-text: #{$gray-150}; - --color-text-secondary: #{$gray-450}; - --color-text-footer: #{$gray-400}; - --color-border: #{$gray-500}; - --color-border-collapsible-menu: #{$gray-550}; - --color-background: #{$gray-750}; - --color-background-hover: #{$gray-600}; - --color-background-overlay: #{$gray-700}; - --color-background-inline-code: #{$gray-600}; - --color-background-card: #{$gray-700}; - --color-background-mark: #fff1a7; - --color-link: #93c5fd; - --color-navbar-item-inactive: #{$gray-400}; - --color-navbar-item-active: #{$gray-100}; - --color-navbar-item-in-section: #{$gray-250}; -} - -// Default color settings - -html { - color: var(--color-text); - background: var(--color-background); - font-size: 16px; -} - -a { - color: var(--color-link); - text-decoration: none; -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/components/breadcrumbs.scss b/themes/hugo-theme-monochrome/assets/scss/components/breadcrumbs.scss deleted file mode 100644 index d5875a5..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/breadcrumbs.scss +++ /dev/null @@ -1,19 +0,0 @@ -.breadcrumbs { - @include font-bold; - list-style-type: none; - padding: 0; - margin: 0; - - a { - color: var(--color-text); - border-bottom: 2px solid transparent; - - &:hover { - border-bottom-color: var(--color-text-secondary); - } - } - - li { - display: inline; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/components/collapsible-menu.scss b/themes/hugo-theme-monochrome/assets/scss/components/collapsible-menu.scss deleted file mode 100644 index 9c576c1..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/collapsible-menu.scss +++ /dev/null @@ -1,54 +0,0 @@ -#TableOfContents { - line-height: 1.5rem; - - ul, li { - list-style: none; - padding-left: 0; - margin: 0; - } - - ul ul { - margin-left: .5rem; - } - - li { - margin-top: .375rem; - } - - 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 { - @include my-8; - font-size: 0.875rem; - padding: 1rem; - border: 2px solid var(--color-border-collapsible-menu); - border-radius: .25rem; - - .collapsible-menu-type { - span { - @include font-bold; - line-height: 1.5rem; - } - } - - summary.collapsible-menu-type { - span { - margin-left: .3rem; - } - } - - .collapsible-menu { - margin-left: .5rem; - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/components/color-block.scss b/themes/hugo-theme-monochrome/assets/scss/components/color-block.scss deleted file mode 100644 index 9a45fea..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/color-block.scss +++ /dev/null @@ -1,4 +0,0 @@ -.color-block { - border-radius: 0.25rem; - padding: 0.75rem; -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/components/emgithub.scss b/themes/hugo-theme-monochrome/assets/scss/components/emgithub.scss deleted file mode 100644 index 264ba2a..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/emgithub.scss +++ /dev/null @@ -1,70 +0,0 @@ -.emgithub-container { - @include my-6; - - .emgithub-code { - display: flex; - flex-direction: column; - justify-content: center; - - .emgithub-loading { - @include mx-auto; - @include my-4; - z-index: 10; - position: absolute; - left: 0; - right: 0; - width: 2rem; - - &.hide { - display: none; - } - - 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-pre { - @include my-0; - border-bottom-right-radius: 0px; - border-bottom-left-radius: 0px; - - &.loading { - min-height: 5rem; - } - - code { - tab-size: inherit; - } - } - } - - .emgithub-toolbar { - @include text-xs; - 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: $gray-900; - - a { - @include font-semibold; - color: white; - border: 0; - } - } -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/components/footer.scss b/themes/hugo-theme-monochrome/assets/scss/components/footer.scss deleted file mode 100644 index 5d5c00d..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/footer.scss +++ /dev/null @@ -1,6 +0,0 @@ -footer { - @include my-4; - @include text-xs; - text-align: center; - color: var(--color-text-footer); -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/components/header.scss b/themes/hugo-theme-monochrome/assets/scss/components/header.scss deleted file mode 100644 index 5850ab4..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/header.scss +++ /dev/null @@ -1,79 +0,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; - - .brand { - display: flex; - align-items: center; - - a { - @include text-3xl; - @include font-bold; - color: var(--color-text); - } - - #sidebar_btn { - display: flex; - margin-right: 0.5rem; - - @media screen and (min-width: $md_min_width) { - display: none; - } - } - } - - .toolbox { - display: flex; - align-items: center; - column-gap: 0.5rem; - - .toolbox-btn { - display: flex; - cursor: pointer; - - &:hover { - color: var(--color-text-secondary); - } - } - - .dropdown-wrapper { - .dropdown-btn.pure-menu-link { - color: unset; - } - - .dropdown-btn { - display: flex; - align-items: center; - padding: 0; - - &:hover { - background-color: unset; - } - - &::after { - content: ""; - padding: 0; - } - - .dropdown-desc { - @include text-sm; - margin-left: 0.35rem; - } - } - } - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/components/icon-group.scss b/themes/hugo-theme-monochrome/assets/scss/components/icon-group.scss deleted file mode 100644 index 74de61b..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/icon-group.scss +++ /dev/null @@ -1,6 +0,0 @@ -.icon-group { - @include my-4; - display: inline-grid; - grid-auto-flow: column; - gap: 0.375rem; -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/components/icon.scss b/themes/hugo-theme-monochrome/assets/scss/components/icon.scss deleted file mode 100644 index 13e0953..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/icon.scss +++ /dev/null @@ -1,13 +0,0 @@ -.icon { - display: inline-block; - width: 1.5rem; - height: 1.5rem; - - a { - color: var(--color-text); - - &:hover { - color: var(--color-text-secondary); - } - } -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/components/menus.scss b/themes/hugo-theme-monochrome/assets/scss/components/menus.scss deleted file mode 100644 index 191a36c..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/menus.scss +++ /dev/null @@ -1,202 +0,0 @@ -/*! -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%; - @include text-sm; -} - -.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-list { - display: inline-block; - } - - .pure-menu-item, .pure-menu-heading, .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-list { - display: block; - } -} - -.pure-menu-horizontal.pure-menu-scrollable { - .pure-menu-list { - display: inline-block; - } - - white-space: nowrap; - overflow-y: hidden; - overflow-x: auto; - - /* a little extra padding for this style to allow for scrollbars */ - padding: .5em 0; -} - -/* 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-separator { - width: 1px; - height: 1.3em; - margin: 0 0.3em; - } - - .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); - @include text-sm; -} - -.pure-menu-children { - background-color: var(--color-background); -} - -.pure-menu-link, .pure-menu-heading { - padding: .5rem; -} - -.pure-menu-disabled { - opacity: .5; - - .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, &:focus { - background-color: var(--color-background-hover); - } -} - -.pure-menu-selected > .pure-menu-link { - color: var(--color-navbar-item-active); - - &:visited { - color: var(--color-navbar-item-active); - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/components/nav.scss b/themes/hugo-theme-monochrome/assets/scss/components/nav.scss deleted file mode 100644 index 6dc792e..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/nav.scss +++ /dev/null @@ -1,62 +0,0 @@ -#navbar { - margin: 1rem 0; - - @media screen and (max-width: $md_min_width) { - display: none; - } - - > ul.pure-menu-list { - display: flex; - - .navbar-dropdown { - > a.pure-menu-link:after { - content: "▾"; - } - - > ul.pure-menu-children { - left: 0; - top: 27px; - width: inherit; - } - } - - .navbar-item { - margin: 0 .5rem 0 0; - border-bottom: 2px solid transparent; - - > a.pure-menu-link { - @include font-medium; - padding: 0 0 .3rem 0; - color: var(--color-navbar-item-inactive); - - &:hover { - background-color: transparent; - } - } - - &:hover { - border-bottom-color: var(--color-navbar-item-active); - - > a { - color: var(--color-navbar-item-active); - } - } - } - - .navbar-item.active { - border-bottom-color: var(--color-navbar-item-active); - - > a { - color: var(--color-navbar-item-active); - } - } - - .navbar-item.insection { - border-bottom-color: var(--color-navbar-item-in-section); - - > a { - color: var(--color-navbar-item-in-section); - } - } - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/components/pagination.scss b/themes/hugo-theme-monochrome/assets/scss/components/pagination.scss deleted file mode 100644 index 41ad4b8..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/pagination.scss +++ /dev/null @@ -1,37 +0,0 @@ -.pagination { - padding: 0; - margin: 0; - list-style: none; - - li { - display: inline; - margin: 0 .1rem; - } - - a, span { - color: var(--color-text-secondary); - } - - li.active a { - @include font-semibold; - color: var(--color-text); - } - - li:not(.disabled) a:hover { - color: var(--color-text); - - span { - color: inherit; - } - } - - .disabled { - cursor: not-allowed; - } -} - -.postcard-layout { - .pagination { - text-align: center; - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/components/search-menu.scss b/themes/hugo-theme-monochrome/assets/scss/components/search-menu.scss deleted file mode 100644 index eff1a13..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/search-menu.scss +++ /dev/null @@ -1,101 +0,0 @@ -#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); - - mark { - background-color: unset; - color: unset; - border-bottom: 2px solid var(--color-text); - } - - #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: $sm_min_width) { - height: auto; - top: 6rem; - bottom: 6rem; - width: 30rem; - z-index: 50; - border-radius: 0.375rem; - } - - #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_input_wrapper { - display: flex; - flex-grow: 1; - - input { - @include px-4; - flex-grow: 1; - border-top-left-radius: 0.375rem; - } - - input:focus { - outline: 2px solid transparent; - outline-offset: 2px; - } - } - - #search_menu_close_btn { - display: flex; - align-items: center; - justify-content: center; - width: 2.5rem; - border-top-right-radius: 0.375rem; - cursor: pointer; - - &:hover { - background-color: var(--color-background-overlay); - } - } - } - - #search_menu_results { - flex-grow: 1; - overflow-y: auto; - - .search-menu-result-item { - @include px-4; - padding-top: 0.875rem; - padding-bottom: 0.875rem; - min-height: 2.5rem; - - &:hover { - background-color: var(--color-background-overlay); - } - - .search-menu-result-item-title { - @include font-bold; - line-height: 1.7rem; - color: var(--color-text); - } - - .search-menu-result-item-content { - @include text-xs; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - color: var(--color-text-secondary); - } - } - } - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/components/sidebar.scss b/themes/hugo-theme-monochrome/assets/scss/components/sidebar.scss deleted file mode 100644 index d8f38b6..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/sidebar.scss +++ /dev/null @@ -1,50 +0,0 @@ -#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, 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: $sm_min_width) { - width: 40%; - } - - ul { - list-style: none; - padding-left: 0; - margin: 0; - } - - summary span { - margin-left: .2rem; - } - - li { - margin: 1.2rem; - } - - a { - color: var(--color-text); - } -} - -#sidebar.close { - display: block; - transform: translateX(-100%); -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/components/terms-cloud.scss b/themes/hugo-theme-monochrome/assets/scss/components/terms-cloud.scss deleted file mode 100644 index 0033869..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/components/terms-cloud.scss +++ /dev/null @@ -1,5 +0,0 @@ -.term-item { - @include list-link-item; - margin-right: 0.375rem; - line-height: 1.7rem; -} diff --git a/themes/hugo-theme-monochrome/assets/scss/core.scss b/themes/hugo-theme-monochrome/assets/scss/core.scss deleted file mode 100644 index 1c81dda..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/core.scss +++ /dev/null @@ -1,32 +0,0 @@ -@import 'purecss/base'; - -@import 'mixins/text'; -@import 'mixins/margin'; -@import 'mixins/padding'; -@import 'mixins/items'; - -@import 'color'; -@import 'vars'; - -@import 'base'; -@import 'layout/article'; -@import 'layout/bookcase'; -@import 'layout/gallery'; -@import 'layout/balloon'; -@import 'layout/list'; -@import 'layout/postcard'; -@import 'layout/term'; -@import 'components/header'; -@import 'components/footer'; -@import 'components/menus'; -@import 'components/nav'; -@import 'components/collapsible-menu'; -@import 'components/emgithub'; -@import 'components/terms-cloud'; -@import 'components/icon'; -@import 'components/breadcrumbs'; -@import 'components/color-block'; -@import 'components/icon-group'; -@import 'components/search-menu'; -@import 'components/sidebar'; -@import 'components/pagination'; diff --git a/themes/hugo-theme-monochrome/assets/scss/layout/article.scss b/themes/hugo-theme-monochrome/assets/scss/layout/article.scss deleted file mode 100644 index 702eb8f..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/layout/article.scss +++ /dev/null @@ -1,197 +0,0 @@ -article { - line-height: 1.7; - - > *:first-child { - margin-top: 0; - } - - > *:last-child { - margin-bottom: 0; - } - - hr { - @include my-8; - } - - p { - overflow-wrap: break-word; - } - - li { - list-style-type: disc; - @include my-2; - - p { - @include my-0; - } - } - - ul, ol { - @include my-4; - padding-left: 1.3rem; - } - - ol { - li { - list-style-type: decimal; - } - } - - ul, ol { - @include my-2; - - li:first-child { - margin-top: 0; - } - - li:last-child { - margin-bottom: 0; - } - } - - blockquote { - @include px-4; - @include my-6; - @include mx-0; - border-left: 2px solid var(--color-border); - - p:first-child { - margin-top: 0; - } - - p:last-child { - margin-bottom: 0; - } - - blockquote { - @include my-0; - } - } - - code { /* Inline code style */ - border-radius: .25rem; - padding: .2rem .375rem .2rem .375rem; - background-color: var(--color-background-inline-code); - } - - pre { - @include my-6; - padding: 1rem; - overflow-x: auto; - border-radius: .5rem; - background-color: $gray-850; - color: $gray-50; - - code { /* Disable inline code style */ - border-radius: 0; - padding: 0; - background-color: transparent; - } - } - - pre.mc-prism.hide code { /* Smooth transition for prism.js */ - opacity: 0; - } - - pre.mc-prism code { /* Smooth transition for prism.js */ - opacity: 1; - transition: opacity 0.1s ease-in; - } - - .code-toolbar { - .toolbar-item { - @include mx-1; - } - } - - .highlight { - @include my-6; - position: relative; - - .code-toolbar { - padding: 0; - - pre { - padding: 1rem; - border-radius: 0.375rem; - } - } - - > div, - > pre { - padding: 0.75rem; - border-radius: 0.375rem; - overflow-x: auto; - - pre { - padding: 0; - margin: 0; - border-radius: 0; - - code { /* Disable inline code style */ - border-radius: 0; - padding: 0; - background-color: transparent; - } - } - } - } - - .copy-code-button { - @include text-xs; - 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; - - &:hover { - background-color: var(--color-background-hover); - } - } - - table.mc-table { - @include my-6; - table-layout: auto; - border-collapse: collapse; - display: block; - overflow-x: auto; - - td, th { - @include px-3; - @include py-2; - border: 1px solid var(--color-border); - } - } - - figure { - @include my-4; - text-align: center; - - figcaption { - @include my-2; - } - } - - img { - @include mx-auto; - display: block; - } -} - -html[data-theme='dark'] { - .twitter-tweet { - color: var(--color-text); - - a { - color: var(--color-link); - } - } -} - diff --git a/themes/hugo-theme-monochrome/assets/scss/layout/balloon.scss b/themes/hugo-theme-monochrome/assets/scss/layout/balloon.scss deleted file mode 100644 index 5f61f44..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/layout/balloon.scss +++ /dev/null @@ -1,152 +0,0 @@ -%balloon-item-base { - display: flex; - flex-direction: column; - - @media screen and (min-width: $md_min_width) { - flex-direction: row; - } -} - -%balloon-item-line-base { - width: 7rem; - display: flex; - flex-direction: column; - position: relative; - align-items: center; - - @media screen and (max-width: $md_min_width) { - display: none; - } -} - -%balloon-item-content-base { - display: flex; - flex: 1 1 0%; - margin-left: -12px; - - @media screen and (max-width: $md_min_width) { - margin-left: 0; - } -} - - -.balloon-layout { - @media screen and (min-width: $md_min_width) { - margin-left: -1.75rem; - } - - .balloon-head-item { - @extend %balloon-item-base; - width: 100%; - gap: 20px; - - .balloon-head-item-desktop { - @extend %balloon-item-line-base; - } - - .balloon-head-item-mobile { - width: 100%; - justify-content: center; - - @media screen and (min-width: $md_min_width) { - display: none; - } - } - - .balloon-head-item-img-light, .balloon-head-item-img-dark { - display: flex; - justify-content: center; - } - - .balloon-head-item-img { - img { - width: 6rem; - height: 6rem; - } - - .rounded { - border-radius: 9999px; - } - } - - .balloon-head-item-content { - @extend %balloon-item-content-base; - margin: 0; - align-items: center; - - @media screen and (max-width: $md_min_width) { - justify-content: center; - text-align: center; - } - } - } - - .balloon-title-item { - @extend %balloon-item-base; - - .balloon-title-item-line { - @extend %balloon-item-line-base; - } - - .balloon-title-item-content { - @extend %balloon-item-content-base; - - @media screen and (max-width: $md_min_width) { - justify-content: center; - text-align: center; - } - } - } - - .balloon-card-item { - @extend %balloon-item-base; - - .balloon-card-item-line { - @extend %balloon-item-line-base; - } - - .balloon-card-item-content { - @extend %balloon-item-content-base; - @include text-sm; - 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-dot { - width: .8rem; - height: .8rem; - border-radius: 1rem; - margin: 0.25rem 0; - border: 2px solid var(--color-text); - } - - .balloon-line-container { - display: flex; - flex: 1 1 0%; - justify-content: center; - - .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; - } - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/layout/bookcase.scss b/themes/hugo-theme-monochrome/assets/scss/layout/bookcase.scss deleted file mode 100644 index 68286bb..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/layout/bookcase.scss +++ /dev/null @@ -1,55 +0,0 @@ -.bookcase-layout { - display: grid; - gap: 1rem; - grid-template-columns: repeat(auto-fill, 8rem); - - .bookcase-item { - figure { - position: relative; - margin: 0; - } - - figcaption { - @include text-sm; - text-align: center; - margin-top: .7rem; - - a { - color: var(--color-text); - } - } - - img, .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-item-overlay { - position: absolute; - top: 0; - left: 0; - background-color: transparent; - opacity: 0.25; - - &: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; - } -} - diff --git a/themes/hugo-theme-monochrome/assets/scss/layout/gallery.scss b/themes/hugo-theme-monochrome/assets/scss/layout/gallery.scss deleted file mode 100644 index a69a597..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/layout/gallery.scss +++ /dev/null @@ -1,46 +0,0 @@ -.gallery-layout { - figure { - @media screen and (min-width: $md_min_width) { - margin-left: -1.25rem; - margin-right: -1.25rem; - } - - img { - @include mx-auto; - } - } - - figcaption { - @include my-2; - @include text-xs; - font-style: italic; - text-align: center; - } - - .gallery-item { - margin-bottom: 4rem; - } - - .gallery-item-title { - margin: 1rem 0; - - a { - @include list-link-item; - } - - span { - @include text-3xl; - @include font-bold; - } - } - - .gallery-item-content { - @include my-4; - } - - .gallery-item-statistic { - display: grid; - gap: 0.5rem; - grid-template-columns: max-content 1fr; - } -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/layout/list.scss b/themes/hugo-theme-monochrome/assets/scss/layout/list.scss deleted file mode 100644 index 729b711..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/layout/list.scss +++ /dev/null @@ -1,21 +0,0 @@ -ul.list-layout { - list-style: none; - padding: 0; - - li { - margin-bottom: .5rem; - line-height: 1.625; - display: list-item; - list-style-type: none; - - a { - @include list-link-item; - line-height: 1.7rem; - } - - span { - @include text-xs; - color: var(--color-text-secondary); - } - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/layout/postcard.scss b/themes/hugo-theme-monochrome/assets/scss/layout/postcard.scss deleted file mode 100644 index d4b2dcf..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/layout/postcard.scss +++ /dev/null @@ -1,36 +0,0 @@ -.postcard-layout { - a { - color: var(--color-text); - } - - .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); - - &:hover { - background-color: var(--color-background-hover); - } - - .postcard-title { - @include text-xl; - @include font-medium; - } - - .postcard-summary { - @include text-xs; - color: var(--color-text-secondary); - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - margin: .5rem 0; - } - - .postcard-metadata { - @include text-xs; - color: var(--color-text-secondary); - } - } -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/layout/term.scss b/themes/hugo-theme-monochrome/assets/scss/layout/term.scss deleted file mode 100644 index b2b614e..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/layout/term.scss +++ /dev/null @@ -1,10 +0,0 @@ -.term-title { - display: flex; - align-items: center; - gap: 8px; - margin: 2rem 0; - - h1 { - margin: 0; - } -} diff --git a/themes/hugo-theme-monochrome/assets/scss/mixins/items.scss b/themes/hugo-theme-monochrome/assets/scss/mixins/items.scss deleted file mode 100644 index 273cdef..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/mixins/items.scss +++ /dev/null @@ -1,8 +0,0 @@ -@mixin list-link-item { - color: var(--color-text); - border-bottom: 2px solid var(--color-border); - - &:hover { - border-bottom-color: var(--color-text-secondary); - } -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/mixins/margin.scss b/themes/hugo-theme-monochrome/assets/scss/mixins/margin.scss deleted file mode 100644 index 0cba236..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/mixins/margin.scss +++ /dev/null @@ -1,49 +0,0 @@ -@mixin my-0 { - margin-top: 0; - margin-bottom: 0; -} -@mixin my-2 { - margin-top: .5rem; - margin-bottom: .5rem; -} -@mixin my-4 { - margin-top: 1rem; - margin-bottom: 1rem; -} -@mixin my-6 { - margin-top: 1.5rem; - margin-bottom: 1.5rem; -} -@mixin my-8 { - margin-top: 2rem; - margin-bottom: 2rem; -} - -@mixin mx-auto { - margin-left: auto; - margin-right: auto; -} -@mixin mx-0 { - margin-left: 0; - margin-right: 0; -} -@mixin mx-1 { - margin-left: 0.25rem; - margin-right: 0.25rem; -} -@mixin mx-2 { - margin-left: .5rem; - margin-right: .5rem; -} -@mixin mx-4 { - margin-left: 1rem; - margin-right: 1rem; -} -@mixin mx-6 { - margin-left: 1.5rem; - margin-right: 1.5rem; -} -@mixin mx-8 { - margin-left: 2rem; - margin-right: 2rem; -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/mixins/padding.scss b/themes/hugo-theme-monochrome/assets/scss/mixins/padding.scss deleted file mode 100644 index 464323a..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/mixins/padding.scss +++ /dev/null @@ -1,45 +0,0 @@ -@mixin py-0 { - padding-top: 0; - padding-bottom: 0; -} -@mixin py-2 { - padding-top: .5rem; - padding-bottom: .5rem; -} -@mixin py-4 { - padding-top: 1rem; - padding-bottom: 1rem; -} -@mixin py-6 { - padding-top: 1.5rem; - padding-bottom: 1.5rem; -} -@mixin py-8 { - padding-top: 2rem; - padding-bottom: 2rem; -} - -@mixin px-0 { - padding-left: 0; - padding-right: 0; -} -@mixin px-2 { - padding-left: .5rem; - padding-right: .5rem; -} -@mixin px-3 { - padding-left: .75rem; - padding-right: .75rem; -} -@mixin px-4 { - padding-left: 1rem; - padding-right: 1rem; -} -@mixin px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; -} -@mixin px-8 { - padding-left: 2rem; - padding-right: 2rem; -} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/assets/scss/mixins/text.scss b/themes/hugo-theme-monochrome/assets/scss/mixins/text.scss deleted file mode 100644 index fa4e90b..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/mixins/text.scss +++ /dev/null @@ -1,56 +0,0 @@ -@mixin text-xs { - font-size: 0.75rem; /* 12px */ - line-height: 1rem; /* 16px */ -} -@mixin text-sm { - font-size: 0.875rem; /* 14px */ - line-height: 1.25rem; /* 20px */ -} -@mixin text-base { - font-size: 1rem; /* 16px */ - line-height: 1.5rem; /* 24px */ -} -@mixin text-lg { - font-size: 1.125rem; /* 18px */ - line-height: 1.75rem; /* 28px */ -} -@mixin text-xl { - font-size: 1.25rem; /* 20px */ - line-height: 1.75rem; /* 28px */ -} -@mixin text-2xl { - font-size: 1.375rem; /* 22px */ - line-height: 1.875rem; /* 30px */ -} -@mixin text-3xl { - font-size: 1.5rem; /* 24px */ - line-height: 2rem; /* 32px */ -} - -@mixin font-thin { - font-weight: 100; -} -@mixin font-extralight { - font-weight: 200; -} -@mixin font-light { - font-weight: 300; -} -@mixin font-normal { - font-weight: 400; -} -@mixin font-medium { - font-weight: 500; -} -@mixin font-semibold { - font-weight: 600; -} -@mixin font-bold { - font-weight: 700; -} -@mixin font-extrabold { - font-weight: 800; -} -@mixin font-black { - font-weight: 900; -} diff --git a/themes/hugo-theme-monochrome/assets/scss/purecss/_base.scss b/themes/hugo-theme-monochrome/assets/scss/purecss/_base.scss deleted file mode 100644 index 2727bea..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/purecss/_base.scss +++ /dev/null @@ -1,431 +0,0 @@ -/*! -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, &::-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 */ - - &::-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; -} diff --git a/themes/hugo-theme-monochrome/assets/scss/vars.scss b/themes/hugo-theme-monochrome/assets/scss/vars.scss deleted file mode 100644 index 09bc291..0000000 --- a/themes/hugo-theme-monochrome/assets/scss/vars.scss +++ /dev/null @@ -1,12 +0,0 @@ -$sm_min_width: 35.5rem; -$md_min_width: 48rem; -$lg_min_width: 64rem; -$xl_min_width: 80rem; -$xxl_min_width: 120rem; - -$sm_main_width: 100%; -$md_main_width: 80%; -$lg_main_width: 55%; -$xl_main_width: 55%; -$xxl_main_width: 55%; - diff --git a/themes/hugo-theme-monochrome/exampleSite/.gitignore b/themes/hugo-theme-monochrome/exampleSite/.gitignore deleted file mode 100644 index 1819932..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/.gitignore +++ /dev/null @@ -1,133 +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/hugo -# Edit at https://www.toptal.com/developers/gitignore?templates=hugo - -### Hugo ### -# Generated files by hugo -/public/ - -# Executable may be added to repository -hugo.exe -hugo.darwin -hugo.linux - -# End of https://www.toptal.com/developers/gitignore/api/hugo diff --git a/themes/hugo-theme-monochrome/exampleSite/config/_default/config.toml b/themes/hugo-theme-monochrome/exampleSite/config/_default/config.toml deleted file mode 100644 index 2cbf395..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/config/_default/config.toml +++ /dev/null @@ -1,16 +0,0 @@ -baseURL = "https://example.com" -languageCode = "en" -title = "Monochrome" -theme = "hugo-theme-monochrome" -defaultContentLanguage = "en" -enableEmoji = true -paginate = 5 -enableGitInfo = true - -[taxonomies] -category = "categories" -tag = "tags" -series = "series" - -[outputs] -home = ["HTML", "RSS", "JSON"] diff --git a/themes/hugo-theme-monochrome/exampleSite/config/_default/languages.toml b/themes/hugo-theme-monochrome/exampleSite/config/_default/languages.toml deleted file mode 100644 index 6e76325..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/config/_default/languages.toml +++ /dev/null @@ -1,11 +0,0 @@ -[en] -contentDir = "content/en" -languageName = "English" -languageCode = "en" -weight = 1 - -[zh-tw] -contentDir = "content/zh-tw" -languageName = "正體中文" -languageCode = "zh-tw" -weight = 2 diff --git a/themes/hugo-theme-monochrome/exampleSite/config/_default/markup.toml b/themes/hugo-theme-monochrome/exampleSite/config/_default/markup.toml deleted file mode 100644 index 3325c37..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/config/_default/markup.toml +++ /dev/null @@ -1,16 +0,0 @@ -[goldmark.renderer] -unsafe= true - -[highlight] -anchorLineNos = false -codeFences = false -guessSyntax = false -hl_Lines = "" -lineAnchors = "" -lineNoStart = 1 -lineNos = false -lineNumbersInTable = true -noHl = false -noClasses = true -style = "monokai" -tabWidth = 4 diff --git a/themes/hugo-theme-monochrome/exampleSite/config/_default/menus/menus.en.toml b/themes/hugo-theme-monochrome/exampleSite/config/_default/menus/menus.en.toml deleted file mode 100644 index 63be17f..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/config/_default/menus/menus.en.toml +++ /dev/null @@ -1,150 +0,0 @@ -[[navbar]] - identifier = "setup" - name = "Setup" - url = "/setup/" - weight = 1 -[[navbar]] - identifier = "changelog" - name = "Changelog" - url = "/changelog/" - weight = 2 -[[navbar]] - identifier = "configuration" - name = "Configuration" - url = "/configuration/" - weight = 3 - [[navbar]] - identifier = "site_settings" - name = "Site Settings" - url = "/configuration/site" - parent = "configuration" - weight = 1 - [[navbar]] - identifier = "theme_settings" - name = "Theme Settings" - url = "/configuration/theme" - parent = "configuration" - weight = 2 - [[navbar]] - identifier = "page_settings" - name = "Page Settings" - url = "/configuration/page" - parent = "configuration" - weight = 3 -[[navbar]] - identifier = "layouts" - name = "Layouts" - url = "/layouts/" - weight = 4 - [[navbar]] - identifier = "balloon" - name = "Balloon" - url = "/layouts/balloon" - parent = "layouts" - [[navbar]] - identifier = "balloon_demo" - name = "Demo" - url = "/layouts/balloon/demo" - parent = "balloon" - weight = 1 - [[navbar]] - identifier = "balloon_docs" - name = "Document" - url = "/layouts/balloon/docs" - parent = "balloon" - weight = 2 - [[navbar]] - identifier = "bookcase" - name = "Bookcase" - url = "/layouts/bookcase" - parent = "layouts" - [[navbar]] - identifier = "bookcase_demo" - name = "Demo" - url = "/layouts/bookcase/demo" - parent = "bookcase" - weight = 1 - [[navbar]] - identifier = "bookcase_docs" - name = "Document" - url = "/layouts/bookcase/docs" - parent = "bookcase" - weight = 2 - [[navbar]] - identifier = "gallery" - name = "Gallery" - url = "/layouts/gallery" - parent = "layouts" - [[navbar]] - identifier = "gallery_demo" - name = "Demo" - url = "/layouts/gallery/demo" - parent = "gallery" - weight = 1 - [[navbar]] - identifier = "gallery_docs" - name = "Document" - url = "/layouts/gallery/docs" - parent = "gallery" - weight = 2 - [[navbar]] - identifier = "list" - name = "List" - url = "/layouts/list" - parent = "layouts" - [[navbar]] - identifier = "list_demo" - name = "Demo" - url = "/layouts/list/demo" - parent = "list" - weight = 1 - [[navbar]] - identifier = "list_docs" - name = "Document" - url = "/layouts/list/docs" - parent = "list" - weight = 2 - [[navbar]] - identifier = "postcard" - name = "Postcard" - url = "/layouts/postcard" - parent = "layouts" - [[navbar]] - identifier = "postcard_demo" - name = "Demo" - url = "/layouts/postcard/demo" - parent = "postcard" - weight = 1 - [[navbar]] - identifier = "postcard_docs" - name = "Document" - url = "/layouts/postcard/docs" - parent = "postcard" - weight = 2 - [[navbar]] - identifier = "blank" - name = "Blank" - url = "/layouts/blank" - parent = "layouts" - [[navbar]] - identifier = "blank_demo" - name = "Demo" - url = "/layouts/blank/demo" - parent = "blank" - weight = 1 - [[navbar]] - identifier = "blank_docs" - name = "Document" - url = "/layouts/blank/docs" - parent = "blank" - weight = 2 -[[navbar]] - identifier = "shortcodes" - name = "Shortcodes" - url = "/shortcodes/" - weight = 5 -[[navbar]] - identifier = "posts" - name = "Posts" - url = "/posts/" - weight = 6 diff --git a/themes/hugo-theme-monochrome/exampleSite/config/_default/menus/menus.zh-tw.toml b/themes/hugo-theme-monochrome/exampleSite/config/_default/menus/menus.zh-tw.toml deleted file mode 100644 index 72a187a..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/config/_default/menus/menus.zh-tw.toml +++ /dev/null @@ -1,8 +0,0 @@ -[[navbar]] - identifier = "posts" - name = "文章" - url = "/zh-tw/posts/" - weight = 1 - - - diff --git a/themes/hugo-theme-monochrome/exampleSite/config/_default/params.toml b/themes/hugo-theme-monochrome/exampleSite/config/_default/params.toml deleted file mode 100644 index dba12e9..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/config/_default/params.toml +++ /dev/null @@ -1,33 +0,0 @@ -navbar_title = 'Monochrome' -footer = "Copyright © 2021-2023 by kaiiiz" -author = "kaiiiz" -color_scheme = "light" - -enable_zooming_js = true -enable_toc = true -enable_site_search = true -enable_math = false - -# SEO -enable_open_graph = true -enable_twitter_cards = true - -# Collapsible Menu -enable_collapsible_toc = false -enable_collapsible_changelogs = true - -[list_layout] -enable_group_by_year = true -enable_show_date = true -enable_pagination = false - -# syntax highlight settings -[syntax_highlight] -lib = "prism.js" # "builtin" | "prism.js" - - [syntax_highlight.builtin] - enable_code_copy = true - - [syntax_highlight.prism] - enable_code_copy = true - enable_line_no = false diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/_index.md deleted file mode 100644 index 864a5dd..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/_index.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -type: 'balloon' -balloon_img_src: "icons/vase.svg" -balloon_img_src_dark: "icons/vase_dark.svg" -balloon_circle: false -balloon_resources: "/about" -description: "Demo site of hugo-theme-monochrome" -zooming_js: false -keywords: -- hugo -- hugo theme -- hugo theme monochrome -- clean -- responsive -- programmer-friendly ---- - -{{< icon vendor="feather" name="github" link="https://github.com/kaiiiz/hugo-theme-monochrome" >}} - -This is the demo of hugo-theme-monochrome. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/about/acknowledgement.md b/themes/hugo-theme-monochrome/exampleSite/content/en/about/acknowledgement.md deleted file mode 100644 index 833d54c..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/about/acknowledgement.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: 'Acknowledgement' -weight: 1000 -gallery_img_src: 'thanks.jpg' -gallery_img_caption: 'Photo by Alexander Sinn on Unsplash' -gallery_statistic: -- key: '**key1**' - value: '*value1*' -- key: '**key2**' - value: '*value2*' -- key: '**key3**' - value: '*value3*' ---- - -* [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/exampleSite/content/en/about/features.md b/themes/hugo-theme-monochrome/exampleSite/content/en/about/features.md deleted file mode 100644 index f382972..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/about/features.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: 'Features' -weight: 1 -gallery_img_src: 'pottery.jpg' -gallery_img_caption: 'Photo by Mercy on Unsplash' -gallery_statistic: -- key: '**key1**' - value: '*value1*' -- key: '**key2**' - value: '*value2*' -- key: '**key3**' - value: '*value3*' ---- - -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/). diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/about/index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/about/index.md deleted file mode 100644 index ca03031..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/about/index.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -headless: true ---- diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/about/timeline.md b/themes/hugo-theme-monochrome/exampleSite/content/en/about/timeline.md deleted file mode 100644 index 6267096..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/about/timeline.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: 'Timeline' -weight: 2 -gallery_img_src: 'clock.jpg' -gallery_img_caption: 'Photo by Ocean Ng on Unsplash' -gallery_statistic: -- key: '**key1**' - value: '*value1*' -- key: '**key2**' - value: '*value2*' -- key: '**key3**' - value: '*value3*' ---- - -* 2023/07/23 - v2.0.0 release -* 2022/04/02 - v1.0.1 release -* 2022/04/01 - v1.0.0 release -* 2022/02/25 - v0.9.2 release -* 2022/02/25 - v0.9.1 release -* 2022/01/31 - v0.9.0 release -* 2021/07/29 - v0.8.0 release -* 2021/07/08 - v0.7.1 release -* 2021/06/24 - v0.7.0 release -* 2021/04/15 - v0.6.2 release -* 2021/02/17 - v0.6.1 release -* 2021/02/16 - v0.6.0 release -* 2021/02/15 - v0.5.0 release -* 2021/02/12 - v0.4.0 release -* 2021/02/10 - v0.3.0 release -* 2021/02/09 - v0.2.0 release -* 2021/02/08 - v0.1.0 release diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/changelog.md b/themes/hugo-theme-monochrome/exampleSite/content/en/changelog.md deleted file mode 100644 index 04de3f4..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/changelog.md +++ /dev/null @@ -1,222 +0,0 @@ ---- -title: 'Changelog' -toc: false ---- - -# Changelog - -## v2.0.0 (2023/07/23) - -- Fixed - - Fix navbar item padding ([#15](https://github.com/kaiiiz/hugo-theme-monochrome/issues/15)) - - Fix TOC collapse cursor style ([#25](https://github.com/kaiiiz/hugo-theme-monochrome/issues/25), [#36](https://github.com/kaiiiz/hugo-theme-monochrome/pull/36)) - - Fix site search resource retrieval bug ([#29](https://github.com/kaiiiz/hugo-theme-monochrome/issues/29)) - - Fix wrong variable in base.scss ([#44](https://github.com/kaiiiz/hugo-theme-monochrome/pull/44)) - - Fix inappropriate navbar decoration for item that links to home page - - Fix color scheme button FOUC bug - - Fix twitter card text color in dark mode -- Changed - - **BREAKING CHANGE** The minimum hugo version requirement is now `0.112.0` - - **BREAKING CHANGE** Support all feather icons, `vendor="feather"` is required to migrate from old shortcode ([#19](https://github.com/kaiiiz/hugo-theme-monochrome/issues/19)) - - Images in an aritcle are centered by default ([#35](https://github.com/kaiiiz/hugo-theme-monochrome/issues/35)) - - Term's layout now respects the `enable_group_by_year`, `enable_show_date`, `enable_pagination` parameters - - Upgrade dependencies - - Prism: v1.27.0 -> v1.29.0 - - Fuse.js: v6.5.3 -> v6.6.2 -- New - - Support custom CSS ([#23](https://github.com/kaiiiz/hugo-theme-monochrome/issues/23), [#33](https://github.com/kaiiiz/hugo-theme-monochrome/issues/33)) - - Support GA4 ([#37](https://github.com/kaiiiz/hugo-theme-monochrome/issues/37)) - - Support custom title for bookcase item ([#32](https://github.com/kaiiiz/hugo-theme-monochrome/issues/32)) - - Support hiding bookcase items ([#27](https://github.com/kaiiiz/hugo-theme-monochrome/issues/27)) - - Add default color scheme setting ([#40](https://github.com/kaiiiz/hugo-theme-monochrome/issues/40)) - - Add `bookcase` shortcode ([#34](https://github.com/kaiiiz/hugo-theme-monochrome/issues/34)) - - Add `recent-posts` shortcode - - Add an RSS button next to the title in the term's layout - ---- - -## v1.0.1 (2022/04/02) - -### Fixed - -* Fix `img` style issue, it should be `max-width` instead of `width` ([#10](https://github.com/kaiiiz/hugo-theme-monochrome/issues/10#issuecomment-1086111789)) - ---- - -## v1.0.0 - First Major Release (2022/04/01) - -### Added - -* Layout - * New Layout: Postcard Layout, Blank Layout - * Support pagination for Postcard Layout and List Layout - * Enhance list layout date format. If current list layout is grouped by year, hide list item's year. - * Redesign default home page layout using Postcard Layout - * Add sidebar for better navbar responsiveness on small screen -* New Shortcode - * `emgithub`: directly embed github source code like gist with Prism.js syntax highlighting -* External Library - * Optimize Prism.js integration - * Add smooth transition to prevent line number jittering while page rendering - * Integrate Prism.js autoloader to prevent huge bundle file - * Optimize Zooming.js integration - * Background color is now dynamically changed based on current theme - * Fuse.js integration - * Support highlight matched text in search menu -* New Theme Parameters - * `list_layout.enable_group_by_year` - * `list_layout.enable_show_date` - * `list_layout.enable_pagination` - * `syntax_highlight.lib` - * `syntax_highlight.builtin.enable_code_copy` - * `syntax_highlight.prism.enable_code_copy` - * `syntax_highlight.prism.enable_line_no` -* New Page Parameters - * `search_hidden`: hide page from search index - * `pagination`: control pagination for List Layout - -### Changed - -* Change RSS content from full post to summary for smaller resource purpose -* Change all icons to feathericons -* Site search engine has been changed from flexsearch to fuse.js for better CJK language supports -* Parameter name has all been changed to snake_case for consistency -* Syntax highlight settings are now grouped by `syntax_highlight` -* `svg-wrapper` shortcode has been changed to `icon` - -### Removed - -* **All** javascript package dependencies are removed, Monochrome is now self-contained without the help of npm and become extremely easy to setup and modify. -* Remove `list_posts` property from list layout, this functionality has been replaced by Blank Layout - ---- - -## v0.9.2 (2022/02/25) - -* Fix: reimplement terms-cloud to prevent size overflow (max size: 1.6 rem) - ---- - -## v0.9.1 (2022/02/25) - -* Change: set terms-cloud max font size to 1.4 rem -* Fix: site search url from absLangURL to relLangURL - ---- - -## v0.9.0 (2022/01/31) - -* Improve: search implementation - * hide the mismatch objects instead of removing it while searching - * widen the control range of search result -* Improve: gallery layout's key and value now support markdown syntax -* Improve: Zooming.js configuration - * speed up animations - * setup transparent background -* Change: for consistency, the names of the following parameters are changed: - * page's `collapsibleTOC` => `collapsible_toc` - * page's `collapsibleChangelogs` => `collapsible_changelogs` -* Change: font-size of html is changed from `18px` to `16px` -* Add: `breadcrumbs` shortcode -* Add: list layout properties `group_by_year` and `show_date` -* Fix: terms-cloud typo ([#4](https://github.com/kaiiiz/hugo-theme-monochrome/pull/4)) - ---- - -## v0.8.0 (2021/07/29) - -* Improve: flexsearch multilingual search capability -* Improve: widen the control range of navbar menu items -* Change: flexsearch can now search index pages -* Change: the post content in RSS is changed from summary to full text -* Add: collapsible TOC and Changelogs - ---- - -## v0.7.1 (2021/07/08) - -* Change: adjust the style of changelogs -* Fix: flexsearch search API issue - ---- - -## v0.7.0 (2021/06/24) - -* Bump dependencies version -* Add: `changelogs` property -* Add: support disqus for index page (turn off by default) -* Change: theme name from 'Graytr' to 'Monochrome' -* Change: improve navbar responsiveness -* Fix: widen the control range of navbar menu icon - ---- - -## v0.6.2 (2021/04/15) - -* Fix: google search console authentication failed if ga code not in `` -* Fix: `clipboard-polyfill/text` dependency resolved issue - ---- - -## v0.6.1 (2021/02/17) - -* Fix: codepen shortcode id -* Change baseurl to example.com in exampleSite - ---- - -## v0.6.0 (2021/02/16) - -* Support MathJax -* Add shortcodes: `jsfiddle`, `codepen`, `color-block`, `icon-group`, `terms-cloud` -* Add option: `list_posts` in list layout -* Fix: not register touchend event - ---- - -## v0.5.0 (2021/02/15) - -* Support multilingual mode - * Add i18n -* Support Open Graph, Twitter Card -* Adjust svg-wrapper shortcode - * Add some social icons: `facebook`, `github`, `twitter`, `rss`, `mail` -* Support site search (powered by flexsearch) -* Disable unused features in tailwindcss (speedup building time) -* Reorganize parameters -* Remove default image to figure transformation, using built-in shortcode instead - ---- - -## v0.4.0 (2021/02/12) - -* Support dark mode - * Add `bookcase_cover_src_dark` for bookcase layout - * Add `balloon_img_src_dark` for balloon layout - * Add shortcode: svg-wrapper -* Prism.js integration (v1.23.0) -* Code copy feature for code block - ---- - -## v0.3.0 (2021/02/10) - -* Support nested navbar -* Implement default homepage layout -* Adjust the purpose of bookcase layout -* Remove catalog layout - ---- - -## v0.2.0 (2021/02/09) - -* A better responsive navbar -* Implement default taxonomy and term layout -* Adjust article styles - ---- - -## v0.1.0 (2021/02/08) - -Initial release. - diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/_index.md deleted file mode 100644 index 4b4b99b..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/_index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: 'Configuration' -type: 'bookcase' ---- - -These documents show some customizable values that are used in this theme. By adjusting these values, you can easily change the behavior of your website without touching the source code. - -You can refer to the example config in [github](https://github.com/kaiiiz/hugo-theme-monochrome/tree/main/exampleSite/config). diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/page.md b/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/page.md deleted file mode 100644 index 5cb2ae5..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/page.md +++ /dev/null @@ -1,217 +0,0 @@ ---- -title: 'Page Settings' -weight: 3 -bookcase_cover_src: 'cover/catalogue.png' -bookcase_cover_src_dark: 'cover/catalogue_dark.png' -changelogs: ---- - -# Page Settings - -These values are inside your page's front-matter. - -## Layout - -Monochrome support different types of layout. You can change the layout of section or regular page according to your needs. Checkout [Layout](/hugo-theme-monochrome/layouts) for more details. - -## Navbar title - -HTML is available. - -```yaml ---- -navbar_title: "Monochrome" ---- -``` - -> default: theme's [`navbar_title`](/hugo-theme-monochrome/configuration/theme#navbar-title) - -## Footer - -HTML is available. - -```yaml ---- -footer: "Copyright © 2021 by kaiiiz" ---- -``` - -> default: theme's [`footer`](/hugo-theme-monochrome/configuration/theme/#footer) - -## Site Search - -Hide the page from the search result. - -```yaml -search_hidden: true -``` - -> default: false - -## Table of Contents - -```yaml ---- -toc: false ---- -``` - -> default: theme's [`enable_toc`](/hugo-theme-monochrome/configuration/theme/#table-of-contents) - -### Collapsible Table of Contents - -```yaml ---- -collapsible_toc: false ---- -``` - -> default: theme's [`enable_collapsible_toc`](/hugo-theme-monochrome/configuration/theme/#collapsible-menu) - -## Changelogs - -```yaml ---- -changelogs: -- tag: '20210623' - description: - - 'changelog example 1' - - 'changelog example 2' -- tag: '20210624' - description: - - 'changelog example 3' - - 'changelog example 4' ---- -``` - -tag and description both support markdown syntax. - -> default: None - -### Collapsible Changelogs - -```yaml ---- -collapsible_changelogs: false ---- -``` - -> default: theme's [`enable_collapsible_changelogs`](/hugo-theme-monochrome/configuration/theme/#collapsible-menu) - -## External library - -### MathJax - -```yaml ---- -math: false ---- -``` - -> default: theme's [`enable_math`](/hugo-theme-monochrome/configuration/theme/#mathjax) - -### Zooming.js - -```yaml ---- -zooming_js: false ---- -``` - -> default: theme's [`enable_zooming_js`](/hugo-theme-monochrome/configuration/theme/#zooming_js) - -### Disqus - -```yaml ---- -disqus: false ---- -``` - -> default for post page: site's [`disqusShortname`](/hugo-theme-monochrome/zh-tw/configuration/site/#disqus) -> -> default for other pages: false - -### Google Analytics - -```yaml ---- -ga: false ---- -``` - -> default: site's [`googleAnalytics`](/hugo-theme-monochrome/configuration/site/#google-analytics) - -## Syntax Highlighting - -### Chroma - -```yaml ---- -code_copy: false ---- -``` - -> default: theme's [`enable_code_copy`](/hugo-theme-monochrome/configuration/theme/#using-chroma-hugo-built-in) - -## SEO - -### Author - -```yaml ---- -author: "kaiiiz" ---- -``` - -> default: theme's [`author`](/hugo-theme-monochrome/configuration/theme/#author) - -### Description - -```yaml ---- -description: "Configuration of hugo-theme-monochrome" ---- -``` - -> default: not generate description `meta` tag - -### Keywords - -In page front-matter - -```yaml ---- -keywords: -- hugo -- hugo theme -- hugo theme monochrome ---- -``` - -> default: not generate keywords `meta` tag - - -### Open Graph - -A flag to render open graph internal template. See [Open Graph](https://gohugo.io/templates/internal#open-graph) for additional settings. - -```yaml ---- -open_graph: false ---- -``` - -> default: theme's [`enable_open_graph`](/hugo-theme-monochrome/configuration/theme/#open-graph) - -### Twitter Cards - -A flag to render open twitter cards template. See [Twitter Cards](https://gohugo.io/templates/internal#twitter-cards) for additional settings. - -```yaml ---- -twitter_cards: false ---- -``` - -> default: theme's [`enable_twitter_cards`](/hugo-theme-monochrome/configuration/theme/#twitter-cards) diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/site.md b/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/site.md deleted file mode 100644 index aa63f73..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/site.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: 'Site Settings' -weight: 1 -bookcase_cover_src: 'cover/catalogue.png' -bookcase_cover_src_dark: 'cover/catalogue_dark.png' ---- - -# Site Configuration - -These settings are important for building a website using hugo. See [All Configuration Settings](https://gohugo.io/getting-started/configuration/#all-configuration-settings) for more details. - -## Site title - -Site title. This value will become the content of `` tag in html. - -```toml -title = "Monochrome" -``` - -## Theme - -Set this value to the corresponding folder name of your theme. (located by default in `/themes/THEMENAME/`) - -```toml -theme = "hugo-theme-monochrome" -``` - -## Base URL - -Hostname (and path) to the root. - -```toml -baseURL = "https://kaiiiz.github.io/hugo-theme-monochrome" -``` - -## favicon - -Add `favicon.ico` to your site's static folder. - -## External library - -### Disqus - -```toml -disqusShortname = "xxx" -``` - -Other settings checkout [Disqus - Internal Templates](https://gohugo.io/templates/internal/#disqus) for more details. - -### Google Analytics - -```toml -googleAnalytics = "xxx" -``` diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/theme.md b/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/theme.md deleted file mode 100644 index 5612903..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/configuration/theme.md +++ /dev/null @@ -1,239 +0,0 @@ ---- -title: 'Theme Settings' -weight: 2 -bookcase_cover_src: 'cover/catalogue.png' -bookcase_cover_src_dark: 'cover/catalogue_dark.png' -changelogs: ---- - -# Theme Configuration - -These values are inside your toml config file. - -## Navbar title - -HTML is available. - -```toml -[params] -navbar_title = "Monochrome" # default: site's `title` -``` - -## Footer - -HTML is available. - -```toml -[params] -footer = "Copyright © 2021 by kaiiiz" # default: None -``` - -## Table of Contents - -TOC global settings. - -```toml -[params] -enable_toc = true # default: true -``` - -## Collapsible Menu - -Collapsible global settings. - -```toml -[params] -enable_collapsible_toc = false # default: false -enable_collapsible_changelogs = false # default: false -``` -## Navbar menu - -Monochrome uses built-in menu system supported by hugo itself. (Checkout [document](https://gohugo.io/content-management/menus) for more deatil.) By default, the menu called `navbar` is used to decide which item need to be rendered on the navbar. - -So you can simply add the following code to your page front-matter, and the menu info will be handled by hugo out of the box. ([simple method mentioned in document](https://gohugo.io/content-management/menus#simple)) - -```yaml ---- -menu: navbar ---- -``` - -Also, weighted value is supported out of the box, you can explicit assign the weight of the navbar entry, hugo will first sort the menu using weight, if there has two entries shared the same weight, the [default order](https://gohugo.io/templates/lists/#order-content) will be applied. - -```yaml ---- -menu: - navbar: - weight: -99 ---- -``` - -### Navbar settings in config -If you try to put entry that aren't attached to a piece of content, or you want to organize your navbar into a single file, checkout [Add Non-content Entries to a Menu](https://gohugo.io/content-management/menus#add-non-content-entries-to-a-menu) or [Configuration file of demo site](https://github.com/kaiiiz/hugo-theme-monochrome/tree/main/exampleSite/config/_default/menus) and set these values in your toml settings file. - -toml example: - -```toml -[[menu.navbar]] -identifier = "about" -name = "about" -title = "about" -url = "/about/" -weight = 100 - -[[menu.navbar]] -identifier = "series" -name = "series" -url = "/series/" -weight = -100 - -[[menu.navbar]] -identifier = "categories" -name = "categories" -url = "/categories/" -weight = 80 -``` - -yaml example: - -```yaml -menu: - navbar: - - identifier: about - name: about - title: about - url: /about/ - weight: 100 - - identifier: series - name: series - url: /series/ - weight: -100 - - identifier: categories - name: categories - url: /categories/ - weight: 80 -``` - -## List Layout - -```toml -[params] - [params.list_layout] - enable_group_by_year = true # default: true - enable_show_date = true # default: true - enable_pagination = false # default: false -``` - -## External Library - -### MathJax - -Use `$` to create inline result, `$$` to create block result. - -```toml -[params] -enable_math = true # default: false -``` - -### Zooming.js - -Zooming.js global setting. - -```toml -[params] -enable_zooming_js = false # default: true -``` - -### Site Search - -Add the following settings to config.toml: - -```toml -[outputs] -home = ["HTML", "RSS", "JSON"] -``` - -Enable site search - -```toml -[params] -enable_site_search = true # default: false -``` - -## Syntax Highlighting - -### Using Chroma (server-side) - -See [Syntax Highlighting](https://gohugo.io/content-management/syntax-highlighting) for more details. - -```toml -[param] - [param.syntax_highlight] - lib = "builtin" # "builtin" | "prism.js" (default: "builtin") - [param.syntax_highlight.builtin] - enable_code_copy = true # default: true -``` - -### Using Prism.js (client-side) - -Disable markup highlight feature - -```toml -[markup.highlight] -codeFences = false -lineNos = false -``` - -Enable Prism.js - -```toml -[param] - [params.syntax_highlight] - lib = "prism.js" # "builtin" | "prism.js" (default: "builtin") - [params.syntax_highlight.prism] - enable_code_copy = true # default: true - enable_line_no = true # default: true -``` - -## SEO - -### Author - -```toml -[params] -author = "kaiiiz" # default: no author `meta` tag -``` - -### Open Graph - -A flag to render open graph internal template. See [Open Graph](https://gohugo.io/templates/internal#open-graph) for additional settings. - -```toml -[params] -enable_open_graph = false # default: true -``` - -### Twitter Cards - -A flag to render open twitter cards template. See [Twitter Cards](https://gohugo.io/templates/internal#twitter-cards) for additional settings. - -```toml -[params] -enable_twitter_cards = false # default: true -``` - -## Custom CSS - -You can override the default styles by creating a new `/static/user.css` file. - -## Default Color Scheme - -You can set the default color scheme for your website - -```toml -[params] -color_scheme = "dark" # "light" or "dark" -``` - -> default: "light" - diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/_index.md deleted file mode 100644 index d8d7be4..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/_index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: 'Layouts' -type: 'bookcase' ---- - -Monochrome has multiple layouts built in. You can change the layout of section or regular page according to your needs. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/_index.md deleted file mode 100644 index 5431c71..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: 'Balloon Layout' -bookcase_cover_src: 'cover/balloon.png' -bookcase_cover_src_dark: 'cover/balloon_dark.png' -type: "bookcase" ---- - -Balloon layout is useful for demonstrating information step-by-step. - -> This layout can be used on both section page (`_index.md`) and regular post (`xxx.md`). diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/demo/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/demo/_index.md deleted file mode 100644 index 676f75e..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/demo/_index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: 'Balloon Layout Demo' -bookcase_cover_src: 'cover/balloon.png' -bookcase_cover_src_dark: 'cover/balloon_dark.png' -type: 'balloon' -balloon_img_src: "icons/balloon.svg" -balloon_img_src_dark: "icons/balloon_dark.svg" -balloon_circle: false -balloon_resources: "/about" -weight: 10 ---- - -Balloon layout is useful for demonstrating information step-by-step. - -[Go to single page demo](/hugo-theme-monochrome/layouts/demo/balloon/single) diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/demo/single.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/demo/single.md deleted file mode 100644 index b9ad0b7..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/demo/single.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: 'balloon layout single demo' -type: 'balloon' -balloon_img_src: "icons/balloon.svg" -balloon_img_src_dark: "icons/balloon_dark.svg" -balloon_circle: false -balloon_resources: "/about" ---- - -Balloon layout can also be used in regular page. - -[Go to list demo](/hugo-theme-monochrome/layouts/demo/balloon) diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/docs.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/docs.md deleted file mode 100644 index f7b6d0c..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/balloon/docs.md +++ /dev/null @@ -1,130 +0,0 @@ ---- -title: 'Balloon Layout Document' -bookcase_cover_src: 'cover/balloon.png' -bookcase_cover_src_dark: 'cover/balloon_dark.png' -date: 2022-03-29 ---- - -# Balloon Layout Document - -Balloon is useful for demonstrating information step-by-step. - -> This layout can be used on both section page (`_index.md`) and regular post (`xxx.md`). - -## Configuration - -```yaml ---- -type: 'balloon' ---- -``` - -> Specify `type` in front-matter will change the template lookup order. - -### balloon_resources - -Content resources. URL can be an absolute path (with `/` prefix, relative to base URL), or relative path (without `/`, relative to current path) - -> Hugo will handle multilingual scenario out of the box - -For example: - -``` -https://kaiiiz.github.io/hugo-theme-monochrome/about - \____________________________________/\____/ - base URL balloon_resources -``` - -```yaml ---- -balloon_resources: "/about" ---- -``` - -> default: error will occur in page - -### balloon_img_src - -Balloon head image URL. URL must be relative to the base URL. (without `/` prefix) - -For example: - -``` -https://kaiiiz.github.io/hugo-theme-monochrome/thanks.jpg - \_____________________________________/\________/ - base URL balloon_img_src -``` - -```yaml ---- -balloon_img_src: 'thanks.jpg' ---- -``` - -> default: fallback to balloon_img_src_dark, if failed, image become dot - -### balloon_img_src_dark - -Balloon head image URL for dark mode. URL must be relative to the base URL. (without `/` prefix) - -For example: - -``` -https://kaiiiz.github.io/hugo-theme-monochrome/thanks.jpg - \_____________________________________/\________/ - base URL balloon_img_src -``` - -```yaml ---- -balloon_img_src_dark: 'thanks.jpg' ---- -``` - -> default: fallback to balloon_img_src, if failed, image become dot - -### balloon_circle - -balloon head shape can be square or circle. - -```yaml ---- -balloon_circle: true ---- -``` - -> default: true - -## Resouces Configuration - -These settings are under the resource specified in `balloon_resources`. - -### title - -Title of content card. - -```yaml ---- -title: 'Story before hugo' ---- -``` - -> default: no title - -### weight - -```yaml ---- -weight: 3 ---- -``` - -> default: [default order](https://gohugo.io/templates/lists/#order-content) - -## Headless Bundle - -Hugo supports an amazing feature called **Headless Bundle**, which elegantly resolved the resouces publish issue. - -For example, if you don't want to publish the resouces of the balloon layout, you can create a leaf bundle and specified `headless = true` in `index.md`'s front-matter. These resources will only be used during rendering process. In other word, no file will be generated to `/public` folder. - -Checkout [Headless Bundle](https://gohugo.io/content-management/page-bundles/#headless-bundle) for more details. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/_index.md deleted file mode 100644 index 56c774e..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: 'Blank Layout' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' -type: "bookcase" ---- - -Sometimes, it's useful to fully control your section page, so I create a layout with only render the `_index.md` content and called this Blank Layout. - -> This layout can only be used on section page (`_index.md`). diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/_index.md deleted file mode 100644 index 6018401..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/_index.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: 'Blank Layout Demo' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' -type: 'blank' -weight: 40 ---- - -``` -. -├── _index.md <- you're here! -├── post1.md -├── post2.md -└── post3.md -``` - -Fully customized section page. - -* [post1](./post1) -* [post2](./post2) -* [post3](./post3) diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/post1.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/post1.md deleted file mode 100644 index d13d881..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/post1.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post1' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/post2.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/post2.md deleted file mode 100644 index aa56a9b..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/post2.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post2' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/post3.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/post3.md deleted file mode 100644 index 062616f..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/demo/post3.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post3' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/docs.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/docs.md deleted file mode 100644 index ba9b875..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/blank/docs.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: 'Blank Layout Document' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' -weight: 40 -changelogs: ---- - -Blank layout render only the content of `_index.md`, it's useful for fully customizing your list layout. - -> This layout can only be used on section page (`_index.md`). - -## Configuration - -```yaml ---- -type: 'blank' ---- -``` - -> Specify `type` in front-matter will change the template lookup order. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/_index.md deleted file mode 100644 index 24a74e6..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: 'Bookcase Layout' -bookcase_cover_src: 'cover/bookcase.png' -bookcase_cover_src_dark: 'cover/bookcase_dark.png' -type: "bookcase" ---- - -Bookcase layout is useful for creating another viewpoint of list contents. - -> This layout can only be used on section page (`_index.md`). diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/_index.md deleted file mode 100644 index d49f32e..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/_index.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: 'Bookcase Layout Demo' -type: 'bookcase' -bookcase_cover_src: 'cover/bookcase.png' -bookcase_cover_src_dark: 'cover/bookcase_dark.png' -weight: 20 ---- - -Bookcase layout is useful for creating another viewpoint of list contents. - -``` -. -├── balloon -│ └── _index.md -├── regular-page.md -├── _index.md <- you are here -└── normal - └── _index.md -``` diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/balloon/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/balloon/_index.md deleted file mode 100644 index 18d0a03..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/balloon/_index.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: 'balloon' -bookcase_cover_src: 'cover/balloon.png' -bookcase_cover_src_dark: 'cover/balloon_dark.png' -type: 'balloon' -balloon_img_src: "icons/balloon.svg" -balloon_img_src_dark: "icons/balloon_dark.svg" -balloon_circle: false -balloon_resources: "/about" -weight: 1 ---- - -balloon layout in bookcase. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/_index.md deleted file mode 100644 index 8e5635e..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/_index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'List' -bookcase_cover_src: 'cover/list.png' -bookcase_cover_src_dark: 'cover/list_dark.png' ---- - -List section in bookcase layout. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/post1.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/post1.md deleted file mode 100644 index d13d881..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/post1.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post1' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/post2.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/post2.md deleted file mode 100644 index aa56a9b..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/post2.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post2' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/post3.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/post3.md deleted file mode 100644 index 062616f..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/list/post3.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post3' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/regular-page.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/regular-page.md deleted file mode 100644 index 15899d3..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/demo/regular-page.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'Regular Page' -bookcase_cover_src: 'cover/catalogue.png' -bookcase_cover_src_dark: 'cover/catalogue_dark.png' ---- - -This is a regular page in bookcase. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/docs.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/docs.md deleted file mode 100644 index 361c2ef..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/bookcase/docs.md +++ /dev/null @@ -1,122 +0,0 @@ ---- -title: 'Bookcase Layout Document' -bookcase_cover_src: 'cover/bookcase.png' -bookcase_cover_src_dark: 'cover/bookcase_dark.png' -weight: 20 ---- - -Bookcase layout is useful for creating another viewpoint of list contents. - -> This layout can only be used on section page (`_index.md`). - -## Configuration - -```yaml ---- -type: 'bookcase' ---- -``` - -> Specify `type` in front-matter will change the template lookup order. - -### bookcase_list_sections - -List subsections. - -```yaml ---- -bookcase_list_sections: true ---- -``` - -> default: true - -### bookcase_list_pages - -List pages. - -```yaml ---- -bookcase_list_pages: true ---- -``` - -> default: true - -## Resouces Configuration - -These parameters are located in bookcase item's resource. For example: - -``` -. -├── books.md <- config is located in here! -├── category -│ └── _index.md <- and here! -└── _index.md <- your bookcase layout -``` - -### bookcase_cover_src - -The cover image URL relative to the base URL. (with or without `/` prefix) - -> Image ratio is 2:3 (width:height) - -For example: - -``` -https://kaiiiz.github.io/hugo-theme-monochrome/thanks.jpg - \_____________________________________/\________/ - base URL bookcase_cover_src -``` - -```yaml ---- -bookcase_cover_src: 'thanks.jpg' ---- -``` - -> default: fallback to bookcase_cover_src_dark, if failed, image become empty - -### bookcase_cover_src_dark - -The dark mode cover image URL relative to the base URL. (with or without `/` prefix) - -> Image ratio is 2:3 (width:height) - -For example: - -``` -https://kaiiiz.github.io/hugo-theme-monochrome/thanks.jpg - \_____________________________________/\________/ - base URL bookcase_cover_src -``` - -```yaml ---- -bookcase_cover_src_dark: 'thanks.jpg' ---- -``` - -> default: fallback to bookcase_cover_src, if failed, image become empty - -### bookcase_cover_title - -The title used in the bookcase cover - -> default: fallback to the title of the page - -### bookcase_hidden - -Hide this item from bookcase - -> default: false - -### weight - -```yaml ---- -weight: 3 ---- -``` - -> default: [default order](https://gohugo.io/templates/lists/#order-content) diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/gallery/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/gallery/_index.md deleted file mode 100644 index 9895e6e..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/gallery/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: 'Gallery Layout' -bookcase_cover_src: 'cover/picture.png' -bookcase_cover_src_dark: 'cover/picture_dark.png' -type: "bookcase" ---- - -Gallery layout is useful for demonstrating pictures and its statistical data. - -> This layout can be used on both section page (`_index.md`) and regular post (`xxx.md`). diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/gallery/demo/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/gallery/demo/_index.md deleted file mode 100644 index 44e2d0d..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/gallery/demo/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: 'Gallery Layout Demo' -type: 'gallery' -gallery_resources: "about" -bookcase_cover_src: 'cover/picture.png' -bookcase_cover_src_dark: 'cover/picture_dark.png' -weight: 30 ---- - -Gallery layout is useful for demonstrating pictures and its statistical data. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/gallery/docs.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/gallery/docs.md deleted file mode 100644 index 3b62316..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/gallery/docs.md +++ /dev/null @@ -1,152 +0,0 @@ ---- -title: 'Gallery Layout Document' -bookcase_cover_src: 'cover/picture.png' -bookcase_cover_src_dark: 'cover/picture_dark.png' -weight: 30 ---- - -# Gallery Layout Document - -Gallery layout is useful for demonstrating pictures and its statistical data. - -> This layout can be used on both section page and regular post. - -## Configuration - -```yaml ---- -type: 'gallery' ---- -``` - -> Specify `type` in front-matter will change the template lookup order. - -### gallery_resources - -Content resources. URL can be an absolute path (with `/` prefix, relative to base URL), or relative path (without `/`, relative to current path) - -> Hugo will handle multilingual scenario out of the box - -For example: - -``` -https://kaiiiz.github.io/hugo-theme-monochrome/about - \____________________________________/\____/ - base URL gallery_resources -``` - -```yaml ---- -gallery_resources: '/about' ---- -``` - -> default: error will occur in page - - -## Resouces Configuration - -These settings are under the resource specified in `gallery_resources`. - -### title - -Title of image. - -```yaml ---- -title: 'Gallery' ---- -``` - -> default: no title - -### gallery_title_link - -Link of the title. - -```yaml ---- -gallery_title_link: 'https://github.com/kaiiiz' ---- -``` - -> default: no title link - -### gallery_img_src - -Image URL relative to the base URL. (with or without `/` prefix) - -For example: - -``` -https://kaiiiz.github.io/hugo-theme-monochrome/thanks.jpg - \_____________________________________/\________/ - base URL gallery_img_src -``` - -```yaml ---- -gallery_img_src: 'thanks.jpg' ---- -``` - -> default: no image - -### gallery_img_link - -Link of the image. - -```yaml ---- -gallery_img_link: 'https://github.com/kaiiiz' ---- -``` - -> default: no image link - -### gallery_img_caption - -Caption of the image. HTML is available. - -```yaml ---- -gallery_img_caption: '<span>Photo by <a href="https://unsplash.com/@swimstaralex?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Alexander Sinn</a> on <a href="https://unsplash.com/s/photos/thanks?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a></span>' ---- -``` - -> default: no figure caption under image - -### gallery_statistic - -Statistic of the image. The format is: - -```yaml ---- -- key: key1 - value: value1 -- key: key2 - value: value2 ---- -``` - -key and value both support markdown syntax. - -> default: no figure caption under image - -### weight - -```yaml ---- -weight: 3 ---- -``` - -> default: [default order](https://gohugo.io/templates/lists/#order-content) - -## Headless Bundle - -Hugo supports an amazing feature called **Headless Bundle**, which elegantly resolved the resouces publish issue. - -For example, if you don't want to publish the resouces of the gallery layout, you can create a leaf bundle and specified `headless = true` in `index.md`'s front-matter. These resources will only be used during rendering process. In other word, no file will be generated to `/public` folder. - -Checkout [Headless Bundle](https://gohugo.io/content-management/page-bundles/#headless-bundle) for more details. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/_index.md deleted file mode 100644 index 2b477d7..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/_index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: 'List Layout' -bookcase_cover_src: 'cover/list.png' -bookcase_cover_src_dark: 'cover/list_dark.png' -type: "bookcase" ---- - -List layout is the built-in section layout. Monochrome add options to adjust its behavior. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/_index.md deleted file mode 100644 index ff0cd84..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/_index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: 'List Layout Demo' -bookcase_cover_src: 'cover/list.png' -bookcase_cover_src_dark: 'cover/list_dark.png' -weight: 40 ---- - -``` -. -├── _index.md <- you're here! -├── post1.md -├── post2.md -└── post3.md -``` diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/post1.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/post1.md deleted file mode 100644 index d13d881..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/post1.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post1' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/post2.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/post2.md deleted file mode 100644 index aa56a9b..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/post2.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post2' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/post3.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/post3.md deleted file mode 100644 index 062616f..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/demo/post3.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post3' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/docs.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/docs.md deleted file mode 100644 index a3057f5..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/list/docs.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: 'List Layout Document' -bookcase_cover_src: 'cover/list.png' -bookcase_cover_src_dark: 'cover/list_dark.png' -weight: 40 -changelogs: ---- - -List layout is the built-in section layout. Monochrome add options to adjust its behavior. - -## Configuration - -### Group by year - -An option to control group setting. - -```yaml -group_by_year: false -``` - -> default: theme's [`list_layout.enable_group_by_year`](/hugo-theme-monochrome/configuration/theme/#group-by-year) - -### Show date - -Show / Hide date right after the post entry. - -```yaml -show_date: false -``` - -> default: theme's [`list_layout.enable_show_date`](/hugo-theme-monochrome/configuration/theme/#show-date) - -### Pagination - -```yaml -pagination: false -``` - -> default: theme's [`list_layout.enable_pagination`](/hugo-theme-monochrome/configuration/theme/#pagination) - diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/_index.md deleted file mode 100644 index 1e5ad4c..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: 'Postcard Layout' -bookcase_cover_src: 'cover/catalogue.png' -bookcase_cover_src_dark: 'cover/catalogue_dark.png' -type: "bookcase" ---- - -Postcard layout shows summary of regular posts, it’s useful for creating home page. Postcard layout paginates page according to your `paginate` config setting. - -> This layout can only be used on section page. (`_index.md`) diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/_index.md deleted file mode 100644 index 2bb6397..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/_index.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: 'Postcard Layout Demo' -bookcase_cover_src: 'cover/catalogue.png' -bookcase_cover_src_dark: 'cover/catalogue_dark.png' -type: 'postcard' -weight: 40 ---- - -``` -. -├── _index.md <- you're here! -├── post1.md -├── post2.md -├── post3.md -├── post4.md -├── post5.md -└── post6.md -``` diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post1.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post1.md deleted file mode 100644 index d13d881..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post1.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post1' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post2.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post2.md deleted file mode 100644 index aa56a9b..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post2.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post2' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post3.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post3.md deleted file mode 100644 index 062616f..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post3.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post3' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post4.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post4.md deleted file mode 100644 index 0ce5d7b..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post4.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post4' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post5.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post5.md deleted file mode 100644 index d537fd6..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post5.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post5' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post6.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post6.md deleted file mode 100644 index 3036e79..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/demo/post6.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'post6' -date: 2021-02-06 -search_hidden: true ---- - -Hello world! diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/docs.md b/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/docs.md deleted file mode 100644 index 76310ef..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/layouts/postcard/docs.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: 'Postcard Layout Document' -bookcase_cover_src: 'cover/catalogue.png' -bookcase_cover_src_dark: 'cover/catalogue_dark.png' -weight: 40 -changelogs: ---- - -Postcard layout show summary of regular posts, it's useful for creating home page. - -> This layout can only be used on list layout. - -## Configuration - -```yaml ---- -type: 'postcard' ---- -``` - -> Specify `type` in front-matter will change the template lookup order. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/posts/_index.md deleted file mode 100644 index 72b3991..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/_index.md +++ /dev/null @@ -1,9 +0,0 @@ -+++ -aliases = ["posts", "articles", "blog", "showcase", "docs"] -title = "Posts" -author = "Hugo Authors" -tags = ["index"] -type = "postcard" -+++ - -Some posts from [hugoBasicExample](https://github.com/gohugoio/hugoBasicExample). diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/emoji-support.md b/themes/hugo-theme-monochrome/exampleSite/content/en/posts/emoji-support.md deleted file mode 100644 index 9fd01e9..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/emoji-support.md +++ /dev/null @@ -1,45 +0,0 @@ -+++ -author = "Hugo Authors" -title = "Emoji Support" -date = "2019-03-05" -description = "Guide to emoji usage in Hugo" -tags = [ - "emoji", -] -+++ - -Emoji can be enabled in a Hugo project in a number of ways. -<!--more--> -The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). - -To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g. - -<p><span class="nowrap"><span class="emojify">🙈</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙉</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙊</span> <code>:speak_no_evil:</code></span></p> - -The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. - -*** - -**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g. - -{{< highlight html >}} -.emoji { - font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; -} -{{< /highlight >}} - -{{< css.inline >}} -<style> -.emojify { - font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; - font-size: 2rem; - vertical-align: middle; -} -@media screen and (max-width:650px) { - .nowrap { - display: block; - margin: 25px 0; - } -} -</style> -{{< /css.inline >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/markdown-syntax.md b/themes/hugo-theme-monochrome/exampleSite/content/en/posts/markdown-syntax.md deleted file mode 100644 index 4f404c5..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/posts/markdown-syntax.md +++ /dev/null @@ -1,159 +0,0 @@ -+++ -author = "Hugo Authors" -title = "Markdown Syntax Guide" -date = "2019-03-11" -description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements." -tags = [ - "markdown", - "css", - "html", -] -categories = [ - "themes", - "syntax", -] -series = ["Themes Guide"] -aliases = ["migrate-from-jekyl"] -+++ - -This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. -<!--more--> - -## Headings - -The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest. - -# H1 -## H2 -### H3 -#### H4 -##### H5 -###### H6 - -## Paragraph - -Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. - -Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. - -## Blockquotes - -The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. - -#### Blockquote without attribution - -> Tiam, ad mint andaepu dandae nostion secatur sequo quae. -> **Note** that you can use *Markdown syntax* within a blockquote. - -#### Blockquote with attribution - -> Don't communicate by sharing memory, share memory by communicating.<br> -> — <cite>Rob Pike[^1]</cite> - -[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. - -## Tables - -Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box. - - Name | Age ---------|------ - Bob | 27 - Alice | 23 - -#### Inline Markdown within tables - -| Italics | Bold | Code | -| -------- | -------- | ------ | -| *italics* | **bold** | `code` | - -## Code Blocks - -``` -<head> - <meta charset="utf-8"> - <title>Example HTML5 Document - - -

Test

- - -``` - -#### Code block with backticks - -```html - - - - - Example HTML5 Document - - -

Test

- - -``` - -#### Code block indented with four spaces - - - - - - Example HTML5 Document - - -

Test

- - - -#### Code block with Hugo's internal highlight shortcode -{{< highlight html >}} - - - - - Example HTML5 Document - - -

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 }} -{{}} - -### 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 -``` - -### Add a Theme - -```bash -cd -git init -git submodule add https://github.com/kaiiiz/hugo-theme-monochrome.git themes/hugo-theme-monochrome -``` - -Then add `theme = "hugo-theme-monochrome"` to your `config.toml` - -### Customize the Theme - -See [Configuration](/hugo-theme-monochrome/configuration/). - -### Start the Hugo server - -```bash -hugo server -``` - -Minify CSS and JS resources. The minifier of JavaScript here is powered by [ESBuild](https://github.com/evanw/esbuild). - -```bash -hugo server --environment production -``` - -### Build static pages - -Generate files to `/public` folder, `--minify` option can minify other resouces (e.g. HTML/XML/JSON...). - -See [Configure Minify](https://gohugo.io/getting-started/configuration/#configure-minify) to adjust the behavior of hugo minifier (powered by [minify](https://github.com/tdewolff/minify)). - -```bash -hugo --environment production --minify -``` - -### Deployment - -Push `/public` folder to your server. - -> For reference, this site is built by using Github Action and Github Pages. The CI script is available [here](https://github.com/kaiiiz/hugo-theme-monochrome/blob/main/.github/workflows/gh-pages.yml). - -#### Deployment on github - -If you want to deploy your own site on github and you would like it to be built using Github Action and Github Pages you can follow [these instructions](https://gohugo.io/hosting-and-deployment/hosting-on-github/#build-hugo-with-github-action) on the HUGO website with the only change being to uncomment the following line in Setup Hugo: - -``` -# extended: true -``` - -This is needed since Monochrome uses SCSS. - -Otherwise the Github Action will fail with the following message: - -``` -Run hugo --minify -Start building sites … -hugo v0.96.0-2fd4a7d3d6845e75f8b8ae3a2a7bd91438967bbb linux/amd64 BuildDate=2022-03-26T09:15:58Z VendorInfo=gohugoio -Error: Error building site: TOCSS: failed to transform "scss/core.scss" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS.: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information -Total in 156 ms -Error: Process completed with exit code 255. -``` - -## Run exampleSite - -```bash -git clone https://github.com/kaiiiz/hugo-theme-monochrome -cd hugo-theme-monochrome/exampleSite -hugo --themesDir=../.. server -``` diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/_index.md deleted file mode 100644 index bb21fc7..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/_index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 'Shortcodes' -group_by_year: false -show_date: false ---- - -See [Shortcodes](https://gohugo.io/content-management/shortcodes/) for more details. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/bookcase.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/bookcase.md deleted file mode 100644 index 9508f11..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/bookcase.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: 'Bookcase' ---- - -# Bookcase - -Render bookcase layout - -## Usage - -``` -{{}} -``` - -`section`: Content resources. Must be a section. Path can be an absolute path (with `/` prefix, relative to base URL), or relative path (without `/`, relative to current path) - -> Hugo will handle multilingual scenario out of the box - -For example: - -``` -https://kaiiiz.github.io/hugo-theme-monochrome/configuration - \____________________________________/\____________/ - base URL section path -``` - - - -## Examples - -```html -{{}} -``` - -{{< bookcase section="/configuration" >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/breadcrumbs.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/breadcrumbs.md deleted file mode 100644 index 2ae2760..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/breadcrumbs.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: 'Breadcrumbs' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' ---- - -# Breadcrumbs - -Render breadcrumbs navigation - -## Usage - -``` -{{}} -``` - -## Examples - -```html -{{}} -``` - -{{< breadcrumbs >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/codepen.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/codepen.md deleted file mode 100644 index 3feb1b0..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/codepen.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: 'CodePen' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' ---- - -# CodePen - -Embeded codepen to page. - -## Usage - -``` -{{}} -``` - -Paramters: - -* `id`: codepen id - -## Examples - -```html -{{}} -``` - -{{< codepen id="Vwmpjba" >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/color-block.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/color-block.md deleted file mode 100644 index d66975f..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/color-block.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: 'Color Block' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' ---- - -# Color Block - -A block with color - -## Usage - -``` -{{}} - -{{}} -``` - -Paramters: - -* `style`: block style - * success - * info - * warning - * error - -## Examples - -```html -{{}} -hello world -{{}} -``` - -{{< color-block >}} -hello world -{{< /color-block >}} - - -```html -{{}} -hello world -{{}} -``` - -{{< color-block style="success" >}} -hello world -{{< /color-block >}} - - -```html -{{}} -hello world -{{}} -``` - -{{< color-block style="info" >}} -hello world -{{< /color-block >}} - -```html -{{}} -hello world -{{}} -``` - -{{< color-block style="warning" >}} -hello world -{{< /color-block >}} - -```html -{{}} -hello world -{{}} -``` - -{{< color-block style="error" >}} -hello world -{{< /color-block >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/emgithub.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/emgithub.md deleted file mode 100644 index b494554..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/emgithub.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: 'Embed github' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' ---- - -# Embed github - -Directly embed github source code like gist with Prism.js syntax highlight. - -## Usage - -``` -{{}} -``` - -Paramters: - -* `target` (required): A valid github file url, for example: - * https://github.com/torvalds/linux/blob/v5.4/README - * https://github.com/torvalds/linux/blob/v5.4/README#L1 - * https://github.com/torvalds/linux/blob/v5.4/README#L1-L7 -* `lang` (optional): Which language should use for syntax highlighting? `text` will be applied by default. -* `hl` (optional): Line highlight settings. For details, please refer [Prism.js Line Highlight Plugin](https://prismjs.com/plugins/line-highlight/) -* `tab_size` (optional): Default setting is 4 characters. - -## Examples - -```html -{{}} -``` - -{{< emgithub target="https://github.com/torvalds/linux/blob/v5.4/README" >}} - -```html -{{}} -``` - -{{< emgithub target="https://github.com/torvalds/linux/blob/v5.4/arch/arm64/kernel/stacktrace.c#L171-L199" lang=c tab_size=8 hl="171-172,192" >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/icon-group.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/icon-group.md deleted file mode 100644 index 81ddda1..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/icon-group.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: 'Icon Group' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' ---- - -# Icon Group - -Wrap icons with grid layout - -## Usage - -``` -{{}} - -{{}} -``` - -## Examples - -```html -{{}} -{{}} -{{}} -{{}} -{{}} -``` - -{{< icon-group >}} -{{< icon vendor="feather" name="github" >}} -{{< icon vendor="feather" name="rss" >}} -{{< icon vendor="feather" name="twitter" >}} -{{< /icon-group >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/icon.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/icon.md deleted file mode 100644 index 39674ae..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/icon.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: "Icon" -bookcase_cover_src: "cover/coding.png" -bookcase_cover_src_dark: "cover/coding_dark.png" ---- - -# Icon - -Monochrome built-in icons. - -## Usage - -``` -{{}} -``` - -Paramters: - -- `vendor`: Icon vendor (Supported value: `feather`) -- `link`: Render link for icon -- `name`: Icon name - -## Available Icons - -Icons from [Feather icons](https://feathericons.com/) - -| name | svg | -| -------- | ------------------------------------ | -| globe | {{< icon vendor="feather" name="globe" >}} | -| moon | {{< icon vendor="feather" name="moon" >}} | -| sun | {{< icon vendor="feather" name="sun" >}} | -| github | {{< icon vendor="feather" name="github" >}} | -| facebook | {{< icon vendor="feather" name="facebook" >}} | -| rss | {{< icon vendor="feather" name="rss" >}} | -| twitter | {{< icon vendor="feather" name="twitter" >}} | -| mail | {{< icon vendor="feather" name="mail" >}} | - -## Examples - -```html -{{}} -``` - -{{< icon vendor="feather" name="github" link="https://github.com/kaiiiz/hugo-theme-monochrome" >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/jsfiddle.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/jsfiddle.md deleted file mode 100644 index 44a568e..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/jsfiddle.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: 'JSFiddle' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' ---- - -# JSFiddle - -Embeded jsfiddle to page. - -## Usage - -``` -{{}} -``` - -Paramters: - -* `id`: jsfiddle id - -## Examples - -```html -{{}} -``` - -{{< jsfiddle id="5byh90rz" >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/recent-posts.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/recent-posts.md deleted file mode 100644 index 0981899..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/recent-posts.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: 'Recent Posts' ---- - -# Recent Posts - -Render recent posts list - -## Usage - -``` -{{}} -``` - -Paramters: - -* `sortby`: `publishDate` or `lastMod` -* `limit`: positive integer, `0` means unlimited - -## Examples - -```html -{{}} -``` - -{{< recent-posts sortby="lastMod" limit=5 >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/terms-cloud.md b/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/terms-cloud.md deleted file mode 100644 index 3430c90..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/en/shortcodes/terms-cloud.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: 'Terms Cloud' -bookcase_cover_src: 'cover/coding.png' -bookcase_cover_src_dark: 'cover/coding_dark.png' ---- - -# Terms Cloud - -Render terms cloud, hugo supports `tag` and `category` terms by default, if you want to add your custom terms. Follow the instructions in the [document](https://gohugo.io/content-management/taxonomies/#configure-taxonomies). - -## Usage - -``` -{{}} -``` - -Paramters: - -* `terms`: terms name - -## Examples - -```html -{{}} -``` - -{{< terms-cloud terms="tags" >}} - -```html -{{}} -``` - -{{< terms-cloud terms="series" >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/_index.md b/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/_index.md deleted file mode 100644 index 16a74c4..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/_index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- ---- - -{{< icon vendor="feather" name="github" link="https://github.com/kaiiiz/hugo-theme-monochrome" >}} - -This is the demo of multilingual capability of hugo-theme-monochrome. diff --git a/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/posts/emoji-support.md b/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/posts/emoji-support.md deleted file mode 100644 index 9fd01e9..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/posts/emoji-support.md +++ /dev/null @@ -1,45 +0,0 @@ -+++ -author = "Hugo Authors" -title = "Emoji Support" -date = "2019-03-05" -description = "Guide to emoji usage in Hugo" -tags = [ - "emoji", -] -+++ - -Emoji can be enabled in a Hugo project in a number of ways. - -The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). - -To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g. - -

🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:

- -The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. - -*** - -**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g. - -{{< highlight html >}} -.emoji { - font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; -} -{{< /highlight >}} - -{{< css.inline >}} - -{{< /css.inline >}} diff --git a/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/posts/markdown-syntax.md b/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/posts/markdown-syntax.md deleted file mode 100644 index 4f404c5..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/posts/markdown-syntax.md +++ /dev/null @@ -1,159 +0,0 @@ -+++ -author = "Hugo Authors" -title = "Markdown Syntax Guide" -date = "2019-03-11" -description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements." -tags = [ - "markdown", - "css", - "html", -] -categories = [ - "themes", - "syntax", -] -series = ["Themes Guide"] -aliases = ["migrate-from-jekyl"] -+++ - -This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. - - -## Headings - -The following HTML `

`—`

` elements represent six levels of section headings. `

` is the highest section level while `

` is the lowest. - -# H1 -## H2 -### H3 -#### H4 -##### H5 -###### H6 - -## Paragraph - -Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. - -Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. - -## Blockquotes - -The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. - -#### Blockquote without attribution - -> Tiam, ad mint andaepu dandae nostion secatur sequo quae. -> **Note** that you can use *Markdown syntax* within a blockquote. - -#### Blockquote with attribution - -> Don't communicate by sharing memory, share memory by communicating.
-> — Rob Pike[^1] - -[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. - -## Tables - -Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box. - - Name | Age ---------|------ - Bob | 27 - Alice | 23 - -#### Inline Markdown within tables - -| Italics | Bold | Code | -| -------- | -------- | ------ | -| *italics* | **bold** | `code` | - -## Code Blocks - -``` - - - Example HTML5 Document - - -

Test

- - -``` - -#### Code block with backticks - -```html - - - - - Example HTML5 Document - - -

Test

- - -``` - -#### Code block indented with four spaces - - - - - - Example HTML5 Document - - -

Test

- - - -#### Code block with Hugo's internal highlight shortcode -{{< highlight html >}} - - - - - Example HTML5 Document - - -

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/zh-tw/posts/math-typesetting.md b/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/posts/math-typesetting.md deleted file mode 100644 index ce8d0bf..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/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 }} -{{}} - -### 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/zh-tw/posts/placeholder-text.md b/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/posts/placeholder-text.md deleted file mode 100644 index 9ed5f69..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/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/zh-tw/posts/rich-content.md b/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/posts/rich-content.md deleted file mode 100644 index 412c419..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/content/zh-tw/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/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.content b/themes/hugo-theme-monochrome/exampleSite/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.content deleted file mode 100644 index 668292d..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/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/themes/hugo-theme-monochrome/exampleSite/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.json b/themes/hugo-theme-monochrome/exampleSite/resources/_gen/assets/scss/scss/core.scss_631c6d9351eaecade454be87b1ff0e37.json deleted file mode 100644 index 2f1b9e0..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/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/themes/hugo-theme-monochrome/exampleSite/static/clock.jpg b/themes/hugo-theme-monochrome/exampleSite/static/clock.jpg deleted file mode 100644 index f10bf7c..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/clock.jpg and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/balloon.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/balloon.png deleted file mode 100644 index 3c863fe..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/balloon.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/balloon_dark.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/balloon_dark.png deleted file mode 100644 index bb131e8..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/balloon_dark.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/bookcase.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/bookcase.png deleted file mode 100644 index 6391d0a..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/bookcase.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/bookcase_dark.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/bookcase_dark.png deleted file mode 100644 index 8b12f2c..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/bookcase_dark.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/catalogue.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/catalogue.png deleted file mode 100644 index 4c6231f..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/catalogue.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/catalogue_dark.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/catalogue_dark.png deleted file mode 100644 index f52cf74..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/catalogue_dark.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/coding.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/coding.png deleted file mode 100644 index 19f4eaf..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/coding.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/coding_dark.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/coding_dark.png deleted file mode 100644 index 68fab8e..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/coding_dark.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/desktop.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/desktop.png deleted file mode 100644 index 44c6821..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/desktop.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/desktop_dark.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/desktop_dark.png deleted file mode 100644 index d39c1b9..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/desktop_dark.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/list.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/list.png deleted file mode 100644 index 58cce39..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/list.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/list_dark.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/list_dark.png deleted file mode 100644 index da613a0..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/list_dark.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/picture.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/picture.png deleted file mode 100644 index 9cfde80..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/picture.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/picture_dark.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/picture_dark.png deleted file mode 100644 index f901587..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/picture_dark.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/vase.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/vase.png deleted file mode 100644 index 24877df..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/vase.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/cover/vase_dark.png b/themes/hugo-theme-monochrome/exampleSite/static/cover/vase_dark.png deleted file mode 100644 index b10e3d2..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/cover/vase_dark.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/favicon.ico b/themes/hugo-theme-monochrome/exampleSite/static/favicon.ico deleted file mode 100644 index 2268cdd..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/favicon.ico and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/balloon.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/balloon.svg deleted file mode 100644 index 7ffae6d..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/balloon.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/balloon_dark.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/balloon_dark.svg deleted file mode 100644 index f73dc63..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/balloon_dark.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/bookcase.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/bookcase.svg deleted file mode 100644 index 205754f..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/bookcase.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/bookcase_dark.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/bookcase_dark.svg deleted file mode 100644 index 3262ac6..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/bookcase_dark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/catalogue.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/catalogue.svg deleted file mode 100644 index 3534c6e..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/catalogue.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/catalogue_dark.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/catalogue_dark.svg deleted file mode 100644 index 522e7ee..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/catalogue_dark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/coding.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/coding.svg deleted file mode 100644 index be2c1fe..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/coding.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/coding_dark.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/coding_dark.svg deleted file mode 100644 index f79b538..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/coding_dark.svg +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/desktop.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/desktop.svg deleted file mode 100644 index 411774f..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/desktop.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/desktop_dark.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/desktop_dark.svg deleted file mode 100644 index 771ebee..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/desktop_dark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/list.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/list.svg deleted file mode 100644 index 1bb975b..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/list.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/list_dark.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/list_dark.svg deleted file mode 100644 index c024c6c..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/list_dark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/picture.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/picture.svg deleted file mode 100644 index a704ce0..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/picture.svg +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/picture_dark.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/picture_dark.svg deleted file mode 100644 index 02790aa..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/picture_dark.svg +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/vase.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/vase.svg deleted file mode 100644 index 26e488d..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/vase.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/icons/vase_dark.svg b/themes/hugo-theme-monochrome/exampleSite/static/icons/vase_dark.svg deleted file mode 100644 index 52bb134..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/icons/vase_dark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/exampleSite/static/pottery.jpg b/themes/hugo-theme-monochrome/exampleSite/static/pottery.jpg deleted file mode 100644 index a3ca77b..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/pottery.jpg and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/thanks.jpg b/themes/hugo-theme-monochrome/exampleSite/static/thanks.jpg deleted file mode 100644 index c732ca4..0000000 Binary files a/themes/hugo-theme-monochrome/exampleSite/static/thanks.jpg and /dev/null differ diff --git a/themes/hugo-theme-monochrome/exampleSite/static/user.css b/themes/hugo-theme-monochrome/exampleSite/static/user.css deleted file mode 100644 index 65aac14..0000000 --- a/themes/hugo-theme-monochrome/exampleSite/static/user.css +++ /dev/null @@ -1,2 +0,0 @@ -html[data-theme="dark"] { -} diff --git a/themes/hugo-theme-monochrome/i18n/en.toml b/themes/hugo-theme-monochrome/i18n/en.toml deleted file mode 100644 index 274bda3..0000000 --- a/themes/hugo-theme-monochrome/i18n/en.toml +++ /dev/null @@ -1,7 +0,0 @@ -"tags" = "Tags" -"recent_posts" = "Recent Posts" -"toc" = "Table of contents" -"no_page_under_resouces" = 'There is no page under {{ .resources_path }}. You need to specify "{{ .resources_name }}" correctly and check the existence of posts under this folder.' -"resources_not_found" = 'Resouces not found. You need to specify "{{ .resources_name }}" correctly.' -"search" = "Search Posts" -"changelogs" = "Changelogs" diff --git a/themes/hugo-theme-monochrome/i18n/zh-tw.toml b/themes/hugo-theme-monochrome/i18n/zh-tw.toml deleted file mode 100644 index a5221bb..0000000 --- a/themes/hugo-theme-monochrome/i18n/zh-tw.toml +++ /dev/null @@ -1,7 +0,0 @@ -"tags" = "標籤" -"recent_posts" = "最近文章" -"toc" = "文章目錄" -"no_page_under_resouces" = '{{ .resources_path }} 下沒有找到任何頁面. 你需要檢查 "{{ .resources_name }}" 的設定是否正確並確認該目錄下是否有頁面存在' -"resources_not_found" = '找不到資源,你需要檢查 "{{ .resources_name }}" 的設定是否正確' -"search" = "搜索文章" -"changelogs" = "更新日誌" diff --git a/themes/hugo-theme-monochrome/images/screenshot.png b/themes/hugo-theme-monochrome/images/screenshot.png deleted file mode 100644 index ba37b7e..0000000 Binary files a/themes/hugo-theme-monochrome/images/screenshot.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/images/tn.png b/themes/hugo-theme-monochrome/images/tn.png deleted file mode 100644 index 1500ba7..0000000 Binary files a/themes/hugo-theme-monochrome/images/tn.png and /dev/null differ diff --git a/themes/hugo-theme-monochrome/layouts/404.html b/themes/hugo-theme-monochrome/layouts/404.html deleted file mode 100644 index e69de29..0000000 diff --git a/themes/hugo-theme-monochrome/layouts/_default/baseof.html b/themes/hugo-theme-monochrome/layouts/_default/baseof.html deleted file mode 100644 index 9b97c24..0000000 --- a/themes/hugo-theme-monochrome/layouts/_default/baseof.html +++ /dev/null @@ -1,46 +0,0 @@ -{{ .Scratch.SetInMap "params" "syntax_highlight" (.Site.Params.syntax_highlight | default (dict "lib" "builtin" "builtin" (dict "enable_code_copy" true))) }} -{{ .Scratch.SetInMap "params" "enable_site_search" (.Site.Params.enable_site_search | default false) }} -{{ .Scratch.SetInMap "params" "search_hidden" (.Params.search_hidden | default false) }} -{{ .Scratch.SetInMap "params" "navbar_title" (.Params.navbar_title | default .Site.Params.navbar_title | default .Site.Title) }} -{{ .Scratch.SetInMap "params" "author" (.Params.author | default .Site.Params.author) }} -{{ .Scratch.SetInMap "params" "enable_open_graph" (.Params.open_graph | default .Site.Params.enable_open_graph | default true) }} -{{ .Scratch.SetInMap "params" "enable_twitter_cards" (.Params.twitter_cards | default .Site.Params.enable_twitter_cards | default true) }} -{{ .Scratch.SetInMap "params" "enable_toc" (.Params.toc | default .Site.Params.enable_toc | default true) }} -{{ .Scratch.SetInMap "params" "enable_zooming_js" (.Params.zooming_js | default .Site.Params.enable_zooming_js | default true) }} -{{ .Scratch.SetInMap "params" "ga_code" (.Params.ga | default .Site.GoogleAnalytics) }} -{{ .Scratch.SetInMap "params" "footer" (.Params.footer | default .Site.Params.footer) }} -{{ .Scratch.SetInMap "params" "math" (.Params.math | default .Site.Params.enable_math | default false) }} -{{ .Scratch.SetInMap "params" "enable_collapsible_toc" (.Params.collapsible_toc | default .Site.Params.enable_collapsible_toc | default false) }} -{{ .Scratch.SetInMap "params" "enable_collapsible_changelogs" (.Params.collapsible_changelogs | default .Site.Params.enable_collapsible_changelogs | default false) }} -{{ .Scratch.SetInMap "params" "color_scheme" (.Site.Params.color_scheme | default "light") }} - - - - {{- partial "head.html" . -}} - -
- {{- partial "header.html" . -}} - {{- partial "nav.html" . -}} - {{- partial "sidebar.html" . -}} -
- {{ if .Params.changelogs }} - {{ $enable_collapsible_changelogs := (.Scratch.Get "params").enable_collapsible_changelogs }} - {{ partial "collapsible-menu.html" (dict "type" "changelogs" "context" . "enable" $enable_collapsible_changelogs) }} - {{ end }} - - {{- block "content" . }}{{- end }} - - {{ if eq .Kind "page" }} - {{ if (.Params.disqus | default .Site.DisqusShortname) }} - {{- partial "disqus.html" . -}} - {{ end }} - {{ else }} - {{ if (.Params.disqus | default false) }} - {{- partial "disqus.html" . -}} - {{ end }} - {{ end }} -
- {{- partial "footer.html" . -}} -
- - diff --git a/themes/hugo-theme-monochrome/layouts/_default/index.json b/themes/hugo-theme-monochrome/layouts/_default/index.json deleted file mode 100644 index 5e9ee45..0000000 --- a/themes/hugo-theme-monochrome/layouts/_default/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{{- $index := slice -}} -{{- range .Site.RegularPages -}} - {{ if not (.Scratch.Get "params").search_hidden }} - {{- $index = $index | append (dict "title" .Title "content" .Plain "permalink" .Permalink) -}} - {{ end }} -{{- end -}} -{{- $index | jsonify -}} diff --git a/themes/hugo-theme-monochrome/layouts/_default/list.html b/themes/hugo-theme-monochrome/layouts/_default/list.html deleted file mode 100644 index 1e5514f..0000000 --- a/themes/hugo-theme-monochrome/layouts/_default/list.html +++ /dev/null @@ -1,41 +0,0 @@ -{{ define "content" }} - -{{ if and .Content (eq .Paginator.PageNumber 1) }} -
- {{- partial "content.html" (dict "ctx" . "content" .Content) -}} -
-{{ end }} - -{{- $group_by_year := .Params.group_by_year | default .Site.Params.list_layout.enable_group_by_year | default true -}} -{{- $show_date := .Params.show_date | default .Site.Params.list_layout.enable_show_date | default true -}} -{{- $pagination := .Params.pagination | default .Site.Params.list_layout.enable_pagination | default false -}} - -{{- $pages := .Pages -}} -{{- if and $pagination $group_by_year -}} - {{ $pages = (.Paginate (.Pages.GroupByPublishDate "2006")).PageGroups }} -{{- else if and $pagination (not $group_by_year) -}} - {{ $pages = .Paginator.Pages }} -{{- else if and (not $pagination) $group_by_year -}} - {{ $pages = .Pages.GroupByPublishDate "2006" }} -{{- end -}} - -{{ if $group_by_year }} - {{ range $pages }} -
-

{{- .Key -}}

- {{- partial "list.html" (dict "pages" .Pages "show_date" $show_date "group_by_year" $group_by_year) -}} -
- {{ end }} - {{ if $pagination }} - {{ template "_internal/pagination.html" . }} - {{ end }} -{{ else }} -
- {{- partial "list.html" (dict "pages" $pages "show_date" $show_date "group_by_year" $group_by_year) -}} -
- {{ if $pagination }} - {{ template "_internal/pagination.html" . }} - {{ end }} -{{ end }} - -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/_default/rss.xml b/themes/hugo-theme-monochrome/layouts/_default/rss.xml deleted file mode 100644 index 3a97292..0000000 --- a/themes/hugo-theme-monochrome/layouts/_default/rss.xml +++ /dev/null @@ -1,39 +0,0 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} -{{- else -}} -{{- $pages = $pctx.Pages -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} -{{- printf "" | safeHTML }} - - - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - {{ .Permalink }} - Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} - Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} - {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} - {{.}}{{end}}{{ if not .Date.IsZero }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} - {{- with .OutputFormats.Get "RSS" -}} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{- end -}} - {{ range $pages }} - - {{ .Title }} - {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Permalink }} - {{ .Summary | html }} - - {{ end }} - - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/layouts/_default/single.html b/themes/hugo-theme-monochrome/layouts/_default/single.html deleted file mode 100644 index 2760b80..0000000 --- a/themes/hugo-theme-monochrome/layouts/_default/single.html +++ /dev/null @@ -1,14 +0,0 @@ -{{- define "content" -}} - -{{ if and (ne .TableOfContents "") (.Scratch.Get "params").enable_toc }} - {{ $enable_collapsible_toc := (.Scratch.Get "params").enable_collapsible_toc }} - {{ partial "collapsible-menu.html" (dict "type" "toc" "context" . "enable" $enable_collapsible_toc) }} -{{ end }} - -{{ if .Content }} -
- {{- partial "content.html" (dict "ctx" . "content" .Content) -}} -
-{{ end }} - -{{- end -}} diff --git a/themes/hugo-theme-monochrome/layouts/_default/taxonomy.html b/themes/hugo-theme-monochrome/layouts/_default/taxonomy.html deleted file mode 100644 index 9416b7f..0000000 --- a/themes/hugo-theme-monochrome/layouts/_default/taxonomy.html +++ /dev/null @@ -1,10 +0,0 @@ -{{- define "content" -}} - -
-

{{ .Title }}

-
- {{- partial "terms-cloud.html" .Data.Terms.Alphabetical -}} -
-
- -{{- end -}} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/layouts/_default/term.html b/themes/hugo-theme-monochrome/layouts/_default/term.html deleted file mode 100644 index 87cdac2..0000000 --- a/themes/hugo-theme-monochrome/layouts/_default/term.html +++ /dev/null @@ -1,49 +0,0 @@ -{{- define "content" -}} - -{{- $group_by_year := .Site.Params.list_layout.enable_group_by_year | default true -}} -{{- $show_date := .Site.Params.list_layout.enable_show_date | default true -}} -{{- $pagination := .Site.Params.list_layout.enable_pagination | default false -}} - -{{- $pages := .Pages -}} -{{- if and $pagination $group_by_year -}} - {{ $pages = (.Paginate (.Pages.GroupByPublishDate "2006")).PageGroups }} -{{- else if and $pagination (not $group_by_year) -}} - {{ $pages = .Paginator.Pages }} -{{- else if and (not $pagination) $group_by_year -}} - {{ $pages = .Pages.GroupByPublishDate "2006" }} -{{- end -}} - -
-
-

{{ .Title }}

- {{ range .AlternativeOutputFormats -}} - {{ if eq .MediaType.Type "application/rss+xml" }} - - {{ end }} - {{ end -}} -
- {{ if $group_by_year }} - {{ range $pages }} -
-

{{- .Key -}}

- {{- partial "list.html" (dict "pages" .Pages "show_date" $show_date "group_by_year" $group_by_year) -}} -
- {{ end }} - {{ if $pagination }} - {{ template "_internal/pagination.html" . }} - {{ end }} - {{ else }} -
- {{- partial "list.html" (dict "pages" $pages "show_date" $show_date "group_by_year" $group_by_year) -}} -
- {{ if $pagination }} - {{ template "_internal/pagination.html" . }} - {{ end }} - {{ end }} -
- -{{- end -}} diff --git a/themes/hugo-theme-monochrome/layouts/balloon/list.html b/themes/hugo-theme-monochrome/layouts/balloon/list.html deleted file mode 100644 index 50b0808..0000000 --- a/themes/hugo-theme-monochrome/layouts/balloon/list.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "content" }} -{{ partial "balloon/layout.html" . }} -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/balloon/single.html b/themes/hugo-theme-monochrome/layouts/balloon/single.html deleted file mode 100644 index 9a39564..0000000 --- a/themes/hugo-theme-monochrome/layouts/balloon/single.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "content" }} -{{- partial "balloon/layout.html" . -}} -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/blank/list.html b/themes/hugo-theme-monochrome/layouts/blank/list.html deleted file mode 100644 index 9cc1cfd..0000000 --- a/themes/hugo-theme-monochrome/layouts/blank/list.html +++ /dev/null @@ -1,9 +0,0 @@ -{{- define "content" -}} - -{{ if .Content }} -
- {{- partial "content.html" (dict "ctx" . "content" .Content) -}} -
-{{ end }} - -{{- end -}} diff --git a/themes/hugo-theme-monochrome/layouts/bookcase/list.html b/themes/hugo-theme-monochrome/layouts/bookcase/list.html deleted file mode 100644 index 460cc11..0000000 --- a/themes/hugo-theme-monochrome/layouts/bookcase/list.html +++ /dev/null @@ -1,17 +0,0 @@ -{{ define "content" }} - -{{ $list_sections := .Params.bookcase_list_sections | default true }} -{{ $list_pages := .Params.bookcase_list_pages | default true }} - -{{ $res := default nil }} -{{ if and $list_sections $list_pages }} - {{ $res = .Pages }} -{{ else if $list_sections }} - {{ $res = .Sections }} -{{ else if $list_pages }} - {{ $res = .RegularPages }} -{{ end }} - -{{ partial "bookcase/layout.html" (dict "ctx" . "title" .Title "content" .Content "res" $res) }} - -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/gallery/list.html b/themes/hugo-theme-monochrome/layouts/gallery/list.html deleted file mode 100644 index 09d9d07..0000000 --- a/themes/hugo-theme-monochrome/layouts/gallery/list.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "content" }} -{{ partial "gallery/layout.html" . }} -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/layouts/gallery/single.html b/themes/hugo-theme-monochrome/layouts/gallery/single.html deleted file mode 100644 index 0b97275..0000000 --- a/themes/hugo-theme-monochrome/layouts/gallery/single.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "content" }} -{{- partial "gallery/layout.html" . -}} -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/layouts/home.html b/themes/hugo-theme-monochrome/layouts/home.html deleted file mode 100644 index 8b3a89d..0000000 --- a/themes/hugo-theme-monochrome/layouts/home.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ define "content" }} - -{{ if .Content }} -
- {{- partial "content.html" (dict "ctx" . "content" .Content) -}} -
-{{ end }} - -{{ partial "postcard/layout.html" (dict "pages" .Site.RegularPages "ctx" .) }} - -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/balloon/card-item.html b/themes/hugo-theme-monochrome/layouts/partials/balloon/card-item.html deleted file mode 100644 index 61ca333..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/balloon/card-item.html +++ /dev/null @@ -1,11 +0,0 @@ -
-
- {{ partial "balloon/line.html" false }} - {{ partial "balloon/dot.html" }} - {{ partial "balloon/line.html" .last_item }} -
- -
- {{- partial "content.html" (dict "ctx" .ctx "content" .ctx.Content) -}} -
-
diff --git a/themes/hugo-theme-monochrome/layouts/partials/balloon/dot.html b/themes/hugo-theme-monochrome/layouts/partials/balloon/dot.html deleted file mode 100644 index 2180d39..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/balloon/dot.html +++ /dev/null @@ -1 +0,0 @@ -
diff --git a/themes/hugo-theme-monochrome/layouts/partials/balloon/head-item.html b/themes/hugo-theme-monochrome/layouts/partials/balloon/head-item.html deleted file mode 100644 index efaf334..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/balloon/head-item.html +++ /dev/null @@ -1,29 +0,0 @@ -{{ $img := .Params.balloon_img_src | default .Params.balloon_img_src_dark }} -{{ $img_dark := .Params.balloon_img_src_dark | default .Params.balloon_img_src }} -{{ $balloon_circle := .Params.balloon_circle | default true }} - -
- {{/* For desktop layout */}} -
-
- {{ partial "balloon/head/desktop.html" (dict "img" $img "balloon_circle" $balloon_circle) }} -
-
- {{ partial "balloon/head/desktop.html" (dict "img" $img_dark "balloon_circle" $balloon_circle ) }} -
- {{ partial "balloon/line.html" false }} -
- {{/* For mobile layout */}} -
-
- {{ partial "balloon/head/mobile.html" (dict "img" $img "balloon_circle" $balloon_circle) }} -
-
- {{ partial "balloon/head/mobile.html" (dict "img" $img_dark "balloon_circle" $balloon_circle ) }} -
-
- -
- {{- partial "content.html" (dict "ctx" . "content" .Content) -}} -
-
diff --git a/themes/hugo-theme-monochrome/layouts/partials/balloon/head/desktop.html b/themes/hugo-theme-monochrome/layouts/partials/balloon/head/desktop.html deleted file mode 100644 index eab57cb..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/balloon/head/desktop.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ if .img }} -
- balloon_head -
-{{ else }} - {{ partial "balloon/dot.html" }} -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/balloon/head/mobile.html b/themes/hugo-theme-monochrome/layouts/partials/balloon/head/mobile.html deleted file mode 100644 index 260e79a..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/balloon/head/mobile.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ if .img }} -
- balloon_head -
-{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/balloon/layout.html b/themes/hugo-theme-monochrome/layouts/partials/balloon/layout.html deleted file mode 100644 index b5262c1..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/balloon/layout.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ if .Params.balloon_resources }} -
- {{ partial "balloon/head-item.html" . }} - - {{ $res := .Site.GetPage .Params.balloon_resources }} - {{ $pages := $res.Resources.ByType "page" }} - - {{ if $pages }} - {{ $max_idx := sub (len $pages) 1 }} - - {{ range $index, $value := (sort $pages "Params.weight" "asc") }} - {{ partial "balloon/title-item.html" . }} - {{ partial "balloon/card-item.html" (dict "ctx" . "last_item" (eq $index $max_idx)) }} - {{ end }} - {{ else }} - {{ i18n "no_page_under_resouces" (dict "resources_name" "balloon_resources" "resources_path" .Params.balloon_resources ) }} - {{ end }} -
-{{ else }} - {{ i18n "resources_not_found" (dict "resources_name" "balloon_resources")}} -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/balloon/line.html b/themes/hugo-theme-monochrome/layouts/partials/balloon/line.html deleted file mode 100644 index 818cd6b..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/balloon/line.html +++ /dev/null @@ -1,6 +0,0 @@ -{{ $last_item := . }} -
- {{ if not $last_item }} -
- {{ end }} -
diff --git a/themes/hugo-theme-monochrome/layouts/partials/balloon/title-item.html b/themes/hugo-theme-monochrome/layouts/partials/balloon/title-item.html deleted file mode 100644 index 2188c80..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/balloon/title-item.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
- {{ partial "balloon/line.html" false }} -
-
{{ .Title }}
-
\ No newline at end of file diff --git a/themes/hugo-theme-monochrome/layouts/partials/bookcase/item.html b/themes/hugo-theme-monochrome/layouts/partials/bookcase/item.html deleted file mode 100644 index 6669e9a..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/bookcase/item.html +++ /dev/null @@ -1,14 +0,0 @@ -{{ $cover_src := .Params.bookcase_cover_src | default .Params.bookcase_cover_src_dark }} -{{ $cover_src_dark := .Params.bookcase_cover_src_dark | default .Params.bookcase_cover_src }} -{{ $cover_title := .Params.bookcase_cover_title | default .Title }} - -
-
- - - -
-
- {{ $cover_title }} -
-
diff --git a/themes/hugo-theme-monochrome/layouts/partials/bookcase/layout.html b/themes/hugo-theme-monochrome/layouts/partials/bookcase/layout.html deleted file mode 100644 index ddf2508..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/bookcase/layout.html +++ /dev/null @@ -1,24 +0,0 @@ -{{ $ctx := .ctx }} -{{ $title := .title }} -{{ $content := .content }} -{{ $res := .res }} - -
-
-

{{ $title }}

- {{ if $content }} - {{- partial "content.html" (dict "ctx" $ctx "content" $content) -}} - {{ end }} -
- - {{ with $res }} -
- {{ range . }} - {{ $hidden := .Params.bookcase_hidden | default false }} - {{ if not $hidden -}} - {{- partial "bookcase/item.html" . -}} - {{- end }} - {{ end }} -
- {{ end }} -
diff --git a/themes/hugo-theme-monochrome/layouts/partials/collapsible-menu.html b/themes/hugo-theme-monochrome/layouts/partials/collapsible-menu.html deleted file mode 100644 index d7738f9..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/collapsible-menu.html +++ /dev/null @@ -1,39 +0,0 @@ -{{- if .enable -}} -
-{{- else -}} -
-{{- end -}} - - {{- if .enable -}} - - {{- else -}} -
- {{- end -}} - {{ i18n .type }} - {{- if .enable -}} -
- {{- else -}} -
- {{- end -}} - -
- {{ if eq .type "changelogs" }} -
- {{ range $log := .context.Params.changelogs }} -
{{ $log.tag | markdownify }}
-
- {{ range $log.description }} -
{{ . | markdownify }}
- {{ end }} -
- {{ end }} -
- {{ else if eq .type "toc" }} - {{ .context.TableOfContents }} - {{ end }} -
-{{- if .enable -}} -
-{{- else -}} - -{{- end -}} diff --git a/themes/hugo-theme-monochrome/layouts/partials/content.html b/themes/hugo-theme-monochrome/layouts/partials/content.html deleted file mode 100644 index c08bab6..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/content.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ $ctx := .ctx }} -{{ $content := .content }} -{{ $enable_line_no := ($ctx.Scratch.Get "params").syntax_highlight.prism.enable_line_no | default true }} - -
- {{ $content := $content | replaceRE "" "
" }} - {{ if eq ($ctx.Scratch.Get "params").syntax_highlight.lib "prism.js" }} - {{ $content = $content | replaceRE "
" "
" }}
-        {{ $content = $content | replaceRE "]*)class=\"([^>]*)\"([^>]*)>" "" }}
-    {{ end }}
-    {{ $content | safeHTML }}
-
diff --git a/themes/hugo-theme-monochrome/layouts/partials/disqus.html b/themes/hugo-theme-monochrome/layouts/partials/disqus.html
deleted file mode 100644
index 3435e19..0000000
--- a/themes/hugo-theme-monochrome/layouts/partials/disqus.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
- {{ template "_internal/disqus.html" . }} -
diff --git a/themes/hugo-theme-monochrome/layouts/partials/footer.html b/themes/hugo-theme-monochrome/layouts/partials/footer.html deleted file mode 100644 index c439b95..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/footer.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ with (.Scratch.Get "params").footer }} -
-
- {{- . | safeHTML -}} -
-
-{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/gallery/layout.html b/themes/hugo-theme-monochrome/layouts/partials/gallery/layout.html deleted file mode 100644 index 238fca6..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/gallery/layout.html +++ /dev/null @@ -1,65 +0,0 @@ -{{ if .Content }} -
- {{- partial "content.html" (dict "ctx" . "content" .Content) -}} -
-{{ end }} - -{{ if .Params.gallery_resources }} - {{ $res := .Site.GetPage .Params.gallery_resources }} - {{ $pages := $res.Resources.ByType "page" }} - - {{ if $pages }} - - {{ else }} - {{ i18n "no_page_under_resouces" (dict "resources_name" "gallery_resources" "resources_path" .Params.gallery_resources ) }} - {{ end }} -{{ else }} - {{ i18n "resources_not_found" (dict "resources_name" "gallery_resources")}} -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/head.html b/themes/hugo-theme-monochrome/layouts/partials/head.html deleted file mode 100644 index 0cd3e7f..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/head.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - {{- if eq .Kind "home" -}} - {{- print .Site.Title -}} - {{- else if eq .Kind "section" -}} - {{- print .CurrentSection.Title " - " .Site.Title }} - {{- else -}} - {{- print .Title " - " .Site.Title -}} - {{- end -}} - - - {{ with .Description }} - - {{ end }} - - {{ with .Keywords }} - - {{ end }} - - {{ with (.Scratch.Get "params").author }} - - {{ end }} - - {{ if (.Scratch.Get "params").enable_open_graph }} - {{ template "_internal/opengraph.html" . }} - {{ end }} - - {{ if (.Scratch.Get "params").enable_twitter_cards }} - {{ template "_internal/twitter_cards.html" . }} - {{ end }} - - {{- partial "resources/css.html" . -}} - - {{ if (.Scratch.Get "params").ga_code }} - {{ template "_internal/google_analytics.html" . }} - {{ end }} - - {{/* Dark theme: inline in `head` to avoid FOUC */}} - - - {{- partial "resources/js.html" . -}} - - {{ if fileExists "/static/user.css" -}} - - {{- end }} - diff --git a/themes/hugo-theme-monochrome/layouts/partials/header.html b/themes/hugo-theme-monochrome/layouts/partials/header.html deleted file mode 100644 index de441ca..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/header.html +++ /dev/null @@ -1,59 +0,0 @@ -
-
- - - -
- -
-
- - {{- partial "svg/feather.html" "sun" -}} - - - {{- partial "svg/feather.html" "moon" -}} - -
- - {{ if (.Scratch.Get "params").enable_site_search }} -
- - {{- partial "svg/feather.html" "search" -}} - - {{- partial "search-menu.html" -}} -
- {{ end }} - - {{ if .Site.IsMultiLingual }} - - {{ end }} -
-
diff --git a/themes/hugo-theme-monochrome/layouts/partials/list.html b/themes/hugo-theme-monochrome/layouts/partials/list.html deleted file mode 100644 index b48fc83..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/list.html +++ /dev/null @@ -1,27 +0,0 @@ -{{ $show_date := .show_date | default true }} -{{ $pages := .pages }} -{{ $group_by_year := .group_by_year | default true }} - -{{- if $pages -}} -{{- if $show_date -}} - {{- $pages = $pages.ByPublishDate.Reverse -}} -{{- end -}} -
    - {{ range $pages }} -
  • - - {{- .Title -}} - - {{ if $show_date }} - - {{ if $group_by_year }} - {{- .PublishDate.Format "01/02" -}} - {{ else }} - {{- .PublishDate.Format "2006/01/02" -}} - {{ end }} - - {{ end }} -
  • - {{ end }} -
-{{- end -}} diff --git a/themes/hugo-theme-monochrome/layouts/partials/nav.html b/themes/hugo-theme-monochrome/layouts/partials/nav.html deleted file mode 100644 index e81c3f6..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/nav.html +++ /dev/null @@ -1,38 +0,0 @@ - diff --git a/themes/hugo-theme-monochrome/layouts/partials/navbar/nested-desktop.html b/themes/hugo-theme-monochrome/layouts/partials/navbar/nested-desktop.html deleted file mode 100644 index 9d3ea6f..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/navbar/nested-desktop.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ range .Children }} - {{ if .Children }} -
  • - {{ if .URL }} - {{- .Name -}} - {{ else }} - - {{ end }} -
      - {{- partial "navbar/nested-desktop.html" . -}} -
    -
  • - {{ else }} -
  • - {{ if .URL }} - {{- .Name -}} - {{ else }} - - {{ end }} -
  • - {{ end }} -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/navbar/nested-mobile.html b/themes/hugo-theme-monochrome/layouts/partials/navbar/nested-mobile.html deleted file mode 100644 index 6b69a4f..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/navbar/nested-mobile.html +++ /dev/null @@ -1,28 +0,0 @@ -{{ with .Children }} -
      - {{ range . }} - {{ if .Children }} -
    • -
      - - {{ if .URL }} - {{- .Name -}} - {{ else }} - {{- .Name -}} - {{ end }} - - {{- partial "navbar/nested-mobile.html" . -}} -
      -
    • - {{ else }} -
    • - {{ if .URL }} - {{- .Name -}} - {{ else }} -
      {{- .Name -}}
      - {{ end }} -
    • - {{ end }} - {{ end }} -
    -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/layouts/partials/postcard/layout.html b/themes/hugo-theme-monochrome/layouts/partials/postcard/layout.html deleted file mode 100644 index 646a8f6..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/postcard/layout.html +++ /dev/null @@ -1,38 +0,0 @@ -{{ $ctx := .ctx }} -{{ $pages := .pages }} - - - -{{ define "breadcrumbtext" }} - {{ if .p1.Parent }} - {{ if not .p1.Parent.IsHome }} - {{ template "breadcrumbtext" (dict "p1" .p1.Parent) }} - {{ end }} - {{ end }} - - {{ if .p1.Parent }} - {{ if .p1.Parent.IsHome }} - {{ .p1.Title }} - {{ else }} - / - {{ .p1.Title }} - {{ end }} - {{ end }} -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/resources/css.html b/themes/hugo-theme-monochrome/layouts/partials/resources/css.html deleted file mode 100644 index 5e87ae3..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/resources/css.html +++ /dev/null @@ -1,18 +0,0 @@ -{{- $styles := resources.Get "scss/core.scss" -}} -{{- if hugo.IsProduction -}} - {{- $tocss_opts := dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true -}} - {{- $styles = $styles | resources.ToCSS $tocss_opts | resources.Minify | resources.Fingerprint "sha512" -}} -{{- else -}} - {{- $tocss_opts := dict "targetPath" "style.css" "enableSourceMap" true -}} - {{- $styles = $styles | resources.ToCSS $tocss_opts -}} -{{- end -}} - - -{{/* Prism.js style */}} -{{ if or (and (findRE " -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/resources/js.html b/themes/hugo-theme-monochrome/layouts/partials/resources/js.html deleted file mode 100644 index 985d4be..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/resources/js.html +++ /dev/null @@ -1,95 +0,0 @@ -{{/* Header */}} -{{ $header_js := resources.Get "js/header.js" }} -{{- if hugo.IsProduction -}} - {{ $header_js = $header_js | js.Build (dict "minify" true) | resources.Fingerprint "sha512" -}} -{{- else -}} - {{ $header_js = $header_js | js.Build -}} -{{- end -}} - - -{{/* Zooming.js */}} -{{ if (.Scratch.Get "params").enable_zooming_js }} - {{ $zooming_js := resources.Get "js/zooming.js" }} - {{- if hugo.IsProduction -}} - {{ $zooming_js = $zooming_js | js.Build (dict "minify" true) | resources.Fingerprint "sha512" -}} - {{- else -}} - {{ $zooming_js = $zooming_js | js.Build -}} - {{- end -}} - -{{ end }} - -{{/* MathJax */}} -{{ if (.Scratch.Get "params").math }} - {{ $math_js := resources.Get "js/math.js" }} - {{- if hugo.IsProduction -}} - {{ $math_js = $math_js | js.Build (dict "minify" true) | resources.Fingerprint "sha512" -}} - {{- else -}} - {{ $math_js = $math_js | js.Build -}} - {{- end -}} - - -{{ end }} - -{{/* Load script for only page contain codeblock */}} -{{ if (findRE " - {{ end }} - {{ else if eq (.Scratch.Get "params").syntax_highlight.lib "prism.js" }} - {{ $prism_js := slice (resources.Get "lib/js/prism-v1.29.0.min.js") }} - - {{ $enable_line_no := (.Scratch.Get "params").syntax_highlight.prism.enable_line_no | default true }} - {{ if $enable_line_no }} - {{ $prism_js = $prism_js | append (resources.Get "lib/js/prism-line-numbers-v1.29.0.min.js") }} - {{ end }} - - {{ $enable_code_copy := (.Scratch.Get "params").syntax_highlight.prism.enable_code_copy | default true }} - {{ if $enable_code_copy }} - {{ $prism_js = $prism_js | append (resources.Get "lib/js/prism-copy-to-clipboard-v1.29.0.min.js") }} - {{ end }} - - {{ $prism_js = $prism_js | append (resources.Get "js/prism-autoloader.js") | append (resources.Get "js/prism.js") | resources.Concat "js/prism.js" }} - {{- if hugo.IsProduction -}} - {{ $prism_js = $prism_js | js.Build (dict "minify" true) | resources.Fingerprint "sha512" -}} - {{- else -}} - {{ $prism_js = $prism_js | js.Build -}} - {{- end -}} - - {{ end }} -{{ end }} - -{{ if (.Scratch.Get "params").enable_site_search }} - {{ $target_path := printf "js/search-%s.js" .Site.LanguageCode }} - {{ $index_url := "index.json" | absLangURL }} - {{ $build_opts := dict "targetPath" $target_path "params" (dict "index_url" $index_url) }} - {{ $search_js := resources.Get "js/search.js" | js.Build $build_opts }} - {{- if hugo.IsProduction -}} - {{ $search_js = $search_js | js.Build (merge $build_opts (dict "minify" true)) | resources.Fingerprint "sha512" -}} - {{- else -}} - {{ $search_js = $search_js | js.Build $build_opts -}} - {{- end -}} - -{{ end }} - -{{/* Load highlighter for emgithub */}} -{{ if .HasShortcode "emgithub" }} - {{ $js := slice (resources.Get "lib/js/prism-v1.29.0.min.js") }} - {{ $js = $js | append (resources.Get "lib/js/prism-line-numbers-v1.29.0.min.js") }} - {{ $js = $js | append (resources.Get "lib/js/prism-copy-to-clipboard-v1.29.0.min.js") }} - {{ $js = $js | append (resources.Get "js/prism-autoloader.js") }} - {{ $js = $js | resources.Concat "js/emgithub-prism.js" }} - {{- if hugo.IsProduction -}} - {{ $js = $js | js.Build (dict "minify" true) | resources.Fingerprint "sha512" -}} - {{- else -}} - {{ $js = $js | js.Build }} - {{- end -}} - -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/partials/search-menu.html b/themes/hugo-theme-monochrome/layouts/partials/search-menu.html deleted file mode 100644 index bc7a2d8..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/search-menu.html +++ /dev/null @@ -1,16 +0,0 @@ - diff --git a/themes/hugo-theme-monochrome/layouts/partials/sidebar.html b/themes/hugo-theme-monochrome/layouts/partials/sidebar.html deleted file mode 100644 index 1bc53ca..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/sidebar.html +++ /dev/null @@ -1,19 +0,0 @@ - - \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/layouts/partials/svg/feather.html b/themes/hugo-theme-monochrome/layouts/partials/svg/feather.html deleted file mode 100644 index 09024a1..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/svg/feather.html +++ /dev/null @@ -1,12 +0,0 @@ -{{- $icon_name := . -}} -{{- $feather_sprite := resources.Get "lib/icns/feather-sprite-v4.29.0.svg" -}} -{{- $regex := printf `(.*?)<\/symbol>` $icon_name -}} -{{- $path := index (index (findRESubmatch $regex $feather_sprite.Content) 0) 1 | safeHTML }} - - {{ $path }} - - diff --git a/themes/hugo-theme-monochrome/layouts/partials/terms-cloud.html b/themes/hugo-theme-monochrome/layouts/partials/terms-cloud.html deleted file mode 100644 index 0ae6797..0000000 --- a/themes/hugo-theme-monochrome/layouts/partials/terms-cloud.html +++ /dev/null @@ -1,26 +0,0 @@ -{{ if . }} - {{ $fontSmall := 1 }} - {{ $fontBig := 1.6 }} - {{ $fontSpread := sub $fontBig $fontSmall }} - - {{ $termCount := slice }} - {{ range . }} - {{ $termCount = append .Count $termCount }} - {{ end }} - {{ $termCount = sort $termCount }} - - {{ $min := int (index $termCount 0) }} - {{ $max := add (int (index $termCount (sub (len $termCount) 1))) 1 }} - -
    - {{ range . }} - {{ $weight := div (sub (math.Log .Count) (math.Log $min)) (sub (math.Log $max) (math.Log $min)) }} - {{ $fontSize := (add $fontSmall (mul $fontSpread $weight)) }} - - - {{- .Page.Title -}} - ({{- .Count -}}) - - {{ end }} -
    -{{ end }} \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/layouts/postcard/list.html b/themes/hugo-theme-monochrome/layouts/postcard/list.html deleted file mode 100644 index 589d4fd..0000000 --- a/themes/hugo-theme-monochrome/layouts/postcard/list.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ define "content" }} - -{{ if and .Content (eq .Paginator.PageNumber 1) }} -
    - {{- partial "content.html" (dict "ctx" . "content" .Content) -}} -
    -{{ end }} - -{{ partial "postcard/layout.html" (dict "pages" .RegularPages "ctx" .) }} - -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/bookcase.html b/themes/hugo-theme-monochrome/layouts/shortcodes/bookcase.html deleted file mode 100644 index f0a0dcc..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/bookcase.html +++ /dev/null @@ -1,25 +0,0 @@ -{{ $section_name := .Get "section" }} - -{{ $section := .Site.GetPage $section_name }} -{{ if not $section }} - {{ errorf "bookcase resource not found" }} -{{ end }} - -{{ if ne $section.Kind "section" }} - {{ errorf "bookcase resource must be a section" }} -{{ end }} - -{{ $list_sections := $section.Params.bookcase_list_sections | default true }} -{{ $list_pages := $section.Params.bookcase_list_pages | default true }} - -{{ $pages := default nil }} -{{ if and $list_sections $list_pages }} - {{ $pages = $section.Pages }} -{{ else if $list_sections }} - {{ $pages = $section.Sections }} -{{ else if $list_pages }} - {{ $pages = $section.RegularPages }} -{{ end }} - -{{ partial "bookcase/layout.html" (dict "ctx" . "title" $section.Title "content" $section.Content "res" $pages) }} - diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/breadcrumbs.html b/themes/hugo-theme-monochrome/layouts/shortcodes/breadcrumbs.html deleted file mode 100644 index aecd2b3..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/breadcrumbs.html +++ /dev/null @@ -1,20 +0,0 @@ -
    - -
    - -{{ define "breadcrumbnav" }} - {{ if .p1.Parent }} - {{ template "breadcrumbnav" (dict "p1" .p1.Parent) }} - {{ else if not .p1.IsHome }} - {{ template "breadcrumbnav" (dict "p1" .p1.Site.Home) }} - {{ end }} - - {{ if not .p1.IsHome }} -
  • /
  • -
  • {{ .p1.Title }}
  • - {{ else }} -
  • Home
  • - {{ end }} -{{ end }} diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/codepen.html b/themes/hugo-theme-monochrome/layouts/shortcodes/codepen.html deleted file mode 100644 index 10f155f..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/codepen.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ $id := .Get "id" }} - -

    - diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/color-block.html b/themes/hugo-theme-monochrome/layouts/shortcodes/color-block.html deleted file mode 100644 index 91bf258..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/color-block.html +++ /dev/null @@ -1,22 +0,0 @@ -{{ $style := .Get "style" }} - -{{ $bg_color := "#f0f0f0" }} -{{ $color := "#494949" }} - -{{ if eq $style "error" }} - {{ $bg_color = "#f2dede" }} - {{ $color = "#a94442" }} -{{ else if eq $style "warning" }} - {{ $bg_color = "#fcf8e3" }} - {{ $color = "#8a6d3b" }} -{{ else if eq $style "info" }} - {{ $bg_color = "#d9edf7" }} - {{ $color = "#31708f" }} -{{ else if eq $style "success" }} - {{ $bg_color = "#dff0d8" }} - {{ $color = "#3c763d" }} -{{ end }} - -
    - {{ .Inner | safeHTML }} -
    diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/emgithub.html b/themes/hugo-theme-monochrome/layouts/shortcodes/emgithub.html deleted file mode 100644 index 02c5a2c..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/emgithub.html +++ /dev/null @@ -1,68 +0,0 @@ -{{ $target := .Get "target" }} -{{ $lang := .Get "lang" | default "text" }} -{{ $hl := .Get "hl" }} -{{ $tab_size := .Get "tab_size" | default "4" }} - -{{ $target_obj := urls.Parse $target }} -{{ $target_host := $target_obj.Host }} -{{ if not $target }} - {{ errorf "emgithub shortcode in %s has no target" .Position }} -{{ else if not (eq $target_host "github.com") }} - {{ errorf "emgithub shortcode in %s has unsupported target host: %s" .Position $target_host }} -{{ end }} - -{{ $target_path := (split $target_obj.Path "/") }} -{{ $user := index $target_path 1 }} -{{ $repo := index $target_path 2 }} -{{ $branch := index $target_path 4 }} -{{ $file := delimit (after 5 $target_path) "/" }} -{{ $raw_file_url := printf "https://cdn.jsdelivr.net/gh/%s/%s@%s/%s" $user $repo $branch $file }} - -{{ $line_range := split (trim $target_obj.Fragment " ") "-" }} -{{ $line_range_begin := (trim (index $line_range 0) " L") }} -{{ $line_range_end := (trim (index $line_range 1) " L") }} - -{{ if and (eq $line_range_begin "") (eq $line_range_end "") }} - {{ $line_range_begin = 0 }} - {{ $line_range_end = 0 }} -{{ else if and (ne $line_range_begin "") (eq $line_range_end "") }} - {{ $line_range_end = $line_range_begin }} -{{ else if or (eq $line_range_begin "") (eq $line_range_end "") }} - {{ errorf "emgithub shortcode in %s has wrong line range format: range begin after parsing: %s, range end after parsing %s" .Position $line_range_begin $line_range_end }} -{{ end }} - -{{ $line_range_begin = int $line_range_begin }} -{{ $line_range_end = int $line_range_end }} - -{{ if gt $line_range_begin $line_range_end }} - {{ $tmp := $line_range_begin }} - {{ $line_range_begin = $line_range_end }} - {{ $line_range_end = $tmp }} -{{ end }} - -{{ $line_range_diff := add (sub $line_range_end $line_range_begin) 1 }} - - -
    -
    -
    - - - - -
    -
    
    -    
    - -
    - -{{ $js := resources.Get "js/emgithub.js" }} -{{- if hugo.IsProduction -}} - {{ $js = $js | js.Build (dict "minify" true) | resources.Fingerprint "sha512" -}} -{{- else -}} - {{ $js = $js | js.Build }} -{{- end -}} - diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/icon-group.html b/themes/hugo-theme-monochrome/layouts/shortcodes/icon-group.html deleted file mode 100644 index 5e9b781..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/icon-group.html +++ /dev/null @@ -1,3 +0,0 @@ -
    - {{ .Inner | safeHTML }} -
    \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/icon.html b/themes/hugo-theme-monochrome/layouts/shortcodes/icon.html deleted file mode 100644 index a21f277..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/icon.html +++ /dev/null @@ -1,19 +0,0 @@ -{{- $icon_vendor := .Get "vendor" -}} -{{- $icon_link := .Get "link" -}} -{{- $icon_name := .Get "name" -}} - - diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/jsfiddle.html b/themes/hugo-theme-monochrome/layouts/shortcodes/jsfiddle.html deleted file mode 100644 index c9a8f37..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/jsfiddle.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ $id := .Get "id" }} - - diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/recent-posts.html b/themes/hugo-theme-monochrome/layouts/shortcodes/recent-posts.html deleted file mode 100644 index 4cdfc85..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/recent-posts.html +++ /dev/null @@ -1,35 +0,0 @@ -{{ $sortby := .Get "sortby" }} -{{ $limit := int (.Get "limit") }} -{{ $pages := .Site.RegularPages }} - -{{- if $pages -}} -{{- if eq $sortby "publishDate" -}} - {{- $pages = $pages.ByPublishDate.Reverse -}} -{{- else if eq $sortby "lastMod" -}} - {{- $pages = $pages.ByLastmod.Reverse -}} -{{- else -}} - {{- errorf "Unsupported recent posts sort option" -}} -{{- end -}} - -{{- if gt $limit 0 -}} -{{- $pages = first $limit $pages -}} -{{- end -}} - -
      - {{ range $pages }} -
    • - - {{- .Title -}} - - - {{- if eq $sortby "publishDate" -}} - {{- .PublishDate.Format "2006/01/02" -}} - {{- else if eq $sortby "lastMod" -}} - {{- .Lastmod.Format "2006/01/02" -}} - {{- end -}} - -
    • - {{ end }} -
    -{{- end -}} - diff --git a/themes/hugo-theme-monochrome/layouts/shortcodes/terms-cloud.html b/themes/hugo-theme-monochrome/layouts/shortcodes/terms-cloud.html deleted file mode 100644 index 73f9709..0000000 --- a/themes/hugo-theme-monochrome/layouts/shortcodes/terms-cloud.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ $terms := .Get "terms" }} -
    - {{- partial "terms-cloud.html" (index .Site.Taxonomies $terms) -}} -
    \ No newline at end of file diff --git a/themes/hugo-theme-monochrome/theme.toml b/themes/hugo-theme-monochrome/theme.toml deleted file mode 100644 index 4648858..0000000 --- a/themes/hugo-theme-monochrome/theme.toml +++ /dev/null @@ -1,13 +0,0 @@ -name = "Monochrome" -license = "MIT" -licenselink = "https://github.com/kaiiiz/hugo-theme-monochrome/blob/main/LICENSE" -description = "Monochrome is a clean, responsive, and programmer-friendly hugo theme" -homepage = "https://github.com/kaiiiz/hugo-theme-monochrome/" -demosite = "https://kaiiiz.github.io/hugo-theme-monochrome/" -tags = ["blog", "responsive", "dark", "light", "multilingual"] -features = ["Clean UI with small resources", "Responsive layout", "Dark mode", "Multiple layouts built-in", "Nested navbar", "Multilingual mode", "Syntax Highlighting with copy feature", "Site Search", "SEO-friendly", "MathJax Integration", "Useful shortcodes"] -min_version = "0.80.0" - -[author] - name = "You-Kai Zheng" - homepage = "https://github.com/kaiiiz/"