From 50b40ad09fa0ed7001cc3302af0fcb267f6017db Mon Sep 17 00:00:00 2001 From: limepotato Date: Tue, 3 Sep 2024 04:41:52 -0600 Subject: [PATCH] yeah --- astro/public/scripts/ntfy.js | 27 +++++++++++++++++++ astro/public/styles/css/classes.css | 9 +++++++ .../components/main-page/silly-widgets.astro | 25 +++++++++++++---- 3 files changed, 56 insertions(+), 5 deletions(-) diff --git a/astro/public/scripts/ntfy.js b/astro/public/scripts/ntfy.js index 19bd96c..a951305 100644 --- a/astro/public/scripts/ntfy.js +++ b/astro/public/scripts/ntfy.js @@ -81,3 +81,30 @@ async function ntfyClick() { }, 1000); } } + +function toggleTitle() { + if (ntfyTitle.style.display === "none") { + ntfyTitle.style.display = "internal" + } + else { + ntfyTitle.style.display = "none" + } +} + +function toggleAttach() { + if (ntfyAttach.style.display === "none") { + ntfyAttach.style.display = "internal" + } + else { + ntfyAttach.style.display = "none" + } +} + +function toggleClick() { + if (ntfyClickAction.style.display === "none") { + ntfyClickAction.style.display = "internal" + } + else { + ntfyClickAction.style.display = "none" + } +} \ No newline at end of file diff --git a/astro/public/styles/css/classes.css b/astro/public/styles/css/classes.css index 0752133..fcbbf56 100644 --- a/astro/public/styles/css/classes.css +++ b/astro/public/styles/css/classes.css @@ -113,4 +113,13 @@ hr { flex-wrap: wrap; justify-content: center; gap: 5px; +} + +fieldset { + -webkit-box-shadow: 0 0 20px var(--accent-color); + -moz-box-shadow: 0 0 20px var(--accent-color); + box-shadow: 0 0 20px var(--accent-color); + border: 2.5px solid var(--accent); + border-radius: 3px; + display: inherit; } \ No newline at end of file diff --git a/astro/src/components/main-page/silly-widgets.astro b/astro/src/components/main-page/silly-widgets.astro index abf2d35..a11e60c 100644 --- a/astro/src/components/main-page/silly-widgets.astro +++ b/astro/src/components/main-page/silly-widgets.astro @@ -20,12 +20,26 @@

- - +
+
+ + +
+
+ + +
+
+ + +
+
+ - - -
+ + +
+

+
s if it doesnt seem to be working, or you have javascript disabled,
you can POST to https://ntfy.ouroboros.group/beep.
\ No newline at end of file