/* {{pp-protected|small=yes}} */
/* TODO: All font-size declarations need review or something */
. climate-chart {
border : 1 px solid #c0c0c0 ;
background-color : var ( --background-color-neutral-subtle , #f8f9fa );
padding : 0.5 em 0.7 em ;
font-size : 88 % ;
line-height : 1.5 em ;
box-sizing : border-box ;
}
@ media ( min-width : 720px ) {
. climate-chart {
/* @noflip */
margin : 0.5 em 1 em 0.5 em 0 ;
width : 22 em ;
}
. climate-chart-right {
/* @noflip */
margin : 0.5 em 0 0.5 em 1 em ;
/* @noflip */
float : right ;
}
. climate-chart-left {
/* @noflip */
float : left ;
}
}
. climate-chart-title {
font-weight : bold ;
}
. climate-chart-secondary-title ,
. climate-chart-explainer {
font-weight : bold ;
}
. climate-chart-internal {
text-align : center ;
padding : 0.2 em ;
font-size : 90 % ;
width : 100 % ;
border-spacing : 0 ;
}
. climate-chart-internal th {
width : 1.5 em ;
vertical-align : top ;
font-weight : normal ;
}
. climate-chart-internal td {
vertical-align : top ;
}
. climate-change-explain-bar-temp ,
. climate-change-explain-bar-precip {
font-size : 90 % ;
}
. climate-change-explain-bar-temp > span {
color : red ;
}
. climate-change-explain-bar-precip > span {
color : #ace ;
}
. climate-chart-column {
width : 1.6 em ;
height : 17 em ;
position : relative ;
padding : 0 ;
margin : 0 ;
}
. climate-chart-column-spacer ,
. climate-chart-column-spacer2 {
height : 0 ;
width : 1.6 em ;
position : absolute ;
left : 0 ;
padding : 0 ;
margin : 0 ;
}
. climate-chart-column-spacer {
bottom : 2 em ;
border-bottom : dotted 1 px #abc ;
}
. climate-chart-column-spacer2 {
bottom : 8 em ;
border-bottom : dotted 1 px #cba ;
}
. climate-chart-column-precip-bar {
background : #ace ;
position : absolute ;
bottom : 2 em ;
left : .2 em ;
width : 1.2 em ;
overflow : hidden ;
}
. climate-chart-column-value {
position : absolute ;
left : 0 ;
width : 1.6 em ;
height : 1.5 em ;
}
. climate-chart-column-precip {
color : blue ;
bottom : .5 em ;
text-align : center ;
}
. climate-chart-column-precip > span {
font-size : 70 % ;
}
. climate-chart-column-temp-bar {
background : #e44 ;
position : absolute ;
left : .4 em ;
width : 0.8 em ;
overflow : hidden ;
}
. climate-chart-column-high-temp ,
. climate-chart-column-low-temp {
color : red ;
}
. climate-chart-column-high-temp > span ,
. climate-chart-column-low-temp > span {
font-size : 80 % ;
}
@ media screen {
html . skin-theme-clientpref-night . climate-chart-column-precip {
color : hsl ( 240 , 100 % , 75 % );
}
}
@ media screen and ( prefers-color-scheme : dark ) {
html . skin-theme-clientpref-os . climate-chart-column-precip {
color : hsl ( 240 , 100 % , 75 % );
}
}