diff --git a/src/cards/ha-weather-card.html b/src/cards/ha-weather-card.html index 8c5145f1fe..db421a6fdf 100644 --- a/src/cards/ha-weather-card.html +++ b/src/cards/ha-weather-card.html @@ -22,12 +22,33 @@ .now { display: flex; justify-content: space-between; + align-items: center; + flex-wrap: wrap; } - .state { + .main { + display: flex; + align-items: center; + margin-right: 32px; + } + + .main iron-icon { --iron-icon-height: 72px; --iron-icon-width: 72px; + margin-right: 8px; + } + + .main .temp { font-size: 52px; + line-height: 1em; + position: relative; + } + + .main .temp span { + font-size: 24px; + line-height: 1em; + position: absolute; + top: 4px; } .now-text { @@ -62,30 +83,38 @@
-
+
- [[getTemperature(stateObj.attributes.temperature)]] +
+ [[stateObj.attributes.temperature]][[getUnit('temperature')]] +
-
- [[localize('ui.card.weather.attributes.humidity')]]: - [[stateObj.attributes.humidity]] % -
-