Ajustement pour une interface minimale
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user