blob: 8e758a95209d76c5b94f212fd3d7f1f0da51b8cf (
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 chryzantem.html.template
bc >_stem_delay <<EOF
$ANIMATION_DELAY + $STEM_APPEAR_DURATION
EOF
|