mirror of
https://github.com/cupcakearmy/dvb.git
synced 2024-11-05 17:14:11 +01:00
30 lines
537 B
CSS
30 lines
537 B
CSS
/* WEATHER */
|
|
|
|
.weather-container {
|
|
display: grid;
|
|
grid-template: 100% / repeat(4, 1fr);
|
|
grid-gap: 1em;
|
|
padding: 1em;
|
|
}
|
|
|
|
@media only screen and (min-width: 70em) {
|
|
.weather-container {
|
|
grid-template: repeat(4, 1fr) / 100%;
|
|
}
|
|
}
|
|
|
|
.weather-container .weather-item {
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: contain;
|
|
position: relative;
|
|
}
|
|
|
|
.weather-container .weather-item .temperature {
|
|
position: absolute;
|
|
top: 6%;
|
|
right: 10%;
|
|
width: 80%;
|
|
text-align: right;
|
|
font-size: var(--font-lg);
|
|
} |