Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 85: | Rivi 85: | ||
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%; Xbackground-color: var(--syke-green); font-size: 50px; display: flex; justify-content: center; align-items: center; flex-direction: column;">+' + Math.round( jw.obstype[ 'temp' ].mean ) + '°</div>'; | out += '<div style="width: 120px; height: 120px; margin: auto; border-radius: 50%; Xbackground-color: var(--syke-green); font-size: 50px; display: flex; justify-content: center; align-items: center; flex-direction: column;">+' + Math.round( jw.obstype[ 'temp' ].mean ) + '°</div>'; | ||
out += '<h2 class=" | out += '<h2 class="h6">Pintaveden<br />lämpötila</h2>'; | ||
out += '</div>'; | out += '</div>'; | ||
} | } | ||
| Rivi 97: | Rivi 97: | ||
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: ' + algcolor[ algmean ] + ';"></div>'; | out += '<div style="width: 120px; height: 120px; margin: auto; border-radius: 50%; background-color: ' + algcolor[ algmean ] + ';"></div>'; | ||
out += '<h2 class=" | out += '<h2 class="h6">' + algtxt[ algmean ] + '</h2>'; | ||
out += '</div>'; | out += '</div>'; | ||
} | } | ||
| Rivi 111: | Rivi 111: | ||
out += '<div style="font-size: 28px; margin-top: -26px;">cm</div>'; | out += '<div style="font-size: 28px; margin-top: -26px;">cm</div>'; | ||
out += '</div>'; | out += '</div>'; | ||
out += '<h2 class=" | out += '<h2 class="h6">' + icetxt[ icecatmean ] + '</h2>'; | ||
out += '</div>'; | out += '</div>'; | ||
} | } | ||
| Rivi 124: | Rivi 124: | ||
out += '<div style="font-size: 28px; margin-top: -26px;">m</div>'; | out += '<div style="font-size: 28px; margin-top: -26px;">m</div>'; | ||
out += '</div>'; | out += '</div>'; | ||
out += '<h2 class=" | out += '<h2 class="h6">Näkösyvyys</h2>'; | ||
out += '</div>'; | out += '</div>'; | ||
} | } | ||


