From 54180a1a177b9a11d8348c14a3446529b08daea7 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <david@luevano.xyz> Date: Sat, 27 Feb 2021 01:14:41 -0700 Subject: Tweak css and add switch for dark and light mode --- luevano/index.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'luevano') 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! -- cgit v1.2.3-70-g09d2