2017-12-25 00:50:54 +01:00
|
|
|
/* WEATHER */
|
|
|
|
|
|
|
|
.weather-container {
|
|
|
|
display: grid;
|
2017-12-25 16:41:21 +01:00
|
|
|
grid-template: 100% / repeat(4, 1fr);
|
2017-12-25 00:50:54 +01:00
|
|
|
grid-gap: 1em;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2017-12-25 16:41:21 +01:00
|
|
|
@media only screen and (min-width: 70em) {
|
|
|
|
.weather-container {
|
|
|
|
grid-template: repeat(4, 1fr) / 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-25 00:50:54 +01:00
|
|
|
.weather-container .weather-item {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: contain;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-container .weather-item .temperature {
|
|
|
|
position: absolute;
|
2017-12-28 18:09:32 +01:00
|
|
|
top: 6%;
|
2017-12-25 00:50:54 +01:00
|
|
|
right: 10%;
|
|
|
|
width: 80%;
|
|
|
|
text-align: right;
|
2017-12-28 18:09:32 +01:00
|
|
|
font-size: var(--font-lg);
|
2017-12-25 00:50:54 +01:00
|
|
|
}
|