Files
WeatherStar4000/server/styles/scss/_extended-forecast.scss
2026-04-22 19:42:44 -05:00

103 lines
1.6 KiB
SCSS

@use 'shared/_colors'as c;
@use 'shared/_utils'as u;
$portrait-gap-adder: 20px;
#extended-forecast-html.weather-display {
background-image: url('../images/backgrounds/2.png');
// change background for portrait
.portrait.enhanced & {
background-image: url(../images/backgrounds/2-portrait.png);
background-position-x: 0px;
}
}
.weather-display .main.extended-forecast {
.day-container {
margin-top: 16px;
margin-left: 27px;
// taller for portrait
.portrait.enhanced & {
margin-top: 90px;
}
}
.day {
@include u.text-shadow();
padding: 5px;
height: 285px;
width: 155px;
display: inline-block;
margin: 0px 15px;
font-family: 'Star4000';
font-size: 24pt;
// taller for portrait
.portrait.enhanced & {
height: 360px;
margin-bottom: 75px;
}
.date {
text-transform: uppercase;
text-align: center;
color: c.$title-color;
}
.condition {
text-align: center;
height: 74px;
margin-top: 5px;
.portrait.enhanced & {
margin-top: $portrait-gap-adder;
}
}
.icon {
text-align: center;
height: 75px;
img {
max-height: 75px;
}
.portrait.enhanced & {
margin-top: $portrait-gap-adder;
}
}
.temperatures {
width: 100%;
.portrait.enhanced & {
margin-top: $portrait-gap-adder;
}
.temperature-block {
display: inline-block;
width: 44%;
vertical-align: top;
>div {
text-align: center;
}
.value {
font-family: 'Star4000 Large';
margin-top: 4px;
}
&.lo .label {
color: c.$extended-low;
}
&.hi .label {
color: c.$title-color;
}
}
}
}
}