Add forecast.io
parent
bfcedb0dc0
commit
83fa7fc1cd
File diff suppressed because one or more lines are too long
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="css/weather-icons.css">
|
||||
<style type="text/css">
|
||||
html {font-family: sans-serif;}
|
||||
table { border-collapse: collapse; }
|
||||
tr { border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
|
||||
td {padding: 5px;}
|
||||
td:nth-child(2) { font-family: monospace;}
|
||||
td:nth-child(3) { text-align: center;}
|
||||
.wi {font-size:2em;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Icon</th>
|
||||
<th>wi- Alias</th>
|
||||
<th><small>Forecast.io<br>Code</small></th>
|
||||
<th>Forecast.io Description</th>
|
||||
</tr>
|
||||
<tr><td><i class="wi wi-forecastio-clear-day"></i></td><td>@day-sunny</td><td>clear-day</td><td>clear-day</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-clear-night"></i></td><td>@night-clear</td><td>clear-night</td><td>clear-night</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-rain"></i></td><td>@rain</td><td>rain</td><td>rain</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-snow"></i></td><td>@snow</td><td>snow</td><td>snow</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-sleet"></i></td><td>@sleet</td><td>sleet</td><td>sleet</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-wind"></i></td><td>@wind</td><td>wind</td><td>wind</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-fog"></i></td><td>@fog</td><td>fog</td><td>fog</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-cloudy"></i></td><td>@cloudy</td><td>cloudy</td><td>cloudy</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-partly-cloudy-day"></i></td><td>@day-cloudy</td><td>partly-cloudy-day</td><td>partly-cloudy-day</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-partly-cloudy-night"></i></td><td>@night-cloudy</td><td>partly-cloudy-night</td><td>partly-cloudy-night</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-hail"></i></td><td>@hail</td><td>hail</td><td>hail</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-thunderstorm"></i></td><td>@thunderstorm</td><td>thunderstorm</td><td>thunderstorm</td></tr>
|
||||
<tr><td><i class="wi wi-forecastio-tornado"></i></td><td>@tornado</td><td>tornado</td><td>tornado</td></tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,20 @@
|
||||
// Codes according to Forecast.io
|
||||
|
||||
// Reference:
|
||||
// Forecast.io API v2 documentation
|
||||
// https://developer.forecast.io/docs/v2
|
||||
|
||||
.@{weather-icons-prefix}-forecastio-clear-day:before { content: @day-sunny ; }
|
||||
.@{weather-icons-prefix}-forecastio-clear-night:before { content: @night-clear ; }
|
||||
.@{weather-icons-prefix}-forecastio-rain:before { content: @rain ; }
|
||||
.@{weather-icons-prefix}-forecastio-snow:before { content: @snow ; }
|
||||
.@{weather-icons-prefix}-forecastio-sleet:before { content: @sleet ; }
|
||||
.@{weather-icons-prefix}-forecastio-wind:before { content: @strong-wind ; }
|
||||
.@{weather-icons-prefix}-forecastio-fog:before { content: @fog ; }
|
||||
.@{weather-icons-prefix}-forecastio-cloudy:before { content: @cloudy ; }
|
||||
.@{weather-icons-prefix}-forecastio-partly-cloudy-day:before { content: @day-cloudy ; }
|
||||
.@{weather-icons-prefix}-forecastio-partly-cloudy-night:before { content: @night-cloudy ; }
|
||||
|
||||
.@{weather-icons-prefix}-forecastio-hail:before { content: @hail ; }
|
||||
.@{weather-icons-prefix}-forecastio-thunderstorm:before { content: @thunderstorm ; }
|
||||
.@{weather-icons-prefix}-forecastio-tornado:before { content: @tornado ; }
|
Loading…
Reference in New Issue