mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 15:49:31 -07:00
102 lines
1.4 KiB
SCSS
102 lines
1.4 KiB
SCSS
@use 'shared/_colors'as c;
|
|
@use 'shared/_utils'as u;
|
|
@use 'shared/positions'as p;
|
|
|
|
.weather-display .main.current-weather {
|
|
&.main {
|
|
width: calc(p.$standard-width - (2 * p.$blue-box-margin));
|
|
|
|
.col {
|
|
height: 50px;
|
|
width: 255px;
|
|
display: inline-block;
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
position: absolute;
|
|
|
|
.wide.enhanced & {
|
|
width: 300px;
|
|
margin-left: 25px;
|
|
margin-right: 25px;
|
|
}
|
|
|
|
@include u.text-shadow();
|
|
|
|
&.left {
|
|
font-family: 'Star4000 Extended';
|
|
font-size: 24pt;
|
|
}
|
|
|
|
&.right {
|
|
right: 0px;
|
|
font-family: "Star4000 Large";
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
line-height: 24px;
|
|
|
|
.row {
|
|
margin-bottom: 12px;
|
|
|
|
.label,
|
|
.value {
|
|
display: inline-block;
|
|
}
|
|
|
|
.label {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.value {
|
|
float: right;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
.center {
|
|
text-align: center;
|
|
}
|
|
|
|
.temp {
|
|
font-family: 'Star4000 Large';
|
|
font-size: 24pt;
|
|
}
|
|
|
|
.icon {
|
|
img {
|
|
margin: 0 auto;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.wind-container {
|
|
margin-left: 10px;
|
|
display: flex;
|
|
|
|
&>div {
|
|
width: 50%;
|
|
}
|
|
|
|
.wind {
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.wind-gusts {
|
|
text-align: right;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.location {
|
|
color: c.$title-color;
|
|
max-height: 32px;
|
|
margin-bottom: 10px;
|
|
padding-top: 4px;
|
|
overflow: hidden;
|
|
text-wrap: nowrap;
|
|
}
|
|
}
|
|
} |