From 34dce5eea602e1e3733ef562682e1e2d30c99343 Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Mon, 20 Feb 2023 19:37:30 +0100 Subject: [PATCH] Small launcher progress --- data/launcher/main.html | 22 +++++++++++++++++++++- src/client/launcher/launcher.cpp | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/data/launcher/main.html b/data/launcher/main.html index 3099198e..671caeae 100644 --- a/data/launcher/main.html +++ b/data/launcher/main.html @@ -74,7 +74,7 @@ .content { width: 100%; text-align: center; - padding-top: 100px; + padding-top: 30px; } div.button { @@ -89,6 +89,8 @@ padding: 0.5rem; border-radius: 0.5rem; transition: all 0.1s linear; + font-size: 1rem; + font-weight: normal; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; } @@ -97,6 +99,16 @@ background-color: rgb(48, 45, 44); border: 1px solid #4a4745; } + + h1, + h1 * { + font-size: 3rem; + font-weight: bold; + color: white; + + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; + } @@ -104,6 +116,14 @@
+

+ Call of Duty: + BOIII +

Play
About diff --git a/src/client/launcher/launcher.cpp b/src/client/launcher/launcher.cpp index 6f05f519..e0d73345 100644 --- a/src/client/launcher/launcher.cpp +++ b/src/client/launcher/launcher.cpp @@ -12,7 +12,7 @@ namespace launcher bool run() { bool run_game = false; - html_window window("BOIII", 550, 380); + html_window window("BOIII", 550, 320); window.get_html_frame()->register_callback( "openUrl", [](const std::vector& params) -> CComVariant