summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go4
-rw-r--r--static/peach.css11
-rw-r--r--templates/weather.tmpl3
3 files changed, 0 insertions, 18 deletions
diff --git a/main.go b/main.go
index 3fb2d8d..2fd2de6 100644
--- a/main.go
+++ b/main.go
@@ -41,7 +41,6 @@ type Weather struct {
Version string
Location string
Now WeatherNow
- Period WeatherPeriod
Q2HTimeline WeatherTimeline // Q2H forecast of the next 12 hours.
BiDailyTimeline WeatherTimeline // BiDaily forecast for the next 3 days.
}
@@ -199,9 +198,6 @@ func NewWeather(point *nws.Point, f, fh *nws.Forecast) (*Weather, error) {
WindSpeed: fh.Properties.Periods[0].WindSpeed,
WindDirection: fh.Properties.Periods[0].WindDirection,
}
- w.Period = WeatherPeriod{
- Forecast: f.Properties.Periods[0].DetailedForecast,
- }
// Build Q2H timeline for the 12 hours.
q2hPeriods := []WeatherPeriod{}
diff --git a/static/peach.css b/static/peach.css
index a8b2115..cb5b889 100644
--- a/static/peach.css
+++ b/static/peach.css
@@ -92,17 +92,6 @@ body {
color: rgb(90,90,90);
}
-.current-period-container {
- font-size: 0.9em;
- color: rgb(150,150,150);
-}
-
-@media (max-width: 450px) {
- .current-period-container {
- text-align: center;
- }
-}
-
.timeline-container {
display: flex;
justify-content: center;
diff --git a/templates/weather.tmpl b/templates/weather.tmpl
index ea78c8f..60257fa 100644
--- a/templates/weather.tmpl
+++ b/templates/weather.tmpl
@@ -41,9 +41,6 @@
</div> <!-- wind-container end -->
</div> <!-- now-container end -->
- <div class="current-period-container">
- <div class="forecast">{{.Period.Forecast}}</div>
- </div>
</div> <!-- period-container end -->
</div> <!-- main-container end -->