Difference between revisions of "Template:Climate chart/celsius column i"

From blackwiki
Jump to navigation Jump to search
imported>Andree.sk
m (mark the color bars to render exact, to make them print properly (tested with Chrome))
imported>F09f92a9
 
Line 1: Line 1:
<div style="width:1.6em;height:17em;position:relative;padding:0;margin:0">
+
<div style="width:1.5em;height:17em;position:relative;padding:0;margin:0">
 
<div style="height:0em;bottom:2em;width:1.6em;position:absolute;left:0;border-bottom:dotted 1px #abc;padding:0;margin:0">&nbsp;</div>
 
<div style="height:0em;bottom:2em;width:1.6em;position:absolute;left:0;border-bottom:dotted 1px #abc;padding:0;margin:0">&nbsp;</div>
 
<div style="background:#ace;-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute;bottom:2em;left:.2em;width:1.2em;height:{{#expr:{{{3|5}}}*.508/{{#ifexpr:{{{4|20}}}<30|1|{{#expr:{{{4|20}}}/30}}}}}}em;overflow:hidden">&nbsp;</div><!-- 30 in. is maximum for the height, re-scale otherwise -->
 
<div style="background:#ace;-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute;bottom:2em;left:.2em;width:1.2em;height:{{#expr:{{{3|5}}}*.508/{{#ifexpr:{{{4|20}}}<30|1|{{#expr:{{{4|20}}}/30}}}}}}em;overflow:hidden">&nbsp;</div><!-- 30 in. is maximum for the height, re-scale otherwise -->

Latest revision as of 10:42, 26 April 2019

 
 
127
 
 
−7
−12