From c859a5094b5bca79411d78fcd16985088c4c7784 Mon Sep 17 00:00:00 2001
From: Fuwn
Date: Wed, 12 Jun 2024 11:11:51 +0000
Subject: feat(index.html): random image on desktop
---
index.html | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 75 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index a058e4d..7f18631 100644
--- a/index.html
+++ b/index.html
@@ -33,7 +33,7 @@
0 6px 20px -3px rgba(0, 0, 0, 0.2);
}
- img {
+ .example-image {
display: block;
margin: 10px 0;
width: 100%;
@@ -156,6 +156,22 @@
select {
margin-bottom: unset;
}
+
+ .mascot {
+ display: none;
+ }
+ }
+
+ @media (min-width: 768px) {
+ .mascot {
+ position: fixed;
+ bottom: 0;
+ right: 20px;
+ width: 300px;
+ margin: 0;
+ border-radius: 0;
+ z-index: -1;
+ }
}
@@ -167,7 +183,7 @@
Enter the username you'd like to use as the ID of your counter.
-
+
@@ -197,6 +213,7 @@
id="example"
src="https://counter.due.moe/get/@demo"
alt="Example counter"
+ class="example-image"
/>
hi
@@ -213,6 +230,13 @@
+
+