css fix up
This commit is contained in:
parent
3e9d7708fa
commit
9ce8176b63
|
@ -95,22 +95,22 @@
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.weather-display .hourly .main {
|
.weather-display .main.hourly.main {
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .column-headers {
|
.weather-display .main.hourly.main .column-headers {
|
||||||
background-color: rgb(32, 0, 87);
|
background-color: rgb(32, 0, 87);
|
||||||
height: 20px;
|
height: 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .column-headers {
|
.weather-display .main.hourly.main .column-headers {
|
||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .column-headers div {
|
.weather-display .main.hourly.main .column-headers div {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-family: "Star4000 Small";
|
font-family: "Star4000 Small";
|
||||||
font-size: 24pt;
|
font-size: 24pt;
|
||||||
|
@ -123,21 +123,21 @@
|
||||||
/* paint-order: stroke fill; */
|
/* paint-order: stroke fill; */
|
||||||
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .column-headers .temp {
|
.weather-display .main.hourly.main .column-headers .temp {
|
||||||
left: 370px;
|
left: 370px;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .column-headers .like {
|
.weather-display .main.hourly.main .column-headers .like {
|
||||||
left: 450px;
|
left: 450px;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .column-headers .wind {
|
.weather-display .main.hourly.main .column-headers .wind {
|
||||||
left: 560px;
|
left: 560px;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .hourly-lines {
|
.weather-display .main.hourly.main .hourly-lines {
|
||||||
min-height: 338px;
|
min-height: 338px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
background: repeating-linear-gradient(0deg, #001040 0px, #102080 136px, #102080 202px, #001040 338px);
|
background: repeating-linear-gradient(0deg, #001040 0px, #102080 136px, #102080 202px, #001040 338px);
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .hourly-lines .hourly-row {
|
.weather-display .main.hourly.main .hourly-lines .hourly-row {
|
||||||
font-family: "Star4000 Large";
|
font-family: "Star4000 Large";
|
||||||
font-size: 24pt;
|
font-size: 24pt;
|
||||||
height: 72px;
|
height: 72px;
|
||||||
|
@ -148,33 +148,33 @@
|
||||||
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .hourly-lines .hourly-row > div {
|
.weather-display .main.hourly.main .hourly-lines .hourly-row > div {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
top: 8px;
|
top: 8px;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .hourly-lines .hourly-row .hour {
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .hour {
|
||||||
left: 50px;
|
left: 50px;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .hourly-lines .hourly-row .icon {
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .icon {
|
||||||
left: 280px;
|
left: 280px;
|
||||||
width: 70px;
|
width: 70px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
top: unset;
|
top: unset;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .hourly-lines .hourly-row .temp {
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .temp {
|
||||||
left: 370px;
|
left: 370px;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .hourly-lines .hourly-row .like {
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .like {
|
||||||
left: 450px;
|
left: 450px;
|
||||||
}
|
}
|
||||||
.weather-display .hourly .main .hourly-lines .hourly-row .wind {
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .wind {
|
||||||
left: 530px;
|
left: 530px;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.weather-display .current-weather .main .col {
|
.weather-display .main.current-weather.main .col {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
width: 255px;
|
width: 255px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -185,61 +185,61 @@
|
||||||
/* paint-order: stroke fill; */
|
/* paint-order: stroke fill; */
|
||||||
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .col.left {
|
.weather-display .main.current-weather.main .col.left {
|
||||||
font-family: "Star4000 Extended";
|
font-family: "Star4000 Extended";
|
||||||
font-size: 24pt;
|
font-size: 24pt;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .col.right {
|
.weather-display .main.current-weather.main .col.right {
|
||||||
right: 0px;
|
right: 0px;
|
||||||
font-family: "Star4000 Large";
|
font-family: "Star4000 Large";
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .col.right .row {
|
.weather-display .main.current-weather.main .col.right .row {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .col.right .row .label,
|
.weather-display .main.current-weather.main .col.right .row .label,
|
||||||
.weather-display .current-weather .main .col.right .row .value {
|
.weather-display .main.current-weather.main .col.right .row .value {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .col.right .row .label {
|
.weather-display .main.current-weather.main .col.right .row .label {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .col.right .row .value {
|
.weather-display .main.current-weather.main .col.right .row .value {
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .center {
|
.weather-display .main.current-weather.main .center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .temp {
|
.weather-display .main.current-weather.main .temp {
|
||||||
font-family: "Star4000 Large";
|
font-family: "Star4000 Large";
|
||||||
font-size: 24pt;
|
font-size: 24pt;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .icon {
|
.weather-display .main.current-weather.main .icon {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .icon img {
|
.weather-display .main.current-weather.main .icon img {
|
||||||
max-width: 126px;
|
max-width: 126px;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .wind-container {
|
.weather-display .main.current-weather.main .wind-container {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .wind-container > div {
|
.weather-display .main.current-weather.main .wind-container > div {
|
||||||
width: 45%;
|
width: 45%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .wind-container .wind-label {
|
.weather-display .main.current-weather.main .wind-container .wind-label {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .wind-container .wind {
|
.weather-display .main.current-weather.main .wind-container .wind {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .wind-gusts {
|
.weather-display .main.current-weather.main .wind-gusts {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
.weather-display .current-weather .main .location {
|
.weather-display .main.current-weather.main .location {
|
||||||
color: yellow;
|
color: yellow;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"version":3,"sources":["scss/_weatherdisplay.scss","compiled.css","scss/_colors.scss","scss/_utils.scss","scss/_hourly.scss","scss/_current-weather.scss","scss/_local-forecast.scss"],"names":[],"mappings":"AAGA;EACC,YAAA;EACA,aAAA;EACA,gBAAA;EACA,kBAAA;EACA,kDAAA;EAEA,oFAAA;EACA,WAAA;ACHD;ADKC;EACC,aAAA;ACHF;ADMC;EACC,aAAA;ACJF;ADOC;EACC,YAAA;EACA,YAAA;EACA,iBAAA;ACLF;ADOE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/_colors.scss","scss/_utils.scss","scss/_hourly.scss","scss/_current-weather.scss","scss/_local-forecast.scss"],"names":[],"mappings":"AAGA;EACC,YAAA;EACA,aAAA;EACA,gBAAA;EACA,kBAAA;EACA,kDAAA;EAEA,oFAAA;EACA,WAAA;ACHD;ADKC;EACC,aAAA;ACHF;ADMC;EACC,aAAA;ACJF;ADOC;EACC,YAAA;EACA,YAAA;EACA,iBAAA;ACLF;ADSE;EACC,aE7BW;ECGb,mEAAA;EACA,oCAAA;EACA,8BAAA;EACA,0LACC;EHwBC,uBAAA;EACA,eAAA;EACA,kBAAA;ACJH;ADMG;EACC,WAAA;EACA,SAAA;ACJJ;ADOG;EACC,WAAA;ACLJ;ADOI;EACC,kBAAA;ACLL;ADQI;EACC,SAAA;ACNL;ADSI;EACC,SAAA;ACPL;ADaE;EACC,SAAA;EACA,UAAA;EACA,kBAAA;EACA,WAAA;ACXH;ADcE;EACC,kBAAA;EACA,SAAA;EACA,WAAA;ACZH;ADeE;EACC,SAAA;ACbH;ADgBE;EACC,gBAAA;EACA,YE5ES;EF6ET,6BAAA;EACA,eAAA;EG5EF,mEAAA;EACA,oCAAA;EACA,8BAAA;EACA,0LACC;EH0EC,WAAA;EACA,YAAA;EACA,iBAAA;EACA,kBAAA;ACXH;ADaG;EACC,iBAAA;ACXJ;ADgBC;EACC,kBAAA;ACdF;ADgBE;EACC,YAAA;EACA,aAAA;EACA,gBAAA;ACdH;ADiBE;EACC,iBAAA;EACA,kBAAA;EACA,yBAAA;ACfH;ADoBC;EACC,YAAA;EACA,YAAA;EACA,gBAAA;EACA,gBAAA;AClBF;;AG3FC;EACC,kBAAA;AH8FF;AG5FE;EACC,gCFJa;EEKb,YAAA;EACA,kBAAA;EACA,WAAA;AH8FH;AG3FE;EACC,wBAAA;EAAA,gBAAA;EACA,QAAA;EACA,UAAA;AH6FH;AG3FG;EACC,qBAAA;EACA,6BAAA;EACA,eAAA;EACA,aFpBiB;EEqBjB,kBAAA;EACA,UAAA;EACA,U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A;EACA,SAAA;EACA,gBAAA;EACA,sBAAA;EACA,aAAA;EACA,gBAAA;ALkPF;AK/OC;EACC,kBAAA;ALiPF;AK9OC;EACC,uBAAA;EACA,eAAA;EACA,yBAAA;EHjBD,mEAAA;EACA,oCAAA;EACA,8BAAA;EACA,0LACC;EGeA,iBAAA;EACA,iBAAA;ALmPF","file":"compiled.css"}
|
|
@ -1,8 +1,8 @@
|
||||||
@use 'colors'as c;
|
@use 'colors'as c;
|
||||||
@use 'utils'as u;
|
@use 'utils'as u;
|
||||||
|
|
||||||
.weather-display .current-weather {
|
.weather-display .main.current-weather {
|
||||||
.main {
|
&.main {
|
||||||
|
|
||||||
.col {
|
.col {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
@use 'colors'as c;
|
@use 'colors'as c;
|
||||||
@use 'utils'as u;
|
@use 'utils'as u;
|
||||||
|
|
||||||
.weather-display .hourly {
|
.weather-display .main.hourly {
|
||||||
.main {
|
&.main {
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
|
||||||
.column-headers {
|
.column-headers {
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
height: 60px;
|
height: 60px;
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
color: c.$title-color;
|
color: c.$title-color;
|
||||||
@include u.text-shadow(3px, 1.5px);
|
@include u.text-shadow(3px, 1.5px);
|
||||||
|
|
Loading…
Reference in a new issue