From 735a50928235997cab992e15f50dd9cb740e5266 Mon Sep 17 00:00:00 2001 From: Janis Date: Tue, 28 Oct 2025 19:06:19 +0100 Subject: [PATCH] fix(ui): add light mode styles, update font families and fixed ui --- knockoutwhist | 2 +- .../app/assets/stylesheets/light-mode.less | 2 ++ knockoutwhistweb/app/assets/stylesheets/main.less | 10 +++++----- 3 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 knockoutwhistweb/app/assets/stylesheets/light-mode.less diff --git a/knockoutwhist b/knockoutwhist index 47761bd..fe604e8 160000 --- a/knockoutwhist +++ b/knockoutwhist @@ -1 +1 @@ -Subproject commit 47761bd4a655e0fc0026875aea4dac8e88182c02 +Subproject commit fe604e8f0dd8f608bda79b0642bf736087d88905 diff --git a/knockoutwhistweb/app/assets/stylesheets/light-mode.less b/knockoutwhistweb/app/assets/stylesheets/light-mode.less new file mode 100644 index 0000000..483113e --- /dev/null +++ b/knockoutwhistweb/app/assets/stylesheets/light-mode.less @@ -0,0 +1,2 @@ +@background-image: url('/assets/images/img.png'); +@color: black; \ No newline at end of file diff --git a/knockoutwhistweb/app/assets/stylesheets/main.less b/knockoutwhistweb/app/assets/stylesheets/main.less index 50f0641..f35b7da 100644 --- a/knockoutwhistweb/app/assets/stylesheets/main.less +++ b/knockoutwhistweb/app/assets/stylesheets/main.less @@ -19,7 +19,7 @@ html, body { #sessions a, h1, p { color: @color; font-size: 40px; - font-family: Arial; + font-family: Arial, serif; } #ingame { display: flex; @@ -82,10 +82,10 @@ html, body { display: flex; flex-direction: column; align-items: center; - height: 0%; + height: 0; p { - margin-top: 0px; - margin-bottom: 0px; + margin-top: 0; + margin-bottom: 0; } } #invisible { @@ -100,5 +100,5 @@ html, body { #rules { color: white; font-size: 1.5em; - font-family: Arial; + font-family: Arial, serif; } \ No newline at end of file -- 2.52.0