html`
<style>
.grid {
display: grid;
gap: 16px;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
padding: 16px;
}
.container {
width: 90%;
margin: 0 auto;
}
.dp {
font-family: 'Source Sans Pro', sans-serif;
font-weight: 200;
}
.flex-vertical {
display: flex;
flex-direction: column;
}
.day-chart {
max-width: 420px;
margin: 1em auto 1.5em;
}
.day-header {
display: flex;
align-items: center;
padding: 0;
margin-bottom: 1em;
}
.dew-point-table {
display: flex;
flex-wrap: wrap;
justify-content: center;
font-size: 1rem;
}
.dew-point-table > div {
padding: .3em .1em;
width: 15%;
text-align: center;
}
.current-hour {
position: relative;
}
.current-hour:before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-sizing: border-box;
content: '';
border: 2px solid #F7Edf0;
border-radius: 5px;
z-index: 2;
}
/* colors for dew point hours */
.miserable, .danger {
color: #F7Edf0;
}
.dry {
background-color: #3AC2F8;
}
.comfortable {
background-color: #2DC842;
}
.alright {
background-color: #F9C80E;
}
.uncomfortable {
background-color: #F86624;
}
.miserable {
background-color: #9B1D20;
}
.danger {
background-color: #671415;
}
.day-title {
margin: 0;
}
.max-min-temp {
margin: 0 0 0 .75em;
}
.time {
font-size: .75rem;
margin: 0;
}
.dew-point {
margin: 0;
font-weight: 800;
}
@media (min-width: 600px) {
.modal {
top: 108px;
}
#dew-point-charts {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
}
.day-chart {
margin: 1em auto;
}
.color-legend > div {
width: 40px;
height: 40px;
}
}
svg.rain-drop {
transform: rotate(15deg) translate(2px, 2px);
}
.color-legend {
margin-top: 1em;
display: flex;
justify-content: center;
align-items: center;
}
.color-legend > p {
margin: 0 1em;
}
.color-legend > div {
width: 30px;
height: 30px;
}
.color-legend-v2 {
margin-top: 1em;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.color-legend-v2 > div {
min-height: 80px;
}
@media (max-width: 600px) {
.color-legend-v2 {
flex-direction: column;
}
.color-legend-v2 > div {
width: 200px;
}
}
`