54 lines
706 B
CSS
54 lines
706 B
CSS
|
html,
|
||
|
body {
|
||
|
font-family: Arial, Helvetica, sans-serif;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
main {
|
||
|
width: 80%;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
#status {
|
||
|
background-color: bisque;
|
||
|
}
|
||
|
form {
|
||
|
display: grid;
|
||
|
grid-template-columns: auto auto;
|
||
|
grid-gap: 10px;
|
||
|
align-items: center;
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
input[type="submit"] {
|
||
|
grid-column: 1 / -1;
|
||
|
}
|
||
|
|
||
|
#app {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
border: 1px solid black;
|
||
|
justify-content: space-around;
|
||
|
}
|
||
|
|
||
|
#app > div {
|
||
|
margin: 10px 6px;
|
||
|
border: 1px solid red;
|
||
|
}
|
||
|
|
||
|
#form-component {
|
||
|
white-space: normal;
|
||
|
}
|
||
|
|
||
|
#chart-component {
|
||
|
width: 600px;
|
||
|
}
|
||
|
|
||
|
@media screen and (max-width: 800px) {
|
||
|
#app {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
#chart-component {
|
||
|
width: auto;
|
||
|
}
|
||
|
}
|