body {
display: flex;
flex-direction: column;
margin: 1em;
font-family: Baskerville, libre baskerville, serif;
}
hr {
width: 90%;
}
.bean-parent {
display: flex;
flex-direction: row;
justify-content: space-around;
font-size: 8px;
flex-wrap: wrap;
}
.beans {
display: flex;
flex-direction: column;
}
.ball {
position: absolute;
left: 29.5em;
}
.intro {
max-width: 200em;
align-self: center;
font-weight: 600;
}
.ball::after {
content: "";
background-color: #040;
border-radius: 50%;
display: block;
width: 2em;
height: 2em;
margin-top: -2em;
margin-left: 4.5em;
animation: bounceY 1.2s;
}
.stats {
font-size: 4em;
text-align: center;
display: inline-block;
width: 100%;
}
.left-controls,
.right-controls {
display: flex;
flex-direction: column;
}
.left-controls > label {
margin-right: 1em;
}
.right-controls > label {
margin-left: 1em;
}
.positive {
color: #040;
}
.negative {
color: #500;
}
.right-controls {
align-items: flex-end;
}
.inputs {
display: flex;
justify-content: space-between;
margin: 0 1em;
}
.submit {
align-self: center;
}
.controls {
display: flex;
justify-content: space-between;
flex-direction: column;
}
.pegboard {
position: relative;
margin: 2em 0;
}
.boards {
position: relative;
}
.run-table {
align-self: center;
font-size: initial;
}
.rows {
display: flex;
flex-direction: column;
align-items: center;
}
.row {
display: flex;
justify-content: space-between;
min-height: 4em;
}
.peg {
background-color: #708090;
border-radius: 50%;
width: 3em;
height: 3em;
margin: 0 2.5em;
}
.sigma {
margin-top: 0.5em;
}
#beans-right {
align-items: flex-start;
flex: 2;
}
#beans-left {
align-items: center;
flex: 2;
}
#bean-divider {
width: 0.5em;
background-color: #000000;
}
.progress {
text-align: center;
font-size: 3em;
width: 2.67em;
}
.achieved {
background-color: #cfc;
}
.count {
box-sizing: border-box;
border: solid #8b4513;
border-width: 0em 0.125em 0.125em 0.125em;
border-radius: 0 0em 0.25em 0.25em;
margin: 0 0.25em;
padding-bottom: 0.125em;
color: #999;
}
.hit {
color: #040;
}
.bar {
width: 0.5em;
position: absolute;
box-sizing: border-box;
border-width: 0 50%;
border-color: #2d882d;
border-style: dashed;
height: 100%;
top: 0;
}
.bar-text {
padding: 1em;
font-size: 2em;
color: #2d882d;
display: inline-block;
font-weight: 600;
width: 10em;
}
.explainer {
background: #ccc;
font-size: 2em;
width: 10em;
display: inline-block;
margin-left: 1em;
padding: 0.3em 0em 0.3em 0.3em;
}
.no-show {
visibility: hidden;
}
@media (max-width: 60em) {
#bean-divider {
width: 100%;
min-height: 1em;
}
.bean-parent {
font-size: 4px;
}
.left-controls,
.right-controls > input {
margin: 0em;
}
.inputs {
margin: 0em;
}
}