diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-02-27 01:14:41 -0700 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-02-27 01:14:41 -0700 |
commit | 54180a1a177b9a11d8348c14a3446529b08daea7 (patch) | |
tree | 139b56c97c32bacbf7dd2765eb08dacd7322c544 /luevano/index.html | |
parent | 89724572c5250e2eb531754e33ac112896fa0226 (diff) |
Tweak css and add switch for dark and light mode
Diffstat (limited to 'luevano/index.html')
-rw-r--r-- | luevano/index.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/luevano/index.html b/luevano/index.html index 7afb248..f1f1f05 100644 --- a/luevano/index.html +++ b/luevano/index.html @@ -1,8 +1,12 @@ <!DOCTYPE html> <html lang="en"> <head> - <link rel="stylesheet" type="text/css" href="https://static.luevano.xyz/css/style.css"> + <script type="text/javascript" src="https://static.luevano.xyz/scripts/theme.js"></script> + <link rel="stylesheet" type="text/css" href="https://static.luevano.xyz/fa/css/all.min.css"> + <link id="theme-css" rel="stylesheet" type="text/css" href="https://static.luevano.xyz/css/dark.css"> + <link rel="stylesheet" type="text/css" href="https://static.luevano.xyz/css/general_style.css"> + <link rel="icon" href="https://static.luevano.xyz/fa/svgs/solid/dragon.svg"> <meta charset="utf-8"> @@ -46,6 +50,11 @@ </ul> </nav> + <label class="switch"> + <input id="theme-switch" type="checkbox" onclick="toggleTheme()"> + <span class="slider round"></span> + </label> + <div class="welcome"> <h1> Welcome! |