Updated to use cf-core and new docs template and adds dynamic animation duration based on content height

combining?