-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added math and decreased column to 720px
- Loading branch information
1 parent
882d641
commit a9bbbe2
Showing
48 changed files
with
633 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "PaperMod"] | ||
[submodule "themes/PaperMod"] | ||
path = themes/PaperMod | ||
url = [email protected]:adityatelange/hugo-PaperMod.git | ||
url = [email protected]:adityatelange/hugo-PaperMod.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
:root { | ||
--main-width: 800px; | ||
} | ||
--gap: 24px; | ||
--content-gap: 20px; | ||
--nav-width: 720px; | ||
--main-width: 720px; | ||
--header-height: 60px; | ||
--footer-height: 60px; | ||
--radius: 8px; | ||
--theme: rgb(255, 255, 255); | ||
--entry: rgb(255, 255, 255); | ||
--primary: rgb(30, 30, 30); | ||
--secondary: rgb(108, 108, 108); | ||
--tertiary: rgb(214, 214, 214); | ||
--content: rgb(31, 31, 31); | ||
--hljs-bg: rgb(28, 29, 33); | ||
--code-bg: rgb(245, 245, 245); | ||
--border: rgb(238, 238, 238); | ||
} | ||
|
||
.dark { | ||
--theme: rgb(8, 8, 8); | ||
--entry: rgb(46, 46, 51); | ||
--primary: rgb(218, 218, 219); | ||
--secondary: rgb(155, 156, 157); | ||
--tertiary: rgb(65, 66, 68); | ||
--content: rgb(196, 196, 197); | ||
--hljs-bg: rgb(46, 46, 51); | ||
--code-bg: rgb(55, 56, 62); | ||
--border: rgb(51, 51, 51); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ outputs: | |
home: | ||
- HTML | ||
- RSS | ||
- JSON # is necessary | ||
- JSON | ||
|
||
googleAnalytics: G-T3BJYE1E9X | ||
|
||
|
@@ -21,7 +21,7 @@ minify: | |
minifyOutput: true | ||
|
||
params: | ||
env: production # to enable google analytics, opengraph, twitter-cards and schema. | ||
env: production | ||
author: Max Fierro | ||
DateFormat: "January 2, 2006" | ||
defaultTheme: auto | ||
|
@@ -43,6 +43,7 @@ params: | |
hideSummary: false | ||
showtoc: true | ||
tocopen: false | ||
math: true | ||
|
||
assets: | ||
disableFingerprinting: true | ||
|
@@ -61,7 +62,7 @@ params: | |
profileMode: | ||
enabled: true # needs to be explicitly set | ||
title: Hello there | ||
subtitle: "Welcome, and thank you for stopping by :)" | ||
subtitle: "Welcome, and thank you for stopping by!" | ||
imageUrl: "https://s.gravatar.com/avatar/326976fc6cd1ab6bc7eb844d43bbcf09?s=300" | ||
imageWidth: 120 | ||
imageHeight: 120 | ||
|
@@ -85,17 +86,15 @@ params: | |
url: "mailto:[email protected]" | ||
|
||
cover: | ||
hidden: true # hide everywhere but not in structured data | ||
hiddenInList: true # hide on list pages and home | ||
hiddenInSingle: true # hide on single page | ||
hidden: true | ||
hiddenInList: true | ||
hiddenInSingle: true | ||
|
||
editPost: | ||
URL: "https://github.com/maxfierrog/maxfierrog.github.io/tree/main/content" | ||
Text: "Suggest Changes" # edit text | ||
appendFilePath: true # to append file path to Edit link | ||
Text: "Suggest Changes" | ||
appendFilePath: true | ||
|
||
# for search | ||
# https://fusejs.io/api/options.html | ||
fuseOpts: | ||
isCaseSensitive: false | ||
shouldSort: true | ||
|
@@ -127,4 +126,4 @@ markup: | |
# codeFences: true | ||
# guessSyntax: true | ||
# lineNos: true | ||
# style: monokai | ||
# style: monokai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{{ if or .Params.math .Site.Params.math }} | ||
{{ partial "math.html" . }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous"> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8" crossorigin="anonymous"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05" crossorigin="anonymous"></script> | ||
<script> | ||
document.addEventListener("DOMContentLoaded", function() { | ||
renderMathInElement(document.body, { | ||
// customised options | ||
// • auto-render specific keys, e.g.: | ||
delimiters: [ | ||
{left: '$$', right: '$$', display: true}, | ||
{left: '$', right: '$', display: false}, | ||
{left: '\\(', right: '\\)', display: false}, | ||
{left: '\\[', right: '\\]', display: true} | ||
], | ||
// • rendering keys, e.g.: | ||
throwOnError : false | ||
}); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!doctype html><html lang=en dir=auto><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=robots content="index, follow"><title>404 Page not found | Max Fierro</title><meta name=keywords content><meta name=description content><meta name=author content="Max Fierro"><link rel=canonical href=https://www.maxfierro.me/404.html><link crossorigin=anonymous href=/assets/css/stylesheet.css rel="preload stylesheet" as=style><link rel=icon href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><link rel=icon type=image/png sizes=16x16 href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><link rel=icon type=image/png sizes=32x32 href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><link rel=apple-touch-icon href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><link rel=mask-icon href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><meta name=theme-color content="#2e2e33"><meta name=msapplication-TileColor content="#2e2e33"><noscript><style>#theme-toggle,.top-link{display:none}</style><style>@media(prefers-color-scheme:dark){:root{--theme:rgb(29, 30, 32);--entry:rgb(46, 46, 51);--primary:rgb(218, 218, 219);--secondary:rgb(155, 156, 157);--tertiary:rgb(65, 66, 68);--content:rgb(196, 196, 197);--hljs-bg:rgb(46, 46, 51);--code-bg:rgb(55, 56, 62);--border:rgb(51, 51, 51)}.list{background:var(--theme)}.list:not(.dark)::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-thumb{border-color:var(--theme)}}</style></noscript><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css integrity=sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV crossorigin=anonymous><script defer src=https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js integrity=sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8 crossorigin=anonymous></script> | ||
<script defer src=https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js integrity=sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05 crossorigin=anonymous></script> | ||
<script>document.addEventListener("DOMContentLoaded",function(){renderMathInElement(document.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],throwOnError:!1})})</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-T3BJYE1E9X"></script> | ||
<script>var doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-T3BJYE1E9X",{anonymize_ip:!1})}</script><meta property="og:title" content="404 Page not found"><meta property="og:description" content><meta property="og:type" content="website"><meta property="og:url" content="https://www.maxfierro.me/404.html"><meta name=twitter:card content="summary"><meta name=twitter:title content="404 Page not found"><meta name=twitter:description content></head><body class=list id=top><script>localStorage.getItem("pref-theme")==="dark"?document.body.classList.add("dark"):localStorage.getItem("pref-theme")==="light"?document.body.classList.remove("dark"):window.matchMedia("(prefers-color-scheme: dark)").matches&&document.body.classList.add("dark")</script><header class=header><nav class=nav><div class=logo><a href=https://www.maxfierro.me/ accesskey=h title="Max Fierro (Alt + H)"><img src=https://www.maxfierro.me/apple-touch-icon.png alt aria-label=logo height=35>Max Fierro</a><div class=logo-switches><button id=theme-toggle accesskey=t title="(Alt + T)"><svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg><svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></button></div></div><ul id=menu><li><a href=https://www.maxfierro.me/archive title=Archive><span>Archive</span></a></li><li><a href=https://www.maxfierro.me/tags/ title=Tags><span>Tags</span></a></li><li><a href=https://www.maxfierro.me/search title="Search (Alt + /)" accesskey=/><span>Search</span></a></li></ul></nav></header><main class=main><div class=not-found>404</div></main><footer class=footer><span>© 2023 <a href=https://www.maxfierro.me/>Max Fierro</a></span> | ||
<span>Powered by | ||
<a href=https://gohugo.io/ rel="noopener noreferrer" target=_blank>Hugo</a> & | ||
<a href=https://github.com/adityatelange/hugo-PaperMod/ rel=noopener target=_blank>PaperMod</a></span></footer><a href=#top aria-label="go to top" title="Go to Top (Alt + G)" class=top-link id=top-link accesskey=g><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentcolor"><path d="M12 6H0l6-6z"/></svg></a><script>let menu=document.getElementById("menu");menu&&(menu.scrollLeft=localStorage.getItem("menu-scroll-position"),menu.onscroll=function(){localStorage.setItem("menu-scroll-position",menu.scrollLeft)}),document.querySelectorAll('a[href^="#"]').forEach(e=>{e.addEventListener("click",function(e){e.preventDefault();var t=this.getAttribute("href").substr(1);window.matchMedia("(prefers-reduced-motion: reduce)").matches?document.querySelector(`[id='${decodeURIComponent(t)}']`).scrollIntoView():document.querySelector(`[id='${decodeURIComponent(t)}']`).scrollIntoView({behavior:"smooth"}),t==="top"?history.replaceState(null,null," "):history.pushState(null,null,`#${t}`)})})</script><script>var mybutton=document.getElementById("top-link");window.onscroll=function(){document.body.scrollTop>800||document.documentElement.scrollTop>800?(mybutton.style.visibility="visible",mybutton.style.opacity="1"):(mybutton.style.visibility="hidden",mybutton.style.opacity="0")}</script><script>document.getElementById("theme-toggle").addEventListener("click",()=>{document.body.className.includes("dark")?(document.body.classList.remove("dark"),localStorage.setItem("pref-theme","light")):(document.body.classList.add("dark"),localStorage.setItem("pref-theme","dark"))})</script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!doctype html><html lang=en dir=auto><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=robots content="index, follow"><title>About Me | Max Fierro</title><meta name=keywords content><meta name=description content="Writing whose purpose is to reveal information about me."><meta name=author content="Max Fierro"><link rel=canonical href=https://www.maxfierro.me/about/><link crossorigin=anonymous href=/assets/css/stylesheet.css rel="preload stylesheet" as=style><link rel=icon href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><link rel=icon type=image/png sizes=16x16 href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><link rel=icon type=image/png sizes=32x32 href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><link rel=apple-touch-icon href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><link rel=mask-icon href=https://www.maxfierro.me/%3Clink%20/%20abs%20url%3E><meta name=theme-color content="#2e2e33"><meta name=msapplication-TileColor content="#2e2e33"><link rel=alternate type=application/rss+xml href=https://www.maxfierro.me/about/index.xml><noscript><style>#theme-toggle,.top-link{display:none}</style><style>@media(prefers-color-scheme:dark){:root{--theme:rgb(29, 30, 32);--entry:rgb(46, 46, 51);--primary:rgb(218, 218, 219);--secondary:rgb(155, 156, 157);--tertiary:rgb(65, 66, 68);--content:rgb(196, 196, 197);--hljs-bg:rgb(46, 46, 51);--code-bg:rgb(55, 56, 62);--border:rgb(51, 51, 51)}.list{background:var(--theme)}.list:not(.dark)::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-thumb{border-color:var(--theme)}}</style></noscript><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css integrity=sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV crossorigin=anonymous><script defer src=https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js integrity=sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8 crossorigin=anonymous></script> | ||
<script defer src=https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js integrity=sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05 crossorigin=anonymous></script> | ||
<script>document.addEventListener("DOMContentLoaded",function(){renderMathInElement(document.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],throwOnError:!1})})</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-T3BJYE1E9X"></script> | ||
<script>var doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-T3BJYE1E9X",{anonymize_ip:!1})}</script><meta property="og:title" content="About Me"><meta property="og:description" content="Writing whose purpose is to reveal information about me."><meta property="og:type" content="website"><meta property="og:url" content="https://www.maxfierro.me/about/"><meta name=twitter:card content="summary"><meta name=twitter:title content="About Me"><meta name=twitter:description content="Writing whose purpose is to reveal information about me."><script type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"About Me","item":"https://www.maxfierro.me/about/"}]}</script></head><body class=list id=top><script>localStorage.getItem("pref-theme")==="dark"?document.body.classList.add("dark"):localStorage.getItem("pref-theme")==="light"?document.body.classList.remove("dark"):window.matchMedia("(prefers-color-scheme: dark)").matches&&document.body.classList.add("dark")</script><header class=header><nav class=nav><div class=logo><a href=https://www.maxfierro.me/ accesskey=h title="Max Fierro (Alt + H)"><img src=https://www.maxfierro.me/apple-touch-icon.png alt aria-label=logo height=35>Max Fierro</a><div class=logo-switches><button id=theme-toggle accesskey=t title="(Alt + T)"><svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg><svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg></button></div></div><ul id=menu><li><a href=https://www.maxfierro.me/archive title=Archive><span>Archive</span></a></li><li><a href=https://www.maxfierro.me/tags/ title=Tags><span>Tags</span></a></li><li><a href=https://www.maxfierro.me/search title="Search (Alt + /)" accesskey=/><span>Search</span></a></li></ul></nav></header><main class=main><header class=page-header><div class=breadcrumbs><a href=https://www.maxfierro.me/>Home</a></div><h1>About Me | ||
<a href=/about/index.xml title=RSS aria-label=RSS><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" height="23"><path d="M4 11a9 9 0 019 9"/><path d="M4 4a16 16 0 0116 16"/><circle cx="5" cy="19" r="1"/></svg></a></h1><div class=post-description>Writing whose purpose is to reveal information about me.</div></header><article class=post-entry><header class=entry-header><h2>Curriculum Vitae</h2></header><div class=entry-content><p>Long-form summary of my life’s work and achievements.</p></div><footer class=entry-footer><span title='2023-03-20 00:00:00 +0000 UTC'>March 20, 2023</span> · Max Fierro</footer><a class=entry-link aria-label="post link to Curriculum Vitae" href=https://www.maxfierro.me/about/cv/></a></article><article class=post-entry><header class=entry-header><h2>Personal Overview</h2></header><div class=entry-content><p>Some ramblings I wrote down to give people a better idea of who I am.</p></div><footer class=entry-footer><span title='2023-03-23 00:00:00 +0000 UTC'>March 23, 2023</span> · 6 min · 1125 words · Max Fierro</footer><a class=entry-link aria-label="post link to Personal Overview" href=https://www.maxfierro.me/about/intro/></a></article></main><footer class=footer><span>© 2023 <a href=https://www.maxfierro.me/>Max Fierro</a></span> | ||
<span>Powered by | ||
<a href=https://gohugo.io/ rel="noopener noreferrer" target=_blank>Hugo</a> & | ||
<a href=https://github.com/adityatelange/hugo-PaperMod/ rel=noopener target=_blank>PaperMod</a></span></footer><a href=#top aria-label="go to top" title="Go to Top (Alt + G)" class=top-link id=top-link accesskey=g><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentcolor"><path d="M12 6H0l6-6z"/></svg></a><script>let menu=document.getElementById("menu");menu&&(menu.scrollLeft=localStorage.getItem("menu-scroll-position"),menu.onscroll=function(){localStorage.setItem("menu-scroll-position",menu.scrollLeft)}),document.querySelectorAll('a[href^="#"]').forEach(e=>{e.addEventListener("click",function(e){e.preventDefault();var t=this.getAttribute("href").substr(1);window.matchMedia("(prefers-reduced-motion: reduce)").matches?document.querySelector(`[id='${decodeURIComponent(t)}']`).scrollIntoView():document.querySelector(`[id='${decodeURIComponent(t)}']`).scrollIntoView({behavior:"smooth"}),t==="top"?history.replaceState(null,null," "):history.pushState(null,null,`#${t}`)})})</script><script>var mybutton=document.getElementById("top-link");window.onscroll=function(){document.body.scrollTop>800||document.documentElement.scrollTop>800?(mybutton.style.visibility="visible",mybutton.style.opacity="1"):(mybutton.style.visibility="hidden",mybutton.style.opacity="0")}</script><script>document.getElementById("theme-toggle").addEventListener("click",()=>{document.body.className.includes("dark")?(document.body.classList.remove("dark"),localStorage.setItem("pref-theme","light")):(document.body.classList.add("dark"),localStorage.setItem("pref-theme","dark"))})</script></body></html> |
Oops, something went wrong.