Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 107: | Rivi 107: | ||
icetxt = [ 'Ei jäätä', 'Osittain jäässä', 'Yhtenäinen jääpeite' ]; | icetxt = [ 'Ei jäätä', 'Osittain jäässä', 'Yhtenäinen jääpeite' ]; | ||
out += '<div class="col col-6 col-sm-4 col-md-3 text-center">'; | out += '<div class="col col-6 col-sm-4 col-md-3 text-center">'; | ||
out += '<div style="width: 120px; height: 120px; margin: auto; border-radius: 50%; background-color: #fff | out += '<div style="width: 120px; height: 120px; margin: auto; border-radius: 50%; background-color: #fff; display: flex; justify-content: center; align-items: center; flex-direction: column;">'; | ||
out += '<p>' + Math.round( jw.obstype[ 'ice' ].mean ) + '</p>'; | out += '<p style="font-size: 56px;">' + Math.round( jw.obstype[ 'ice' ].mean ) + '</p>'; | ||
out += '<p style="font-size: 50%;">cm</p>'; | out += '<p style="font-size: 50%;">cm</p>'; | ||
out += '</div>'; | out += '</div>'; | ||


