diff --git a/render/styles.css b/render/styles.css index 55b705e..1602280 100644 --- a/render/styles.css +++ b/render/styles.css @@ -4,7 +4,8 @@ body { } .weather-container { - width: 700px; + width: 800px; + max-height: 480px; margin: 0 auto; padding: 20px; background-color: #fff; @@ -96,3 +97,109 @@ h2 { font-size: 16px; color: #333; } + +html { + background-color: #f9f9f9; + } + + body { + padding: 35px; + max-width: 800px; + height: 480px; + margin: auto; + } + + .card-header { + display: flex; + justify-content: space-between; + align-items: center; +} + +.card-header-left { + flex: 1; + text-align: left; + padding: 0 2rem; +} + +.card-header-right { + flex: 1; + text-align: right; +} + + .is-vertical-center { + display: flex; + align-items: center; + } + + .params { + width: 100%; + margin: 25px auto; + } + + .params .card { + border-radius: 20px; + } + + .weather .media { + padding: 0 2rem; + } + + .weather figure { + font-size: 6rem; + margin-bottom: -2rem; + } + + .weather-details { + font-size: 0.9rem; + } + + .weather-details i { + text-align: center; + width: 20px; + margin-right: 7px; + } + + .weather .level-item i { + margin: .4rem 0; + font-size: 2rem; + } + + .alerts-details { + font-size: 0.8rem; + } + + .alerts-details i { + text-align: center; + width: 20px; + margin-right: 7px; + } + + .alerts .level-item i { + margin: .4rem 0; + font-size: 2rem; + } + + #no-weather-info { + top: 48px; + background-image: repeating-linear-gradient(-45deg, + transparent, + transparent 20px, + rgba(0, 0, 0, .2) 20px, + rgba(0, 0, 0, .2) 40px); + } + + #no-weather-info .notification { + margin: 0 auto; + border-radius: 10px; + padding: 20px 40px; + } + + #no-alerts-info { + top: 48px; + } + + #no-alerts-info .notification { + margin: 0 auto; + border-radius: 10px; + padding: 20px 40px; + } \ No newline at end of file diff --git a/render/weather.html b/render/weather.html index 26c8d02..304ceee 100644 --- a/render/weather.html +++ b/render/weather.html @@ -1,3 +1,4 @@ +
@@ -5,76 +6,298 @@