From 171d3edc7ec70e1c492167525f636c1994403533 Mon Sep 17 00:00:00 2001 From: zumbiepig <121742281+zumbiepig@users.noreply.github.com> Date: Sat, 7 Sep 2024 12:06:26 -0700 Subject: [PATCH] / --- src/404.html | 4 +--- src/articles/index.html | 8 ++------ src/home/archive/index.html | 8 ++------ src/home/clients/index.html | 12 +++--------- src/home/downloads/index.html | 8 ++------ src/home/game/index.html | 12 +++--------- src/mobile/index.html | 8 ++------ src/mods/mods/index.html | 8 ++------ src/mods/resourcepacks/index.html | 8 ++------ src/offline.html | 4 +--- src/offline/index.html | 12 +++--------- src/resources/scripts/main.ts | 6 +++--- src/resources/styles/themes/campfire.css | 2 +- src/resources/styles/themes/cherry-blossom.css | 2 +- src/resources/styles/themes/default.css | 5 +---- src/resources/styles/themes/light.css | 2 +- src/resources/styles/themes/nether.css | 2 +- src/resources/styles/themes/overworld.css | 2 +- src/resources/styles/themes/retro.css | 2 +- src/resources/styles/themes/the-end.css | 2 +- src/servers/index.html | 8 ++------ src/settings/index.html | 8 ++------ src/updates/index.html | 8 ++------ src/welcome/index.html | 4 +--- 24 files changed, 41 insertions(+), 104 deletions(-) diff --git a/src/404.html b/src/404.html index 62b18a6..33420ea 100644 --- a/src/404.html +++ b/src/404.html @@ -23,9 +23,7 @@ >
-
- MineXLauncher -
+
diff --git a/src/articles/index.html b/src/articles/index.html index 6a3fc60..52c70db 100644 --- a/src/articles/index.html +++ b/src/articles/index.html @@ -22,14 +22,10 @@ >
-
- MineXLauncher -
+
-
- MineXLauncher -
+
-
- MineXLauncher -
+
-
- Select a client -
+ Select a client
diff --git a/src/home/downloads/index.html b/src/home/downloads/index.html index 2203b10..df4af31 100644 --- a/src/home/downloads/index.html +++ b/src/home/downloads/index.html @@ -22,14 +22,10 @@ >
-
- MineXLauncher -
+
-
- MineXLauncher -
+
-
- Select a version -
+ Select a version
diff --git a/src/mobile/index.html b/src/mobile/index.html index e78c1b7..5a0200f 100644 --- a/src/mobile/index.html +++ b/src/mobile/index.html @@ -12,14 +12,10 @@
-
- MineXLauncher -
+
-
- MineXLauncher -
+
-
- MineXLauncher -
+
-
- MineXLauncher -
+
diff --git a/src/offline/index.html b/src/offline/index.html index 540fdaf..32795fc 100644 --- a/src/offline/index.html +++ b/src/offline/index.html @@ -13,14 +13,10 @@
-
- MineXLauncher -
+
-
- Select a version -
+ Select a version
diff --git a/src/resources/scripts/main.ts b/src/resources/scripts/main.ts index 79f3b5e..2e9c42d 100644 --- a/src/resources/scripts/main.ts +++ b/src/resources/scripts/main.ts @@ -440,8 +440,8 @@ if (window.location.pathname === '/') { theme.load(); document.addEventListener('DOMContentLoaded', async () => { - const profileName = document.querySelector('.profile span'); - const titleBarText = document.querySelector('.title-bar span'); + const profileName = document.querySelector('.username'); + const titleBarText = document.querySelector('.title-bar'); const lastVersion = storage.local.get('lastVersion'); const updateData = (await (await fetch('/resources/data/main.json')).json()).updates; @@ -483,7 +483,7 @@ if (window.location.pathname === '/') { if (window.location.pathname === '/settings/') { document.addEventListener('DOMContentLoaded', async () => { - const profileName = document.querySelector('.profile span'); + const profileName = document.querySelector('.username'); const usernameInput = document.querySelector('#username-input') as HTMLInputElement | null; const themeSelect = document.querySelector('#theme-select') as HTMLSelectElement | null; const offlineCheckbox = document.querySelector('#offline-checkbox') as HTMLInputElement | null; diff --git a/src/resources/styles/themes/campfire.css b/src/resources/styles/themes/campfire.css index a508c0c..8c0894d 100644 --- a/src/resources/styles/themes/campfire.css +++ b/src/resources/styles/themes/campfire.css @@ -22,7 +22,7 @@ body { border-right: 1px solid #4a2f1b; } -.profile { +.username { border-bottom: 1px solid #4a2f1b; } diff --git a/src/resources/styles/themes/cherry-blossom.css b/src/resources/styles/themes/cherry-blossom.css index 173c8f6..c8b4cb7 100644 --- a/src/resources/styles/themes/cherry-blossom.css +++ b/src/resources/styles/themes/cherry-blossom.css @@ -18,7 +18,7 @@ body { border-right: 1px solid #e0d1e3; } -.profile { +.username { border-bottom: 1px solid #e0d1e3; } diff --git a/src/resources/styles/themes/default.css b/src/resources/styles/themes/default.css index af84293..83f4c07 100644 --- a/src/resources/styles/themes/default.css +++ b/src/resources/styles/themes/default.css @@ -61,13 +61,10 @@ body { border-right: 1px solid #333; } -.profile { +.username { padding: 20px 10px; border-bottom: 1px solid #333; text-align: center; -} - -.profile span { font-weight: bold; display: block; font-size: 16px; diff --git a/src/resources/styles/themes/light.css b/src/resources/styles/themes/light.css index f302df3..35c74e5 100644 --- a/src/resources/styles/themes/light.css +++ b/src/resources/styles/themes/light.css @@ -22,7 +22,7 @@ body { border-right: 1px solid #ddd; } -.profile { +.username { border-bottom: 1px solid #ddd; } diff --git a/src/resources/styles/themes/nether.css b/src/resources/styles/themes/nether.css index 84b2ece..5c10a96 100644 --- a/src/resources/styles/themes/nether.css +++ b/src/resources/styles/themes/nether.css @@ -21,7 +21,7 @@ body { border-right: 1px solid #4c2c2c; } -.profile-status { +.username-status { color: #ff4500; } diff --git a/src/resources/styles/themes/overworld.css b/src/resources/styles/themes/overworld.css index 541d413..7837d8b 100644 --- a/src/resources/styles/themes/overworld.css +++ b/src/resources/styles/themes/overworld.css @@ -21,7 +21,7 @@ body { border-right: 1px solid #4c6c4c; } -.profile-status { +.username-status { color: #00ff00; } diff --git a/src/resources/styles/themes/retro.css b/src/resources/styles/themes/retro.css index 3aca795..4e8d482 100644 --- a/src/resources/styles/themes/retro.css +++ b/src/resources/styles/themes/retro.css @@ -25,7 +25,7 @@ body { border-right: 2px solid #00ff00; } -.profile, +.username, .nav-bar li, .installations, .installations div .selector, diff --git a/src/resources/styles/themes/the-end.css b/src/resources/styles/themes/the-end.css index ca86138..a4e7d21 100644 --- a/src/resources/styles/themes/the-end.css +++ b/src/resources/styles/themes/the-end.css @@ -23,7 +23,7 @@ body { border-right: 1px solid #330066; } -.profile { +.username { border-bottom: 1px solid #330066; } diff --git a/src/servers/index.html b/src/servers/index.html index 5304a9e..8f604e9 100644 --- a/src/servers/index.html +++ b/src/servers/index.html @@ -22,14 +22,10 @@ >
-
- MineXLauncher -
+
-
- MineXLauncher -
+
-
- MineXLauncher -
+