Change arrangement of sunrise and sunset

master
Alfred Egger 2020-03-16 09:27:32 +01:00
parent 13fbf4822d
commit cd211f7025
2 changed files with 5 additions and 4 deletions

View File

@ -171,7 +171,7 @@
#city-right .city-current-pressure, #city-right .city-current-wind,
#city-right .city-current-weather, #city-right .city-current-humidity,
#city-right .city-current-sunrise {
#city-right .city-current-sunrise, #city-right .city-current-sunset {
font-size: 3em;
}
#city-forecast-panel {
@ -190,7 +190,7 @@
#city-right .city-current-pressure, #city-right .city-current-wind,
#city-right .city-current-weather, #city-right .city-current-humidity,
#city-right .city-current-sunrise {
#city-right .city-current-sunrise, #city-right .city-current-sunset {
font-size: 2.2em;
}
#city-forecast-panel {
@ -214,7 +214,7 @@
#city-right .city-current-pressure, #city-right .city-current-wind,
#city-right .city-current-weather, #city-right .city-current-humidity,
#city-right .city-current-sunrise {
#city-right .city-current-sunrise, #city-right .city-current-sunset {
font-size: 1.6em;
}
}

View File

@ -58,7 +58,8 @@
<div class="city-current-humidity"><?php p($l->t('Humidity')); ?>: {{ currentCity.main.humidity}}%</div>
<div class="city-current-weather"><?php p($l->t('Cloudiness')); ?>: {{ currentCity.weather[0].description }}</div>
<div class="city-current-wind"><?php p($l->t('Wind')); ?>: {{ currentCity.wind.speed }} m/s - {{ currentCity.wind.desc }}</div>
<div class="city-current-sunrise"><?php p($l->t('Sunrise')); ?>: {{ currentCity.sys.sunrise * 1000 | date:'HH:mm' }} <?php p($l->t('Sunset')); ?>: {{ currentCity.sys.sunset * 1000 | date:'HH:mm' }}</div>
<div class="city-current-sunrise"><?php p($l->t('Sunrise')); ?>: {{ currentCity.sys.sunrise * 1000 | date:'HH:mm' }}</div>
<div class=city-current-sunset"><?php p($l->t('Sunset')); ?>: {{ currentCity.sys.sunset * 1000 | date:'HH:mm' }}</div>
</div>
<div id="city-forecast-panel">
<table>