From 9f845ea234678987c657b295c9719765d48f22d6 Mon Sep 17 00:00:00 2001 From: Julian Appel Date: Thu, 9 May 2024 08:37:08 +0200 Subject: [PATCH] Seperate style files for admin and index, admin interface formatting and design --- scoreboard/public/stylesheets/admin.css | 5 +++ .../stylesheets/{style.css => index.css} | 7 ---- scoreboard/views/admin.hbs | 35 +++++++++---------- scoreboard/views/index.hbs | 2 +- 4 files changed, 23 insertions(+), 26 deletions(-) create mode 100644 scoreboard/public/stylesheets/admin.css rename scoreboard/public/stylesheets/{style.css => index.css} (98%) diff --git a/scoreboard/public/stylesheets/admin.css b/scoreboard/public/stylesheets/admin.css new file mode 100644 index 0000000..71929fb --- /dev/null +++ b/scoreboard/public/stylesheets/admin.css @@ -0,0 +1,5 @@ +body { + /* padding: 50px; */ + font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; + background-color: #47BAEA; + } \ No newline at end of file diff --git a/scoreboard/public/stylesheets/style.css b/scoreboard/public/stylesheets/index.css similarity index 98% rename from scoreboard/public/stylesheets/style.css rename to scoreboard/public/stylesheets/index.css index 3fbbe08..05bf585 100644 --- a/scoreboard/public/stylesheets/style.css +++ b/scoreboard/public/stylesheets/index.css @@ -2,7 +2,6 @@ html, body { height: 100% } - body { /* padding: 50px; */ font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; @@ -13,7 +12,6 @@ a { color: #00B7FF; } - .durationLeft { font-family: 'Seven Segment', sans-serif; font-weight: bold; @@ -28,10 +26,7 @@ a { font-size: 50vh } - - @media ( min-width: 768px ) { - .box-time { height:25% } @@ -43,11 +38,9 @@ a { .box-etc { height: 75% } - } @media ( min-width: 992px ) { - .box-time { height:50% } diff --git a/scoreboard/views/admin.hbs b/scoreboard/views/admin.hbs index cfe3899..9d791d3 100644 --- a/scoreboard/views/admin.hbs +++ b/scoreboard/views/admin.hbs @@ -3,17 +3,17 @@ Scoreboard Admin - + -
+
-
-
+
+

@@ -21,21 +21,22 @@
-
-
-
-
+ +
+
+
- - + +
+
-
-
-
-
+
+
+
+
@@ -47,8 +48,8 @@
-
-
+
+
-





-
diff --git a/scoreboard/views/index.hbs b/scoreboard/views/index.hbs index 349ecd5..60af383 100644 --- a/scoreboard/views/index.hbs +++ b/scoreboard/views/index.hbs @@ -3,7 +3,7 @@ Counter - +