Implement scroll animations across multiple sections in HTML files. Update CSS to define animation styles and visibility transitions for elements with the class "animate-on-scroll".

This commit is contained in:
blake committed 2026-10-14 20:44:41 -05:00
1 parent 535600ab5c
commit 2aea656f0b
13 files changed
+201 -152

No files matched your search

+14 -14
View File
@@ -115,7 +115,7 @@
<section class="digital-safety-section section--gray" aria-labelledby="digital-safety-heading">
<div class="site-container">
<div class="digital-safety-heading">
<div class="digital-safety-heading animate-on-scroll">
<div class="content-stack">
<p class="section-tag text-teal">Technology safety</p>
<h2 id="digital-safety-heading">Assume a shared device may leave traces.</h2>
@@ -124,22 +124,22 @@
</div>
<div class="digital-safety-grid">
<article class="digital-safety-card digital-safety-card--teal">
<article class="digital-safety-card digital-safety-card--teal animate-on-scroll">
<p class="item-number text-yellow">01</p>
<h3>Use a safer device</h3>
<p>If possible, plan from a library, workplace, shelter, or trusted person's device that the abuser cannot access.</p>
</article>
<article class="digital-safety-card">
<article class="digital-safety-card animate-on-scroll">
<p class="item-number">02</p>
<h3>Do not rely on private mode</h3>
<p>Private or incognito browsing does not remove every trace. Browser, account, router, and device activity may still be visible.</p>
</article>
<article class="digital-safety-card">
<article class="digital-safety-card animate-on-scroll">
<p class="item-number">03</p>
<h3>Review location carefully</h3>
<p>Phones, shared accounts, vehicles, wearables, and smart-home devices may share location or other activity.</p>
</article>
<article class="digital-safety-card digital-safety-card--yellow">
<article class="digital-safety-card digital-safety-card--yellow animate-on-scroll">
<p class="item-number text-teal">04</p>
<h3>Limit public clues</h3>
<p>Avoid live check-ins and location details. Ask trusted people not to tag you, your children, or your location without permission.</p>
@@ -150,7 +150,7 @@
<section class="personal-plan-section section--teal" id="make-a-plan" aria-labelledby="personal-plan-heading">
<div class="site-container">
<div class="personal-plan-heading">
<div class="personal-plan-heading animate-on-scroll">
<div class="content-stack">
<p class="section-tag text-yellow">Your personal safety plan</p>
<h2 class="text-white" id="personal-plan-heading">Think through the moments that matter.</h2>
@@ -159,32 +159,32 @@
</div>
<ol class="personal-plan-grid">
<li class="personal-plan-card">
<li class="personal-plan-card animate-on-scroll">
<p class="item-number text-yellow">01</p>
<h3>Choose trusted people</h3>
<p>Decide who can help and consider a code word or signal that means you need them to follow an agreed plan.</p>
</li>
<li class="personal-plan-card">
<li class="personal-plan-card animate-on-scroll">
<p class="item-number text-yellow">02</p>
<h3>Notice safer ways out</h3>
<p>Identify rooms with exits and places away from weapons. Think through how you and others could leave safely.</p>
</li>
<li class="personal-plan-card">
<li class="personal-plan-card animate-on-scroll">
<p class="item-number text-yellow">03</p>
<h3>Keep numbers available</h3>
<p>Know who you can call, including trusted people, Whispers, emergency services, and the Iowa Victim Service Call Center.</p>
</li>
<li class="personal-plan-card">
<li class="personal-plan-card animate-on-scroll">
<p class="item-number text-yellow">04</p>
<h3>Know what you may need</h3>
<p>If safe, know where to find identification, keys, medication, money, legal papers, and essential records.</p>
</li>
<li class="personal-plan-card">
<li class="personal-plan-card animate-on-scroll">
<p class="item-number text-yellow">05</p>
<h3>Include children and pets</h3>
<p>Think about safe transportation, care, school information, medications, and who can help without increasing risk.</p>
</li>
<li class="personal-plan-card">
<li class="personal-plan-card animate-on-scroll">
<p class="item-number text-yellow">06</p>
<h3>Plan for after you leave</h3>
<p>Consider routines, appointments, work, school, mail, account access, and who should know how to support your safety.</p>
@@ -195,12 +195,12 @@
<section class="leaving-checklist-section" aria-labelledby="leaving-checklist-heading">
<div class="leaving-checklist-content site-container">
<div class="content-stack">
<div class="content-stack animate-on-scroll">
<p class="section-tag text-teal">If you are preparing to leave</p>
<h2 id="leaving-checklist-heading">Know where the essentials are.</h2>
<p class="description">Leaving can be a dangerous time. You do not need to gather everything or take any step that increases your risk. An advocate can help you build a plan around your circumstances.</p>
</div>
<ul class="leaving-checklist">
<ul class="leaving-checklist animate-on-scroll">
<li>Driver's license, birth certificates, and Social Security cards</li>
<li>House and car keys, medications, and a phone or charger</li>
<li>Money, cards, account details, and insurance information</li>