summaryrefslogtreecommitdiff
path: root/blog/dst/a/website_with_nginx.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-06 06:59:20 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-06 06:59:20 -0600
commit28d1ea21350640ff5da7412b7e096cc09f7cb567 (patch)
tree2177386769bed078f73a9360d340059f49f409a8 /blog/dst/a/website_with_nginx.html
parent408da9eafe37c7522ab7aeb212df09b46487bcbd (diff)
refactor css and theme switcher
Diffstat (limited to 'blog/dst/a/website_with_nginx.html')
-rw-r--r--blog/dst/a/website_with_nginx.html15
1 files changed, 4 insertions, 11 deletions
diff --git a/blog/dst/a/website_with_nginx.html b/blog/dst/a/website_with_nginx.html
index 811524e..28f0242 100644
--- a/blog/dst/a/website_with_nginx.html
+++ b/blog/dst/a/website_with_nginx.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en"
+<html class="theme-dark" lang="en"
prefix="og: https://ogp.me/ns#">
<head>
<base href="https://static.luevano.xyz">
@@ -21,7 +21,7 @@
<!-- theme related -->
<script type="text/javascript" src="scripts/theme.js"></script>
- <link id="theme-css" rel="stylesheet" type="text/css" href="css/dark.css">
+ <link id="theme-css" rel="stylesheet" type="text/css" href="css/theme.css">
<link id="code-theme-css" rel="stylesheet" type="text/css" href="hl/styles/nord.min.css">
<!-- og meta -->
@@ -68,14 +68,7 @@
</ul>
</nav>
- <div class="theme-switch-container">
- <i class="fas fa-sun"></i>
- <label class="switch theme">
- <input id="theme-switch" type="checkbox" onclick="toggleTheme()">
- <span class="slider round"></span>
- </label>
- <i class="fas fa-moon"></i>
- </div>
+ <button class="theme-switcher" onclick="toggleTheme()"><i class="fas fa-moon"></i><i class="fas fa-sun"></i></button>
</header>
<main>
@@ -220,7 +213,7 @@ systemctl restart nginx
<span>
<i class="fas fa-rss" alt="RSS"></i>
- <a href="https://blog.luevano.xyz/rss.xml">RSS</a>
+ <a target="_blank" href="https://blog.luevano.xyz/rss.xml">RSS</a>
</span>
<br>