blob: c84a892b16046e33761e70e5a1915e84483c8f29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
ANIMATION_DELAY=$(bc <<EOF
$(cat _face_delay) + 0.2
EOF
)
cat <<EOF
<div class="stem" style="animation-delay: ${ANIMATION_DELAY}s;"></div>
EOF
STEM_APPEAR_DURATION=0.6 # must match animation-duration in kwiatuszek.html.template
bc >_stem_delay <<EOF
$ANIMATION_DELAY + $STEM_APPEAR_DURATION
EOF
|