Ajustement pour une interface minimale

This commit is contained in:
2026-04-21 01:50:53 +02:00
parent 4a1c77121b
commit 13df9c0601
4 changed files with 88 additions and 25 deletions
+19 -2
View File
@@ -28,6 +28,12 @@ body, html {
margin: 0;
}
body {
width: 100vw;
height: 100vh;
overflow: hidden;
}
:root {
--back-color: black;
--main-color: white;
@@ -41,6 +47,17 @@ body, html {
font-weight: bold;
}
body > *{
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 15px;
}
#welcome-panel {
text-align: center;
}
h1 {
font-family: 'lineal', sans-serif;
font-weight: bolder;
@@ -48,8 +65,8 @@ h1 {
#ui-canvas {
display: block;
max-width: calc(100vw - 30px);
max-height: calc(100vh - 30px);
margin-left: auto;
margin-right: auto;
max-width: 100vw;
max-height: 100vh;
}