From 14ea8103403cde1a0055ded2dcea9033f2337b76 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Fri, 14 Jul 2023 14:34:27 -0500 Subject: Change layout 100% read view window, add copyright + Added authorship, copyright notice, and link to the code + Increased size of the +1 buttons + Changed layout so the +1 buttons would be prioritized + Adjusted margins to fit content within the iOS window --- src/view/index.html | 86 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 52 insertions(+), 34 deletions(-) (limited to 'src/view') diff --git a/src/view/index.html b/src/view/index.html index 32dd74e..0b66bc8 100644 --- a/src/view/index.html +++ b/src/view/index.html @@ -19,16 +19,30 @@ } .btn-llg { - padding: 0.5rem 1.0rem; + padding: 0.7rem 1.0rem; font-size: 1.6rem; border-radius: 0.3rem; } .btn-plus { - padding: 1rem 1rem; - font-size: 1.4rem; + padding: 1.3rem 1rem; + font-size: 1.6rem; border-radius: 0.3rem; } + + a { + text-decoration: none; + } + + .copyright { + text-align: center; + font-size: 0.8rem; + } + + html, body, main { + height: 100%; + touch-action: none; + } @@ -66,37 +80,40 @@ timer_controller.handle_timer_update(); } }, 10); + + window.addEventListener('load', function () { + const copyrightYearEl = document.getElementById("copyright-year"); + copyrightYearEl.innerText = (new Date()).getUTCFullYear(); + }) - + -
-
-
+
+
+
-

00 : 00 : 00 . 0

-

+

00 : 00 : 00.0

+

Record floor: 00.00

-

Counter 1

-

0

-

00.00

+

Counter 1

+

0

+

00.00

-

Counter 2

-

0

-

00.00

+

Counter 2

+

0

+

00.00

- - -
+
-
- - -
-
-
+
-
+
+
+ +
+
+ +
-
+
-- cgit v1.2.3