Change arrangement of sunrise and sunset
parent
13fbf4822d
commit
cd211f7025
|
@ -171,7 +171,7 @@
|
||||||
|
|
||||||
#city-right .city-current-pressure, #city-right .city-current-wind,
|
#city-right .city-current-pressure, #city-right .city-current-wind,
|
||||||
#city-right .city-current-weather, #city-right .city-current-humidity,
|
#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;
|
font-size: 3em;
|
||||||
}
|
}
|
||||||
#city-forecast-panel {
|
#city-forecast-panel {
|
||||||
|
@ -190,7 +190,7 @@
|
||||||
|
|
||||||
#city-right .city-current-pressure, #city-right .city-current-wind,
|
#city-right .city-current-pressure, #city-right .city-current-wind,
|
||||||
#city-right .city-current-weather, #city-right .city-current-humidity,
|
#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;
|
font-size: 2.2em;
|
||||||
}
|
}
|
||||||
#city-forecast-panel {
|
#city-forecast-panel {
|
||||||
|
@ -214,7 +214,7 @@
|
||||||
|
|
||||||
#city-right .city-current-pressure, #city-right .city-current-wind,
|
#city-right .city-current-pressure, #city-right .city-current-wind,
|
||||||
#city-right .city-current-weather, #city-right .city-current-humidity,
|
#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;
|
font-size: 1.6em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,8 @@
|
||||||
<div class="city-current-humidity"><?php p($l->t('Humidity')); ?>: {{ currentCity.main.humidity}}%</div>
|
<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-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-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>
|
||||||
<div id="city-forecast-panel">
|
<div id="city-forecast-panel">
|
||||||
<table>
|
<table>
|
||||||
|
|
Loading…
Reference in New Issue