weather/modules/ruling_weather/_ruling_weather_widget1.htm...

99 lines
2.5 KiB
Plaintext
Raw Normal View History

2021-07-27 08:31:45 +00:00
<div>
<style type="text/css">
.weather_widget1{
2021-12-08 10:21:08 +00:00
background: none;
2021-07-27 08:31:45 +00:00
display: inline-block;
width: 100%;
padding: 1.5em 0.8em;;
2021-12-08 10:21:08 +00:00
font-size:inherit;
font-weight: 500;
background: #accbe7;
2021-07-27 08:31:45 +00:00
}
.weather_widget1 .white_text{
2021-12-08 10:21:08 +00:00
color: #333;
font-size:inherit;
2021-07-27 08:31:45 +00:00
overflow-wrap: break-word;
}
.weatherICON{
padding: 0;
}
2021-12-08 10:21:08 +00:00
.weatherTXT{
font-weight: 700;
}
.UviItem{
font-weight: 700;
}
.weatherItem{
font-weight: 700;
}
.weatherBlock{
margin-bottom:1em;
}
@media(min-width:769px){
.weatherICON img{
width: 60%;
}
.weather_widget1{
text-align: center;
}
}
@media(max-width:769px){
.weatherICON img{
width: 100%;
}
.weatherICON {
padding: 0;
width: 50%;
margin: auto;
}
.one{
float: left;
}
.two{
float: right;
}
.three{
clear: both;
float: left;
}
.four{
float: right;
}
.five{
clear: both;
}
2021-07-27 08:31:45 +00:00
}
2021-12-08 10:21:08 +00:00
2021-07-27 08:31:45 +00:00
</style>
<div class="weather_widget1" data-list="weather" data-level="0">
<div class="col-sm-12 columns weatherBlock">
<div class="col-sm-4 columns weatherICON">
2021-12-28 11:38:20 +00:00
<img src="{{wx_svg}}" data-name="wx_svg" title="{{wx_text}}" alt="{{wx_text}}" />
2021-07-27 08:31:45 +00:00
</div>
2021-12-08 10:21:08 +00:00
<div class="col-sm-4 columns one">
2021-07-27 08:31:45 +00:00
<div class="weatherTXT" data-name="wx_text">{{wx_text}}</div>
<div class="Tempature white_text" data-name="avgt">{{avgt}}<span>℃</span></div>
</div>
2021-12-08 10:21:08 +00:00
<div class="col-sm-4 columns two">
2021-07-27 09:12:37 +00:00
<div class="UviItem">{{uv-head}}</div>
2021-07-27 08:31:45 +00:00
<div class="UviText white_text" data-name="uvi_text">{{uvi_text}}</div>
</div>
</div>
<div class="col-sm-12 columns weatherBlock">
2021-12-08 10:21:08 +00:00
<div class="col-sm-4 columns three">
2021-07-27 09:12:37 +00:00
<div class="weatherItem">{{relative_humidity-head}}</div>
2021-07-27 08:31:45 +00:00
<div class="weatherItemNum white_text"><span data-name="rh">{{rh}}</span>%</div>
</div>
2021-12-08 10:21:08 +00:00
<div class="col-sm-4 columns four">
2021-07-27 09:12:37 +00:00
<div class="weatherItem">{{current_wind_speed-head}}</div>
2021-07-27 08:31:45 +00:00
<div class="weatherItemNum white_text"><span data-name="ws">{{ws}}</span>m/s</div>
</div>
2021-12-08 10:21:08 +00:00
<div class="col-sm-4 columns five">
2021-07-27 09:12:37 +00:00
<div class="weatherItem">{{accumulated_rainfall-head}}</div>
2021-07-27 08:31:45 +00:00
<div class="weatherItemNum white_text"><span data-name="rain">{{rain}}</span>mm</div>
</div>
</div>
</div>
2021-12-08 10:21:08 +00:00
</div>