live-vision / public /style.css
fffiloni's picture
Upload 953 files
f9f0fec verified
raw
history blame
1.54 kB
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
div#main-container {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
width: 576px;
height: 100vh;
justify-content: center;
align-items: center;
}
div#title {
font-family: sans-serif;
text-align: center;
}
div#buttons-container {
display: flex;
justify-content: flex-start;
flex-direction: row;
width: 100%;
height: 40px;
gap: 4px;
}
div#instructions-container {
display: flex;
flex-direction: row;
justify-content: flex-start;
width: 100%;
height: 40px;
margin: 4px 0;
gap: 4px;
}
div#canvas-container {
margin: 4px 0 8px;
}
canvas#myCanvas {
border-radius: 4px;
}
#buttons-container > button {
cursor: pointer;
flex: 1;
}
div#instructions-container > input[type="text"] {
flex: 3;
padding: 0 10px;
font-size: large;
}
div#instructions-container > button {
cursor: pointer;
flex: 1;
}
div#loading-div {
font-size: 40px;
width: 100%;
height: 40px;
}
div#vision-text-container {
width: 576px;
font-family: sans-serif;
display: flex;
flex-direction: column;
height: 210px;
overflow: scroll;
margin: 20px 0;
}
.text-msg {
font-size: 0.8em;
line-height: 1.4em;
}
.text-msg:last-child{
font-size: 1.2em;
line-height: 1.3em;
font-weight: bold;
}
div#vision-text-container > div {
margin: 10px 0;
padding-bottom: 10px;
}