It was the policy at my Catholic high school that both the mother and the father would not engage in extra curricular activities for a year after a birth. It did not include walking at graduation, but it included everything else. The reason they gave was they were parents now, and a child needed care. The school felt that it was incompatible with their new levels of responsibility to have football, band, track, play practice or anything else, plus school work and parenting. And school and parenting were not going to be eliminated. In a year they had to prove they had childcare arrangements that made participation in school sponsored sports or arts after school possible. In that time the school and home parish aided in helping the students transition to balancing their new aspects with being students and parents.
Discussion of the sinfulness of what happened was left to the pastors and it was not ignored, but the school focused on keeping them in school, making sure they graduated and had plans for after graduation (be it college, trade or anything else), and establishing the family bond with the new child by not allowing school events (sports, band, play) to be a reason for dividing parents from children.
I thought it worked well.