diff options
author | matsuyoshi30 <matsuyoshi30@users.noreply.github.com> | 2021-10-23 12:14:17 +0300 |
---|---|---|
committer | matsuyoshi30 <matsuyoshi30@users.noreply.github.com> | 2021-10-23 12:14:17 +0300 |
commit | 98eee2d8af7d829709192174857673dbb2f5717d (patch) | |
tree | 5118befcfd6f05ce26c6e0889891ff5e16bdae04 | |
parent | b730ded18e10e7c736f8aeb163c57cb76d8591e2 (diff) |
deploy: 1e757f87204a1f0efcae2573a62b179d6a3f3205
-rw-r--r-- | 2019/03/05/emoji-support/index.html | 3 | ||||
-rw-r--r-- | 2019/03/08/math-typesetting/index.html | 3 | ||||
-rw-r--r-- | 2019/03/09/placeholder-text/index.html | 3 | ||||
-rw-r--r-- | 2019/03/10/rich-content/index.html | 3 | ||||
-rw-r--r-- | 2019/03/11/markdown-syntax/index.html | 3 | ||||
-rw-r--r-- | 404.html | 3 | ||||
-rw-r--r-- | about/index.html | 3 | ||||
-rw-r--r-- | archives/index.html | 3 | ||||
-rw-r--r-- | categories/index.html | 3 | ||||
-rw-r--r-- | categories/syntax/index.html | 3 | ||||
-rw-r--r-- | categories/themes/index.html | 3 | ||||
-rw-r--r-- | css/dark.min.css | 1 | ||||
-rw-r--r-- | css/styles.min.css | 2 | ||||
-rw-r--r-- | index.html | 3 | ||||
-rw-r--r-- | js/theme.js | 29 | ||||
-rw-r--r-- | page/2/index.html | 3 | ||||
-rw-r--r-- | page/index.html | 3 | ||||
-rw-r--r-- | post/index.html | 3 | ||||
-rw-r--r-- | post/page/2/index.html | 3 | ||||
-rw-r--r-- | search/index.html | 3 | ||||
-rw-r--r-- | tags/css/index.html | 3 | ||||
-rw-r--r-- | tags/emoji/index.html | 3 | ||||
-rw-r--r-- | tags/html/index.html | 3 | ||||
-rw-r--r-- | tags/index.html | 3 | ||||
-rw-r--r-- | tags/markdown/index.html | 3 | ||||
-rw-r--r-- | tags/privacy/index.html | 3 | ||||
-rw-r--r-- | tags/shortcodes/index.html | 3 | ||||
-rw-r--r-- | tags/text/index.html | 3 | ||||
-rw-r--r-- | tags/themes/index.html | 3 |
29 files changed, 83 insertions, 27 deletions
diff --git a/2019/03/05/emoji-support/index.html b/2019/03/05/emoji-support/index.html index 3047936..308a6c2 100644 --- a/2019/03/05/emoji-support/index.html +++ b/2019/03/05/emoji-support/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content="Guide to emoji usage in Hugo"> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/2019/03/08/math-typesetting/index.html b/2019/03/08/math-typesetting/index.html index b3bf4d8..73dbe56 100644 --- a/2019/03/08/math-typesetting/index.html +++ b/2019/03/08/math-typesetting/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content="A brief guide to setup KaTeX"> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/2019/03/09/placeholder-text/index.html b/2019/03/09/placeholder-text/index.html index d34a581..83f376f 100644 --- a/2019/03/09/placeholder-text/index.html +++ b/2019/03/09/placeholder-text/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content="Lorem Ipsum Dolor Si Amet"> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/2019/03/10/rich-content/index.html b/2019/03/10/rich-content/index.html index d6d535a..9bee809 100644 --- a/2019/03/10/rich-content/index.html +++ b/2019/03/10/rich-content/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content="A brief description of Hugo Shortcodes"> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/2019/03/11/markdown-syntax/index.html b/2019/03/11/markdown-syntax/index.html index 91f9f08..be3bf3d 100644 --- a/2019/03/11/markdown-syntax/index.html +++ b/2019/03/11/markdown-syntax/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content="Sample article showcasing basic Markdown syntax and formatting for HTML elements."> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/about/index.html b/about/index.html index 1e3d75a..0d8f856 100644 --- a/about/index.html +++ b/about/index.html @@ -12,8 +12,9 @@ Hugo makes use of a variety of open source projects including: https://github."> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/archives/index.html b/archives/index.html index cf1c6fc..d3b94c1 100644 --- a/archives/index.html +++ b/archives/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/categories/index.html b/categories/index.html index ff3f102..3431aa6 100644 --- a/categories/index.html +++ b/categories/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/categories/syntax/index.html b/categories/syntax/index.html index f2d942c..db5656a 100644 --- a/categories/syntax/index.html +++ b/categories/syntax/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/categories/themes/index.html b/categories/themes/index.html index 86993cf..595f2c7 100644 --- a/categories/themes/index.html +++ b/categories/themes/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/css/dark.min.css b/css/dark.min.css new file mode 100644 index 0000000..f275a9f --- /dev/null +++ b/css/dark.min.css @@ -0,0 +1 @@ +html{background-color:#171717!important}body{filter:invert(100%)hue-rotate(180deg)brightness(105%)contrast(85%);-webkit-filter:invert(100%)hue-rotate(180deg)brightness(105%)contrast(85%)}img,video,iframe,body * [style*=background-image]{filter:hue-rotate(180deg)contrast(100%)invert(100%);-webkit-filter:hue-rotate(180deg)contrast(100%)invert(100%)}
\ No newline at end of file diff --git a/css/styles.min.css b/css/styles.min.css index d030c5b..39e243e 100644 --- a/css/styles.min.css +++ b/css/styles.min.css @@ -1 +1 @@ -@font-face{font-family:noto sans jp;font-style:normal;font-weight:400;font-display:swap;src:local('Noto Sans Japanese Regular'),local('NotoSansJapanese-Regular'),url(../fonts/noto-sans-jp-v25-japanese_latin-regular.woff2)format('woff2'),url(../fonts/noto-sans-jp-v25-japanese_latin-regular.woff)format('woff')}@font-face{font-family:roboto;font-style:normal;font-weight:400;font-display:swap;src:local('Roboto'),local('Roboto-Regular'),url(../fonts/roboto-v20-latin-regular.woff2)format('woff2'),url(../fonts/roboto-v20-latin-regular.woff)format('woff')}html{background-color:#fff}body{margin:0;padding:0;font-family:noto sans jp,sans-serif;font-size:16px;color:#42464c;background:0 0;flex-flow:column;text-rendering:optimizeLegibility}a{outline:none;text-decoration:none}.error-text{font-family:roboto,Helvetica,sans-serif;text-align:center}.header{margin:auto;position:relative}.navbar{min-height:50px;margin-bottom:20px}.nav{top:0;position:relative;max-width:800px;margin:20px auto;padding:0 10px;text-align:right}.nav-logo{float:left;transition:transform 300ms ease-out}.nav-logo:hover{transform:scale(1.1)}.nav-logo img{display:block;width:auto}.nav-links{margin:0;padding:0;font-size:14px;list-style:none}.nav-links li{display:inline-block;margin:0 0 0 10px}.nav-links li a em{color:#000}.intro-header{margin:40px 0 20px;position:relative}.intro-header [class$=-heading]{text-align:center}.intro-header [class$=-heading] h1{margin-top:0;padding-top:0;font-size:50px}h1,h2,h3,h4,h5,h6{font-family:roboto,Helvetica,sans-serif;font-weight:800;color:#111}.container[role=main]{max-width:700px;padding:0 15px;font-size:16px;line-height:1.7;color:#333}.container img{max-width:100%}#blog-archives{margin:20px auto;font-size:14px}.archives{margin:20px auto}.archives td{border:none;text-align:left}.article{text-align:justify}#TableOfContents{font-size:14px;border:2px dotted #ccc;margin:1em 0;padding:.5em 0;background-color:#f0f0f0}#TableOfContents ul{list-style-type:none}#TableOfContents ul ul{list-style-type:disc}p{line-height:1.5;margin:.5em 0}p+p{margin-top:1em}.social-icon{margin-left:.2em;margin-right:.2em}.post-preview{padding-bottom:10px;border-bottom:1px solid #eee}.post-preview a{text-decoration:none;color:#222}.post-preview:last-child{border-bottom:0}.postmeta{margin:10px 0}.blog-tags{font-family:roboto,Helvetica,sans-serif;color:#999;font-size:15px;margin:30px 0}.blog-tags a{color:#00b;text-decoration:none;padding:0 5px}.blog-tags a:before{content:"#"}h4.term-name>span.badge{float:right}div.panel-body{font-family:roboto,Helvetica,sans-serif;font-weight:800;border-radius:0;border:none;font-size:16px}.post-entry{width:100%;margin-top:10px}.post-read-more{font-family:roboto,Helvetica,sans-serif;font-weight:800;float:right;position:relative;display:block;text-decoration:none}a.post-read-more::after{position:absolute;bottom:-4px;left:0;content:'';width:100%;height:2px;background:#333;transform:scale(0,1);transform-origin:center top;transition:transform .3s}a.post-read-more:hover::after{transform:scale(1,1)}blockquote{color:gray;padding:0 10px;border-left:4px solid #aaa}blockquote p:first-child{margin-top:0}table{padding:0;border-spacing:0}table tr{border-top:1px solid #ddd;margin:0;padding:0}table tr th{font-weight:700;border:1px solid #ddd;text-align:left;margin:0;padding:6px 13px}table tr td{border:1px solid #ddd;text-align:left;margin:0;padding:6px 12px}table tr th :first-child,table tr td :first-child{margin-top:0}table tr th :last-child,table tr td :last-child{margin-bottom:0}.chroma .ln{margin-right:.8em;padding:0 .4em}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-family:Menlo,Monaco,Consolas,monospace;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}code{padding:2px 4px;font-size:90%;color:#d01;background-color:#f9f9f9;border-radius:4px}#backtotopButton{position:fixed;bottom:20px;right:20px;z-index:99;border:none;outline:none;background-color:#eef;cursor:pointer;padding:15px;border-radius:10px;font-size:16px;text-align:center}#backtotopButton:hover{background-color:#aaa}.searchBoxContainer{position:relative;width:300px;height:30px;margin:10px auto 50px}input.searchBox{position:absolute;width:100%;padding:0 35px 0 15px;top:0;left:0;right:0;bottom:0;border-radius:15px;outline:0;font-size:16px;color:#707070;background-color:#f6f6f6;border:solid 1px #c9c9c9;box-sizing:border-box}.searchBox::placeholder{color:#c9c9c9}.searchResults{display:none;max-width:600px;min-width:300px;margin:0 auto;top:210px;left:0;right:0;padding:5px;border-radius:5px;text-align:left}.searchResultPage{padding:14px}.searchResultTitle{font-family:roboto,Helvetica,sans-serif;font-weight:700;font-size:24px;margin:5px 0}.searchResultBody{font-size:16px}mark{background-color:#ef0}.pager{list-style:none;text-align:center;margin:20px 0 0;padding-left:0}.pager ul{display:block}.pager li{display:inline}.pager li a{box-sizing:border-box;font-family:roboto,Helvetica,sans-serif;text-transform:uppercase;text-align:center;font-size:14px;font-weight:800;letter-spacing:1px;padding:10px 5px;background:#fff;border-radius:0;border:1px solid #ddd;display:inline-block;color:#404040;text-decoration:none}.pager a:hover:not(.active){background-color:#ddd}.pager .previous>a{float:left;display:block}.pager .next>a{float:right;display:block}footer{padding:60px 0;text-align:center;margin-top:auto;font-size:14px;font-family:roboto,Helvetica,sans-serif}footer .social-icons a{width:1em;height:1em}footer .social-icons a img{width:1em;height:1em;vertical-align:top}footer .copyright{font-family:roboto,Helvetica,sans-serif;text-align:center;margin-top:10px;margin-bottom:0}footer .theme-by{text-align:center;margin:10px 0 0}footer a{color:#050505;font-weight:700}footer em{cursor:pointer}@media(min-width:600px){.header{margin:auto}.nav-links{font-size:18px}.nav-links li{margin:0 0 0 30px}.container[role=main]{font-size:16px;line-height:1.8;margin:40px auto}.blog-tags{margin:20px 0}.pager li a{padding:10px 20px}.pager.blog-pager{margin-top:40px}}html{background-color:#171717!important}body{filter:invert(100%)hue-rotate(180deg)brightness(105%)contrast(85%);-webkit-filter:invert(100%)hue-rotate(180deg)brightness(105%)contrast(85%)}img,video,iframe,body * [style*=background-image]{filter:hue-rotate(180deg)contrast(100%)invert(100%);-webkit-filter:hue-rotate(180deg)contrast(100%)invert(100%)}.chroma{background-color:#f8f8f8}.chroma .x{color:#000}.chroma .err{color:#a40000}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.chroma .hl{display:block;width:100%;background-color:#ffc}.chroma .lnt{margin-right:.4em;padding:0 .4em;color:#7f7f7f}.chroma .ln{margin-right:.4em;padding:0 .4em;color:#7f7f7f}.chroma .k{color:#204a87;font-weight:700}.chroma .kc{color:#204a87;font-weight:700}.chroma .kd{color:#204a87;font-weight:700}.chroma .kn{color:#204a87;font-weight:700}.chroma .kp{color:#204a87;font-weight:700}.chroma .kr{color:#204a87;font-weight:700}.chroma .kt{color:#204a87;font-weight:700}.chroma .n{color:#000}.chroma .na{color:#c4a000}.chroma .nb{color:#204a87}.chroma .bp{color:#3465a4}.chroma .nc{color:#000}.chroma .no{color:#000}.chroma .nd{color:#5c35cc;font-weight:700}.chroma .ni{color:#ce5c00}.chroma .ne{color:#c00;font-weight:700}.chroma .nf{color:#000}.chroma .fm{color:#000}.chroma .nl{color:#f57900}.chroma .nn{color:#000}.chroma .nx{color:#000}.chroma .py{color:#000}.chroma .nt{color:#204a87;font-weight:700}.chroma .nv{color:#000}.chroma .vc{color:#000}.chroma .vg{color:#000}.chroma .vi{color:#000}.chroma .vm{color:#000}.chroma .l{color:#000}.chroma .ld{color:#000}.chroma .s{color:#4e9a06}.chroma .sa{color:#4e9a06}.chroma .sb{color:#4e9a06}.chroma .sc{color:#4e9a06}.chroma .dl{color:#4e9a06}.chroma .sd{color:#8f5902;font-style:italic}.chroma .s2{color:#4e9a06}.chroma .se{color:#4e9a06}.chroma .sh{color:#4e9a06}.chroma .si{color:#4e9a06}.chroma .sx{color:#4e9a06}.chroma .sr{color:#4e9a06}.chroma .s1{color:#4e9a06}.chroma .ss{color:#4e9a06}.chroma .m{color:#0000cf;font-weight:700}.chroma .mb{color:#0000cf;font-weight:700}.chroma .mf{color:#0000cf;font-weight:700}.chroma .mh{color:#0000cf;font-weight:700}.chroma .mi{color:#0000cf;font-weight:700}.chroma .il{color:#0000cf;font-weight:700}.chroma .mo{color:#0000cf;font-weight:700}.chroma .o{color:#ce5c00;font-weight:700}.chroma .ow{color:#204a87;font-weight:700}.chroma .p{color:#000;font-weight:700}.chroma .c{color:#8f5902;font-style:italic}.chroma .ch{color:#8f5902;font-style:italic}.chroma .cm{color:#8f5902;font-style:italic}.chroma .c1{color:#8f5902;font-style:italic}.chroma .cs{color:#8f5902;font-style:italic}.chroma .cp{color:#8f5902;font-style:italic}.chroma .cpf{color:#8f5902;font-style:italic}.chroma .g{color:#000}.chroma .gd{color:#a40000}.chroma .ge{color:#000;font-style:italic}.chroma .gr{color:#ef2929}.chroma .gh{color:navy;font-weight:700}.chroma .gi{color:#00a000}.chroma .go{color:#000;font-style:italic}.chroma .gp{color:#8f5902}.chroma .gs{color:#000;font-weight:700}.chroma .gu{color:purple;font-weight:700}.chroma .gt{color:#a40000;font-weight:700}.chroma .gl{color:#000;text-decoration:underline}.chroma .w{color:#f8f8f8;text-decoration:underline}
\ No newline at end of file +@font-face{font-family:noto sans jp;font-style:normal;font-weight:400;font-display:swap;src:local('Noto Sans Japanese Regular'),local('NotoSansJapanese-Regular'),url(../fonts/noto-sans-jp-v25-japanese_latin-regular.woff2)format('woff2'),url(../fonts/noto-sans-jp-v25-japanese_latin-regular.woff)format('woff')}@font-face{font-family:roboto;font-style:normal;font-weight:400;font-display:swap;src:local('Roboto'),local('Roboto-Regular'),url(../fonts/roboto-v20-latin-regular.woff2)format('woff2'),url(../fonts/roboto-v20-latin-regular.woff)format('woff')}html{background-color:#fff}body{margin:0;padding:0;font-family:noto sans jp,sans-serif;font-size:16px;color:#42464c;background:0 0;flex-flow:column;text-rendering:optimizeLegibility}a{outline:none;text-decoration:none}.error-text{font-family:roboto,Helvetica,sans-serif;text-align:center}.header{margin:auto;position:relative}.navbar{min-height:50px;margin-bottom:20px}.nav{top:0;position:relative;max-width:800px;margin:20px auto;padding:0 10px;text-align:right}.nav-logo{float:left;transition:transform 300ms ease-out}.nav-logo:hover{transform:scale(1.1)}.nav-logo img{display:block;width:auto}.nav-links{margin:0;padding:0;font-size:14px;list-style:none}.nav-links li{display:inline-block;margin:0 0 0 10px}.nav-links li a em{color:#000}.intro-header{margin:40px 0 20px;position:relative}.intro-header [class$=-heading]{text-align:center}.intro-header [class$=-heading] h1{margin-top:0;padding-top:0;font-size:50px}h1,h2,h3,h4,h5,h6{font-family:roboto,Helvetica,sans-serif;font-weight:800;color:#111}.container[role=main]{max-width:700px;padding:0 15px;font-size:16px;line-height:1.7;color:#333}.container img{max-width:100%}#blog-archives{margin:20px auto;font-size:14px}.archives{margin:20px auto}.archives td{border:none;text-align:left}.article{text-align:justify}#TableOfContents{font-size:14px;border:2px dotted #ccc;margin:1em 0;padding:.5em 0;background-color:#f0f0f0}#TableOfContents ul{list-style-type:none}#TableOfContents ul ul{list-style-type:disc}p{line-height:1.5;margin:.5em 0}p+p{margin-top:1em}.social-icon{margin-left:.2em;margin-right:.2em}.post-preview{padding-bottom:10px;border-bottom:1px solid #eee}.post-preview a{text-decoration:none;color:#222}.post-preview:last-child{border-bottom:0}.postmeta{margin:10px 0}.blog-tags{font-family:roboto,Helvetica,sans-serif;color:#999;font-size:15px;margin:30px 0}.blog-tags a{color:#00b;text-decoration:none;padding:0 5px}.blog-tags a:before{content:"#"}h4.term-name>span.badge{float:right}div.panel-body{font-family:roboto,Helvetica,sans-serif;font-weight:800;border-radius:0;border:none;font-size:16px}.post-entry{width:100%;margin-top:10px}.post-read-more{font-family:roboto,Helvetica,sans-serif;font-weight:800;float:right;position:relative;display:block;text-decoration:none}a.post-read-more::after{position:absolute;bottom:-4px;left:0;content:'';width:100%;height:2px;background:#333;transform:scale(0,1);transform-origin:center top;transition:transform .3s}a.post-read-more:hover::after{transform:scale(1,1)}blockquote{color:gray;padding:0 10px;border-left:4px solid #aaa}blockquote p:first-child{margin-top:0}table{padding:0;border-spacing:0}table tr{border-top:1px solid #ddd;margin:0;padding:0}table tr th{font-weight:700;border:1px solid #ddd;text-align:left;margin:0;padding:6px 13px}table tr td{border:1px solid #ddd;text-align:left;margin:0;padding:6px 12px}table tr th :first-child,table tr td :first-child{margin-top:0}table tr th :last-child,table tr td :last-child{margin-bottom:0}.chroma .ln{margin-right:.8em;padding:0 .4em}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-family:Menlo,Monaco,Consolas,monospace;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}code{padding:2px 4px;font-size:90%;color:#d01;background-color:#f9f9f9;border-radius:4px}#backtotopButton{position:fixed;bottom:20px;right:20px;z-index:99;border:none;outline:none;background-color:#eef;cursor:pointer;padding:15px;border-radius:10px;font-size:16px;text-align:center}#backtotopButton:hover{background-color:#aaa}.searchBoxContainer{position:relative;width:300px;height:30px;margin:10px auto 50px}input.searchBox{position:absolute;width:100%;padding:0 35px 0 15px;top:0;left:0;right:0;bottom:0;border-radius:15px;outline:0;font-size:16px;color:#707070;background-color:#f6f6f6;border:solid 1px #c9c9c9;box-sizing:border-box}.searchBox::placeholder{color:#c9c9c9}.searchResults{display:none;max-width:600px;min-width:300px;margin:0 auto;top:210px;left:0;right:0;padding:5px;border-radius:5px;text-align:left}.searchResultPage{padding:14px}.searchResultTitle{font-family:roboto,Helvetica,sans-serif;font-weight:700;font-size:24px;margin:5px 0}.searchResultBody{font-size:16px}mark{background-color:#ef0}.pager{list-style:none;text-align:center;margin:20px 0 0;padding-left:0}.pager ul{display:block}.pager li{display:inline}.pager li a{box-sizing:border-box;font-family:roboto,Helvetica,sans-serif;text-transform:uppercase;text-align:center;font-size:14px;font-weight:800;letter-spacing:1px;padding:10px 5px;background:#fff;border-radius:0;border:1px solid #ddd;display:inline-block;color:#404040;text-decoration:none}.pager a:hover:not(.active){background-color:#ddd}.pager .previous>a{float:left;display:block}.pager .next>a{float:right;display:block}footer{padding:60px 0;text-align:center;margin-top:auto;font-size:14px;font-family:roboto,Helvetica,sans-serif}footer .social-icons a{width:1em;height:1em}footer .social-icons a img{width:1em;height:1em;vertical-align:top}footer .copyright{font-family:roboto,Helvetica,sans-serif;text-align:center;margin-top:10px;margin-bottom:0}footer .theme-by{text-align:center;margin:10px 0 0}footer a{color:#050505;font-weight:700}footer em{cursor:pointer}@media(min-width:600px){.header{margin:auto}.nav-links{font-size:18px}.nav-links li{margin:0 0 0 30px}.container[role=main]{font-size:16px;line-height:1.8;margin:40px auto}.blog-tags{margin:20px 0}.pager li a{padding:10px 20px}.pager.blog-pager{margin-top:40px}}.chroma{background-color:#f8f8f8}.chroma .x{color:#000}.chroma .err{color:#a40000}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block}.chroma .hl{display:block;width:100%;background-color:#ffc}.chroma .lnt{margin-right:.4em;padding:0 .4em;color:#7f7f7f}.chroma .ln{margin-right:.4em;padding:0 .4em;color:#7f7f7f}.chroma .k{color:#204a87;font-weight:700}.chroma .kc{color:#204a87;font-weight:700}.chroma .kd{color:#204a87;font-weight:700}.chroma .kn{color:#204a87;font-weight:700}.chroma .kp{color:#204a87;font-weight:700}.chroma .kr{color:#204a87;font-weight:700}.chroma .kt{color:#204a87;font-weight:700}.chroma .n{color:#000}.chroma .na{color:#c4a000}.chroma .nb{color:#204a87}.chroma .bp{color:#3465a4}.chroma .nc{color:#000}.chroma .no{color:#000}.chroma .nd{color:#5c35cc;font-weight:700}.chroma .ni{color:#ce5c00}.chroma .ne{color:#c00;font-weight:700}.chroma .nf{color:#000}.chroma .fm{color:#000}.chroma .nl{color:#f57900}.chroma .nn{color:#000}.chroma .nx{color:#000}.chroma .py{color:#000}.chroma .nt{color:#204a87;font-weight:700}.chroma .nv{color:#000}.chroma .vc{color:#000}.chroma .vg{color:#000}.chroma .vi{color:#000}.chroma .vm{color:#000}.chroma .l{color:#000}.chroma .ld{color:#000}.chroma .s{color:#4e9a06}.chroma .sa{color:#4e9a06}.chroma .sb{color:#4e9a06}.chroma .sc{color:#4e9a06}.chroma .dl{color:#4e9a06}.chroma .sd{color:#8f5902;font-style:italic}.chroma .s2{color:#4e9a06}.chroma .se{color:#4e9a06}.chroma .sh{color:#4e9a06}.chroma .si{color:#4e9a06}.chroma .sx{color:#4e9a06}.chroma .sr{color:#4e9a06}.chroma .s1{color:#4e9a06}.chroma .ss{color:#4e9a06}.chroma .m{color:#0000cf;font-weight:700}.chroma .mb{color:#0000cf;font-weight:700}.chroma .mf{color:#0000cf;font-weight:700}.chroma .mh{color:#0000cf;font-weight:700}.chroma .mi{color:#0000cf;font-weight:700}.chroma .il{color:#0000cf;font-weight:700}.chroma .mo{color:#0000cf;font-weight:700}.chroma .o{color:#ce5c00;font-weight:700}.chroma .ow{color:#204a87;font-weight:700}.chroma .p{color:#000;font-weight:700}.chroma .c{color:#8f5902;font-style:italic}.chroma .ch{color:#8f5902;font-style:italic}.chroma .cm{color:#8f5902;font-style:italic}.chroma .c1{color:#8f5902;font-style:italic}.chroma .cs{color:#8f5902;font-style:italic}.chroma .cp{color:#8f5902;font-style:italic}.chroma .cpf{color:#8f5902;font-style:italic}.chroma .g{color:#000}.chroma .gd{color:#a40000}.chroma .ge{color:#000;font-style:italic}.chroma .gr{color:#ef2929}.chroma .gh{color:navy;font-weight:700}.chroma .gi{color:#00a000}.chroma .go{color:#000;font-style:italic}.chroma .gp{color:#8f5902}.chroma .gs{color:#000;font-weight:700}.chroma .gu{color:purple;font-weight:700}.chroma .gt{color:#a40000;font-weight:700}.chroma .gl{color:#000;text-decoration:underline}.chroma .w{color:#f8f8f8;text-decoration:underline}
\ No newline at end of file @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/js/theme.js b/js/theme.js new file mode 100644 index 0000000..3bd7466 --- /dev/null +++ b/js/theme.js @@ -0,0 +1,29 @@ +window.onload = function () { + var toggle = document.getElementById('dark-mode-toggle') + var darkTheme = document.getElementById('dark-mode-theme') + + if (window.matchMedia('(prefers-color-scheme: dark)').matches) { + setTheme(localStorage.getItem('dark-mode-storage') || 'dark') + } else { + setTheme(localStorage.getItem('dark-mode-storage') || 'light') + } + + toggle.addEventListener('click', () => { + if (toggle.className === 'fas fa-moon') { + setTheme('dark') + } else if (toggle.className === 'fas fa-sun') { + setTheme('light') + } + }) + + function setTheme(mode) { + localStorage.setItem('dark-mode-storage', mode) + if (mode === 'dark') { + darkTheme.disabled = false + toggle.className = 'fas fa-sun' + } else if (mode === 'light') { + darkTheme.disabled = true + toggle.className = 'fas fa-moon' + } + } +} diff --git a/page/2/index.html b/page/2/index.html index 8a3134f..ad97732 100644 --- a/page/2/index.html +++ b/page/2/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/page/index.html b/page/index.html index 6e4f5c3..5605883 100644 --- a/page/index.html +++ b/page/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/post/index.html b/post/index.html index f74bab2..874d018 100644 --- a/post/index.html +++ b/post/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/post/page/2/index.html b/post/page/2/index.html index 7e81ba3..e7b97e6 100644 --- a/post/page/2/index.html +++ b/post/page/2/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/search/index.html b/search/index.html index 9f14f13..a4d145d 100644 --- a/search/index.html +++ b/search/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/search.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> diff --git a/tags/css/index.html b/tags/css/index.html index 7a6af0e..3c6c343 100644 --- a/tags/css/index.html +++ b/tags/css/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/tags/emoji/index.html b/tags/emoji/index.html index 291c18d..f92df8f 100644 --- a/tags/emoji/index.html +++ b/tags/emoji/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/tags/html/index.html b/tags/html/index.html index dfc451c..35e86a2 100644 --- a/tags/html/index.html +++ b/tags/html/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/tags/index.html b/tags/index.html index 74fe4d7..b5144ce 100644 --- a/tags/index.html +++ b/tags/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/tags/markdown/index.html b/tags/markdown/index.html index 7ed9ed8..7335bb1 100644 --- a/tags/markdown/index.html +++ b/tags/markdown/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/tags/privacy/index.html b/tags/privacy/index.html index 3e5930a..50f0179 100644 --- a/tags/privacy/index.html +++ b/tags/privacy/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/tags/shortcodes/index.html b/tags/shortcodes/index.html index d98e38d..4c56bb9 100644 --- a/tags/shortcodes/index.html +++ b/tags/shortcodes/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/tags/text/index.html b/tags/text/index.html index 6b37e64..ca8a853 100644 --- a/tags/text/index.html +++ b/tags/text/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> diff --git a/tags/themes/index.html b/tags/themes/index.html index 45239e5..7903f69 100644 --- a/tags/themes/index.html +++ b/tags/themes/index.html @@ -10,8 +10,9 @@ <meta name=twitter:description content> <link rel=stylesheet href=https://matsuyoshi30.net/harbor/fontawesome/css/all.min.css> <link crossorigin=anonymous href=/harbor/css/styles.min.css integrity rel="preload stylesheet" as=style> -<link id=dark-mode-theme rel=stylesheet href=https://matsuyoshi30.net/harbor/css/dark.css> +<link id=dark-mode-theme crossorigin=anonymous href=/harbor/css/dark.min.css integrity rel="preload stylesheet" as=style> <script>var darkTheme=document.getElementById('dark-mode-theme'),storedTheme=localStorage.getItem('dark-mode-storage');storedTheme==='dark'?darkTheme.disabled=!1:storedTheme==='light'&&(darkTheme.disabled=!0)</script> +<script defer crossorigin=anonymous src=/harbor/js/theme.js integrity></script> <script defer crossorigin=anonymous src=/harbor/js/instantpage.min.js integrity></script><meta name=generator content="Hugo 0.88.1"> </head> <body> |