84 lines
1.5 KiB
CSS

[data-widget='weather-gov-forecast'] {
padding: 1rem;
max-width: 70rem;
}
[data-widget='weather-gov-forecast'] .alerts {
margin-block: 1rem;
padding-inline: 1rem;
border: 0.1rem solid var(--theme-border-error-box);
background: var(--theme-bg-error-box);
list-style: none;
}
[data-widget='weather-gov-forecast'] .alerts li {
margin-block: 1rem;
}
[data-widget='weather-gov-forecast'] .alerts p {
color: var(--theme-text-error-box);
}
[data-widget='weather-gov-forecast'] .alerts p.headline {
font-weight: 700;
}
[data-widget='weather-gov-forecast'] .flex-row {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
}
[data-widget='weather-gov-forecast'] .today {
display: inline-flex;
flex-direction: column;
row-gap: 2rem;
padding: 1rem;
margin-block-end: 1rem;
background: var(--theme-bg-light);
}
[data-widget='weather-gov-forecast'] svg.icon {
width: 1rem;
height: 1rem;
flex: 0 0 1rem;
}
[data-widget='weather-gov-forecast'] h2 {
font-size: 1.2rem;
margin-block: 0;
}
[data-widget='weather-gov-forecast'] .today p {
font-size: 1rem;
}
[data-widget='weather-gov-forecast'] .today svg.icon {
width: 1.2rem;
height: 1.2rem;
}
[data-widget='weather-gov-forecast'] h3 {
font-size: 0.8rem;
margin-block-end: 0;
}
[data-widget='weather-gov-forecast'] p {
font-size: 0.8rem;
margin-block: 0.25rem;
}
[data-widget='weather-gov-forecast'] p:is(.wind, .temp) {
display: flex;
column-gap: 0.5rem;
}
[data-widget='weather-gov-forecast'] table {
margin-block-end: 1rem;
}
[data-widget='weather-gov-forecast'] td {
padding-inline: 1rem;
}