Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 133: | Rivi 133: | ||
out += '<div style="height: 40px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span style="margin: 0;">' + jw.obstype[ 'ice' ].newest.inRelationToToday() + '</span></div>'; | out += '<div style="height: 40px; display: flex; justify-content: center; align-items: center; flex-direction: column;"><span style="margin: 0;">' + jw.obstype[ 'ice' ].newest.inRelationToToday() + '</span></div>'; | ||
out += '<div style="width: 84px; height: 84px; margin: auto; border-radius: 50%; background-color: ' + bgcolor + '; display: flex; justify-content: center; align-items: center; flex-direction: column;">'; | out += '<div style="width: 84px; height: 84px; margin: auto; border-radius: 50%; border: 5px solid ' + brcolor + '; background-color: ' + bgcolor + '; display: flex; justify-content: center; align-items: center; flex-direction: column;">'; | ||
out += '<div style="font-size: 36px;">' + Math.round( jw.obstype[ 'ice' ].mean ) + '</div>'; | out += '<div style="font-size: 36px;">' + Math.round( jw.obstype[ 'ice' ].mean ) + '</div>'; | ||
out += '<div style="font-size: 24px; margin-top: -20px;">cm</div>'; | out += '<div style="font-size: 24px; margin-top: -20px;">cm</div>'; | ||


