diff options
-rw-r--r-- | .config/startpage/index.html | 13 | ||||
-rw-r--r-- | .config/startpage/script.js | 10 | ||||
-rw-r--r-- | .config/startpage/style.css | 25 |
3 files changed, 0 insertions, 48 deletions
diff --git a/.config/startpage/index.html b/.config/startpage/index.html deleted file mode 100644 index 205ece8..0000000 --- a/.config/startpage/index.html +++ /dev/null @@ -1,13 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset='utf-8'> - <title>New Tab</title> - <link rel='stylesheet' type='text/css' media='screen' href='colors.css'> - <link rel='stylesheet' type='text/css' media='screen' href='style.css'> - <script src="script.js" defer></script> -</head> -<body> - <div class="center"><h1 id="time"></h1></div> -</body> -</html> diff --git a/.config/startpage/script.js b/.config/startpage/script.js deleted file mode 100644 index b45a34a..0000000 --- a/.config/startpage/script.js +++ /dev/null @@ -1,10 +0,0 @@ -function time() { - var now = new Date(); - var hour = now.getHours().toString().padStart(2, "0") - var minute = now.getMinutes().toString().padStart(2, "0") - document.getElementById("time").innerText = `${hour}:${minute}` -} - -time(); -setInterval(time, 500); - diff --git a/.config/startpage/style.css b/.config/startpage/style.css deleted file mode 100644 index d92ab0c..0000000 --- a/.config/startpage/style.css +++ /dev/null @@ -1,25 +0,0 @@ -html, body { - margin: 0; - padding: 0; - background: var(--background); - color: var(--foreground); - font-family: "JetBrainsMono Nerd Font"; -} - -* { - cursor: normal; - user-select: none; -} - -h1 { - margin: 0; -} - -.center { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - white-space: nowrap; -} - |