From d876af9c68bed6af7a8dc8a5e2fd204fd29b96d9 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Wed, 12 Jan 2022 08:51:42 +0100 Subject: [PATCH] fix typo, improve login.css --- src/client/assets/css/login.css | 13 +++++++++---- src/server/main.js | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/client/assets/css/login.css b/src/client/assets/css/login.css index e047301..11050ce 100644 --- a/src/client/assets/css/login.css +++ b/src/client/assets/css/login.css @@ -18,14 +18,18 @@ body{ #content{ height:100%; + font-family: "French-Press", sans-serif; + font-size: 26px; + display: grid; + grid-template-columns: 1fr; + align-items: center; + align-content: center; + justify-items: center; + grid-gap: 25px; } #content > * { - position:relative; width: 300px; - top:50%; - left:50%; - transform: translate(-50%, -50%); background: linear-gradient(70deg, #AE6826, 15%, #DFA74D, 85%, #AE6826); border-radius: 5px; padding: 8px; @@ -55,5 +59,6 @@ body{ } #login h3 { + margin-top: 10px; margin-bottom: 0; } \ No newline at end of file diff --git a/src/server/main.js b/src/server/main.js index 4877204..2cf9f0f 100644 --- a/src/server/main.js +++ b/src/server/main.js @@ -82,7 +82,7 @@ function showNotification(title, body="", clazz="info") { ipcMain.on("disconnect", () => { minecraft.auth = null - win.loadFile('src/client/login.html').then(() => showNotification("Déconnecté", "Vous avez été déconnecter de votre compte", "success")) + win.loadFile('src/client/login.html').then(() => showNotification("Déconnecté", "Vous avez été déconnecté de votre compte", "success")) })