gobi/assets/css/main.css

88 lines
1.2 KiB
CSS

@font-face {
font-family: roman;
src: url(../fonts/RomanAntique.ttf);
}
html, body {
margin: 0;
padding: 0;
background-color: #d0c8b1;
font-family: roman;
}
body {
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
.container {
width: 80vw;
height: 100vh;
box-sizing: border-box;
display: flex;
}
#photo {
width: 60vw;
height: 100vh;
}
#ui {
background-color: #c1bc97;
width: 20vw;
font-size: x-large;
height: 100vh;
}
#buttons {
height: 50%;
border: 2px dotted;
display: flex;
flex-direction: column;
justify-content: space-around;
/* height: 90vh; */
}
.actions {
height: 5vh;
border: dashed;
padding: 1vmin;
background-color: #d0c8b1;
}
#console {
height: 50%;
border: 2px dotted;
}
p {
padding: 1vmin;
line-height: 1em;
}
@media only screen and (max-width: 1068px) {
body {
margin-left: 2vmin;
margin-right: 2vmin;
padding: 0;
justify-content: flex-start;
}
.container {
flex-direction: column;
}
#photo {
margin: 2vmin;
width: 90vw;
height: 60vh;
}
#ui {
width: 90vw;
margin: 2vmin;
}
#buttons {
flex-direction: row;
justify-content: space-evenly;
align-items: center;
height: 10vh;
}
}