186 lines
4.0 KiB
CSS
Executable File
186 lines
4.0 KiB
CSS
Executable File
/* =============================
|
|
Main Menu Weather Format
|
|
*/
|
|
|
|
.main .mm .weather {
|
|
position: absolute;
|
|
top: 200px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 400px;
|
|
max-height: 400px;
|
|
padding-left: 0;
|
|
margin: 0;
|
|
background-color: rgba(235, 235, 235, .5);
|
|
filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.8));
|
|
z-index: 1;
|
|
display: none;
|
|
}
|
|
|
|
.main .mm .weather .location {
|
|
position: absolute;
|
|
top: 40px;
|
|
left: 100px;
|
|
font-size: 50px;
|
|
justify-content: center;
|
|
text-align: center;
|
|
color: rgb(235, 235, 235);
|
|
z-index: 1;
|
|
display: block;
|
|
}
|
|
|
|
.main .mm .weather .today {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 100px;
|
|
width: 320px;
|
|
height: 100%;
|
|
}
|
|
|
|
.main .mm .weather .today #temp_cur {
|
|
position: relative;
|
|
top: 110px;
|
|
font-size: 160px;
|
|
text-align: center;
|
|
color: rgb(21, 126, 251);
|
|
}
|
|
|
|
.main .mm .weather .today #temp_minmax {
|
|
position: relative;
|
|
top: 120px;
|
|
font-size: 50px;
|
|
text-align: right;
|
|
color: rgb(235, 235, 235);
|
|
display: block;
|
|
}
|
|
|
|
.main .mm .weather .today .detail {
|
|
position: absolute;
|
|
top: 40px;
|
|
left: 400px;
|
|
width: 400px;
|
|
height: 360px;
|
|
color: rgb(235, 235, 235);
|
|
overflow: hidden;
|
|
display: block;
|
|
}
|
|
|
|
.main .mm .weather .today .detail #discription {
|
|
height: 50px;
|
|
font-size: 40px;
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
|
|
.main .mm .weather .today .detail #img_status {
|
|
height: 160px;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-position: center center;
|
|
display: block;
|
|
}
|
|
|
|
.main .mm .weather .today .detail #humidity {
|
|
width: 100%;
|
|
padding: 20px;
|
|
height: 40px;
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
|
|
.main .mm .weather .today .detail #wind {
|
|
width: 100%;
|
|
height: 40px;
|
|
text-align: center;
|
|
display: block;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.main .mm .weather .today .detail #icon {
|
|
filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.8));
|
|
}
|
|
|
|
.main .mm .weather .forcast .daily {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 1000px;
|
|
width: 910px;
|
|
height: 180px;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
border-top-left-radius: 10px;
|
|
border-top-right-radius: 10px;
|
|
padding: 5px 0 0 10px;
|
|
color: rgb(235, 235, 235);
|
|
}
|
|
|
|
.main .mm .weather .forcast .daily ul {
|
|
width: 95%;
|
|
height: 100px;
|
|
list-style: none;
|
|
}
|
|
|
|
.main .mm .weather .forcast .daily li {
|
|
width: 150px;
|
|
height: 90px;
|
|
font-size: 24px;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-position: right center;
|
|
filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.8));
|
|
float: left;
|
|
display: inline;
|
|
margin: 0 10px 0 10px;
|
|
list-style: none;
|
|
}
|
|
|
|
.main .mm .weather .forcast div#time {
|
|
height: 90%;
|
|
text-align: left;
|
|
color: rgb(170, 170, 170);
|
|
}
|
|
|
|
.main .mm .weather .forcast div#temp {
|
|
margin-top: 8px;
|
|
height: 30%;
|
|
text-align: left;
|
|
color: rgb(170, 170, 170);
|
|
}
|
|
|
|
.main .mm .weather .forcast .weekly {
|
|
position: absolute;
|
|
top: 200px;
|
|
left: 1000px;
|
|
width: 910px;
|
|
height: 190px;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
border-bottom-left-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
padding: 0 0 0 10px;
|
|
color: rgb(235, 235, 235);
|
|
}
|
|
|
|
.main .mm .weather .forcast .weekly ul {
|
|
width: 95%;
|
|
height: 100px;
|
|
list-style: none;
|
|
}
|
|
|
|
.main .mm .weather .forcast .weekly li {
|
|
width: 150px;
|
|
height: 90px;
|
|
font-size: 24px;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-position: right center;
|
|
filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.8));
|
|
float: left;
|
|
display: inline;
|
|
margin: 0 10px 0 10px;
|
|
list-style: none;
|
|
}
|
|
|
|
.main .mm .weather .forcast div#date {
|
|
height: 90%;
|
|
text-align: left;
|
|
color: rgb(170, 170, 170);
|
|
} |