diff options
Diffstat (limited to 'shtml')
-rw-r--r-- | shtml/footnote.shtml | 2 | ||||
-rw-r--r-- | shtml/initScripts.shtml | 14 | ||||
-rw-r--r-- | shtml/navigationBar.shtml | 4 |
3 files changed, 18 insertions, 2 deletions
diff --git a/shtml/footnote.shtml b/shtml/footnote.shtml index e31b2ce..c1d8561 100644 --- a/shtml/footnote.shtml +++ b/shtml/footnote.shtml @@ -18,5 +18,5 @@ <div class="separator"></div> - <img alt="\"Obfuscated e-mail address.\"" class="obfuscatedText" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALcAAAAICAYAAAC78m4/AAAA/UlEQVRYw+1XQQ7EIAiExv9/2T01IQQJDNZ0rdyEFmEcBJmIqPfe6ciRzYRvYjMzS4Mk/Mim9RXbbY/YkGLM5BDdI4PZKAe5zuJi+fDWmTPK5F3hS2RPNPdLK/RHnk1ulLFJnbWWOsuGEhuNJetT27I5eP95WFskqJ5fJM4oX1Cso3FqXUNvrZHTWSNO5Zb+i5bpkGhmh/rMCGJwsEWJ6oEmq4mZefRftkpXEmq1T3Q0QPGMFNNul8kVBRYdD9CW94TMGHFW+ETx9OLw4nzTGVVw0cXa5INlxq2APEisNow8cN8EtMYzE2clP+9humIUqHKpwjOd+9Zz7ZFvyw87v+eHE6E5DAAAAABJRU5ErkJggg" /> + <div class="obfuscatedText" style="mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALcAAAAICAYAAAC78m4/AAAA/UlEQVRYw+1XQQ7EIAiExv9/2T01IQQJDNZ0rdyEFmEcBJmIqPfe6ciRzYRvYjMzS4Mk/Mim9RXbbY/YkGLM5BDdI4PZKAe5zuJi+fDWmTPK5F3hS2RPNPdLK/RHnk1ulLFJnbWWOsuGEhuNJetT27I5eP95WFskqJ5fJM4oX1Cso3FqXUNvrZHTWSNO5Zb+i5bpkGhmh/rMCGJwsEWJ6oEmq4mZefRftkpXEmq1T3Q0QPGMFNNul8kVBRYdD9CW94TMGHFW+ETx9OLw4nzTGVVw0cXa5INlxq2APEisNow8cN8EtMYzE2clP+9humIUqHKpwjOd+9Zz7ZFvyw87v+eHE6E5DAAAAABJRU5ErkJggg);"></div> </section> diff --git a/shtml/initScripts.shtml b/shtml/initScripts.shtml index 77f8afd..d4955f3 100644 --- a/shtml/initScripts.shtml +++ b/shtml/initScripts.shtml @@ -1,5 +1,17 @@ <script src="/js/initImages.js" type="text/javascript"></script> +<script src="/js/setTheme.js" type="text/javascript"></script> +<script src="/js/toggleTheme.js" type="text/javascript"></script> <script type="text/javascript"> - initImages(); + (function() { + initImages(); + + let theme = localStorage.getItem("theme"); + + if (!theme) { + theme = "dark"; + } + + setTheme(theme); + })(); </script> diff --git a/shtml/navigationBar.shtml b/shtml/navigationBar.shtml index 5aeaa15..0609ece 100644 --- a/shtml/navigationBar.shtml +++ b/shtml/navigationBar.shtml @@ -1,6 +1,10 @@ <div id="navigationBar"> + <p id="themeToggler" onclick="toggleTheme();">TOGGLE THEME</p> + <a href="/html/about.html">ABOUT</a> + <div class="separator"></div> + <a href="/html/ax.html">AX</a> <a href="/html/backspace.html">BACKSPACE</a> <a href="/html/benoit.html">BENOIT</a> |