4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-22 06:19:50 +01:00

fix typo, improve login.css

This commit is contained in:
Quentin Legot 2022-01-12 08:51:42 +01:00
parent 01c7c4ad1f
commit d876af9c68
2 changed files with 10 additions and 5 deletions

View File

@ -18,14 +18,18 @@ body{
#content{ #content{
height:100%; 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 > * { #content > * {
position:relative;
width: 300px; width: 300px;
top:50%;
left:50%;
transform: translate(-50%, -50%);
background: linear-gradient(70deg, #AE6826, 15%, #DFA74D, 85%, #AE6826); background: linear-gradient(70deg, #AE6826, 15%, #DFA74D, 85%, #AE6826);
border-radius: 5px; border-radius: 5px;
padding: 8px; padding: 8px;
@ -55,5 +59,6 @@ body{
} }
#login h3 { #login h3 {
margin-top: 10px;
margin-bottom: 0; margin-bottom: 0;
} }

View File

@ -82,7 +82,7 @@ function showNotification(title, body="", clazz="info") {
ipcMain.on("disconnect", () => { ipcMain.on("disconnect", () => {
minecraft.auth = null 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"))
}) })